On Thu, 13 Oct 2005 00:26:31 +0200 Francesco Poli wrote:

> >  - get a better stacktrace with debugging symbols and the place
> >  where it crashes
> 
> Work in progress...  ;-)

OK, this is what I got with an unstripped galeon:


$ MALLOC_CHECK_=2 gdb galeon
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/
libthread_db.so.1".

[gdb]> set pagination 0
[gdb]> run -n http://www.jobcrawler.it
Starting program: /usr/bin/galeon -n http://www.jobcrawler.it
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 15866)]
[New Thread 32769 (LWP 15870)]
[New Thread 16386 (LWP 15871)]
[New Thread 32771 (LWP 15872)]
[New Thread 49156 (LWP 15873)]
[Thread 49156 (LWP 15873) exited]
[New Thread 65541 (LWP 15874)]
[New Thread 81926 (LWP 15875)]
[New Thread 98311 (LWP 15876)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 15866)]
0x00000000 in ?? ()
[gdb]> thread apply all bt

Thread 8 (Thread 98311 (LWP 15876)):
#0  0x4042b456 in nanosleep () from /lib/libpthread.so.0
#1  0x00000000 in ?? ()
#2  0x4042752a in __pthread_timedsuspend_new () from /lib/libpthread.so.0
#3  0x40424122 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
#4  0x40123664 in PR_Unlock () from /usr/lib/libnspr4.so
#5  0x4012385e in PR_WaitCondVar () from /usr/lib/libnspr4.so
#6  0x411d0bcc in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#7  0x40128fe9 in PR_Select () from /usr/lib/libnspr4.so
#8  0x40424e51 in pthread_start_thread () from /lib/libpthread.so.0
#9  0x40424ecf in pthread_start_thread_event () from /lib/libpthread.so.0
#10 0x40cbb92a in clone () from /lib/libc.so.6

Thread 7 (Thread 81926 (LWP 15875)):
#0  0x4042b456 in nanosleep () from /lib/libpthread.so.0
#1  0x00000000 in ?? ()
#2  0x4042752a in __pthread_timedsuspend_new () from /lib/libpthread.so.0
#3  0x40424122 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
#4  0x40123664 in PR_Unlock () from /usr/lib/libnspr4.so
#5  0x4012385e in PR_WaitCondVar () from /usr/lib/libnspr4.so
#6  0x411d0bcc in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#7  0x40128fe9 in PR_Select () from /usr/lib/libnspr4.so
#8  0x40424e51 in pthread_start_thread () from /lib/libpthread.so.0
#9  0x40424ecf in pthread_start_thread_event () from /lib/libpthread.so.0
#10 0x40cbb92a in clone () from /lib/libc.so.6

Thread 6 (Thread 65541 (LWP 15874)):
#0  0x4042b456 in nanosleep () from /lib/libpthread.so.0
#1  0xffffff80 in ?? ()
#2  0x4042752a in __pthread_timedsuspend_new () from /lib/libpthread.so.0
#3  0x40424122 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
#4  0x40123664 in PR_Unlock () from /usr/lib/libnspr4.so
#5  0x4012385e in PR_WaitCondVar () from /usr/lib/libnspr4.so
#6  0x411fc6b6 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#7  0x411fc8e2 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#8  0x40128fe9 in PR_Select () from /usr/lib/libnspr4.so
#9  0x40424e51 in pthread_start_thread () from /lib/libpthread.so.0
#10 0x40424ecf in pthread_start_thread_event () from /lib/libpthread.so.0
#11 0x40cbb92a in clone () from /lib/libc.so.6

Thread 4 (Thread 32771 (LWP 15872)):
#0  0x4042b456 in nanosleep () from /lib/libpthread.so.0
#1  0x00000001 in ?? ()
#2  0x4042752a in __pthread_timedsuspend_new () from /lib/libpthread.so.0
#3  0x40424122 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
#4  0x40123664 in PR_Unlock () from /usr/lib/libnspr4.so
#5  0x4012385e in PR_WaitCondVar () from /usr/lib/libnspr4.so
#6  0x400b792b in TimerThread::UpdateFilter () from /usr/lib/mozilla/libxpcom.so
#7  0x400b4ebb in nsThread::Main () from /usr/lib/mozilla/libxpcom.so
#8  0x40128fe9 in PR_Select () from /usr/lib/libnspr4.so
#9  0x40424e51 in pthread_start_thread () from /lib/libpthread.so.0
#10 0x40424ecf in pthread_start_thread_event () from /lib/libpthread.so.0
#11 0x40cbb92a in clone () from /lib/libc.so.6

Thread 3 (Thread 16386 (LWP 15871)):
#0  0x40cb2ada in poll () from /lib/libc.so.6
#1  0x401279a9 in PR_OpenDir () from /usr/lib/libnspr4.so
#2  0x411efb02 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#3  0x411f00e9 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#4  0x400b4ebb in nsThread::Main () from /usr/lib/mozilla/libxpcom.so
#5  0x40128fe9 in PR_Select () from /usr/lib/libnspr4.so
#6  0x40424e51 in pthread_start_thread () from /lib/libpthread.so.0
#7  0x40424ecf in pthread_start_thread_event () from /lib/libpthread.so.0
#8  0x40cbb92a in clone () from /lib/libc.so.6

Thread 2 (Thread 32769 (LWP 15870)):
#0  0x40cb2ada in poll () from /lib/libc.so.6
#1  0x40424b50 in __pthread_manager () from /lib/libpthread.so.0
#2  0x40424d57 in __pthread_manager_event () from /lib/libpthread.so.0
#3  0x40cbb92a in clone () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 15866)):
#0  0x00000000 in ?? ()
#1  0x080c558d in GStreamListener::StreamReaderFunc (in=0x8a636e0, 
closure=0x8a63160, fromRawSegment=0x8a62850 "ð\203\227\b\001", toOffset=0, 
count=2519, writeCount=0xbffff7c0) at mozilla-embed-persist.cpp:273
#2  0x40095619 in nsInputStreamTee::WriteSegmentFun () from 
/usr/lib/mozilla/libxpcom.so
#3  0x40099372 in nsPipeInputStream::OnInputException () from 
/usr/lib/mozilla/libxpcom.so
#4  0x40095926 in nsInputStreamTee::WriteSegmentFun () from 
/usr/lib/mozilla/libxpcom.so
#5  0x080c5601 in GStreamListener::OnDataAvailable (this=0x8a7e050, 
aRequest=0x8a62178, aContext=0x0, aInputStream=0xbffff82c, aOffset=1024, 
aCount=145107024) at mozilla-embed-persist.cpp:296
#6  0x4120cf42 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#7  0x411f14c5 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#8  0x41267e99 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#9  0x411d8f0f in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#10 0x411d8d4f in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#11 0x4009b3d1 in nsInputStreamReadyEvent::EventHandler () from 
/usr/lib/mozilla/libxpcom.so
#12 0x400b19f7 in PL_HandleEvent () from /usr/lib/mozilla/libxpcom.so
#13 0x400b1924 in PL_ProcessPendingEvents () from /usr/lib/mozilla/libxpcom.so
#14 0x400b35b9 in nsEventQueueImpl::NotifyObservers () from 
/usr/lib/mozilla/libxpcom.so
#15 0x41a6d345 in nsBaseWidget::FreeNativeData () from 
/usr/lib/mozilla/components/libwidget_gtk2.so
#16 0x40ac7dbf in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#17 0x40aa2582 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#18 0x40aa35f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x40aa3930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x40aa3ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#21 0x40998c98 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#22 0x0807c26f in main (argc=-1073743828, argv=0xbffff82c) at galeon-main.c:278
[gdb]> quit
The program is running.  Exit anyway? (y or n) y
$


I hope that this can help...

-- 
    :-(   This Universe is buggy! Where's the Creator's BTS?   ;-)
......................................................................
  Francesco Poli                             GnuPG Key ID = DD6DFCF4
 Key fingerprint = C979 F34B 27CE 5CD8 DC12  31B5 78F4 279B DD6D FCF4

Attachment: pgp3RfJ9dSePN.pgp
Description: PGP signature

Reply via email to