Bug#763647: marked as done (xbmc-bin: crashes while trying to handle CD/DVD drives although no media is present)
Sebastian Ramacher
sramacher at debian.org
Wed Oct 8 20:42:02 UTC 2014
Control: reopen -1
> I am not able to reproduce the issue anymore. Since the crash happended
> the last time, I have rebooted with a new kernel. So maybe this was just
> a transient issue. If it should happen again, I'll provide you a better
> back trace.
>
> Closing for now.
And reopening. I've nuked my ~/.xbmc and the crash is back. Thanks to
the -dbg package with a better trace back this time:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd3870700 (LWP 7978)]
__GI___libc_free (mem=0x2208100000001) at malloc.c:2929
2929 malloc.c: No such file or directory.
(gdb) bt full
#0 __GI___libc_free (mem=0x2208100000001) at malloc.c:2929
ar_ptr = <optimized out>
p = <optimized out>
hook = 0x0
#1 0x00007ffff170efe5 in cdtext_destroy () from /usr/lib/libcdio.so.13
No symbol table info available.
#2 0x00007ffff170d83b in ?? () from /usr/lib/libcdio.so.13
No symbol table info available.
#3 0x00007ffff170f7bd in cdio_destroy () from /usr/lib/libcdio.so.13
No symbol table info available.
#4 0x0000000000ca3255 in MEDIA_DETECT::CCdIoSupport::GetCdInfo (this=this at entry=0x7fffd386bb80, cDeviceFileName=cDeviceFileName at entry=0x0)
at cdioSupport.cpp:899
source_name = <optimized out>
__FUNCTION__ = "GetCdInfo"
info = 0x7fffb00008f0
lock = {<XbmcThreads::UniqueLock<CCriticalSection>> = {<XbmcThreads::NonCopyable> = {<No data fields>}, mutex = @0x19f7f98,
owns = true}, <No data fields>}
bIsCDRom = true
#5 0x0000000000ca3e80 in MEDIA_DETECT::CDetectDVDMedia::DetectMediaType (this=this at entry=0x1986b98) at DetectDVDType.cpp:234
bCDDA = false
strNewUrl = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = "", <No data fields>}
cdio = {_vptr.CCdIoSupport = 0x189afd0 <vtable for MEDIA_DETECT::CCdIoSupport+16>, buffer = {'\000' <repeats 2351 times>,
'\000' <repeats 2351 times>, '\000' <repeats 2351 times>, '\000' <repeats 2351 times>, '\000' <repeats 2351 times>,
'\000' <repeats 1544 times>...,
"\320\336M\355\377\177\000\000\070\341\062\001\000\000\000\000 \361=\355\377\177\000\000\032\364\062\001\000\000\000\000\000\000\000\000\377\177\000\000\300\370\206\323\377\177\000\000\260\370\206\323\377\177\000\000\242\343;\355\377\177\000\000V\341\062\001\000\000\000\000\070\341\062\001\000\000\000\000]\251;\355\377\177\000\000\000\000\000\000\000\000\000\000\340\363\206\323\377\177\000\000\000\371\206\323\377\177\000\000\360\370\206\323\377\177\000\000\242\343;\355\377\177\000\000\364\355q\361\377\177\000\000\355\355q\361\377\177\000\000]\251;\355\377\177\000\000\200\372\206\323\377\177\000\000\300\371\206\323\377\177\000\000\200\364\206\323\377\177\000\000\000\000\000\000\000\000\000 ", '\000' <repeats 12 times>, "\377\377\377\377"...}, static sigs = {{buf_num = 0,
offset = 1, sig_str = 0x138cc85 "CD001", description = 0x138cc8c "ISO 9660"}, {buf_num = 0, offset = 1, sig_str = 0x138c8ea "CD-I",
description = 0x138c8ea "CD-I"}, {buf_num = 0, offset = 8, sig_str = 0x138c8ef "CDTV", description = 0x138c8ef "CDTV"}, {buf_num = 0,
offset = 8, sig_str = 0x138c8f4 "CD-RTOS", description = 0x138c8f4 "CD-RTOS"}, {buf_num = 0, offset = 9, sig_str = 0x13aff00 "CDROM",
description = 0x138c8fc "HIGH SIERRA"}, {buf_num = 0, offset = 16, sig_str = 0x138c908 "CD-BRIDGE", description = 0x138c90b "BRIDGE"}, {
buf_num = 0, offset = 1024, sig_str = 0x138c912 "CD-XA001", description = 0x134f788 "XA"}, {buf_num = 1, offset = 64,
sig_str = 0x138c6e0 "PPPPHHHHOOOOTTTTOOOO____CCCCDDDD", description = 0x138c91b "PHOTO CD"}, {buf_num = 1, offset = 1080,
sig_str = 0x138c924 <incomplete sequence \357>, description = 0x138c927 "EXT2 FS"}, {buf_num = 2, offset = 1372,
sig_str = 0x138cc96 "T\031\001", description = 0x138c7ae "UFS"}, {buf_num = 3, offset = 7, sig_str = 0x138c92f "EL TORITO",
description = 0x138c939 "BOOTABLE"}, {buf_num = 4, offset = 0, sig_str = 0x138c942 "VIDEO_CD", description = 0x138c94b "VIDEO CD"}, {
buf_num = 4, offset = 0, sig_str = 0x138c954 "SUPERVCD", description = 0x138c95d "Chaoji VCD"}, {buf_num = 0, offset = 0,
sig_str = 0x138c968 "MICROSOFT*XBOX*MEDIA", description = 0x138c97d "UDFX CD"}, {buf_num = 0, offset = 1, sig_str = 0x138c985 "BEA01",
description = 0x138c98b "UDF"}, {buf_num = 0, offset = 0, sig_str = 0x0, description = 0x0}, {buf_num = 0, offset = 0, sig_str = 0x0,
description = 0x0}}, i = 171, j = 32767, m_nStartTrack = -150, m_nIsofsSize = 0, m_nJolietLevel = 0, m_nMsOffset = 0, m_nDataStart = 0,
m_nFs = 0, m_nUDFVerMinor = 0, m_nUDFVerMajor = 0, cdio = 0x7fffb0002930, m_nNumTracks = 164 '\244', m_nFirstTrackNum = 129 '\201',
m_strDiscLabel = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = "", <No data fields>}, m_nFirstData = -1,
m_nNumData = 0, m_nFirstAudio = 129, m_nNumAudio = 36, m_cdio = {px = 0x19f7f90, pn = {pi_ = 0x198b060}}}
strLabel = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = "", <No data fields>}
#6 0x0000000000ca4c1e in MEDIA_DETECT::CDetectDVDMedia::UpdateDvdrom (this=this at entry=0x1986b98) at DetectDVDType.cpp:195
msg = {_vptr.CGUIMessage = 0x1986bf8, m_strLabel = <error reading variable: Cannot access memory at address 0xf3113a67f69ecde8>,
m_params = std::vector of length 1697245, capacity 17592092778154 = {<error reading variable>
waitLock = {<XbmcThreads::UniqueLock<CCriticalSection>> = {<XbmcThreads::NonCopyable> = {<No data fields>}, mutex = @0x1901100,
owns = true}, <No data fields>}
#7 0x0000000000ca5478 in MEDIA_DETECT::CDetectDVDMedia::Process (this=0x1986b98) at DetectDVDType.cpp:106
this = 0x1986b98
#8 0x000000000132cf2f in CThread::Action (this=0x1986b98) at Thread.cpp:220
__FUNCTION__ = "Action"
#9 0x000000000132d1e9 in CThread::staticThread (data=0x1986b98) at Thread.cpp:130
autodelete = false
__FUNCTION__ = "staticThread"
pThread = 0x1986b98
name = "DetectDVDMedia"
id = 140736742229760
lock = {<XbmcThreads::UniqueLock<CCriticalSection>> = {<XbmcThreads::NonCopyable> = {<No data fields>}, mutex = @0x0, owns = false}, <No data fields>}
#10 0x00007ffff4e540a4 in start_thread (arg=0x7fffd3870700) at pthread_create.c:309
__res = <optimized out>
pd = 0x7fffd3870700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736742229760, 4379382509077063799, 1, 140737354125408, 0, 140736742229760, -4379444708819539849,
-4379371328021272457}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#11 0x00007fffed459c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
This happens after adding a folder and scanning it for the first time.
/proc/$pid/fd suggests it is looking at /dev/sr1 at the time of the
crash.
Cheers
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20141008/6e602c21/attachment.sig>
More information about the pkg-multimedia-maintainers
mailing list