LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-03-2007, 09:27 AM   #1
nceterval
LQ Newbie
 
Registered: Jan 2006
Posts: 25

Rep: Reputation: 15
Amarok, KScreensaver Not working after apt-get upgrade (/etc/ld.so.nohwcap)


Hello,

For several months now on my Debian Sid installation, Amarok and KScreensaver (and possibly other applications that I have not noticed) have stopped working after any apt-get upgrade. Amarok segfaults on launch and KScreensaver does not start, although I'm not sure if it's segfaulting or crashing in some other manner.

In the past, running this command as root has solved the problem temporarily until the next upgrade: touch /etc/ld.so.nohwcap

I don't understand why this command used to work and I don't remember who suggested it to me, but, in any case, it no longer does the trick. Can anyone suggest a new fix for me?

Thanks for any tips.
 
Old 09-04-2007, 06:15 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
The recommended method of keeping Sid upgraded is apt-get dist-upgrade not upgrade. Try running dist-upgrade. Amarok and kscreensaveer have always worked just fine for me. Upgrade is more for stable, than Sid.
 
Old 09-04-2007, 08:01 PM   #3
nceterval
LQ Newbie
 
Registered: Jan 2006
Posts: 25

Original Poster
Rep: Reputation: 15
Hi craigevil,

That's a good tip, you're probably right that it's better to dist-upgrade. I'll clarify: my problem also occurs after dist-upgrades.

Thanks for your help.

Let me know if there is any more information I can post to help identify this problem. Here are the last few lines of strace for amarokapp, though it doesn't look very enlightening:

Code:
set_thread_area({entry_number:-1 -> 6, base_addr:0xb4adbaa0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb525e000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0xb525e000, 4096, PROT_READ|PROT_EXEC) = 0
mprotect(0xb5260000, 9814016, PROT_READ|PROT_WRITE) = 0
mprotect(0xb5260000, 9814016, PROT_READ|PROT_EXEC) = 0
mprotect(0xb6834000, 4096, PROT_READ)   = 0
mprotect(0xb694b000, 12288, PROT_READ)  = 0
mprotect(0xb6c00000, 499712, PROT_READ|PROT_WRITE) = 0
mprotect(0xb6c00000, 499712, PROT_READ|PROT_EXEC) = 0
munmap(0xb7f37000, 128247)              = 0
set_tid_address(0xb4adbae8)             = 15891
set_robust_list(0xb4adbaf0, 0xc)        = 0
rt_sigaction(SIGRTMIN, {0xb515e2a0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb515e320, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="DebSid", ...}) = 0
brk(0)                                  = 0x8078000
brk(0x8099000)                          = 0x8099000
futex(0xb6950654, FUTEX_WAKE, 2147483647) = 0
futex(0xb69556e0, FUTEX_WAKE, 2147483647) = 0
futex(0xb5e5f070, FUTEX_WAKE, 2147483647) = 0
gettimeofday({1188953967, 130270}, NULL) = 0
open("/dev/zero", O_RDWR)               = 3
mmap2(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7f55000
close(3)                                = 0
mmap2(NULL, 372736, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb4a80000
getpid()                                = 15891
getpid()                                = 15891
futex(0xb6c82218, FUTEX_WAKE, 2147483647) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 15891 detached
 
  


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
Question about 'apt-get upgrade' versus 'apt-get install' eur0dad Red Hat 8 07-16-2006 05:41 PM
webstar not working after apt-get upgrade bmike1 Linux - Hardware 0 04-19-2006 12:49 AM
Some programs stopped working after apt-get upgrade. Golradir Fedora 3 10-31-2004 02:28 PM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 08:19 PM
Kscreensaver problems ganninu Linux - General 1 10-27-2003 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:10 PM.

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