View previous topic :: View next topic |
Author |
Message |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 563 Location: China
|
Posted: Tue Sep 16, 2008 8:39 am Post subject: X exits on signal 4 when trying to start GTK+-2 app |
|
|
Hi,
I set up Gentoo on an old computer. I compiled on another system with appropriate CFLAGS and installed the binary packages using emerge -k.
Now I have a problem with X: It's running fine until I either start a GTK+-2 app (GTK+-1 is working) or try to set transparency for fluxbox. In both cases the Xserver wíll receive signal 4 and crash, also printing a "fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0". The computer has an SiS 8326 PCI graphics card running with the sis kernel driver and xf86-video-sis.
Any help is appreciated
Malle |
|
Back to top |
|
 |
notHerbert Advocate


Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Wed Sep 17, 2008 12:36 am Post subject: |
|
|
Check to see if there may be a daemon - like apm, acpi, or whatever that is interfering.  |
|
Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 563 Location: China
|
Posted: Wed Sep 17, 2008 7:56 am Post subject: |
|
|
Just the basic deamons and nfs are running. I stopped NFS, too. No apm or acpi is running.
This is what I got:
Code: | ** (pcmanfm:3954):WARNING **: Failed to connect to the HAL daemon: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Backtrace:
0: X(xf86SigHandler+0x85) [0x80cpbf5]
Fatal server error:
Caught signal 4. Server aborting
X connection to :0.0 broken (explicit kill or server shutdown).
xinit: connection to X server lost
waiting for X server to shut down pcmanfm Fatal IO erro 104 (Connection reset by peer) on X server :0.0 |
starting hald just makes the message about hal not appearing but that's it.
/bin/kill -L says that signal 4 is "ILL". I guess I need to know what exactly is "ill". |
|
Back to top |
|
 |
erikm l33t

Joined: 08 Feb 2005 Posts: 634
|
Posted: Wed Sep 17, 2008 8:42 am Post subject: |
|
|
My spontaneous guess it that something went a little off track with the cross-compiling. What happens if you recompile GTK-2 and xorg-server on the older machine? |
|
Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 563 Location: China
|
Posted: Wed Sep 17, 2008 9:40 am Post subject: |
|
|
I already recompiled xorg-server on the older machine, but I guess recompiling GTK-2 doesn't make any sense as long as transparency in fluxbox produces the same error.
I just discovered another warning in /var/log/Xorg.0.log:
Code: | (WW) warning, (EE) error, (NI) not implemented, (??) unknown. |
I could try to re-emerge world on the newer computer, using linux32 chroot and mounting /dev and /proc. Just using chroot produced some errors as I noticed later with another chroot. There was still a 64bit kernel detected, causing the compilation of qt4 to crash, saying it could not create 64bit code. |
|
Back to top |
|
 |
erikm l33t

Joined: 08 Feb 2005 Posts: 634
|
Posted: Thu Sep 18, 2008 7:47 pm Post subject: |
|
|
MalleRIM wrote: | I already recompiled xorg-server on the older machine, but I guess recompiling GTK-2 doesn't make any sense as long as transparency in fluxbox produces the same error. |
You might want to look at what library provides the transparency support in fluxbox, and recompile the package providing that library on the older machine. Recompiling GTK-2 might solve your crashing GTK apps problem.
MalleRIM wrote: | I just discovered another warning in /var/log/Xorg.0.log:
Code: | (WW) warning, (EE) error, (NI) not implemented, (??) unknown. |
|
This line in Xorg.0.log is the legend to the message codes printed later in the logfile.
MalleRIM wrote: | I could try to re-emerge world on the newer computer, using linux32 chroot and mounting /dev and /proc. Just using chroot produced some errors as I noticed later with another chroot. There was still a 64bit kernel detected, causing the compilation of qt4 to crash, saying it could not create 64bit code. |
There is no way to create a 32 bit chroot (or run 32 bit code, period) on a 64 bit system if the kernel lacks 32 bit support. |
|
Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 563 Location: China
|
Posted: Sat Sep 20, 2008 3:39 pm Post subject: |
|
|
erikm wrote: | You might want to look at what library provides the transparency support in fluxbox, and recompile the package providing that library on the older machine. Recompiling GTK-2 might solve your crashing GTK apps problem. |
I'll try that, but I think it will be hard to find out, what library that is.
erikm wrote: | This line in Xorg.0.log is the legend to the message codes printed later in the logfile. |
erikm wrote: | There is no way to create a 32 bit chroot (or run 32 bit code, period) on a 64 bit system if the kernel lacks 32 bit support. |
The kernel does have 32bit support and I was able to compile most stuff, but qt failed with that message. Just try uname -m and linux32 uname -m on a 64bit machine and see the difference. Other packages need /proc or /dev mounted to compile properly. |
|
Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 563 Location: China
|
Posted: Sun Sep 21, 2008 7:25 pm Post subject: |
|
|
Ok, I uninstalled all the graphical applications, including xorg-server, depcleaned and installed xorg-server and fluxbox. Transparency is still not working so the problem lies elsewhere. Any further suggestions? |
|
Back to top |
|
 |
notHerbert Advocate


Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
|
Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 563 Location: China
|
Posted: Mon Sep 22, 2008 3:29 pm Post subject: |
|
|
64MB RAM - but if nothing else works, I'll try that. Thanks for the link
Or can I somehow find out what file is causing the sigill? |
|
Back to top |
|
 |
notHerbert Advocate


Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Mon Sep 22, 2008 3:48 pm Post subject: |
|
|
** IF the installation CD lets you **
64mb - you could do it - with a funtoo.org stage3, and without emerge -e world.
Fluxbox or fvwm and dillo for browsing. very minimal -
Alternatively you could shove a Debian Etch in there - it'll install on a toaster.
MalleRIM wrote: | Or can I somehow find out what file is causing the sigill? |
/var/log/messages ? |
|
Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 563 Location: China
|
Posted: Thu Sep 25, 2008 12:05 am Post subject: |
|
|
ok, I re-emerged world on the older computer, except for gcc and glibc - the problem is still there :-/
/var/log/messages does not exist - I guess I need a system logger installed? |
|
Back to top |
|
 |
|