Re: [Ekiga-devel-list] ekiga X badvalue / deadlock



Hi Martin, 
could you provide a ekiga -d 4 output? I have a potential candidate for this problem, but I wont
be able to confirm before tomorrow...

Regards,
Matthias
--- Martin Ebourne <lists ebourne me uk> schrieb:

> Hi,
> 
> I'm running r5773 of ekiga but I get this error on startup after the window is drawn:
> 
>         Gdk-ERROR **: The program 'ekiga' received an X Window System error.
>         This probably reflects a bug in the program.
>         The error was 'BadValue (integer parameter out of range for operation)'.
>           (Details: serial 1610 error_code 2 request_code 1 minor_code 0)
>           (Note to programmers: normally, X errors are reported asynchronously;
>            that is, you will receive the error a while after causing it.
>            To debug your program, run it with the --sync command line
>            option to change this behavior. You can then get a meaningful
>            backtrace from your debugger if you break on the gdk_x_error() function.)
>         aborting...
>         [1]    11552 killed     ekiga
>         
> If I stop on gdk_x_error I get this backtrace:
> 
>         #0  gdk_x_error (display=0x80a990, error=0x40143ac0) at gdkmain-x11.c:613
>         #1  0x0000003fb4443d9d in _XError () from /usr/lib64/libX11.so.6
>         #2  0x0000003fb444aaca in PArrayObjects::Insert () at ../common/collect.cxx:153
>         #3  0x0000003fb444b0b8 in _XReply () from /usr/lib64/libX11.so.6
>         #4  0x0000003fb9202c8f in XvQueryPortAttributes () from /usr/lib64/libXv.so.1
>         #5  0x00000000004ef022 in XVWindow::GetXVAtom (this=0xe126d0, 
>             name=0x572ce1 "XV_SYNC_TO_VBLANK") at xvwindow.cpp:540
>         #6  0x00000000004f124a in XVWindow::Init (this=0xe126d0, 
>             dp=<value optimized out>, rootWindow=<value optimized out>, gc=0xd96750, 
>             x=38, y=27, windowWidth=0, windowHeight=0, imageWidth=352, imageHeight=288)
>             at xvwindow.cpp:166
>         #7  0x00000000004c2b16 in GMVideoDisplay_X::SetupFrameDisplay (this=0xcdcec0, 
>             display=LOCAL_VIDEO, lf_width=352, lf_height=288, rf_width=0, rf_height=0, 
>             zoom=0) at devices/videodisplay_x.cpp:143
>         #8  0x00000000004bc99a in GMVideoDisplay_embedded::Redraw (this=0xcdcec0)
>             at devices/videodisplay.cpp:294
>         #9  0x00000000004bcedb in GMVideoDisplay_embedded::Main (this=0xcdcec0)
>             at devices/videodisplay.cpp:153
>         #10 0x0000003536d7cbb3 in PThread::PX_ThreadStart (arg=<value optimized out>)
>             at tlibthrd.cxx:804
>         #11 0x0000003761606407 in start_thread () from /lib64/libpthread.so.0
>         #12 0x00000037606d4b0d in clone () from /lib64/libc.so.6
>         
> Of course, this might not be the operation responsible because the
> errors are asynchronous. However, if I run with ekiga --sync then
> gdk_x_error doesn't get called but ekiga does deadlock (see below).
> 
> Any ideas?
> 
> Cheers,
> 
> Martin.
> 
> ekiga --sync deadlock:
> 
> Program received signal SIGINT, Interrupt.
> 0x000000376160a8f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
> (gdb) thread apply all bt
> 
> Thread 17 (Thread 1107872080 (LWP 13015)):
> #0  0x000000376160cef4 in __lll_lock_wait () from /lib64/libpthread.so.0
> #1  0x0000003761608915 in _L_lock_102 () from /lib64/libpthread.so.0
> #2  0x0000003761608390 in pthread_mutex_lock () from /lib64/libpthread.so.0
> #3  0x00000000004ad84c in gnomemeeting_threads_enter () at gui/misc.cpp:65
> #4  0x00000000004cc359 in GMManager::ResetListeners (this=0x7ea420) at
> endpoints/manager.cpp:1216
> #5  0x00000000004e8e19 in GMStunClient::Main (this=0xcfee10) at clients/stun.cpp:344
> #6  0x0000003536d7cbb3 in PThread::PX_ThreadStart (arg=<value optimized out>) at
> tlibthrd.cxx:804
> #7  0x0000003761606407 in start_thread () from /lib64/libpthread.so.0
> #8  0x00000037606d4b0d in clone () from /lib64/libc.so.6
> 
> Thread 16 (Thread 1107605840 (LWP 13014)):
> #0  0x000000376160a8f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
> #1  0x0000003536d7c151 in PSyncPoint::Wait (this=0xcff078) at tlibthrd.cxx:1416
> #2  0x00000000004e82a8 in GMStunClient (this=0xcfee10, display_progress_=false,
> display_config_dialog_=false, wait_=true, 
>     parent_window=0x0, endpoint= 0x862720) at clients/stun.cpp:253
> #3  0x00000000004cc902 in GMManager::CreateSTUNClient (this=0x862720, display_progress=false,
> display_config_dialog=false, 
>     wait=true, parent=0x0) at endpoints/manager.cpp:665
> #4  0x00000000004c5836 in GMAccountsEndpoint::Main (this=0xcfa680) at
> endpoints/accountshandler.cpp:98
> #5  0x0000003536d7cbb3 in PThread::PX_ThreadStart (arg=<value optimized out>) at
> tlibthrd.cxx:804
> #6  0x0000003761606407 in start_thread () from /lib64/libpthread.so.0
> #7  0x00000037606d4b0d in clone () from /lib64/libc.so.6
> 
> Thread 15 (Thread 1107339600 (LWP 13013)):
> #0  0x00000037606cddf2 in select () from /lib64/libc.so.6
> #1  0x0000003536d71ed5 in PSocket::Select (read=<value optimized out>, write=<value optimized
> out>, 
>     except=<value optimized out>, timeout= 0x42009fd0) at socket.cxx:319
> #2  0x0000003536d85ca4 in PSocket::Select (read= 0x42009d80, timeout= 0x42009fd0) at
> ../common/sockets.cxx:1031
> #3  0x0000003536d8d087 in PMonitoredSockets::ReadFromSocket (this=0xcf8260, info= 0xcf89a8,
> buf=0xcfacc0, len=2000, 
>     addr= 0x42009eb0, port= 0x42009eae, lastReadCount= 0x42009ea8, timeout= 0x42009fd0) at
> ../../ptclib/psockbun.cxx:564
> #4  0x0000003536d8d39d in PSingleMonitoredSocket::ReadFromBundle (this=0xcf8260, buf=0xcfacc0,
> len=2000, addr= 0x42009eb0, 
>     port= 0x42009eae, iface= 0x42009e50, lastReadCount= 0x42009ea8, timeout= 0x42009fd0) at
> ../../ptclib/psockbun.cxx:1084
> #5  0x00000035350811f3 in OpalListenerUDP::Accept (this=0x863d50, timeout= 0x42009fd0)
>     at /usr/src/debug/opal-3.1.0/src/opal/transports.cxx:757
> #6  0x00000035350862ec in OpalListener::ListenForConnections (this=0x863d50, thread= 0xcf9ab0)
>     at /usr/src/debug/opal-3.1.0/src/opal/transports.cxx:416
> #7  0x0000003536d7cbb3 in PThread::PX_ThreadStart (arg=<value optimized out>) at
> tlibthrd.cxx:804
> #8  0x0000003761606407 in start_thread () from /lib64/libpthread.so.0
> #9  0x00000037606d4b0d in clone () from /lib64/libc.so.6
> Current language:  auto; currently c
> 
> Thread 14 (Thread 1107073360 (LWP 13012)):
> #0  0x000000376160ab7d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
> #1  0x0000003536d7c051 in PSyncPoint::Wait (this=0x3537036a88, waitTime= 0x3537036a38) at
> tlibthrd.cxx:1434
> #2  0x0000003536d8da8d in PInterfaceMonitor::UpdateThreadMain (this=0x3537036a00) at
> ../../ptclib/psockbun.cxx:236
> #3  0x0000003536d7cbb3 in PThread::PX_ThreadStart (arg=<value optimized out>) at
> tlibthrd.cxx:804
> #4  0x0000003761606407 in start_thread () from /lib64/libpthread.so.0
> #5  0x00000037606d4b0d in clone () from /lib64/libc.so.6
> Current language:  auto; currently asm
> 
> Thread 13 (Thread 1106807120 (LWP 13011)):
> #0  0x00000037606cddf2 in select () from /lib64/libc.so.6
> #1  0x0000003536d80384 in PThread::PXBlockOnIO (this=0xcf4ec0, handle=41, type=2,
> timeout= 0x41f87d40) at tlibthrd.cxx:896
> #2  0x0000003536d73f1a in PChannel::PXSetIOBlock (this=0xcead68, type=PChannel::PXAcceptBlock,
> timeout= 0x41f87d40)
>     at channel.cxx:119
> #3  0x0000003536d6fe7e in PSocket::os_accept (this=0xcf7b60, listener= 0xcead68,
> addr=0x41f87da0, size=0x41f87d9c)
>     at socket.cxx:197
> #4  0x0000003536d87870 in PTCPSocket::Accept (this=0xcf7b60, socket= 0xcead68) at
> ../common/sockets.cxx:2231
> #5  0x00000035350843a1 in OpalListenerTCP::Accept (this=0xcead10, timeout=<value optimized out>)
>     at /usr/src/debug/opal-3.1.0/src/opal/transports.cxx:661
> #6  0x00000035350862ec in OpalListener::ListenForConnections (this=0xcead10, thread= 0xcf4ec0)
> ---Type <return> to continue, or q <return> to quit---
>     at /usr/src/debug/opal-3.1.0/src/opal/transports.cxx:416
> #7  0x0000003536d7cbb3 in PThread::PX_ThreadStart (arg=<value optimized out>) at
> tlibthrd.cxx:804
> #8  0x0000003761606407 in start_thread () from /lib64/libpthread.so.0
> #9  0x00000037606d4b0d in clone () from /lib64/libc.so.6
> Current language:  auto; currently c
> 
> Thread 12 (Thread 1074538832 (LWP 13010)):
> #0  0x000000376160cef4 in __lll_lock_wait () from /lib64/libpthread.so.0
> #1  0x0000003761608915 in _L_lock_102 () from /lib64/libpthread.so.0
> #2  0x0000003761608390 in pthread_mutex_lock () from /lib64/libpthread.so.0
> #3  0x00000000004ad84c in gnomemeeting_threads_enter () at gui/misc.cpp:65
> #4  0x00000000004b7731 in PVideoInputDevice_Picture::GetFrameDataNoDelay (this=0xc8fea0, 
>     frame=0x2aaab4591010 '� <repeats 200 times>..., i=<value optimized out>) at
> devices/fakevideoinput.cpp:270
> #5  0x00000000004b7673 in PVideoInputDevice_Picture::GetFrameData (this=0xc8fea0,
> a=0x2aaab4591010 '� <repeats 200 times>..., 
>     i=0x400c1f5c) at devices/fakevideoinput.cpp:238
> #6  0x0000003536d1b432 in PVideoInputDevice::GetFrame (this=0xc8fea0, frame= 0x400c1fa0) at
> ../common/videoio.cxx:1182
> #7  0x00000000004ba414 in GMVideoGrabber::Main (this=0xc909f0) at devices/videoinput.cpp:124
> #8  0x0000003536d7cbb3 in PThread::PX_ThreadStart (arg=<value optimized out>) at
> tlibthrd.cxx:804
> #9  0x0000003761606407 in start_thread () from /lib64/libpthread.so.0
> #10 0x00000037606d4b0d in clone () from /lib64/libc.so.6
> Current language:  auto; currently asm
> 
> Thread 11 (Thread 1075071312 (LWP 13009)):
> #0  0x000000376160a8f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
> #1  0x0000003fb3c08a0e in PArrayObjects::Insert () at ../common/collect.cxx:153
> #2  0x0000003fb3c0a485 in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
> #3  0x0000003fb444b08b in _XReply () from /usr/lib64/libX11.so.6
> #4  0x0000003fb443f7aa in XSync () from /usr/lib64/libX11.so.6
> #5  0x0000003fb443f94b in PArrayObjects::Insert () at ../common/collect.cxx:153
> #6  0x0000003fb4808f21 in XShmDetach () from /usr/lib64/libXext.so.6
> #7  0x00000000004ef198 in ~XVWindow (this=0xd989f0) at xvwindow.cpp:77
> #8  0x00000000004c1d0f in GMVideoDisplay_X::CloseFrameDisplay (this=0xce0b10) at
> devices/videodisplay_x.cpp:426
> #9  0x00000000004c2325 in GMVideoDisplay_X::SetupFrameDisplay (this=0xce0b10,
> display=LOCAL_VIDEO, lf_width=352, 
>     lf_height=288, rf_width=0, rf_height=0, zoom=100) at devices/videodisplay_x.cpp:131
> #10 0x00000000004bc99a in GMVideoDisplay_embedded::Redraw (this=0xce0b10) at
> devices/videodisplay.cpp:294
> #11 0x00000000004bcedb in GMVideoDisplay_embedded::Main (this=0xce0b10) at
> devices/videodisplay.cpp:153
> #12 0x0000003536d7cbb3 in PThread::PX_ThreadStart (arg=<value optimized out>) at
> tlibthrd.cxx:804
> #13 0x0000003761606407 in start_thread () from /lib64/libpthread.so.0
> #14 0x00000037606d4b0d in clone () from /lib64/libc.so.6
> 
> Thread 8 (Thread 1085561168 (LWP 12985)):
> #0  0x00000037606cbd66 in __poll (fds=0x883c20, nfds=1, timeout=-1) at
> ../sysdeps/unix/sysv/linux/poll.c:87
> #1  0x000000373a031f3e in g_main_context_iterate (context=0x8875b0, block=1, dispatch=1,
> self=<value optimized out>)
>     at gmain.c:2996
> #2  0x000000373a0323fa in IA__g_main_loop_run (loop=0x882820) at gmain.c:2898
> #3  0x0000003fbca181fd in startup_mainloop (arg=<value optimized out>) at e-book.c:3767
> #4  0x000000373a050664 in g_thread_create_proxy (data=0x882f40) at gthread.c:635
> #5  0x0000003761606407 in start_thread () from /lib64/libpthread.so.0
> #6  0x00000037606d4b0d in clone () from /lib64/libc.so.6
> Current language:  auto; currently c
> 
=== message truncated ===



      Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: 
http://de.yahoo.com/set


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