Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9359 closed Bugs (invalid)

Submachine without event causes segmentation fault (core dumped)

Reported by: Rémy Lefevre <lefevreremy@…> Owned by: Christophe Henry
Milestone: To Be Determined Component: msm
Version: Boost 1.54.0 Severity: Problem
Keywords: submachine segmentation fault Cc:

Description

Hi,

You can find enclosed a basic state machine with one submachine. This submachine waits for "event1" and then exit normally.

However, if you change "event1" to "msm::front::none" in its transition table and comment the two last lines of the "test" function that are responsible to send the event, you have a segmentation fault.

Am I doing something wrong or is it really a bug affecting submachine without event ?

Cheers.

Attachments (1)

test.cpp (2.3 KB ) - added by Rémy Lefevre <lefevreremy@…> 9 years ago.

Download all attachments as: .zip

Change History (5)

by Rémy Lefevre <lefevreremy@…>, 9 years ago

Attachment: test.cpp added

comment:1 by Christophe Henry, 9 years ago

Which version of boost and compiler are you using? I just tried with trunk (which is the same as 1.55)/ VC10 and all works as expected.

Could you try a more recent version? I remember fixing some bug with pseudo exit in I think 1.53 or 1.54.

Cheers, Christophe

comment:2 by Christophe Henry, 9 years ago

Resolution: invalid
Status: newclosed

comment:3 by Rémy Lefevre <lefevreremy@…>, 9 years ago

I am using boost 1.54 and gcc 4.8.2.

I will try boost 1.55 as soon as I can.

Cheers, Rémy.

comment:4 by Rémy Lefevre <lefevreremy@…>, 9 years ago

I tried with boost 1.55 but same problem...

Note: See TracTickets for help on using tickets.