Re: [Quickfix-developers] core dump on receiving allocation
Brought to you by:
orenmnero
From: <gar...@su...> - 2002-11-27 23:54:35
|
<P>Turns out I was just incorrectly creating the Allocation message. = </P><P>Instead of adding a Allocation$NoOrders group, I was setting the Int= Field NoOrders. I had to change the way I generated the NoExecs, NoOr= ders, and NoAllocs groups in the Message object from my intermediate and se= rializable objects.</P><P>Thanks for your help and have a Happy Thanksgivin= g.</P><P>Gary</P><P> </P><P>Gary Mui<BR>Prescient Markets, Inc 914-989= -3118 (W)<BR>445 Hamilton Avenue 914-422-3693 (F)<BR>White Plains, NY 10601= <BR><BR>Please visit us at <A HREF=3Dhttp://www.cpmarket.com>http://www.cp= market.com</A> </P><P> <BR><FONT SIZE=3D2><B>OM...@th...<= /B></FONT><BR><FONT SIZE=3D2>Sent by: qui...@li...urc= eforge.net</FONT><BR><FONT SIZE=3D2>11/27/2002 01:22 PM CST</FONT><BR><BR> = <FONT SIZE=3D2>To:</FONT> <FONT SIZE=3D2>gar...@su...</FONT><BR> <F= ONT SIZE=3D2>cc:</FONT> <FONT SIZE=3D2>qui...@li...urceforg= e.net, qui...@li...</FONT><BR> <FONT SIZ= E=3D2>bcc:</FONT> <BR> <FONT SIZE=3D2>Subject:</FONT> <FONT SIZE=3D2>Re: [Q= uickfix-developers] core dump on receiving allocation</FONT><BR> <BR><BR></= P><P><FONT FACE=3D"Monospace,Courier">Looks like there your getting some so= rt of unhandled exception in the<BR>message=5Forder constructor. The = implementation for that constructor is in<BR>the MessageSorters.cpp file. &= nbsp;Although you can supposedly attach a debugger<BR>to a shared object lo= aded by the JVM, I've always had bad luck with this.<BR>(anyone else had be= tter luck doing this?)<BR></FONT><BR><FONT FACE=3D"Monospace,Courier">I thi= nk the biggest help would be to put a trace statement in the method<BR>that= displays what is being passed into it. The last statement printed ou= t<BR>would let us know the input that caused the method to crash. The= n we can<BR>write a unit test to duplicate it.<BR></FONT><BR><FONT FACE=3D"= Monospace,Courier">--oren<BR></FONT><BR><BR><BR><FONT FACE=3D"Monospace,Cou= rier">|---------+-----------------------------------------------><BR>| &= nbsp; | gary.mui@su= ngard.com |<BR>| &nb= sp; | Sent by: &nbs= p; &n= bsp; |<BR>| | = qui...@li...ur|<BR>| &nb= sp; | ceforge.net &= nbsp; |<BR>|= | &n= bsp; = |<BR>|  = ; | &= nbsp; = |<BR>| | &n= bsp; 11/27/2002 12:05 PM &= nbsp; |<BR>| | &nbs= p; &n= bsp; |<BR>|--------= -+-----------------------------------------------><BR> >-------= ---------------------------------------------------------------------------= ------------|<BR> | =  = ; &nb= sp; &= nbsp; |<BR> | = To: qui...@li...urceforg= e.net = |<BR> |  = ; cc: = &nbs= p; &n= bsp; = |<BR> | Subject: [Quickfix-de= velopers] core dump on receiving allocation &nb= sp; |<BR> >--------------= ---------------------------------------------------------------------------= -----|<BR></FONT><BR><BR><BR><BR><FONT FACE=3D"Monospace,Courier">I have an= other engine passing an allocation message to my acceptor engine<BR>and I g= et the following core dump.<BR>Can anyone suggest how I might go about diag= nosing the problem?<BR></FONT><BR><FONT FACE=3D"Monospace,Courier">Thanks,<= BR>Gary<BR></FONT><BR><BR><BR><FONT FACE=3D"Monospace,Courier">(8=3DFIX.4.2= 9=3D21135=3DJ34=3D33343=3DY49=3DFMRFITST52=3D20021127-17:57:5656=3DSTNMMTST= 122=3D20021127-17:53:096=3D10011=3DNONREF15=3DUSD17=3DexecId22=3D10037<BR><= /FONT><BR><BR><BR><FONT FACE=3D"Monospace,Courier">048=3DCUSIP54=3D155=3DFI= XED70=3D071=3D373=3D1124=3D16613=3DMONEYMARKET6614=3D16629=3DMATURITY10=3D2= 04)<BR></FONT><BR><BR><FONT FACE=3D"Monospace,Courier">An unexpected except= ion has been detected in native code outside the VM.<BR>Unexpected Signal := 11 occurred at PC=3D0xf4a4318c<BR>Function name=3D=5F=5Fas=5F=5FQ23FIX13me= ssage=5ForderRCQ23FIX13message=5Forder<BR>Library=3D/export/home/gmui/build= /qfe/lib/libquickfix=5Fjni.so<BR></FONT><BR><FONT FACE=3D"Monospace,Courier= ">Current Java thread:<BR> at org.quickfix.Socke= tAcceptor.doStart(Native Method)<BR> at org.quic= kfix.SocketAcceptor.start(Unknown Source)<BR> at= com.prescient.qfe.engine.QFEngine$1.run(QFEngine.java:126)<BR></FONT><BR><= FONT FACE=3D"Monospace,Courier">Dynamic libraries:<BR>0x10000 = /usr/bin/../java/bin/../bin/sparc/native=5Fthreads/java<BR>0= xff350000 /usr/lib/libthread.so.1<BR>0xff390000 = /usr/lib/libdl.so.1<BR>0xff200000 /usr/lib= /libc.so.1<BR>0xff330000 /usr/platform/SUNW,Ultra-5=5F1= 0/lib/libc=5Fpsr.so.1<BR>0xfe480000 /usr/j2sdk1=5F3=5F1= /jre/lib/sparc/client/libjvm.so<BR>0xff2e0000 /usr/lib/= libCrun.so.1<BR>0xff1e0000 /usr/lib/libsocket.so.1<BR>0= xff100000 /usr/lib/libnsl.so.1<BR>0xff0d0000 &nb= sp; /usr/lib/libm.so.1<BR>0xff310000 /usr/lib/lib= w.so.1<BR>0xff0b0000 /usr/lib/libmp.so.2<BR>0xff080000 = /usr/j2sdk1=5F3=5F1/jre/lib/sparc/native=5Fthreads/libh= pi.so<BR>0xff050000 /usr/j2sdk1=5F3=5F1/jre/lib/sparc/l= ibverify.so<BR>0xfe440000 /usr/j2sdk1=5F3=5F1/jre/lib/s= parc/libjava.so<BR>0xff020000 /usr/j2sdk1=5F3=5F1/jre/l= ib/sparc/libzip.so<BR>0xf4800000 /export/home/gmui/buil= d/qfe/lib/libquickfix=5Fjni.so<BR>0xfd090000 /export/ho= me/gmui/build/qfe/lib/libstdc++.so.2.10.0<BR>0xfac80000  = ;/export/home/gmui/build/qfe/lib/libstlport=5Fgcc.so<BR>0xf4680000 &= nbsp; /export/home/gmui/build/qfe/lib/libxml2.so.2<BR>0xfe230000 &nbs= p; /usr/lib/libz.so<BR>0xfe210000 /usr/lib= /libpthread.so.1<BR>0xfe150000 /usr/j2sdk1=5F3=5F1/jre/= lib/sparc/libnet.so<BR>0xfd3e0000 /usr/lib/nss=5Ffiles.= so.1<BR></FONT><BR><FONT FACE=3D"Monospace,Courier">Local Time =3D Wed Nov = 27 12:57:56 2002<BR>Elapsed Time =3D 24<BR>#<BR># The exception above was d= etected in native code outside the VM<BR>#<BR># Java VM: Java HotSpot(TM) C= lient VM (1.3.1-b24 mixed mode)<BR>#<BR># An error report file has been sav= ed as hs=5Ferr=5Fpid5031.log.<BR># Please refer to the file for further inf= ormation.<BR>#<BR>startAcceptor.sh[9]: 5031 Abort(coredump)<BR></FONT><BR><= FONT FACE=3D"Monospace,Courier">Gary Mui<BR>Prescient Markets, Inc &= nbsp; 914-989-3118 (W)<BR>445 Hamilton Avenue &n= bsp; 914-422-3693 (F)<BR>White Plains, NY 10601<B= R></FONT><BR><FONT FACE=3D"Monospace,Courier">Please visit us at <A HREF=3D= http://www.cpmarket.com>http://www.cpmarket.com</A><BR></FONT><BR><BR><BR><= FONT FACE=3D"Monospace,Courier">-------------------------------------------= ------------<BR>This SF.net email is sponsored by: Get the new Palm Tungste= n T<BR>handheld. Power & Color in a compact size!<BR><A HREF=3Dhttp://a= ds.sourceforge.net/cgi-bin/redirect.pl?palm0002en>http://ads.sourceforge.ne= t/cgi-bin/redirect.pl?palm0002en</A><BR>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<BR>Quickfix-developers mailing list<BR>Qu= ick...@li...<BR><A HREF=3Dhttps://lists.sourcefo= rge.net/lists/listinfo/quickfix-developers>https://lists.sourceforge.net/li= sts/listinfo/quickfix-developers</A><BR></FONT><BR><BR><BR><BR><BR><BR><BR>= <FONT FACE=3D"Monospace,Courier">------------------------------------------= -------------<BR>This SF.net email is sponsored by: Get the new Palm Tungst= en T<BR>handheld. Power & Color in a compact size!<BR><A HREF=3Dhttp://= ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en>http://ads.sourceforge.n= et/cgi-bin/redirect.pl?palm0002en</A><BR>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<BR>Quickfix-developers mailing list<BR>Qu= ick...@li...<BR><A HREF=3Dhttps://lists.sourcefo= rge.net/lists/listinfo/quickfix-developers>https://lists.sourceforge.net/li= sts/listinfo/quickfix-developers</A></FONT></P>= |