Port-sparc64 archive

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

Re: Strange X11 crashes on 5.0



On Thu, 6 Aug 2009 14:43:33 +0100
George Harvey <fr30%dial.pipex.com@localhost> wrote:

> Hi,
> 
> I have 5.0 running on an Ultra 5 and I'm seeing some X11 apps, eg.
> sylpheed, firefox, core dump when started from a remote X server
> running on Mac OS X 10.5.7 (leopard). Other apps, eg. xterm, xload,
> Tcl/Tk, work fine. However, the apps that crash when run from the Mac
> work OK when run from X on the Sun console. I've also tried the same
> apps built on other NetBSD systems (sparc & sgimips) and on those
> platforms they do work when run from the Mac. So it looks like the
> problem is specific to apps running on sparc64 with the display on
> the Mac.
> 
> The apps that crash all fail in XListInputDevices so I built a version
> of libXi with debugging symbols and see the following with gdb (using
> gtk-demo as an example):
> 
> Core was generated by `gtk-demo'. Program
> terminated with signal 10, Bus error.
> #0  0x000000004130a168 in XListInputDevices (dpy=0x45009000, 
>     ndevices=0xffffffffffffafac) at XListDev.c:180
> 180                         B->class = ButtonClass;
> (gdb) bt
> #0  0x000000004130a168 in XListInputDevices (dpy=0x45009000, 
>     ndevices=0xffffffffffffafac) at XListDev.c:180
> #1  0x000000004077c4bc in gdk_device_get_state ()
>    from /usr/pkg/lib/libgdk-x11-2.0.so.0
> #2  0x0000000040752870 in gdk_display_open ()
>    from /usr/pkg/lib/libgdk-x11-2.0.so.0
> #3  0x0000000040727c44 in gdk_display_open_default_libgtk_only ()
>    from /usr/pkg/lib/libgdk-x11-2.0.so.0
> #4  0x0000000040ab9fa4 in gtk_init_check ()
>    from /usr/pkg/lib/libgtk-x11-2.0.so.0
> #5  0x0000000040ab9fdc in gtk_init ()
>     from /usr/pkg/lib/libgtk-x11-2.0.so.0
> #6  0x0000000000119af4 in main ()
> (gdb)
> 
> At this point I'm getting out of my depth, I can't see anything wrong
> in XListDev but I'm not familiar with X11 internals so I don't know
> what I should be looking for. Any suggestions?
> 
> George

I don't know the fix for your problem, but I've had crashes with Xorg
server on sparc64 under similar conditions:

http://mail-index.netbsd.org/netbsd-users/2009/08/04/msg004207.html

I've tried debugging it, but it was like chasing a wilde choose. I
don't have time or techinical knowledge to pinpoint the bug. So I guess
the solution is - don't use remote X11 clients over network! Funny, coz
this is what X11 was originally designed for.

I get the feeling that the Xorg developers don't care much about any
other platforms that are not x86. I also think X11 is too old, has too
many hacks and too much bloat, maybe it's time to move to something
better in the future.


Home | Main Index | Thread Index | Old Index