On Thu, Jun 12, 2008 at 10:37:47AM +0200, Sjoerd Hardeman wrote:
> Alexander Sack schreef:
> > tags 484850 + needsinfo
> > thanks
> > 
> > On Sat, Jun 07, 2008 at 12:53:38AM +0200, Sjoerd Hardeman wrote:
> >> I have attached a gdb backtrace.
> > 
> > You have to get a backtrace when it crashes, like:
> > 
> >  (gdb) bt full
> > 
> > Thanks,
> > 
> >  - Alexander
> > 
> Hi Alexander,
> 
> It crashes in two steps (I have to enter "cont" twice"), I did a bt full
> after both stalls. Is this what you need?
> 

err, why do you try cont after a segfault? that doesn't make much
sense to me.

Anyway, thanks for the bt.

> Sjoerd
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x2ac530f5e320 (LWP 8705)]
> 0x00002ac5317d258d in MimeMessage_parse_line (aLine=0x1 <Address 0x1 out
> of bounds>, aLength=<value optimized out>, obj=0x2aaab0116120)
>     at mimemsg.cpp:457
> 457     mimemsg.cpp: No such file or directory.
>         in mimemsg.cpp
> (gdb) bt full
> 0x00002ac5317d258d in MimeMessage_parse_line (aLine=0x1 <Address 0x1 out
> of bounds>, aLength=<value optimized out>, obj=0x2aaab0116120)
>     at mimemsg.cpp:457
> 457     mimemsg.cpp: No such file or directory.
>         in mimemsg.cpp
> (gdb) bt full
> #0  0x00002ac5317d258d in MimeMessage_parse_line (aLine=0x1 <Address 0x1
> out of bounds>, aLength=<value optimized out>, obj=0x2aaab0116120)
>     at mimemsg.cpp:457
>         line = <value optimized out>
>         length = <value optimized out>
>         msg = <value optimized out>
>         status = <value optimized out>
> #1  0x00002ac5317dc027 in mime_LineBuffer (net_buffer=<value optimized
> out>, net_buffer_size=<value optimized out>, bufferP=0x2aaab0116160,
>     buffer_sizeP=0x2aaab0116170, buffer_fpP=0x2aaab0116178,
> convert_newlines_p=1, per_line_fn=0x2ac5317d2190 <MimeMessage_parse_line>,
>     closure=0x2aaab0116120) at mimebuf.cpp:273
>         end = 0x1 <Address 0x1 out of bounds>
>         desired_size = <value optimized out>
>         net_buffer_end = <value optimized out>
>         newline = 0x2aaab06db72c "<html>\n\n<head>\n<meta
> http-equiv=Content-Type content=\"text/html;
> charset=iso-8859-1\">\n\n<title>Krijg de 555 Koninklijke behandeling,
> alleen bij</title>\n\n<style>\n<!--\n /* Style Definitions */\n
> p.MsoNorm"...
>         s = <value optimized out>
>         status = <value optimized out>
> #2  0x00002ac5317d525c in MimeObject_parse_buffer (buffer=0x2ac53180d991
> "", size=774016776, obj=<value optimized out>) at mimeobj.cpp:284
> ---Type <return> to continue, or q <return> to quit---
> No locals.
> #3  0x00002ac5317de6d1 in mime_display_stream_write (stream=<value
> optimized out>,
>     buf=0x2aaab06da9b0 "Return-Path:
> <[EMAIL PROTECTED]>\nX-Spam-Checker-Version: SpamAssassin 3.2.4
> (2008-01-01) on\n\truysch.lorentz.leidenuniv.nl\nX-Spam-Level:
> ***\nX-Spam-Status: No, score=3.6 required=5.0 tests=HTML_M"...,
> size=6523) at mimemoz2.cpp:946
>         obj = (MimeObject *) 0x2aaab0116120
> #4  0x00002ac5317e57d2 in nsStreamConverter::OnDataAvailable
> (this=0x2aaab06cec20, request=<value optimized out>,
>     ctxt=<value optimized out>, aIStream=0x2aaab056c4b0,
> sourceOffset=<value optimized out>, aLength=6523) at
> nsStreamConverter.cpp:911
>         tSession = (nsMIMESession *) 0x2ac53180d991
>         rc = 2147942414
>         readLen = 6523
>         written = 719328598
>         buf = 0x2ac52e228f08 "double free or corruption (fasttop)"
>         readPtr = 0x6f43004b <Address 0x6f43004b out of bounds>
>         endPtr = <value optimized out>
> #5  0x00002ac5325a0771 in nsStreamListenerTee::OnDataAvailable
> (this=0x17e4580, request=0x2aaab00bb410, context=0x0, input=0x1653e60,
>     offset=0, count=6523) at nsStreamListenerTee.cpp:97
>         tee = {<nsCOMPtr_base> = {mRawPtr = 0x2aaab056c4b0}, <No data
> fields>}
> ---Type <return> to continue, or q <return> to quit---
>         rv = 0
> #6  0x00002ac53257ed74 in nsOnDataAvailableEvent0::HandleEvent
> (this=0x1684470) at nsAsyncStreamListener.cpp:425
>         receiver = (nsIStreamListener *) 0x2ac53180d991
>         status = 0
>         rv = <value optimized out>
> #7  0x00002ac53257ea7f in nsStreamListenerEvent0::HandlePLEvent
> (aEvent=0x1684490) at nsAsyncStreamListener.cpp:113
>         ev = (nsStreamListenerEvent0 *) 0x2ac53180d991
>         rv = <value optimized out>
> #8  0x00002ac52ae43d59 in PL_HandleEvent (self=0x1684490) at plevent.c:688
>         result = <value optimized out>
> #9  0x00002ac52ae43ffb in PL_ProcessPendingEvents (self=0x6f36b0) at
> plevent.c:623
>         event = (PLEvent *) 0x2ac53180d991
>         count = 2
> #10 0x00002ac52ae45d4b in nsEventQueueImpl::ProcessPendingEvents
> (this=0x6be560) at nsEventQueue.cpp:448
>         correctThread = <value optimized out>
>         rv = 0
>         caller = {mQueue = 0x6be560, mListener = {<nsCOMPtr_base> =
> {mRawPtr = 0x6cced8}, <No data fields>}}
> ---Type <return> to continue, or q <return> to quit---
> #11 0x00002aaaaaf47fd2 in event_processor_callback (source=<value
> optimized out>, condition=774016776, data=0x13) at nsAppShell.cpp:67
>         eventQueue = (class nsIEventQueue *) 0x2ac53180d991
> #12 0x00002ac52d2e10f2 in g_main_context_dispatch () from
> /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #13 0x00002ac52d2e4396 in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #14 0x00002ac52d2e4657 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #15 0x00002ac52bc60b63 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
> No symbol table info available.
> #16 0x00002aaaaaf48385 in nsAppShell::Run (this=0x79e300) at
> nsAppShell.cpp:139
> No locals.
> #17 0x00002aaaac263ebe in nsAppStartup::Run (this=0x79e280) at
> nsAppStartup.cpp:151
>         rv = <value optimized out>
> #18 0x0000000000407713 in XRE_main (argc=<value optimized out>,
> argv=<value optimized out>, aAppData=<value optimized out>)
>     at nsAppRunner.cpp:2817
>         remoteService = {<nsCOMPtr_base> = {mRawPtr = 0xb70200}, <No
> data fields>}
> ---Type <return> to continue, or q <return> to quit---
>         obsService = {<nsCOMPtr_base> = {mRawPtr = 0x6f3820}, <No data
> fields>}
>         windowMediator = {<nsCOMPtr_base> = {mRawPtr = 0x871650}, <No
> data fields>}
>         windowEnumerator = {<nsCOMPtr_base> = {mRawPtr = 0x734fb0}, <No
> data fields>}
>         more = 1
>         appStartup = {<nsCOMPtr_base> = {mRawPtr = 0x79e280}, <No data
> fields>}
>         workingDir = {<nsCOMPtr_base> = {mRawPtr = 0x87a8c0}, <No data
> fields>}
>         chromeObserver = {<nsCOMPtr_base> = {mRawPtr = 0x6f5cd0}, <No
> data fields>}
>         cmdLine = {<nsCOMPtr_base> = {mRawPtr = 0x87a870}, <No data fields>}
>         noEMRestart = <value optimized out>
>         xpcom = {mServiceManager = 0x64e148}
>         rv = 0
>         ar = <value optimized out>
>         gtkModules = <value optimized out>
>         i = <value optimized out>
>         dirProvider = {<nsIDirectoryServiceProvider2> =
> {<nsIDirectoryServiceProvider> = {<nsISupports> = {
>         _vptr.nsISupports = 0x614730}, <No data fields>}, <No data
> fields>}, <nsIProfileStartup> = {<nsISupports> = {
>       _vptr.nsISupports = 0x614778}, <No data fields>}, mAppDir =
> {<nsCOMPtr_base> = {mRawPtr = 0x618c90}, <No data fields>},
> ---Type <return> to continue, or q <return> to quit---
>   mXULAppDir = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>},
> mProfileDir = {<nsCOMPtr_base> = {
>       mRawPtr = 0x649790}, <No data fields>}, mProfileLocalDir =
> {<nsCOMPtr_base> = {mRawPtr = 0x649860}, <No data fields>},
>   mProfileNotified = 1}
>         glib2 = (PRLibrary *) 0x6183a0
>         nativeApp = {<nsCOMPtr_base> = {mRawPtr = 0x6482b0}, <No data
> fields>}
>         canRun = 1
>         registryFile = {<nsCOMPtr_base> = {mRawPtr = 0x6496c0}, <No data
> fields>}
>         xremotearg = <value optimized out>
>         profileLock = {<nsCOMPtr_base> = {mRawPtr = 0x64a6b0}, <No data
> fields>}
>         startOffline = 0
>         profD = {<nsCOMPtr_base> = {mRawPtr = 0x649790}, <No data fields>}
>         profLD = {<nsCOMPtr_base> = {mRawPtr = 0x649860}, <No data fields>}
>         upgraded = 0
>         version = {<nsFixedCString> = {<nsCString> = {<nsCSubstring> =
> {<nsACString_internal> = {mVTable = 0x2ac52b09a6d0,
>           mData = 0x7fff803c60a8
> "2.0.0.14_2008050916/1.8.1.14_2008050916", mLength = 39,
>           mFlags = 65553}, <No data fields>}, <No data fields>},
> mFixedCapacity = 63,
>     mFixedBuf = 0x7fff803c60a8 "2.0.0.14_2008050916/1.8.1.14_2008050916"},
> ---Type <return> to continue, or q <return> to quit---
>   mStorage =
> "2.0.0.14_2008050916/1.8.1.14_2008050916\000hI�-�*\000\000�L�-�*\000\000Pb<\200�\177\000"}
>         osABI = {<nsCString> = {<nsCSubstring> = {<nsACString_internal>
> = {mVTable = 0x2ac52b09a6d0, mData = 0x410946 "Linux_x86_64-gcc3",
>         mLength = 17, mFlags = 1}, <No data fields>}, <No data fields>},
> <No data fields>}
>         versionOK = <value optimized out>
>         needsRestart = 0
>         appInitiatedRestart = <value optimized out>
> #19 0x00002ac52e1361c4 in __libc_start_main () from /lib/libc.so.6
> No symbol table info available.
> #20 0x0000000000403949 in _start ()
> No symbol table info available.
> 
> (gdb)
> (gdb) cont
> Continuing.
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00002ac52b70a22b in raise () from /lib/libpthread.so.0
> (gdb) bt full
> #0  0x00002ac52b70a22b in raise () from /lib/libpthread.so.0
> No symbol table info available.
> #1  0x000000000040ff36 in nsProfileLock::FatalSignalHandler (signo=11)
> at nsProfileLock.cpp:206
>         unblock_sigs = {__val = {1024, 0 <repeats 15 times>}}
>         oldact = <value optimized out>
> #2  <signal handler called>
> No symbol table info available.
> #3  0x00002ac5317d258d in MimeMessage_parse_line (aLine=0x1 <Address 0x1
> out of bounds>, aLength=<value optimized out>, obj=0x2aaab0116120)
>     at mimemsg.cpp:457
>         line = <value optimized out>
>         length = <value optimized out>
>         msg = <value optimized out>
>         status = <value optimized out>
> #4  0x00002ac5317dc027 in mime_LineBuffer (net_buffer=<value optimized
> out>, net_buffer_size=<value optimized out>, bufferP=0x2aaab0116160,
>     buffer_sizeP=0x2aaab0116170, buffer_fpP=0x2aaab0116178,
> convert_newlines_p=1, per_line_fn=0x2ac5317d2190 <MimeMessage_parse_line>,
>     closure=0x2aaab0116120) at mimebuf.cpp:273
>         end = 0x1 <Address 0x1 out of bounds>
> ---Type <return> to continue, or q <return> to quit---
>         desired_size = <value optimized out>
>         net_buffer_end = <value optimized out>
>         newline = 0x2aaab06db72c "<html>\n\n<head>\n<meta
> http-equiv=Content-Type content=\"text/html;
> charset=iso-8859-1\">\n\n<title>Krijg de 555 Koninklijke behandeling,
> alleen bij</title>\n\n<style>\n<!--\n /* Style Definitions */\n
> p.MsoNorm"...
>         s = <value optimized out>
>         status = <value optimized out>
> #5  0x00002ac5317d525c in MimeObject_parse_buffer (buffer=0x2ac53180d991
> "", size=774016776, obj=<value optimized out>) at mimeobj.cpp:284
> No locals.
> #6  0x00002ac5317de6d1 in mime_display_stream_write (stream=<value
> optimized out>,
>     buf=0x2aaab06da9b0 "Return-Path:
> <[EMAIL PROTECTED]>\nX-Spam-Checker-Version: SpamAssassin 3.2.4
> (2008-01-01) on\n\truysch.lorentz.leidenuniv.nl\nX-Spam-Level:
> ***\nX-Spam-Status: No, score=3.6 required=5.0 tests=HTML_M"...,
> size=6523) at mimemoz2.cpp:946
>         obj = (MimeObject *) 0x2aaab0116120
> #7  0x00002ac5317e57d2 in nsStreamConverter::OnDataAvailable
> (this=0x2aaab06cec20, request=<value optimized out>,
>     ctxt=<value optimized out>, aIStream=0x2aaab056c4b0,
> sourceOffset=<value optimized out>, aLength=6523) at
> nsStreamConverter.cpp:911
>         tSession = (nsMIMESession *) 0x2ac53180d991
>         rc = 2147942414
>         readLen = 6523
> ---Type <return> to continue, or q <return> to quit---
>         written = 719328598
>         buf = 0x2ac52e228f08 "double free or corruption (fasttop)"
>         readPtr = 0x6f43004b <Address 0x6f43004b out of bounds>
>         endPtr = <value optimized out>
> #8  0x00002ac5325a0771 in nsStreamListenerTee::OnDataAvailable
> (this=0x17e4580, request=0x2aaab00bb410, context=0x0, input=0x1653e60,
>     offset=0, count=6523) at nsStreamListenerTee.cpp:97
>         tee = {<nsCOMPtr_base> = {mRawPtr = 0x2aaab056c4b0}, <No data
> fields>}
>         rv = 0
> #9  0x00002ac53257ed74 in nsOnDataAvailableEvent0::HandleEvent
> (this=0x1684470) at nsAsyncStreamListener.cpp:425
>         receiver = (nsIStreamListener *) 0x2ac53180d991
>         status = 0
>         rv = <value optimized out>
> #10 0x00002ac53257ea7f in nsStreamListenerEvent0::HandlePLEvent
> (aEvent=0x1684490) at nsAsyncStreamListener.cpp:113
>         ev = (nsStreamListenerEvent0 *) 0x2ac53180d991
>         rv = <value optimized out>
> #11 0x00002ac52ae43d59 in PL_HandleEvent (self=0x1684490) at plevent.c:688
>         result = <value optimized out>
> ---Type <return> to continue, or q <return> to quit---
> #12 0x00002ac52ae43ffb in PL_ProcessPendingEvents (self=0x6f36b0) at
> plevent.c:623
>         event = (PLEvent *) 0x2ac53180d991
>         count = 2
> #13 0x00002ac52ae45d4b in nsEventQueueImpl::ProcessPendingEvents
> (this=0x6be560) at nsEventQueue.cpp:448
>         correctThread = <value optimized out>
>         rv = 0
>         caller = {mQueue = 0x6be560, mListener = {<nsCOMPtr_base> =
> {mRawPtr = 0x6cced8}, <No data fields>}}
> #14 0x00002aaaaaf47fd2 in event_processor_callback (source=<value
> optimized out>, condition=774016776, data=0x13) at nsAppShell.cpp:67
>         eventQueue = (class nsIEventQueue *) 0x2ac53180d991
> #15 0x00002ac52d2e10f2 in g_main_context_dispatch () from
> /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #16 0x00002ac52d2e4396 in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #17 0x00002ac52d2e4657 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #18 0x00002ac52bc60b63 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
> No symbol table info available.
> ---Type <return> to continue, or q <return> to quit---
> #19 0x00002aaaaaf48385 in nsAppShell::Run (this=0x79e300) at
> nsAppShell.cpp:139
> No locals.
> #20 0x00002aaaac263ebe in nsAppStartup::Run (this=0x79e280) at
> nsAppStartup.cpp:151
>         rv = <value optimized out>
> #21 0x0000000000407713 in XRE_main (argc=<value optimized out>,
> argv=<value optimized out>, aAppData=<value optimized out>)
>     at nsAppRunner.cpp:2817
>         remoteService = {<nsCOMPtr_base> = {mRawPtr = 0xb70200}, <No
> data fields>}
>         obsService = {<nsCOMPtr_base> = {mRawPtr = 0x6f3820}, <No data
> fields>}
>         windowMediator = {<nsCOMPtr_base> = {mRawPtr = 0x871650}, <No
> data fields>}
>         windowEnumerator = {<nsCOMPtr_base> = {mRawPtr = 0x734fb0}, <No
> data fields>}
>         more = 1
>         appStartup = {<nsCOMPtr_base> = {mRawPtr = 0x79e280}, <No data
> fields>}
>         workingDir = {<nsCOMPtr_base> = {mRawPtr = 0x87a8c0}, <No data
> fields>}
>         chromeObserver = {<nsCOMPtr_base> = {mRawPtr = 0x6f5cd0}, <No
> data fields>}
>         cmdLine = {<nsCOMPtr_base> = {mRawPtr = 0x87a870}, <No data fields>}
>         noEMRestart = <value optimized out>
>         xpcom = {mServiceManager = 0x64e148}
> ---Type <return> to continue, or q <return> to quit---
>         rv = 0
>         ar = <value optimized out>
>         gtkModules = <value optimized out>
>         i = <value optimized out>
>         dirProvider = {<nsIDirectoryServiceProvider2> =
> {<nsIDirectoryServiceProvider> = {<nsISupports> = {
>         _vptr.nsISupports = 0x614730}, <No data fields>}, <No data
> fields>}, <nsIProfileStartup> = {<nsISupports> = {
>       _vptr.nsISupports = 0x614778}, <No data fields>}, mAppDir =
> {<nsCOMPtr_base> = {mRawPtr = 0x618c90}, <No data fields>},
>   mXULAppDir = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>},
> mProfileDir = {<nsCOMPtr_base> = {
>       mRawPtr = 0x649790}, <No data fields>}, mProfileLocalDir =
> {<nsCOMPtr_base> = {mRawPtr = 0x649860}, <No data fields>},
>   mProfileNotified = 1}
>         glib2 = (PRLibrary *) 0x6183a0
>         nativeApp = {<nsCOMPtr_base> = {mRawPtr = 0x6482b0}, <No data
> fields>}
>         canRun = 1
>         registryFile = {<nsCOMPtr_base> = {mRawPtr = 0x6496c0}, <No data
> fields>}
>         xremotearg = <value optimized out>
>         profileLock = {<nsCOMPtr_base> = {mRawPtr = 0x64a6b0}, <No data
> fields>}
>         startOffline = 0
> ---Type <return> to continue, or q <return> to quit---
>         profD = {<nsCOMPtr_base> = {mRawPtr = 0x649790}, <No data fields>}
>         profLD = {<nsCOMPtr_base> = {mRawPtr = 0x649860}, <No data fields>}
>         upgraded = 0
>         version = {<nsFixedCString> = {<nsCString> = {<nsCSubstring> =
> {<nsACString_internal> = {mVTable = 0x2ac52b09a6d0,
>           mData = 0x7fff803c60a8
> "2.0.0.14_2008050916/1.8.1.14_2008050916", mLength = 39,
>           mFlags = 65553}, <No data fields>}, <No data fields>},
> mFixedCapacity = 63,
>     mFixedBuf = 0x7fff803c60a8 "2.0.0.14_2008050916/1.8.1.14_2008050916"},
>   mStorage =
> "2.0.0.14_2008050916/1.8.1.14_2008050916\000hI�-�*\000\000�L�-�*\000\000Pb<\200�\177\000"}
>         osABI = {<nsCString> = {<nsCSubstring> = {<nsACString_internal>
> = {mVTable = 0x2ac52b09a6d0, mData = 0x410946 "Linux_x86_64-gcc3",
>         mLength = 17, mFlags = 1}, <No data fields>}, <No data fields>},
> <No data fields>}
>         versionOK = <value optimized out>
>         needsRestart = 0
>         appInitiatedRestart = <value optimized out>
> #22 0x00002ac52e1361c4 in __libc_start_main () from /lib/libc.so.6
> No symbol table info available.
> #23 0x0000000000403949 in _start ()
> No symbol table info available.
> (gdb)
> 
> 



 - Alexander




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to