View previous topic :: View next topic |
Author |
Message |
Shadow Skill Veteran
Joined: 04 Dec 2004 Posts: 1023
|
Posted: Sat Apr 02, 2005 11:00 pm Post subject: Programs randomly deciding to exit on their own[SOLVED] |
|
|
After doing a system update as per normal the following apps tend to close themselves on their own Totem, Amarok, and Gaim the only other thing I did was run revdep-rebuild and reemerged gnutls to fix the broken linking of the library. Amarok was the first to exhibit this behavior always exiting right after starting even before I ran revdep-rebuild. I don't get any messages when running these programs in terminals except for killed which makes no sense since I did not quit from the programs in question. Any ideas as to the cause of the problem?
Update ignore this thread unless you are having programs close on you and you are using alsa-lib 1.09-r2 apparently alsa-lib 1.09-r2 was the problem here, downgrading to 1.08 resolved the issue.
I also forgot to mention that I am running amd64 so this may not happen on other archs at all. _________________ Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.
"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it."
Last edited by Shadow Skill on Sun Apr 03, 2005 2:15 am; edited 1 time in total |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sat Apr 02, 2005 11:21 pm Post subject: |
|
|
Emerge dev-util/strace then try running them from a terminal but prependingto the command line. That may give further clues. Then paste the last 30 or so lines of output here. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
Shadow Skill Veteran
Joined: 04 Dec 2004 Posts: 1023
|
Posted: Sun Apr 03, 2005 1:02 am Post subject: |
|
|
Here is the output for Amarok [which also seems to display some form of an error message as opposed to the others.I didn't have it merged at the time I posted so I couldnt confirm the output my mistake.] Code: | elect(14, [3 4 5 12 13], [], [], {0, 6090}) = 0 (Timeout)
wait4(10917, 0x7fffffffeeec, WNOHANG, NULL) = 0
ioctl(5, FIONREAD, [0]) = 0
ioctl(3, FIONREAD, [0]) = 0
select(14, [3 4 5 12 13], [], [], {0, 8989}) = 0 (Timeout)
wait4(10917, 0x7fffffffeeec, WNOHANG, NULL) = 0
ioctl(5, FIONREAD, [0]) = 0
ioctl(3, FIONREAD, [0]) = 0
select(14, [3 4 5 12 13], [], [], {0, 9308}) = 0 (Timeout)
wait4(10917, 0x7fffffffeeec, WNOHANG, NULL) = 0
ioctl(5, FIONREAD, [0]) = 0
ioctl(3, FIONREAD, [0]) = 0
select(14, [3 4 5 12 13], [], [], {0, 9353}) = 0 (Timeout)
wait4(10917, 0x7fffffffeeec, WNOHANG, NULL) = 0
ioctl(5, FIONREAD, [0]) = 0
ioctl(3, FIONREAD, [0]) = 0
select(14, [3 4 5 12 13], [], [], {0, 9327}) = 0 (Timeout)
wait4(10917, 0x7fffffffeeec, WNOHANG, NULL) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
write(11, "\1", 1) = 1
rt_sigreturn(0xb) = 0
ioctl(5, FIONREAD, [0]) = 0
ioctl(3, FIONREAD, [0]) = 0
select(14, [3 4 5 12 13], [], [], {0, 279}) = 1 (in [12], left {0, 1000})
read(12, "\1", 1) = 1
wait4(10917, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGKILL}], WNOHANG, NULL) = 10917
select(13, [12], NULL, NULL, {0, 0}) = 0 (Timeout)
ioctl(5, FIONREAD, [0]) = 0
close(5) = 0
write(2, "amaroK: [Loader] amarokapp proba"..., 45amaroK: [Loader] amarokapp probably crashed!
) = 45
close(11) = 0
close(12) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
write(3, "\n\0\2\0\1\0\200\1\31\0\v\0>\0\0\0\0\0\30\0\22\0\0\0>\0"..., 52) = 52
write(3, "6\0\2\0\5\0\200\1\4\0\2\0\1\0\200\1_\0\2\0\4\0\200\1<\0"..., 52) = 52
read(3, "\22\0\225\0\1\0\200\1\1\0\200\1\0\0\0\0q\0\0\0\0\0\0\0"..., 32) = 32
read(3, "\21\0\230\0\1\0\200\1\1\0\200\1\0\0\0\0\300\351H\253\252"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1\362\0\0\0\333\24\5\0\0019\211\1\0"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1u\1\0\0\333\24\5\0\0019\211\1\0\0\0"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1\361\0\0\0\333\24\5\0\0019\211\1\0"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1\365\0\0\0\333\24\5\0\0019\211\1\0"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1\374\0\0\0\333\24\5\0\0019\211\1\0"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1\357\0\0\0\333\24\5\0\0019\211\1\0"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1\'\0\0\0\333\24\5\0\0019\211\1\0\0"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1\360\0\0\0\333\24\5\0\0019\211\1\0"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1C\0\0\0\333\24\5\0\0019\211\1\0\0\0"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1#\0\0\0\333\24\5\0\0019\211\1\0\0\0"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1(\0\0\0\333\24\5\0\0019\211\1\0\0\0"..., 32) = 32
read(3, "\34*\230\0\1\0\200\1$\0\0\0\333\24\5\0\0019\211\1\0\0\0"..., 32) = 32
read(3, "\1\1\235\0\0\0\0\0\7\0\240\1\0\0\0\0\0\0\0\0\0\0\0\0\360"..., 32) = 32
shutdown(3, 2 /* send and receive */) = 0
close(3) = 0
write(4, "\1\v\1\0\1\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
close(4) = 0
munmap(0x2aaaad39c000, 1259504) = 0
munmap(0x2aaaad4d0000, 1228344) = 0
munmap(0x2aaaad5fc000, 4096) = 0
exit_group(3) = ?
shadowskill@master ~ $ kio (KIOConnection): ERROR: Header read failed, errno=104kio (KIOConnection): ERROR: Header has invalid size (-1)
|
_________________ Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.
"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it." |
|
Back to top |
|
|
Shadow Skill Veteran
Joined: 04 Dec 2004 Posts: 1023
|
Posted: Sun Apr 03, 2005 1:04 am Post subject: |
|
|
Here is the totem output [It says killed by sigkill at the end.] Code: | stat("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=7467, ...}) = 0open("/usr/share/alsa/alsa.conf", O_RDONLY) = 31
fstat(31, {st_mode=S_IFREG|0644, st_size=7467, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab6482000
read(31, "#\n# ALSA library configuration "..., 131072) = 7467
brk(0xe16000) = 0xe16000
read(31, "", 131072) = 0
read(31, "", 131072) = 0
close(31) = 0
munmap(0x2aaab6482000, 131072) = 0
access("/etc/asound.conf", R_OK) = 0
open("/etc/asound.conf", O_RDONLY) = 31
fstat(31, {st_mode=S_IFREG|0644, st_size=595, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab6482000
read(31, "pcm.ossmix {\n type dmix\n ipc"..., 4096) = 595
read(31, "", 4096) = 0
read(31, "", 4096) = 0
close(31) = 0
munmap(0x2aaab6482000, 4096) = 0
access("/home/shadowskill/.asoundrc", R_OK) = -1 ENOENT (No such file or directory)
semget(1024, 1, IPC_CREAT|0666) = 1048576
semop(1048576, 0x2aaaab89b4a0, 140737488347120) = 0
shmget(1024, 1064, IPC_CREAT|0666) = 11173900
shmat(11173900, 0x2aaaab89b4a0, 0) = ?
mlock(0x2aaab6482000, 1064) = 0
shmctl(11173900, IPC_STAT, 0x2aaaab89b4a0) = 0
open("/dev/snd/controlC0", O_RDONLY) = 31
close(31) = 0
open("/dev/snd/controlC0", O_RDWR) = 31
ioctl(31, USBDEVFS_CONTROL, 0x7fffffffdc3c) = 0
ioctl(31, 0x40045532, 0x7fffffffdc94) = 0
open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = 32
close(31) = 0
ioctl(32, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0x7fffffffdb40) = 0
fcntl(32, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)
ioctl(32, AGPIOC_INFO, 0x7fffffffdaac) = 0
ioctl(32, AGPIOC_RELEASE or APM_IOC_SUSPEND, 0x7fffffffdaa8) = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED, 32, 0x80000000) = 0x2aaab6483000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 32, 0x81000000) = 0x2aaab6484000
ioctl(32, 0xc2604110, 0x2aaab6482108) = 0
ioctl(32, 0xc2604110, 0x2aaab6482108) = 0
ioctl(32, 0xc2604110, 0x2aaab6482108) = 0
ioctl(32, 0xc2604110, 0x2aaab6482108) = 0
ioctl(32, 0xc2604110, 0x2aaab6482108) = 0
ioctl(32, 0xc2604110, 0x2aaab6482108) = 0
ioctl(32, 0xc2604110, 0x2aaab6482108) = 0
ioctl(32, 0xc2604110, 0x2aaab6482108) = 0
ioctl(32, 0xc2604110, 0x2aaab6482108) = 0
ioctl(32, 0xc2604111, 0x2aaab6482108) = 0
ioctl(32, 0xc0884113, 0x7fffffffdef0) = 0
ioctl(32, 0x80184132, 0x7fffffffde50) = 0
ioctl(32, 0x80184132, 0x7fffffffde50) = 0
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_SHARED, 32, 0) = 0x2aaab6485000
ioctl(32, 0x4140, 0) = 0
ioctl(32, 0xc0884113, 0x2aaab6482368) = 0
ioctl(32, 0x4142, 0xdfbd10) = 0
getpid() = 10949
socket(PF_FILE, SOCK_STREAM, 0) = 31
unlink("/tmp/alsa-dmix-10949-1112490262-280099") = -1 ENOENT (No such file or directory)
bind(31, {sa_family=AF_FILE, path="/tmp/alsa-dmix-10949-1112490262-280099"}, 40) = 0
chmod("/tmp/alsa-dmix-10949-1112490262-280099", 0600) = 0
listen(31, 4) = 0
fork() = 10962
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x577ec0) = 10962
wait4(10962, NULL, 0, NULL) = 10962
shmget(1025, 32768, IPC_CREAT|0666) = 11206669
shmat(11206669, 0, 0) = ?
mlock(0x2aaab6489000, 32768) = -1 ENOMEM (Cannot allocate memory)
ioctl(32, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0x7fffffffde10) = 0
stat("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=7467, ...}) = 0open("/dev/snd/controlC0", O_RDONLY) = 33
close(33) = 0
open("/dev/snd/timer", O_RDONLY|O_NONBLOCK) = 33
ioctl(33, 0x80045400, 0x7fffffffdb0c) = 0
ioctl(33, SNDCTL_TMR_START or TCSETS, 0x7fffffffdb08) = 0
ioctl(33, TIOCSPGRP, 0x7fffffffdb10) = 0
ioctl(33, TIOCSTI <unfinished ...>
+++ killed by SIGKILL +++
|
Gaim is the wierdest because it doesn't get killed immedeatly it functions for a souple of minutes and then magically quits. _________________ Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.
"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it." |
|
Back to top |
|
|
Shadow Skill Veteran
Joined: 04 Dec 2004 Posts: 1023
|
Posted: Sun Apr 03, 2005 1:18 am Post subject: |
|
|
Gaim finally died so here is the strace output: Code: | read(7, "", 131072) = 0
close(7) = 0
munmap(0x2aaab199e000, 131072) = 0
access("/etc/asound.conf", R_OK) = 0
open("/etc/asound.conf", O_RDONLY) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=595, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab199e000
read(7, "pcm.ossmix {\n type dmix\n ipc"..., 4096) = 595
read(7, "", 4096) = 0
read(7, "", 4096) = 0
close(7) = 0
munmap(0x2aaab199e000, 4096) = 0
access("/home/shadowskill/.asoundrc", R_OK) = -1 ENOENT (No such file or directory)
semget(1024, 1, IPC_CREAT|0666) = 1081344
semop(1081344, 0xa22440, 140737488315456) = 0
shmget(1024, 1064, IPC_CREAT|0666) = 11304972
shmat(11304972, 0xa22440, 0) = ?
mlock(0x2aaab199e000, 1064) = 0
shmctl(11304972, IPC_STAT, 0xa22440) = 0
open("/dev/snd/controlC0", O_RDONLY) = 7
close(7) = 0
open("/dev/snd/controlC0", O_RDWR) = 7
ioctl(7, USBDEVFS_CONTROL, 0x7fffffff608c) = 0
ioctl(7, 0x40045532, 0x7fffffff60e4) = 0
open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = 9
close(7) = 0
ioctl(9, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0x7fffffff5f90) = 0
fcntl(9, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)
ioctl(9, AGPIOC_INFO, 0x7fffffff5efc) = 0
ioctl(9, AGPIOC_RELEASE or APM_IOC_SUSPEND, 0x7fffffff5ef8) = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED, 9, 0x80000000) = 0x2aaab199f000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0x81000000) = 0x2aaab19a0000
ioctl(9, 0xc2604110, 0x2aaab199e108) = 0
ioctl(9, 0xc2604110, 0x2aaab199e108) = 0
ioctl(9, 0xc2604110, 0x2aaab199e108) = 0
ioctl(9, 0xc2604110, 0x2aaab199e108) = 0
ioctl(9, 0xc2604110, 0x2aaab199e108) = 0
ioctl(9, 0xc2604110, 0x2aaab199e108) = 0
ioctl(9, 0xc2604110, 0x2aaab199e108) = 0
ioctl(9, 0xc2604110, 0x2aaab199e108) = 0
ioctl(9, 0xc2604110, 0x2aaab199e108) = 0
ioctl(9, 0xc2604111, 0x2aaab199e108) = 0
ioctl(9, 0xc0884113, 0x7fffffff6340) = 0
ioctl(9, 0x80184132, 0x7fffffff62a0) = 0
ioctl(9, 0x80184132, 0x7fffffff62a0) = 0
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x2aaab19a1000
ioctl(9, 0x4140, 0) = 0
ioctl(9, 0xc0884113, 0x2aaab199e368) = 0
ioctl(9, 0x4142, 0xa22180) = 0
getpid() = 10970
socket(PF_FILE, SOCK_STREAM, 0) = 7
unlink("/tmp/alsa-dmix-10970-1112491079-638503") = -1 ENOENT (No such file or directory)
bind(7, {sa_family=AF_FILE, path="/tmp/alsa-dmix-10970-1112491079-638503"}, 40) = 0
chmod("/tmp/alsa-dmix-10970-1112491079-638503", 0600) = 0
listen(7, 4) = 0
fork() = 10995
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 10995
wait4(-1, 0x7fffffff3ebc, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigaction(SIGCHLD, {0x2aaaaacd20c0, [CHLD], SA_RESTORER|SA_RESTART, 0x2aaaacb77ae0}, {0x2aaaaacd20c0, [CHLD], SA_RESTORER|SA_RESTART, 0x2aaaacb77ae0}, 8) = 0rt_sigreturn(0x11) = 10995
wait4(10995, NULL, 0, NULL) = -1 ECHILD (No child processes)
shmget(1025, 32768, IPC_CREAT|0666) = 11337741
shmat(11337741, 0, 0) = ?
mlock(0x2aaab19a5000, 32768) = -1 ENOMEM (Cannot allocate memory)
ioctl(9, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0x7fffffff6260) = 0
stat("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=7467, ...}) = 0open("/dev/snd/controlC0", O_RDONLY) = 10
close(10) = 0
open("/dev/snd/timer", O_RDONLY|O_NONBLOCK) = 10
ioctl(10, 0x80045400, 0x7fffffff5f5c) = 0
ioctl(10, SNDCTL_TMR_START or TCSETS, 0x7fffffff5f58) = 0
ioctl(10, TIOCSPGRP, 0x7fffffff5f60) = 0
ioctl(10, TIOCSTI <unfinished ...>
+++ killed by SIGKILL +++
|
I think I figured out the problem, I noticed that BMP crashed whenever I tried to make it use the alsa plugin and have it play sound, and I remember updating alsa-lib around the time these apps starting acting wierd, I also noticed a popping sound when totem would attempt to start which told me it was trying to initialize sound right when it died. I just downgraded to alsa-lib 1.08 I'll restart alsa and see how these apps behave and get back to you all. _________________ Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.
"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it." |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|