LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2007, 06:28 PM   #1
Tapani_
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
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
 
Old 09-19-2007, 07:35 PM   #2
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
You could try running the programs with problems under strace. That will show you what libraries are loading and what syscalls are being executed up until the program crashes.

See man strace.

Also, since you upgraded X, is it possible that the affected programs were linked against older X libraries?
 
Old 09-19-2007, 08:40 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
As an you're an advanced user, I take it you realise that the 'rc' in 2.6.23-rc6 stands for 'release candidate' ie effectively beta software?
 
Old 09-20-2007, 05:27 PM   #4
Tapani_
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, I think I know why now.

chrism01,

yes I was perfectly aware of that. However a beta kernel is nothing compared to all the alpha closed source drivers already used...


zhangmaike,

thank you! Wasn't aware of strace! It revealed that the crashes occured just after loading libnvidia-tls.so.1
Once I rename that file, at least xmms starts working (somehow it launches without it and just warns that it is missing).
As I said, alpha quality drivers...

//Tapani
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Image programs crashing DAChristen29 Linux - Software 2 11-15-2005 01:26 AM
Programs keep crashing markb658 Red Hat 4 06-02-2005 05:02 AM
Upgraded GCC; now many programs don't work Zoombie Linux - Software 13 02-24-2004 06:08 AM
Inconsistent crashing of tv programs jimdaworm Linux - Software 1 09-28-2003 04:19 PM
Programs Crashing. rvijay Linux - Newbie 5 09-03-2003 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration