autobahn-cpp icon indicating copy to clipboard operation
autobahn-cpp copied to clipboard

Spruious segfaults when example clients exit

Open oberstet opened this issue 10 years ago • 4 comments

Sometimes, the example clients will segfault during shutdown, eg:

oberstet@corei7ub1310:~/scm/crossbario/autobahn-cpp$ ./build/examples/publisher 
Boost: 106000
starting io service
connected to server
session started
joined realm: 2165934323429702
event published
left session (wamp.close.normal)
stopped io service
stopped session
oberstet@corei7ub1310:~/scm/crossbario/autobahn-cpp$ ./build/examples/publisher 
Boost: 106000
starting io service
connected to server
session started
joined realm: 6813472277972188
event published
left session (wamp.close.normal)
stopped io service
stopped session
Speicherzugriffsfehler (Speicherabzug geschrieben)
oberstet@corei7ub1310:~/scm/crossbario/autobahn-cpp$ 

oberstet avatar Jan 28 '16 18:01 oberstet

I am not seeing any segfaults. Have run under valgrind as well and it detects no issues.

davidchappelle avatar Feb 16 '16 15:02 davidchappelle

@davidchappelle using gcc or clang? built using the supplied cmake or scons build scripts?

oberstet avatar Feb 16 '16 19:02 oberstet

gcc and cmake

On Tue, Feb 16, 2016 at 2:54 PM, Tobias Oberstein [email protected] wrote:

@davidchappelle https://github.com/davidchappelle using gcc or clang? built using the supplied cmake or scons build scripts?

— Reply to this email directly or view it on GitHub https://github.com/crossbario/autobahn-cpp/issues/84#issuecomment-184852671 .

davidchappelle avatar Feb 16 '16 22:02 davidchappelle

mmh, ok. interesting. I used clang and scons ..

oberstet avatar Feb 17 '16 09:02 oberstet