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

Re: Bug#357439: amaya does not start--The program 'amaya' received an X Window System error.



On Thu, 2006-04-27 at 18:28 +0200, Michel Dänzer wrote:
> > All running tests point to a problem with Mesa :
> > -crash with Mesa in software mode
> 
> You mean the X error from the original report?

Yes, I meant this one.

>  Did you find out which extension generates it using
> 
> xdpyinfo -queryExt|grep 144
> 
> ?

I didn't know about xdpyinfo. If I start Amaya without DRI, I get an
error with request_code 143, and :

$ xdpyinfo -queryExt|grep 143
    GLX  (opcode: 143, base event: 77, base error: 154)
    SGI-GLX  (opcode: 143, base event: 77, base error: 154)

Is says GLX, which is consistent with what I supposed at least.

> > -no crash with the nvidia proprietary driver, display is happy.
> > 
> > When I tried using gdb to get a backtrace(attached), all I got was a
> > long list of calls involving wxWidgets, GTK, but not Mesa.
> 
> X is asynchronous, so the client receives the error long after it sent
> out the request causing it. When this happens, GTK should tell you how
> to make it use a synchronous X connection.

I know. The previously attached backtrace was obtained with libgl1-mesa-swx11,
running amaya with the --sync parameter, so there might be a problem there
too. Doing the same with libgl1-mesa-glx and DRI disabled, I get the
attached one. Could wxWidgets be doing something bad ?

> > CCing the XSF in case someone has an idea, 
> 
> A Mesa list might have been even better? :)

Sorry, I didn't find the debian-mesa list :)

> > > > > OpenGL Status:
> > > > >   Software Mode = Hard
> > > > >   VENDOR : Tungsten Graphics, Inc.
> > > > >   VERSION : 1.2 Mesa 6.4.1
> > > > >   RENDERER : Mesa DRI Radeon 20050528 AGP 4x x86/MMX+/3DNow!+/SSE NO-TCL
> > > > >   GLU Version : 1.3
> > > > >   Aux buffers count 0
> > > > >   Acumm rgba : 0 0 0 0
> > > > > *** Amaya: Irrecoverable error ***Segmentation fault
> 
> Can you get a backtrace for this?

Nope. I can't even reproduce it. Maybe Andrea could do that ?

If there is any more information I can provide that would help finding
what's wrong, pleas edon't hesitate to ask.

Thanks for your help,

Regis
#0  gdk_x_error (display=0x97b1948, error=0xafcc243c) at gdkmain-x11.c:599
#1  0xa6d2277f in _XError (dpy=0x97b1948, rep=0xafcc253c) at ../../src/XlibInt.c:2886
#2  0xa6d22d9f in _XReply (dpy=0x97b1948, rep=0xafcc253c, extra=0, discard=0) at ../../src/XlibInt.c:1815
#3  0xa7e4e73a in glXGetCurrentDrawable () from /usr/lib/libGL.so.1
#4  0xa7e4ea53 in glXMakeCurrentReadSGI () from /usr/lib/libGL.so.1
#5  0xa7e4ed63 in glXMakeCurrent () from /usr/lib/libGL.so.1
#6  0xa78e9128 in wxGLContext::SetCurrent () from /usr/lib/libwx_gtk2u_gl-2.6.so.0
#7  0xa78e9817 in wxGLCanvas::SetCurrent () from /usr/lib/libwx_gtk2u_gl-2.6.so.0
#8  0x082a0607 in wxDropTargetBase::OnLeave ()
#9  0x082a0a44 in wxDropTargetBase::OnLeave ()
#10 0xa77f2325 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#11 0xa7882963 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.6.so.0
#12 0xa7882b6f in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#13 0xa7882d4f in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#14 0xa78ea041 in wxGLCanvas::OnInternalIdle () from /usr/lib/libwx_gtk2u_gl-2.6.so.0
#15 0xa7ab2655 in wxAppBase::SendIdleEvents () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#16 0xa7ab268c in wxAppBase::SendIdleEvents () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#17 0xa7ab268c in wxAppBase::SendIdleEvents () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#18 0xa7ab268c in wxAppBase::SendIdleEvents () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#19 0xa7ab268c in wxAppBase::SendIdleEvents () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#20 0xa7ab268c in wxAppBase::SendIdleEvents () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#21 0xa7ab268c in wxAppBase::SendIdleEvents () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#22 0xa7ab268c in wxAppBase::SendIdleEvents () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#23 0xa7ab268c in wxAppBase::SendIdleEvents () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#24 0xa7ab2a19 in wxAppBase::ProcessIdle () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#25 0xa7a00e93 in wxApp::Yield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#26 0xa67a7cc1 in g_idle_dispatch (source=0x9b42698, callback=0x97b1948, user_data=0x0) at gmain.c:3796
#27 0xa67a5691 in IA__g_main_context_dispatch (context=0x97a21f8) at gmain.c:1916
#28 0xa67a89d7 in g_main_context_iterate (context=0x97a21f8, block=1, dispatch=1, self=0x97a3090) at gmain.c:2547
#29 0xa67a9109 in IA__g_main_context_iteration (context=0x97a21f8, may_block=1) at gmain.c:2606
#30 0xa6b02a15 in IA__gtk_main_iteration () at gtkmain.c:1086
#31 0xa7a00b85 in wxApp::Yield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#32 0xa78850cf in wxYield () from /usr/lib/libwx_baseu-2.6.so.0
#33 0x082171ae in wcstok ()
#34 0x0822da25 in wxMenuItemList::~wxMenuItemList ()
#35 0x08275c02 in wxDataObjectSimple::~wxDataObjectSimple ()
#36 0x080f944f in wxLogDebug ()
#37 0x080ff9f1 in wxLogDebug ()
#38 0x081019ee in wxLogDebug ()
#39 0x08101db2 in wxLogDebug ()
#40 0x08101ee5 in wxLogDebug ()
#41 0x08102e02 in wxLogDebug ()
#42 0x08219fa6 in wxMenuItemList::~wxMenuItemList ()
#43 0x0821a0c8 in wxMenuItemList::~wxMenuItemList ()
#44 0x08224c78 in wxMenuItemList::~wxMenuItemList ()
#45 0x080a8069 in wxLogDebug ()
#46 0x0817af59 in wxClassInfo::IsKindOf ()
#47 0xa77f2325 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#48 0xa7882963 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.6.so.0
#49 0xa7882b6f in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#50 0xa7882d4f in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#51 0xa7ab2a3c in wxAppBase::ProcessIdle () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#52 0xa7a00e93 in wxApp::Yield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#53 0xa67a7cc1 in g_idle_dispatch (source=0x9783948, callback=0x97b1948, user_data=0x0) at gmain.c:3796
#54 0xa67a5691 in IA__g_main_context_dispatch (context=0x97a21f8) at gmain.c:1916
#55 0xa67a89d7 in g_main_context_iterate (context=0x97a21f8, block=1, dispatch=1, self=0x97a3090) at gmain.c:2547
#56 0xa67a8f28 in IA__g_main_loop_run (loop=0x9fc4428) at gmain.c:2751
#57 0xa6b03341 in IA__gtk_main () at gtkmain.c:1003
#58 0xa7a1b758 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#59 0xa7ab21dc in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#60 0xa7ab22d1 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#61 0xa7828a8a in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#62 0xa7828b46 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#63 0x0817aa3e in wxClassInfo::IsKindOf ()
#64 0xa756ceb0 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#65 0x08060501 in ?? ()

Reply to: