[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] crash in c++ PublishDemo



Jürgen Prinz wrote:
Sfter a recent cvs update my program and likewise c++/../PublishDemo get segmentation fault whe calling connection_publish

Thanks for reporting, i assume you are on the develop branch, there i can reproduce it (though my stack trace is different).

We'll look into it,

regards

Marcel


gdb shows
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 12440)]
0x410fde09 in org::xmlBlaster::client::XmlBlasterAccess::publish(org::xmlBlaster::util::MessageUnit const&) (this=0xbfffd91c, msgUnit= at 0x8198058)
at /home/prinz/xmlBlaster/src/c++/client/XmlBlasterAccess.cpp:260
260 return connection_->publish(msgUnit);
(gdb) where
#0 0x410fde09 in org::xmlBlaster::client::XmlBlasterAccess::publish(org::xmlBlaster::util::MessageUnit const&) (this=0xbfffd91c, msgUnit= at 0x8198058)
at /home/prinz/xmlBlaster/src/c++/client/XmlBlasterAccess.cpp:260
#1 0x0805f3d1 in BlasterAccess::handlePictUpd(MSG_Message&) (this=0xbfffd910, pictUpd= at 0x8196518) at BlasterAccess.C:267
#2 0x080529c8 in ExtAccess::messageHandler(MSG_Message&) (this=0xbfffdcd0, mm= at 0x8196518) at ExtAccess.C:210
#3 0x4003c433 in ClientStub::handleNewMessage(MSG_Message&) () from /home/prinz/twr2_GAIS-LINUX/slib/libStreamLINUX_GCC2_8.so
#4 0x4003c349 in ClientStub::streamHandler(sstream&) () from /home/prinz/twr2_GAIS-LINUX/slib/libStreamLINUX_GCC2_8.so
#5 0x40051215 in StreamStub::handle() () from /home/prinz/twr2_GAIS-LINUX/slib/libStreamLINUX_GCC2_8.so
#6 0x40055a71 in XEventHandler::globalStreamHandle(void*, int*, unsigned long*) () from /home/prinz/twr2_GAIS-LINUX/slib/libStreamLINUX_GCC2_8.so
#7 0x4049cf83 in DoOtherSources () from /usr/X11R6/lib/libXt.so.6
#8 0x4049d49f in XtAppNextEvent () from /usr/X11R6/lib/libXt.so.6
#9 0x404919ec in XtAppMainLoop () from /usr/X11R6/lib/libXt.so.6
#10 0x40055ed0 in XEventHandler::startMainLoop() () from /home/prinz/twr2_GAIS-LINUX/slib/libStreamLINUX_GCC2_8.so
#11 0x08052084 in main (argc=1, argv=0xbfffdfe4) at ExtAccess.C:91
#12 0x413104c2 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)



Best regards Juergen




--
http://www.xmlBlaster.org