[GnomeMeeting-devel-list] Re: GM crash bt [as requested on devel-ml]



Le dim 11/01/2004 à 13:06, Jan Schampera a écrit :
> > MALLOC_CHECK_=2 gdb gnomemeeting
> Done.
> Output:
> Program received signal SIGABRT, Aborted.
> [Switching to Thread 163851 (LWP 13478)]
> 0x41a34481 in kill () from /lib/i686/libc.so.6
> (gdb) thread apply all bt
> 
> Thread 14 (Thread 196621 (LWP 13480)):
> #0  0x41ad36b7 in sched_yield () from /lib/i686/libc.so.6
> #1  0x4156231d in PThread::Yield() () from 
> /usr/lib/libpt_linux_x86_r.so.1.5.5


GLIB sends a SIGABRT signal because of a MALLOC error. The error is in
Thread 12 (where the KILL is):
#0  0x41a34481 in kill () from /lib/i686/libc.so.6
#1  0x40633acd in pthread_kill () from /lib/i686/libpthread.so.0
#2  0x40633deb in raise () from /lib/i686/libpthread.so.0
#3  0x41a34224 in raise () from /lib/i686/libc.so.6
#4  0x41a3576b in abort () from /lib/i686/libc.so.6
#5  0x41a81618 in posix_memalign () from /lib/i686/libc.so.6
#6  0x41a7ebf5 in malloc () from /lib/i686/libc.so.6
#7  0x419b94ae in operator new(unsigned) () from /usr/lib/libstdc++.so.5
#8  0x419b95ff in operator new[](unsigned) () from
/usr/lib/libstdc++.so.5

Actually it just tells libstdc++ fails to do a new. I don't know why
though. Can you recompile without stripping?

And yes the bt is different but that is probably the same problem.
Without MALLOC_CHECK_, if you are doing a memory allocation error, it
will only crash later, when the problematic area is accessed. But when
you are forcing MALLOC_CHECK_ it will crash instantly where the problem
is.

I'm sorry, but you will have to compile with debug symbols and also tell
me when it crashes : when doing a call or just when starting
GnomeMeeting? With or without video?

Problem is that I don't find where "new[]" is used in GnomeMeeting.


> 
> Thread 13 (Thread 180236 (LWP 13479)):
> #0  0x41ae1547 in poll () from /lib/i686/libc.so.6
> 
> Thread 12 (Thread 163851 (LWP 13478)):
> #0  0x41a34481 in kill () from /lib/i686/libc.so.6
> #1  0x40633acd in pthread_kill () from /lib/i686/libpthread.so.0
> #2  0x40633deb in raise () from /lib/i686/libpthread.so.0
> #3  0x41a34224 in raise () from /lib/i686/libc.so.6
> #4  0x41a3576b in abort () from /lib/i686/libc.so.6
> #5  0x41a81618 in posix_memalign () from /lib/i686/libc.so.6
> #6  0x41a7ebf5 in malloc () from /lib/i686/libc.so.6
> #7  0x419b94ae in operator new(unsigned) () from /usr/lib/libstdc++.so.5
> #8  0x419b95ff in operator new[](unsigned) () from /usr/lib/libstdc++.so.5
> 
> Thread 11 (Thread 147466 (LWP 13477)):
> #0  0x41ae2f01 in select () from /lib/i686/libc.so.6
> #1  0x4164eee0 in typeinfo for PSmartPointer () from 
> /usr/lib/libpt_linux_x86_r.so.1.5.5
> Cannot access memory at address 0x31
> #0  0x41a34481 in kill () from /lib/i686/libc.so.6
> (gdb)
> 
> HTH
> J.
> 
> PS: I see no information telling where it fails to access.
-- 
 _      Damien Sandras
(o-     GnomeMeeting: http://www.gnomemeeting.org/
//\     FOSDEM 2003:  http://www.fosdem.org
v_/_    H.323 phone:  callto://ils.seconix.com/dsandras seconix com




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