Menu

#282 segv if xmms is not loaded

critical
closed-fixed
5
2001-10-02
2001-10-02
No

Gabber Build:
RPM Snapshot of 0.8.4.7 for rh7.

Symptoms:
Gabber crashes on startup if xmms is not loaded, more
specifically, if socket /tmp/xmms_username.0 does not
exist.

Workarounds:
Start XMMS, this will create the /tmp/xmms_user.0 socket.

Comments:
it worked before using CVS builds from 0.8.4.6, I
haven't tried rebuilding from CVS yet. Will do if required.

Trace (output from strace):

write(2, "20011002T15:05:27", 1720011002T15:05:27)
= 17
write(2, "<<< ", 4<<< ) = 4
write(2, "<iq type=\'get\'><query xmlns=\'jab"...,
53<iq type='get'><query
xmlns='jabber:iq:roster'/></iq>) = 53
write(2, "\n", 1
) = 1
gettimeofday({1002035127, 815480}, NULL) = 0
write(4,
"5\20\4\0\202\3`\2\3\0`\2\20\0\20\0007\0\5\0\203\3`\2\202"...,
144) = 144
ioctl(4, FIONREAD, [0]) = 0
poll([{fd=4, events=POLLIN}, {fd=9, events=POLLIN},
{fd=5, events=POLLIN|POLLPRI}], 3, 0) = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 11
getuid32() = 500
geteuid32() = 500
setuid32(500) = 0
setreuid32(500, 500) = 0
connect(11, {sin_family=AF_UNIX, path="

/tmp/xmms_liquidx.0"}, 110) = -1
ENOENT (No such file or directory)
close(11) = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 11
getuid32() = 500
geteuid32() = 500
setuid32(500) = 0
setreuid32(500, 500) = 0
connect(11, {sin_family=AF_UNIX, path="

/tmp/xmms_liquidx.0"}, 110) = -1
ENOENT (No such file or directory)
close(11) = 0
--- SIGSEGV (Segmentation fault) ---
write(4, "\33\20\2\0\0\0\0\0 \0\2\0\0\0\0\0+\0\1\0",
20) = 20
read(4, 0xbffff110, 32) = -1 EAGAIN
(Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4,
"\1\1\10\t\0\0\0\0w\1`\2\0\0\0\0\0\0\0\0\0\0\0\0\230\246"...,
32) = 32
fork() = 23614
wait4(23614, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0,
NULL) = 23614
--- SIGCHLD (Child exited) ---
wait4(23612, NULL, WNOHANG, NULL) = 0
wait4(-1, NULL, WNOHANG, NULL) = 0
sigreturn() = ? (mask now
[SEGV])
_exit(1) = ?

Discussion

  • Julian Missig

    Julian Missig - 2001-10-02

    Logged In: YES
    user_id=9539

    Nice catch. Fixed in CVS. Thanks.

     
  • Julian Missig

    Julian Missig - 2001-10-02
    • labels: 102748 --> gabber backend
    • assigned_to: nobody --> julian
    • status: open --> closed-fixed
     

Log in to post a comment.