lpryszcz / sopcast-player

Automatically exported from code.google.com/p/sopcast-player
0 stars 0 forks source link

Segfault on starting a stream #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Install sopcast-player and apply fix mentioned here:  
https://bugs.launchpad.net/sopcast-player/+bug/875793  (comment 2, to prevent 
segfault on start)
2.  Run sopcast-player and play a stream.
3.

What is the expected output? What do you see instead?

stream should start, but sopcast closes, strace output pasted below.

What version of the product are you using? On what operating system?

v 0.7.4, Ubuntu 11.10 x64.

Please provide any additional information below.

Crash is intermittent, seems to happen around the time that the video player 
should open and start showing the stream.  Doesn't make a difference using 
external player, as far as I can tell.

Strace output:

 strace sopcast-player 
execve("/usr/bin/sopcast-player", ["sopcast-player"], [/* 39 vars */]) = 0
brk(0)                                  = 0x1c78000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f70d1e74000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=135926, ...}) = 0
mmap(NULL, 135926, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f70d1e52000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \24\2\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1677624, ...}) = 0
mmap(NULL, 3793768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f70d18b7000
mprotect(0x7f70d1a4c000, 2093056, PROT_NONE) = 0
mmap(0x7f70d1c4b000, 20480, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x194000) = 0x7f70d1c4b000
mmap(0x7f70d1c50000, 21352, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f70d1c50000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f70d1e51000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f70d1e4f000
arch_prctl(ARCH_SET_FS, 0x7f70d1e4f720) = 0
mprotect(0x7f70d1c4b000, 16384, PROT_READ) = 0
mprotect(0x619000, 4096, PROT_READ)     = 0
mprotect(0x7f70d1e76000, 4096, PROT_READ) = 0
munmap(0x7f70d1e52000, 135926)          = 0
getpid()                                = 4031
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 
0x7f70d18ed420}, {SIG_DFL, [], 0}, 8) = 0
geteuid()                               = 1000
brk(0)                                  = 0x1c78000
brk(0x1c99000)                          = 0x1c99000
getppid()                               = 4030
stat("/home/charlie", {st_mode=S_IFDIR|0700, st_size=24576, ...}) = 0
stat(".", {st_mode=S_IFDIR|0700, st_size=24576, ...}) = 0
open("/usr/bin/sopcast-player", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10)                   = 10
close(3)                                = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x40f050, ~[RTMIN RT_1], SA_RESTORER, 0x7f70d18ed420}, 
NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f70d18ed420}, 
NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f70d18ed420}, 
NULL, 8) = 0
read(10, "#!/bin/sh\n/usr/bin/python /usr/s"..., 8192) = 77
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f70d1e4f9f0) = 4032
wait4(-1, 
(sopcast-player.py:4032): Gtk-WARNING **: Unable to locate theme engine in 
module_path: "pixmap",
TagLib: Could not open file 127.0.0.1:61308/tv.asf
next_block_len_bits 5 out of range
block_len_bits 5 out of range
prev_block_len_bits 6 out of range
next_block_len_bits 4 out of range
overflow in spectral RLE, ignoring
next_block_len_bits 6 out of range
overflow in spectral RLE, ignoring
overflow in spectral RLE, ignoring
frame_len overflow
block_len_bits 6 out of range
next_block_len_bits 5 out of range
Bits overconsumption: 15156 > 15144
Bits overconsumption: 2034 > 2008
Bits overconsumption: 2988 > 2984
Bits overconsumption: 4358 > 4352
Bits overconsumption: 9272 > 9256
Bits overconsumption: 13742 > 13736
Bits overconsumption: 8225 > 8208
Bits overconsumption: 7775 > 7768 at 10x6
Bits overconsumption: 13042 > 12968
Bits overconsumption: 9541 > 9520
Bits overconsumption: 17121 > 17096
Bits overconsumption: 8578 > 8536
Bits overconsumption: 9650 > 9632 at 9x13
Bits overconsumption: 8885 > 8864 at 13x5
Bits overconsumption: 13102 > 13080
Bits overconsumption: 8646 > 8608 at 8x4
Bits overconsumption: 3542 > 3520
Bits overconsumption: 8729 > 8720
Bits overconsumption: 5997 > 5984
Bits overconsumption: 5366 > 5360
Bits overconsumption: 2021 > 2000
Bits overconsumption: 1554 > 1536
Bits overconsumption: 3092 > 3080
Bits overconsumption: 4062 > 4008
Bits overconsumption: 9597 > 9592
Bits overconsumption: 5461 > 5448
block_len_bits 5 out of range
Bits overconsumption: 8418 > 8384
Bits overconsumption: 5782 > 5768 at 10x3
Bits overconsumption: 5508 > 5432 at 3x9
Bits overconsumption: 9283 > 9232
Bits overconsumption: 6768 > 6744 at 8x3
prev_block_len_bits 6 out of range
Bits overconsumption: 1517 > 1504 at 13x4
Bits overconsumption: 7403 > 7400 at 12x8
Bits overconsumption: 6165 > 6136
prev_block_len_bits 5 out of range
Bits overconsumption: 12746 > 12736
Bits overconsumption: 19000 > 18984
Bits overconsumption: 7304 > 7280
prev_block_len_bits 5 out of range
Bits overconsumption: 11125 > 11048
Bits overconsumption: 8024 > 7992
Bits overconsumption: 14666 > 14656
Bits overconsumption: 8860 > 8824
next_block_len_bits 5 out of range
Bits overconsumption: 6983 > 6880 at 20x11
Bits overconsumption: 11622 > 11616
Bits overconsumption: 9015 > 8984
Bits overconsumption: 7973 > 7968 at 5x10
prev_block_len_bits 5 out of range
Bits overconsumption: 7429 > 7416
Bits overconsumption: 2178 > 2160
Bits overconsumption: 2293 > 2288
Bits overconsumption: 358 > 352
Bits overconsumption: 218 > 104 at 0x0
[{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0, NULL) = 4032
--- SIGCHLD (Child exited) @ 0 (0) ---
write(2, "Segmentation fault\n", 19Segmentation fault
)    = 19
read(10, "", 8192)                      = 0
exit_group(139)                         = ?

Original issue reported on code.google.com by charlie5...@gmail.com on 23 Oct 2011 at 11:51

GoogleCodeExporter commented 9 years ago
I am unable to reproduce the same problem, is this issue still affecting you?

Original comment by flyguy97 on 7 May 2012 at 12:01

GoogleCodeExporter commented 9 years ago
Fixed in latest version

Original comment by flyguy97 on 7 May 2012 at 3:07