Upgraded kernel and programs are crashing?
Hello,
This is an advanced problem from an advanced user. :-)
I recently rsync:ed a desktop system to a laptop. I also upgraded the kernel on the laptop so all hardware was supported. After this, many programs that works on the desktop segfault at launchtime on the laptop.
The kernel upgrade was from 2.6.11.5 to 2.6.23-rc6. Some affected program are:
- xmms
- mplayer
- firefox
Most (all) basic software (shells, system processes, daemons etc work just fine).
It should be mentioned that:
- Opera crashes too, unless I use a static version.
- The X server has been upgraded in order to get the flat panel to work.
- I rule out X since:
a) The same versions of the affected software works using X remote from the desktop to laptop.
b) mplayer does not (necessarily) use X, for instance when playing mp3s.
Obeservations:
- Since a static version of Opera works, but not the dynamic, it suggests a library problem. But still all system libraries are the same?
- All programs that crash are presumably multi-threaded. Could it be that I have forgotten some kernel option that (say) libthread expects? Cannot find anything obvious in the kernel config.
- gdb stack trace of both xmms and mplayer reveal a crash in memset (NULL ptr arg). No caller stack frame exist. Firefox crashes in __pthread_mutex_init called from talkback.so (the crash reporting system crashes?).
The C library is glibc-2.3.90. I tried upgrading it to glibc-2.6.1 (in a chroot) but almost all binaries on the system segfault with it (including bash, tcsh works though).
As you can imagine, I have spent a few days with this and could use some fresh ideas. Anyone?
Thank you for your time,
//Tapani
|