GNOME Bugzilla – Bug 576759
quiting ekiga results in crash
Last modified: 2009-09-01 14:52:17 UTC
Steps to reproduce: 1. start ekiga 2. click (choose) the quit action in the menu 3. ekiga exit (and crashes) Stack trace: 2009/03/25 21:26:03.265 1:10:52.685 Opal Liste...0x5b4e7950 MonSock UDP Port on remote not ready. 2009/03/25 21:26:05.274 1:10:54.694 Opal Liste...0x5b4e7950 MonSock UDP Port on remote not ready. 2009/03/25 21:26:16.658 1:11:06.078 PWLib Destroyed thread 0x18a92a8 AudioEventScheduler:0x73867950(id = 7f3173867950) 2009/03/25 21:26:16.658 1:11:06.078 PWLib Destroyed thread 0x18a9950 PreviewManager(id = 0) 2009/03/25 21:26:16.659 1:11:06.079 PWLib Destroyed thread 0x1844e90 GMVideoOutputManager:0x5d1e1950(id = 7f315d1e1950) 2009/03/25 21:26:16.659 1:11:06.079 PWLib Destroyed thread 0x18a8e48 VideoPreviewManager:0x738a8950(id = 7f31738a8950) 2009/03/25 21:26:16.660 1:11:06.080 PWLib Destroyed thread 0x1a91da0 Network Interface Monitor:0x5b569950(id = 0) 2009/03/25 21:26:16.684 1:11:06.105 PWLib Destroyed thread 0x1a94ec0 Housekeeper:0x5b528950(id = 0) h264helper_unix.cxx(72) H264 IPC CP: Terminating *** glibc detected *** ekiga-snapshot: corrupted double-linked list: 0x00000000018a8330 *** ======= Backtrace: ========= /lib/libc.so.6[0x7f316dbf91b8] /lib/libc.so.6[0x7f316dbf944a] /lib/libc.so.6[0x7f316dbfa988] /lib/libc.so.6(cfree+0x76)[0x7f316dbfacf6] /lib/libc.so.6(fclose+0x151)[0x7f316dbe9ac1] /usr/lib/libstdc++.so.6(_ZNSt12__basic_fileIcE5closeEv+0x68)[0x7f316e438958] /usr/lib/libstdc++.so.6(_ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv+0xb7)[0x7f316e3e6287] /usr/lib/opal-3.6.1/codecs/video/h264_video_pwplugin.so(_ZN10H264EncCtx19closeAndRemovePipesEv+0x9a)[0x7f315fe6dbaa] /usr/lib/opal-3.6.1/codecs/video/h264_video_pwplugin.so(_ZN10H264EncCtxD1Ev+0x16)[0x7f315fe6ee46] /lib/libc.so.6(exit+0x9d)[0x7f316dbbbcad] /lib/libc.so.6(__libc_start_main+0xed)[0x7f316dba55ad] ekiga-snapshot[0x4a0129] ======= Memory map: ======== 00400000-0063b000 r-xp 00000000 08:03 12966930 /usr/bin/ekiga-snapshot 0083a000-00850000 rw-p 0023a000 08:03 12966930 /usr/bin/ekiga-snapshot 00850000-00851000 rw-p 00850000 00:00 0 017d0000-0370a000 rw-p 017d0000 00:00 0 [heap] 7f31517c1000-7f31517c2000 ---p 7f31517c1000 00:00 0 7f31517c2000-7f3151802000 rwxp 7f31517c2000 00:00 0 7f3151802000-7f3151803000 ---p 7f3151802000 00:00 0 7f3151803000-7f3151843000 rwxp 7f3151803000 00:00 0 7f3151843000-7f3151844000 ---p 7f3151843000 00:00 0 7f3151844000-7f3151884000 rwxp 7f3151844000 00:00 0 7f3151884000-7f3151885000 ---p 7f3151884000 00:00 0 7f3151885000-7f31518c5000 rwxp 7f3151885000 00:00 0 7f31518c5000-7f31518c6000 ---p 7f31518c5000 00:00 0 7f31518c6000-7f3151906000 rwxp 7f31518c6000 00:00 0 7f3151906000-7f3151907000 ---p 7f3151906000 00:00 0 7f3151907000-7f3151947000 rwxp 7f3151907000 00:00 0 7f3151947000-7f3151948000 ---p 7f3151947000 00:00 0 7f3151948000-7f3151988000 rwxp 7f3151948000 00:00 0 7f3151988000-7f3151989000 ---p 7f3151988000 00:00 0 7f3151989000-7f31519c9000 rwxp 7f3151989000 00:00 0 7f31519c9000-7f31519ca000 ---p 7f31519c9000 00:00 0 7f31519ca000-7f3151a0a000 rwxp 7f31519ca000 00:00 0 7f3151a0a000-7f3151a0b000 ---p 7f3151a0a000 00:00 0 7f3151a0b000-7f3151a4b000 rwxp 7f3151a0b000 00:00 0 7f3151a4b000-7f3151a4c000 ---p 7f3151a4b000 00:00 0 7f3151a4c000-7f3151a8c000 rwxp 7f3151a4c000 00:00 0 7f3151a8c000-7f3151a8d000 ---p 7f3151a8c000 00:00 0 7f3151a8d000-7f3151acd000 rwxp 7f3151a8d000 00:00 0 7f3151acd000-7f3151ace000 ---p 7f3151acd000 00:00 0 7f3151ace000-7f3151b0e000 rwxp 7f3151ace000 00:00 0 7f3151b0e000-7f3151b0f000 ---p 7f3151b0e000 00:00 0 7f3151b0f000-7f3151b4f000 rwxp 7f3151b0f000 00:00 0 7f3151b4f000-7f3151b50000 ---p 7f3151b4f000 00:00 0 7f3151b50000-7f3151b90000 rwxp 7f3151b50000 00:00 0 7f3151b90000-7f3151b91000 ---p 7f3151b90000 00:00 0 7f3151b91000-7f3151bd1000 rwxp 7f3151b91000 00:00 0 7f3151bd1000-7f3151bd2000 ---p 7f3151bd1000 00:00 0 7f3151bd2000-7f3151c12000 rwxp 7f3151bd2000 00:00 0 7f3151c12000-7f3151c92000 r--p 00000000 08:03 5029907 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf 7f3151c92000-7f3151c93000 ---p 7f3151c92000 00:00 0 7f3151c93000-7f3151cd3000 rwxp 7f3151c93000 00:00 0 7f3151cd3000-7f3151cd4000 ---p 7f3151cd3000 00:00 0 7f3151cd4000-7f3151d14000 rwxp 7f3151cd4000 00:00 0 7f3151d14000-7f3151d15000 ---p 7f3151d14000 00:00 0 7f3151d15000-7f3151d55000 rwxp 7f3151d15000 00:00 0 7f3151d55000-7f3151d56000 ---p 7f3151d55000 00:00 0 7f3151d56000-7f3151d96000 rwxp 7f3151d56000 00:00 0 7f3151d96000-7f3151d97000 ---p 7f3151d96000 00:00 0 7f3151d97000-7f3151dd7000 rwxp 7f3151d97000 00:00 0 7f3151dd7000-7f3151dee000 r-xp 00000000 08:03 2785927 /usr/lib/libbeagle.so.1.0.2 7f3151dee000-7f3151fed000 ---p 00017000 08:03 2785927 /usr/lib/libbeagle.so.1.0.2 7f3151fed000-7f3151fee000 rw-p 00016000 08:03 2785927 /usr/lib/libbeagle.so.1.0.2 7f3151fee000-7f3151fef000 rw-p 7f3151fee000 00:00 0 7f3151fef000-7f3151ff9000 r-xp 00000000 08:03 2785903 /usr/lib/libtrackerclient.so.0.0.0 7f3151ff9000-7f31521f8000 ---p 000Aborted laptop:~# Other information:
I have the same issue when using ekiga in debug mode (compiled with debug flag).
Uh... the original report is from 2009-03-25 and I haven't seen it... sorry for not answering. Can you both get more complete backtraces?
Created attachment 132048 [details] Backtrace Actually, it's not crashing (anymore ?) but only segfaulting.
true. i am using ekiga-snapshot 20090331
A segfault is a crash... could you get me a backtrace?
I just realized you called your debug log a "backtrace" which it isn't : I would like you to run ekiga in gdb and get a real backtrace.
how can i do that ? can you give an example ?
http://wiki.ekiga.org/index.php/Debugging_Ekiga
laptop:~# gdb ekiga-snapshot 2>&1 | tee gdb-ekiga.txt GNU gdb (GDB) 6.8.50.20090106-cvs-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... (gdb) run Starting program: /usr/bin/ekiga-snapshot [Thread debugging using libthread_db enabled] [New Thread 0x7ffff7ea9950 (LWP 19052)] [New Thread 0x7ffff7e68950 (LWP 19053)] [New Thread 0x7fffdfc30950 (LWP 19054)] [New Thread 0x7fffdfbef950 (LWP 19055)] [New Thread 0x7fffdfbae950 (LWP 19056)] [New Thread 0x7fffdfb6d950 (LWP 19057)] [New Thread 0x7fffdfb2c950 (LWP 19058)] [New Thread 0x7fffdfaeb950 (LWP 19059)] [New Thread 0x7fffdfaaa950 (LWP 19060)] [Thread 0x7fffdfaaa950 (LWP 19060) exited] [Thread 0x7fffdfb2c950 (LWP 19058) exited] [New Thread 0x7fffdfb2c950 (LWP 19061)] [Thread 0x7fffdfaeb950 (LWP 19059) exited] [New Thread 0x7fffdfaeb950 (LWP 19062)] [New Thread 0x7fffdfaaa950 (LWP 19063)] [New Thread 0x7fffdd1ac950 (LWP 19064)] [New Thread 0x7fffdd16b950 (LWP 19065)] ^C[Thread 0x7fffdfaaa950 (LWP 19063) exited] [Thread 0x7fffdd1ac950 (LWP 19064) exited] [Thread 0x7fffdd16b950 (LWP 19065) exited] Program received signal SIGINT, Interrupt. [Switching to Thread 0x7ffff7ea9950 (LWP 19052)] pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 261 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S Current language: auto; currently asm (gdb) quit The program is running. Quit anyway (and kill it)? (y or n) y laptop:~# gdb ekiga-snapshot 2>&1 | tee gdb-ekiga.txt GNU gdb (GDB) 6.8.50.20090106-cvs-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... (gdb) run Starting program: /usr/bin/ekiga-snapshot [Thread debugging using libthread_db enabled] [New Thread 0x7ffff7ea9950 (LWP 19073)] [New Thread 0x7ffff7e68950 (LWP 19074)] [New Thread 0x7fffdfc30950 (LWP 19075)] [New Thread 0x7fffdfbef950 (LWP 19076)] [New Thread 0x7fffdfbae950 (LWP 19077)] [New Thread 0x7fffdfb6d950 (LWP 19078)] [New Thread 0x7fffdfb2c950 (LWP 19079)] [New Thread 0x7fffdfaeb950 (LWP 19080)] [New Thread 0x7fffdfaaa950 (LWP 19081)] *** glibc detected *** /usr/bin/ekiga-snapshot: corrupted double-linked list: 0x00000000009257e0 *** ======= Backtrace: ========= /lib/libc.so.6[0x7ffff292c1b8] /lib/libc.so.6[0x7ffff292db28] /lib/libc.so.6(cfree+0x76)[0x7ffff292dcf6] /usr/lib/libpt.so.2.7-beta0(_ZN14PAbstractArray15DestroyContentsEv+0x25)[0x7ffff5d195a5] /usr/lib/libpt.so.2.7-beta0(_ZN10PContainer8DestructEv+0x36)[0x7ffff5d19896] /usr/lib/libpt.so.2.7-beta0(_ZN14PHashTableInfoD0Ev+0x17)[0x7ffff5d16f87] /usr/lib/libpt.so.2.7-beta0(_ZN10PHashTable15DestroyContentsEv+0x22)[0x7ffff5d12fa2] /usr/lib/libpt.so.2.7-beta0(_ZN10PContainer8DestructEv+0x36)[0x7ffff5d19896] /usr/lib/libopal.so.3.7-beta0(_ZN22OpalPluginCodecManagerD0Ev+0x93)[0x7ffff6919713] /usr/lib/libpt.so.2.7-beta0(_ZN19PluginLoaderStartup10OnShutdownEv+0x4f)[0x7ffff5ceca1f] /usr/lib/libpt.so.2.7-beta0(_ZN8PProcess11PreShutdownEv+0x2a)[0x7ffff5d057ea] /usr/lib/libpt.so.2.7-beta0(_ZN8PProcessD2Ev+0x2b)[0x7ffff5cd8fab] /lib/libc.so.6(exit+0x9d)[0x7ffff28eecad] /lib/libc.so.6(__libc_start_main+0xed)[0x7ffff28d85ad] /usr/bin/ekiga-snapshot[0x4a2479] ======= Memory map: ======== 00400000-00634000 r-xp 00000000 08:03 12961464 /usr/bin/ekiga-snapshot 00833000-0084a000 rw-p 00233000 08:03 12961464 /usr/bin/ekiga-snapshot 0084a000-00fee000 rw-p 0084a000 00:00 0 [heap] 7fffd8000000-7fffd8021000 rw-p 7fffd8000000 00:00 0 7fffd8021000-7fffdc000000 ---p 7fffd8021000 00:00 0 7fffdd1ad000-7fffdd20d000 rw-s 00000000 00:08 35225612 /SYSV00000000 (deleted) 7fffdd20d000-7fffdd292000 r--p 00000000 08:03 5029901 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf 7fffdd292000-7fffdd295000 r-xp 00000000 08:03 13074617 /usr/lib/pango/1.6.0/modules/pango-hebrew-fc.so 7fffdd295000-7fffdd494000 ---p 00003000 08:03 13074617 /usr/lib/pango/1.6.0/modules/pango-hebrew-fc.so 7fffdd494000-7fffdd495000 rw-p 00002000 08:03 13074617 /usr/lib/pango/1.6.0/modules/pango-hebrew-fc.so 7fffdd495000-7fffdd521000 r--p 00000000 08:03 5029895 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf 7fffdd521000-7fffdd527000 r-xp 00000000 08:03 13075320 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so 7fffdd527000-7fffdd727000 ---p 00006000 08:03 13075320 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so 7fffdd727000-7fffdd728000 rw-p 00006000 08:03 13075320 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so 7fffdd728000-7fffdd788000 rw-s 00000000 00:08 35192840 /SYSV00000000 (deleted) 7fffdd788000-7fffdd78c000 r-xp 00000000 08:03 13074600 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so 7fffdd78c000-7fffdd98c000 ---p 00004000 08:03 13074600 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so 7fffdd98c000-7fffdd98d000 rw-p 00004000 08:03 13074600 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so 7fffdd98d000-7fffdd9a7000 r--s 00000000 08:03 16294014 /usr/share/mime/mime.cache 7fffdd9a7000-7fffdd9b7000 r-xp 00000000 08:03 12966938 /usr/lib/libgvfscommon.so.0.0.0 7fffdd9b7000-7fffddbb7000 ---p 00010000 08:03 12966938 /usr/lib/libgvfscommon.so.0.0.0 7fffddbb7000-7fffddbb8000 rw-p 00010000 08:03 12966938 /usr/lib/libgvfscommon.so.0.0.0 7fffddbbb000-7fffddbd5000 r--s 00000000 08:03 16294014 /usr/share/mime/mime.cache 7fffddbd5000-7fffddbf1000 r-xp 00000000 08:03 13117105 /usr/lib/gio/modules/libgvfsdbus.so 7fffddbf1000-7fffdddf0000 ---p 0001c000 08:03 13117105 /usr/lib/gio/modules/libgvfsdbus.so 7fffdddf0000-7fffdddf2000 rw-p 0001b000 08:03 13117105 /usr/lib/gio/modules/libgvfsdbus.so 7fffdddf2000-7fffdde8a000 r--p 00000000 08:03 13008967 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf[Thread 0x7ffff7e68950 (LWP 19074) exited] [Thread 0x7ffff7ea9950 (LWP 19073) exited] [Thread 0x7fffdfc30950 (LWP 19075) exited] [Thread 0x7fffdfbae950 (LWP 19077) exited] Program received signal SIGABRT, Aborted. 0x00007ffff28ec105 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/raise.c Current language: auto; currently c (gdb) thread apply all bt
+ Trace 214405
Thread 10 (Thread 0x7fffdfaaa950 (LWP 19081))
Thread 9 (Thread 0x7fffdfaeb950 (LWP 19080))
Thread 8 (Thread 0x7fffdfb2c950 (LWP 19079))
Thread 1 (Thread 0x7ffff7eaa7b0 (LWP 19069))
Sigh. Is that bug still current?
Created attachment 132872 [details] Backtrace Here is a backtrace. Hope it will help.
Uh... that last backtrace doesn't look at all like the original crash...
Hi Nadav, This bug should have been fixed very recently. Could you tell us if you still have a crash when quitting (use 20090818 or later)? (For me, right now it finishes after 5-10 secs, or does not finish, but this is another, known, story.)
just installed version 20090818 and indeed it takes 5-10 sec to quit. but, it crashes. here is a backtrace of a call (successful one) and after it was finished i quit ekiga (took 5-8 sec) and it closed and crashed. 2009/08/24 12:35:05.187 13:24.555 AudioEvent...0xae730950 AudioOutputCore No secondary audiooutput device defined, trying primary 2009/08/24 12:35:09.188 13:28.556 AudioEvent...0xae730950 AudioOutputCore No secondary audiooutput device defined, trying primary 2009/08/24 12:35:12.180 13:31.549 Housekeeper:0x9a30d950 OpalCon Already released Call[Cbacf48b225]-EP<sip>[4c81150e-ff8e-de11-8654-002100673b05] 2009/08/24 12:35:12.210 13:31.579 Pool:0x9804d950 OpalCon Already released Call[Cbacf48b225]-EP<sip>[4c81150e-ff8e-de11-8654-002100673b05] 2009/08/24 12:35:12.282 13:31.650 OnRelease:0x8e2ec950 PTLib Destroyed thread 0x1cf7730 OnRelease:0x8e2ec950(id = 7fe78e2ec950) 2009/08/24 12:35:53.626 14:12.995 CallSetup:0x8e2ec950 PTLib Destroyed thread 0x7fe794016f00 CallSetup:0x8e2ec950(id = 7fe78e2ec950) 2009/08/24 12:35:53.726 14:13.095 AudioEvent...0xae730950 AudioOutputCore No secondary audiooutput device defined, trying primary 2009/08/24 12:35:57.727 14:17.095 AudioEvent...0xae730950 AudioOutputCore No secondary audiooutput device defined, trying primary 2009/08/24 12:36:01.727 14:21.096 AudioEvent...0xae730950 AudioOutputCore No secondary audiooutput device defined, trying primary 2009/08/24 12:36:01.772 14:21.141 SDP Unknown media attribute silenceSupp 2009/08/24 12:36:01.882 14:21.251 AudioEvent...0xae730950 ALSA Could not write 0 1764 Success 2009/08/24 12:36:03.254 14:22.623 Call SelectMediaFormats could not find compatible video format: source formats=YUV420P,PCM-16-48kHz,PCM-16-32kHz,PCM-16-16kHz,PCM-16,SIP-IM,T.140,H.224/H323AnnexQ,H.224/HDLCTunneling sink formats=G.711-ALaw-64k,G.711-uLaw-64k,T.38,UserInput/RFC2833 2009/08/24 12:36:06.509 14:25.878 RTP Jitter:0x8eb3d950 RTP Session 1, adjusting sequence numbers to expect 33242 ssrc=2121854115 2009/08/24 12:36:13.184 14:32.553 OpalCon Already released Call[C22c6be8b27]-EP<sip>[4c65ba2f-ff8e-de11-8654-002100673b05] 2009/08/24 12:36:13.186 14:32.555 OnRelease:0x8e26a950 PTLib Destroyed thread 0x7fe794099cc0 Media Patch:0x8e2ec950(id = 7fe78e2ec950) 2009/08/24 12:36:13.191 14:32.559 Media Patch:0x8e2ab950 GMAudioOutputManager_ptlib Trying to get frame from closed device[0] 2009/08/24 12:36:13.191 14:32.559 Media Patch:0x8e2ab950 AudioOutputCore Falling back to SILENT (Ekiga/Ekiga) 2009/08/24 12:36:13.200 14:32.569 OnRelease:0x8e26a950 PTLib Destroyed thread 0x1db0c10 RTP Jitter:0x8eb3d950(id = 7fe78eb3d950) 2009/08/24 12:36:13.215 14:32.584 OnRelease:0x8e26a950 PTLib Destroyed thread 0x7fe7940988c0 Media Patch:0x8e2ab950(id = 7fe78e2ab950) 2009/08/24 12:36:13.233 14:32.602 OnRelease:0x8e26a950 PTLib Destroyed thread 0x1d6edd0 OnRelease:0x8e26a950(id = 7fe78e26a950) 2009/08/24 12:36:30.935 14:50.304 PTLib Destroyed thread 0x14c5690 AudioEventScheduler:0xae730950(id = 7fe7ae730950) 2009/08/24 12:36:30.936 14:50.305 PTLib Destroyed thread 0x145d1b8 PreviewManager(id = 0) 2009/08/24 12:36:30.941 14:50.309 PTLib Destroyed thread 0x145c250 GMVideoOutputManager:0x9a3d0950(id = 7fe79a3d0950) 2009/08/24 12:36:30.941 14:50.310 PTLib Destroyed thread 0x14c5030 VideoPreviewManager:0xae771950(id = 7fe7ae771950) 2009/08/24 12:36:42.985 15:02.354 WaitForTermination on 140632701331792 finished 2009/08/24 12:36:42.985 15:02.354 PTLib Destroyed thread 0x14fac40 Network Interface Monitor:0x9a34e950(id = 7fe79a34e950) h264helper_unix.cxx(72) H264 IPC CP: Terminating Segmentation fault laptop:~#
In fact, Nadav uses the trunk snapshots, while this bug was for the stable branch. I think we can leave this bug closed, and kindly ask Nadav to open another bug report in say at least 2 weeks if ekiga snapshot still crashes then.