Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when playing #7

Closed
emilm opened this issue Aug 20, 2011 · 3 comments
Closed

Segfault when playing #7

emilm opened this issue Aug 20, 2011 · 3 comments

Comments

@emilm
Copy link

emilm commented Aug 20, 2011

At some random song I play in XBMC it segfaults.
NOTE: This is merged with current xbmc-pvr !
Steps to reproduce:

1: Goto Artist in Library.
2: Start playing a song in album.
3: Skip next, or select another song
4: Repeat until segfault.

Thread #8 was the current when doing 'bt'. Something odd in PlayerHandler.cpp ? Let me know if you want more info.
#1 0x088e2ad9 in addon_music_spotify::Codec::musicDelivery (this=0xaf5ae500, channels=2, sample_rate=44100, frames=0xb05a52c, num_frames=504) at /usr/include/bits/string3.h:52

    amountToMove = 2016

#2 0x088e4d54 in addon_music_spotify::PlayerHandler::cb_musicDelivery (session=0xaf94e68, format=0x312fb10, frames=0xb05a52c, num_frames=504) at spotyXBMC/player/PlayerHandler.cpp:64

Full bt:

(gdb) thread apply all bt full

Thread 40 (Thread 0xabe40b70 (LWP 5275)):
#0 0x01f321e5 in ?? () from /usr/lib/sse2/libspeexdsp.so.1

No symbol table info available.
#1 0x01f32a68 in speex_resampler_process_int () from /usr/lib/sse2/libspeexdsp.so.1

No symbol table info available.
#2 0x01f32f7b in speex_resampler_process_interleaved_int () from /usr/lib/sse2/libspeexdsp.so.1

No symbol table info available.
#3 0x05f808dc in ?? () from /usr/lib/alsa-lib/libasound_module_rate_speexrate.so

No symbol table info available.
#4 0x01751db7 in ?? () from /usr/lib/libasound.so.2

No symbol table info available.
#5 0x0175218e in ?? () from /usr/lib/libasound.so.2

No symbol table info available.
#6 0x0175227c in ?? () from /usr/lib/libasound.so.2

No symbol table info available.
#7 0x0175234f in ?? () from /usr/lib/libasound.so.2

No symbol table info available.
#8 0x0172ef38 in snd_pcm_mmap_commit () from /usr/lib/libasound.so.2

No symbol table info available.
#9 0x01743979 in ?? () from /usr/lib/libasound.so.2

No symbol table info available.
#10 0x017375e3 in ?? () from /usr/lib/libasound.so.2

No symbol table info available.
#11 0x01743bd9 in snd_pcm_mmap_writei () from /usr/lib/libasound.so.2

No symbol table info available.
#12 0x01731d84 in snd_pcm_writei () from /usr/lib/libasound.so.2

No symbol table info available.
#13 0x0870e7d1 in CALSADirectSound::AddPackets (this=0xaa172668, data=0xaf5edcf0, len=) at ALSADirectSound.cpp:531

    bytesToWrite = 3992
    writeResult = <value optimized out>

#14 0x0864319f in PAPlayer::AddPacketsToStream (this=0xafc540b8, stream=0, dec=...) at PAPlayer.cpp:994

    pcmPtr = <value optimized out>
    ret = <value optimized out>
    amount = <value optimized out>

#15 0x086458c9 in PAPlayer::ProcessPAP (this=0xafc540b8) at PAPlayer.cpp:742

    retVal = 0
    retVal2 = <value optimized out>

#16 0x086466fb in PAPlayer::Process (this=0xafc540b8) at PAPlayer.cpp:469

No locals.
#17 0x089f5001 in CThread::staticThread (data=0xafc540c0) at Thread.cpp:177

    __func__ = "staticThread"
    action = {__sigaction_handler = {sa_handler = 0x89f4970 <CThread::term_handler(int)>, sa_sigaction = 0x89f4970 <CThread::term_handler(int)>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
      sa_restorer = 0xabe40b70}

#18 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#19 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 16 (Thread 0xa96feb70 (LWP 5216)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x00316884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0

No symbol table info available.
#2 0x082b9b42 in wait (this=0x8e49280, worker=0xaf9daba8) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/platform/pthreads/Condition.h:69

    tv = {tv_sec = 1313880224, tv_usec = 124113}
    ts = {tv_sec = 1313880254, tv_nsec = 124000000}

#3 wait (this=0x8e49280, worker=0xaf9daba8) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Condition.h:66

No locals.
#4 WaitMSec (this=0x8e49280, worker=0xaf9daba8) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Event.h:84

    lock = {<XbmcThreads::UniqueLock<CCriticalSection>> = {<XbmcThreads::NonCopyable> = {<No data fields>}, mutex = @0x8e49394, owns = true}, <No data fields>}

#5 CJobManager::GetNextJob (this=0x8e49280, worker=0xaf9daba8) at JobManager.cpp:255

    job = <value optimized out>
    newJob = 48
    lock = {<XbmcThreads::UniqueLock<CCriticalSection>> = {<XbmcThreads::NonCopyable> = {<No data fields>}, mutex = @0x8e49318, owns = false}, <No data fields>}
    job = <value optimized out>

#6 0x082b9f73 in CJobWorker::Process (this=0xaf9daba8) at JobManager.cpp:57

    job = 0xaf5af010
    success = <value optimized out>

#7 0x089f5001 in CThread::staticThread (data=0xaf9daba8) at Thread.cpp:177

    __func__ = "staticThread"
    action = {__sigaction_handler = {sa_handler = 0x89f4970 <CThread::term_handler(int)>, sa_sigaction = 0x89f4970 <CThread::term_handler(int)>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
      sa_restorer = 0x2}

#8 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#9 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 14 (Thread 0x3eddb70 (LWP 2326)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x00316884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0

No symbol table info available.
#2 0x089f4af3 in wait (this=0x8e4fac0, milliseconds=2000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/platform/pthreads/Condition.h:69

    tv = {tv_sec = 1313880223, tv_usec = 305859}
    ts = {tv_sec = 1313880225, tv_nsec = 305000000}

#3 wait (this=0x8e4fac0, milliseconds=2000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Condition.h:66

No locals.
#4 WaitMSec (this=0x8e4fac0, milliseconds=2000) at Event.h:84

No locals.
#5 CThread::Sleep (this=0x8e4fac0, milliseconds=2000) at Thread.cpp:530

No locals.
#6 0x089ede5f in MEDIA_DETECT::CDetectDVDMedia::Process (this=0x8e4fac0) at DetectDVDType.cpp:110

    p_cdio = <value optimized out>

#7 0x089f5001 in CThread::staticThread (data=0x8e4fac0) at Thread.cpp:177

    __func__ = "staticThread"
    action = {__sigaction_handler = {sa_handler = 0x89f4970 <CThread::term_handler(int)>, sa_sigaction = 0x89f4970 <CThread::term_handler(int)>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
      sa_restorer = 0x30e404}

#8 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#9 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 13 (Thread 0xb76ffb70 (LWP 2327)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x00316884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0

No symbol table info available.
#2 0x089f4af3 in wait (this=0x8e51da0, milliseconds=1000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/platform/pthreads/Condition.h:69

    tv = {tv_sec = 1313880224, tv_usec = 96093}
    ts = {tv_sec = 1313880225, tv_nsec = 96000000}

#3 wait (this=0x8e51da0, milliseconds=1000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Condition.h:66

No locals.
#4 WaitMSec (this=0x8e51da0, milliseconds=1000) at Event.h:84

No locals.
#5 CThread::Sleep (this=0x8e51da0, milliseconds=1000) at Thread.cpp:530

No locals.
#6 0x08723e38 in EPG::CEpgContainer::Process (this=0x8e51d40) at EpgContainer.cpp:193

    iNow = 1313887424
    lock = {<XbmcThreads::UniqueLock<CCriticalSection>> = {<XbmcThreads::NonCopyable> = {<No data fields>}, mutex = @0x8e51eb4, owns = false}, <No data fields>}

#7 0x089f5001 in CThread::staticThread (data=0x8e51da0) at Thread.cpp:177

    __func__ = "staticThread"
    action = {__sigaction_handler = {sa_handler = 0x89f4970 <CThread::term_handler(int)>, sa_sigaction = 0x89f4970 <CThread::term_handler(int)>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
      sa_restorer = 0}

#8 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#9 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 12 (Thread 0xb6cfeb70 (LWP 2328)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x00316884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0

No symbol table info available.
#2 0x08953d4e in wait (this=0x8e547e0) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/platform/pthreads/Condition.h:69

    tv = {tv_sec = 1313880224, tv_usec = 92081}
    ts = {tv_sec = 1313880225, tv_nsec = 92000000}

#3 wait (this=0x8e547e0) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Condition.h:66

No locals.
#4 WaitMSec (this=0x8e547e0) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Event.h:84

    lock = {<XbmcThreads::UniqueLock<CCriticalSection>> = {<XbmcThreads::NonCopyable> = {<No data fields>}, mutex = @0x8e54948, owns = true}, <No data fields>}

#5 PVR::CPVRManager::Process (this=0x8e547e0) at PVRManager.cpp:298

    __func__ = "Process"

#6 0x089f5001 in CThread::staticThread (data=0x8e5480c) at Thread.cpp:177

    __func__ = "staticThread"
    action = {__sigaction_handler = {sa_handler = 0x89f4970 <CThread::term_handler(int)>, sa_sigaction = 0x89f4970 <CThread::term_handler(int)>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
      sa_restorer = 0}

#7 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#8 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 11 (Thread 0xb62fdb70 (LWP 2329)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x00316884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0

No symbol table info available.
#2 0x089f4af3 in wait (this=0xafe5aa4, milliseconds=1000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/platform/pthreads/Condition.h:69

    tv = {tv_sec = 1313880224, tv_usec = 292035}
    ts = {tv_sec = 1313880225, tv_nsec = 292000000}

#3 wait (this=0xafe5aa4, milliseconds=1000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Condition.h:66

No locals.
#4 WaitMSec (this=0xafe5aa4, milliseconds=1000) at Event.h:84

No locals.
#5 CThread::Sleep (this=0xafe5aa4, milliseconds=1000) at Thread.cpp:530

No locals.
#6 0x08429651 in PVR::CPVRClients::Process (this=0xafe5aa0) at PVRClients.cpp:1208

    bCheckedEnabledClientsOnStartup = true

#7 0x089f5001 in CThread::staticThread (data=0xafe5aa4) at Thread.cpp:177

    __func__ = "staticThread"
    action = {__sigaction_handler = {sa_handler = 0x89f4970 <CThread::term_handler(int)>, sa_sigaction = 0x89f4970 <CThread::term_handler(int)>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
      sa_restorer = 0}

#8 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#9 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 10 (Thread 0xb58fcb70 (LWP 2330)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x00319de6 in nanosleep () from /lib/libpthread.so.0

No symbol table info available.
#2 0x08232889 in Sleep (dwMilliSeconds=5) at XTimeUtils.cpp:63

    req = {tv_sec = 0, tv_nsec = 2327713}

#3 0x089f4a27 in CThread::Sleep (this=0xb7700658, milliseconds=5) at Thread.cpp:532

No locals.
#4 0x088ec439 in addon_music_spotify::BackgroundThread::Process (this=0xb7700658) at spotyXBMC/session/BackgroundThread.cpp:59

No locals.
#5 0x089f5001 in CThread::staticThread (data=0xb7700658) at Thread.cpp:177

    __func__ = "staticThread"
    action = {__sigaction_handler = {sa_handler = 0x89f4970 <CThread::term_handler(int)>, sa_sigaction = 0x89f4970 <CThread::term_handler(int)>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
      sa_restorer = 0}

#6 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#7 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 9 (Thread 0x60c4b70 (LWP 2331)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x00318895 in sem_wait@@GLIBC_2.1 () from /lib/libpthread.so.0

No symbol table info available.
#2 0x00cdd279 in ?? () from /usr/local/lib/libspotify.so.8

No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 0x3134b70 (LWP 2332)):
#0 0x098fbbd1 in ?? () from /lib/libc.so.6

No symbol table info available.
#1 0x088e2ad9 in addon_music_spotify::Codec::musicDelivery (this=0xaf5ae500, channels=2, sample_rate=44100, frames=0xb05a52c, num_frames=504) at /usr/include/bits/string3.h:52

    amountToMove = 2016

#2 0x088e4d54 in addon_music_spotify::PlayerHandler::cb_musicDelivery (session=0xaf94e68, format=0x312fb10, frames=0xb05a52c, num_frames=504) at spotyXBMC/player/PlayerHandler.cpp:64

No locals.
#3 0x00f322cc in ?? () from /usr/local/lib/libspotify.so.8

No symbol table info available.
#4 0x19eafdfd in ?? ()

No symbol table info available.
#5 0x1ad6fdee in ?? ()

No symbol table info available.
#6 0x1bd1fdaa in ?? ()

No symbol table info available.
#7 0x1dbefd03 in ?? ()

No symbol table info available.
#8 0x207bfca3 in ?? ()

No symbol table info available.
#9 0x22f8fcea in ?? ()

No symbol table info available.
#10 0x246efd02 in ?? ()

No symbol table info available.
#11 0x2493fbd7 in ?? ()

No symbol table info available.
#12 0x2318f923 in ?? ()

No symbol table info available.
#13 0x1fe7f612 in ?? ()

No symbol table info available.
#14 0x1bfdf498 in ?? ()

No symbol table info available.
#15 0x18f8f5ab in ?? ()

No symbol table info available.
#16 0x178ff82b in ?? ()

No symbol table info available.
#17 0x175ff9fb in ?? ()

No symbol table info available.
#18 0x17defa71 in ?? ()

No symbol table info available.
#19 0x18b7fa5f in ?? ()

No symbol table info available.
#20 0x1955fa6c in ?? ()

No symbol table info available.
#21 0x195ffa38 in ?? ()

No symbol table info available.
#22 0x1928f93c in ?? ()

No symbol table info available.
#23 0x18d5f7c6 in ?? ()

No symbol table info available.
#24 0x184ff611 in ?? ()

No symbol table info available.
#25 0x1755f403 in ?? ()

No symbol table info available.
#26 0x15aef21c in ?? ()

No symbol table info available.
#27 0x13aef14f in ?? ()

No symbol table info available.
#28 0x11e4f1a1 in ?? ()

No symbol table info available.
#29 0x1074f21c in ?? ()

No symbol table info available.
#30 0x0ea6f293 in ?? ()

No symbol table info available.
#31 0x0c16f3b7 in ?? ()

No symbol table info available.
Cannot access memory at address 0x1890fed5

Thread 7 (Thread 0xb38ffb70 (LWP 2338)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x098a8df6 in poll () from /lib/libc.so.6

No symbol table info available.
#2 0x08b8aeb4 in tcp_read_timeout (fdSock=33, buf=0xb38ff21c, nLen=4, nTimeout=250) at linux/net_posix.c:212

    x = <value optimized out>
    tot = 0
    fds = {fd = 33, events = 1, revents = 0}

#3 0x03315d55 in CHTSPConnection::ReadMessage (this=0xb7719898, timeout=250) at HTSPConnection.cpp:149

    l = <value optimized out>
    x = <value optimized out>
    __FUNCTION__ = "ReadMessage"

#4 0x0331c56b in CHTSPData::Action (this=0xb7719778) at HTSPData.cpp:603

    seq = 6020
    method = 0x0
    CmdLock = {mutex = 0xb77197f8, locked = true}
    __FUNCTION__ = "Action"
    msg = 0xb169320

#5 0x03322089 in cThread::StartThread (Thread=0xb7719778) at thread.cpp:257

No locals.
#6 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#7 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 6 (Thread 0xb24fdb70 (LWP 2340)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x098b0371 in select () from /lib/libc.so.6

No symbol table info available.
#2 0x08249960 in SOCKETS::CSocketListener::Listen (this=0xb24fd118, timeout=1000) at Socket.cpp:195

    tv = {tv_sec = 0, tv_usec = 355826}

#3 0x08240f20 in EVENTSERVER::CEventServer::Run (this=0xb128c48) at EventServer.cpp:207

    any_addr = {saddr = {sin_family = 2, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"}, size = 16}
    listener = {m_sockets = {<std::_Vector_base<SOCKETS::CBaseSocket*, std::allocator<SOCKETS::CBaseSocket*> >> = {
          _M_impl = {<std::allocator<SOCKETS::CBaseSocket*>> = {<__gnu_cxx::new_allocator<SOCKETS::CBaseSocket*>> = {<No data fields>}, <No data fields>}, _M_start = 0xb0096b8, _M_finish = 0xb0096bc,
            _M_end_of_storage = 0xb0096bc}}, <No data fields>}, m_iReadyCount = 0, m_iMaxSockets = 39, m_iCurrentSocket = 0, m_fdset = {fds_bits = {0, 128, 0 <repeats 30 times>}}}
    packetSize = <value optimized out>
    port_range = <value optimized out>

#4 0x082411e8 in EVENTSERVER::CEventServer::Process (this=0xb128c48) at EventServer.cpp:147

No locals.
#5 0x089f5001 in CThread::staticThread (data=0xb128c48) at Thread.cpp:177

    __func__ = "staticThread"
    action = {__sigaction_handler = {sa_handler = 0x89f4970 <CThread::term_handler(int)>, sa_sigaction = 0x89f4970 <CThread::term_handler(int)>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
      sa_restorer = 0}

#6 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#7 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 5 (Thread 0xb1afcb70 (LWP 2342)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x098a8df6 in poll () from /lib/libc.so.6

No symbol table info available.
#2 0x09e13c4b in ?? () from /lib/libdbus-1.so.3

No symbol table info available.
#3 0x09e0c9af in ?? () from /lib/libdbus-1.so.3

No symbol table info available.
#4 0x09e0a82c in ?? () from /lib/libdbus-1.so.3

No symbol table info available.
#5 0x09df3c13 in ?? () from /lib/libdbus-1.so.3

No symbol table info available.
#6 0x09df61e7 in ?? () from /lib/libdbus-1.so.3

No symbol table info available.
#7 0x08ad264b in DBUSSERVER::CDbusServer::Run (this=0xb1afc114) at DbusServer.cpp:298

No locals.
#8 0x089f441a in CThread::Process (this=0xaf580f8) at Thread.cpp:474

No locals.
#9 0x089f5001 in CThread::staticThread (data=0xaf580f8) at Thread.cpp:177

    __func__ = "staticThread"
    action = {__sigaction_handler = {sa_handler = 0x89f4970 <CThread::term_handler(int)>, sa_sigaction = 0x89f4970 <CThread::term_handler(int)>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
      sa_restorer = 0}

#10 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#11 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 4 (Thread 0xb0effb70 (LWP 2343)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x098b0371 in select () from /lib/libc.so.6

No symbol table info available.
#2 0x0824baee in JSONRPC::CTCPServer::Process (this=0xb0f6ae18) at TCPServer.cpp:99

    max_fd = 43
    rfds = {fds_bits = {0, 2048, 0 <repeats 30 times>}}
    to = {tv_sec = 0, tv_usec = 291045}
    res = <value optimized out>

#3 0x089f5001 in CThread::staticThread (data=0xb0f6ae20) at Thread.cpp:177

    __func__ = "staticThread"
    action = {__sigaction_handler = {sa_handler = 0x89f4970 <CThread::term_handler(int)>, sa_sigaction = 0x89f4970 <CThread::term_handler(int)>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
      sa_restorer = 0}

#4 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#5 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 3 (Thread 0xaf37ab70 (LWP 2347)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x00316884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0

No symbol table info available.
#2 0x089f4af3 in wait (this=0xafe63e0, milliseconds=1000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/platform/pthreads/Condition.h:69

    tv = {tv_sec = 1313880224, tv_usec = 283135}
    ts = {tv_sec = 1313880225, tv_nsec = 283000000}

#3 wait (this=0xafe63e0, milliseconds=1000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Condition.h:66

No locals.
#4 WaitMSec (this=0xafe63e0, milliseconds=1000) at Event.h:84

No locals.
#5 CThread::Sleep (this=0xafe63e0, milliseconds=1000) at Thread.cpp:530

No locals.
#6 0x08950289 in PVR::CPVRGUIInfo::Process (this=0xafe63e0) at PVRGUIInfo.cpp:200

    mLoop = 83

#7 0x089f5001 in CThread::staticThread (data=0xafe63e0) at Thread.cpp:177

    __func__ = "staticThread"
    action = {__sigaction_handler = {sa_handler = 0x89f4970 <CThread::term_handler(int)>, sa_sigaction = 0x89f4970 <CThread::term_handler(int)>}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
      sa_restorer = 0}

#8 0x00311cc9 in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#9 0x098b769e in clone () from /lib/libc.so.6

No symbol table info available.

Thread 1 (Thread 0x1b28740 (LWP 2311)):
#0 0x0078a416 in __kernel_vsyscall ()

No symbol table info available.
#1 0x00312fa5 in pthread_join () from /lib/libpthread.so.0

No symbol table info available.
#2 0x089f46a3 in CThread::WaitForThreadExit (this=0xafc540c0, milliseconds=4294967295) at Thread.cpp:456

No locals.
#3 0x089f482d in CThread::StopThread (this=0xafc540c0, bWait=true) at Thread.cpp:264

No locals.
#4 0x0864428a in PAPlayer::CloseFileInternal (this=0xafc540b8, bAudioDevice=false) at PAPlayer.cpp:287

No locals.
#5 0x08646a22 in PAPlayer::OpenFile (this=0xafc540b8, file=..., options=...) at PAPlayer.cpp:143

    channel = <value optimized out>
    sampleRate = <value optimized out>
    bitsPerSample = <value optimized out>

#6 0x0852124f in CApplication::PlayFile (this=0x8e4faa0, item=..., bRestart=false) at Application.cpp:3751

    __func__ = "PlayFile"
    eNewCore = <value optimized out>
    playlist = <value optimized out>
    bResult = <value optimized out>
    options = {starttime = 0, identify = false, state = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>}, fullscreen = true, video_only = false}

#7 0x0858ee46 in PLAYLIST::CPlayListPlayer::Play (this=0x8e4fa60, iSong=, bAutoPlay=155, bPlayPrevious=false) at PlayListPlayer.cpp:258

    playlist = <value optimized out>
    item = {px = 0xb00ea408, pn = {pi_ = 0xb277d3e0}}
    playAttempt = 10097655

#8 0x0858f353 in PLAYLIST::CPlayListPlayer::PlayNext (this=0x8e4fa60, offset=1, bAutoPlay=false) at PlayListPlayer.cpp:174

    iSong = 2
    playlist = @0x149b

#9 0x085239eb in CApplication::OnAction (this=0x8e4faa0, action=...) at Application.cpp:2452

No locals.
#10 0x08525c90 in CApplication::OnKey (this=0x8e4faa0, key=...) at Application.cpp:2259

    iWin = -1077382972
    action = {m_id = 14, m_name = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xa8da9fc "SkipNext"}}, <No data fields>}, static max_amounts = 4,
      m_amount = {1, 0, 0, 0}, m_repeat = 0, m_holdTime = 0, m_buttonCode = 223, m_unicode = 0 L'\000'}
    processKey = 252
    __func__ = "OnKey"

#11 0x085265af in CApplication::ProcessRemote (this=0x8e4faa0, frameTime=0.0200000014) at Application.cpp:2803

    key = {_vptr.CKey = 0x8df40a8, m_buttonCode = 223, m_vkey = 0 '\000', m_unicode = 0 L'\000', m_ascii = 0 '\000', m_modifiers = 0, m_held = 0, m_leftTrigger = 0 '\000', m_rightTrigger = 0 '\000',
      m_leftThumbX = 0, m_leftThumbY = 0, m_rightThumbX = 0, m_rightThumbY = 0, m_repeat = 0, m_fromHttpApi = false}

#12 0x08527701 in CApplication::FrameMove (this=0x8e4faa0, processEvents=true) at Application.cpp:2685

    frameTime = 0.0200000014

#13 0x085beb10 in CXBApplicationEx::Run (this=0x8e4faa0) at XBApplicationEx.cpp:121

No locals.
#14 0x085c51b4 in main (argc=3, argv=0xbfc87484) at xbmc.cpp:93

    status = <value optimized out>
    sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 2, sa_restorer = 0}
    appParamParser = {m_testmode = false, m_playlist = {<CFileItem> = {<CGUIListItem> = {_vptr.CGUIListItem = 0x8df4b68, m_bIsFolder = true,
            m_strLabel2 = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
                _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>},
            m_strThumbnailImage = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
                _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>},
            m_strIcon = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
                _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>},
            m_overlayIcon = CGUIListItem::ICON_OVERLAY_NONE, m_layout = 0x0, m_focusedLayout = 0x0, m_bSelected = false, m_mapProperties = {_M_t = {
                _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<CStdStr<char> const, CStdStr<char> > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<CStdStr<char> const, CStdStr<char> > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbfc872b4, _M_right = 0xbfc872b4}, _M_node_count = 0}}},
            m_sortLabel = {<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >> = {static npos = <optimized out>,
                _M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f85c L""}}, <No data fields>},
            m_strLabel = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
                _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>}}, <IArchivable> = {
            _vptr.IArchivable = 0x8df4b94}, <ISerializable> = {_vptr.ISerializable = 0x8df4ba8}, m_bIsShareOrDrive = false, m_iDriveType = 0, m_dateTime = {<IArchivable> = {_vptr.IArchivable = 0x8df5320},
            m_time = {dwLowDateTime = 3567643008, dwHighDateTime = 27111902}, m_state = CDateTime::invalid}, m_dwSize = 0,
          m_strDVDLabel = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
              _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>},
          m_strTitle = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
              _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>}, m_iprogramCount = 0, m_idepth = 1,
          m_lStartOffset = 0, m_lEndOffset = 0, m_iLockMode = LOCK_MODE_EVERYONE, m_strLockCode = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
              _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>}, m_iHasLock = 0,
          m_iBadPwdCount = 0, m_strPath = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
              _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>}, m_specialSort = SORT_NORMALLY,
          m_bIsParentFolder = false, m_bCanQueue = true, m_bLabelPreformated = false, m_mimetype = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {
              static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>},
          m_extrainfo = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
              _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>}, m_musicInfoTag = 0x0,
          m_videoInfoTag = 0x0, m_epgInfoTag = 0x0, m_pvrChannelInfoTag = 0x0, m_pvrRecordingInfoTag = 0x0, m_pvrTimerInfoTag = 0x0, m_pictureInfoTag = 0x0, m_bIsAlbum = false},
        m_items = {<std::_Vector_base<boost::shared_ptr<CFileItem>, std::allocator<boost::shared_ptr<CFileItem> > >> = {
            _M_impl = {<std::allocator<boost::shared_ptr<CFileItem> >> = {<__gnu_cxx::new_allocator<boost::shared_ptr<CFileItem> >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
              _M_end_of_storage = 0x0}}, <No data fields>}, m_map = {_M_t = {
            _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<CStdStr<char> const, boost::shared_ptr<CFileItem> > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<CStdStr<char> const, boost::shared_ptr<CFileItem> > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<CStdStr<char>, CStdStr<char>, bool>> = {<No data fields>}, <No data fields>}, _M_header = {
                _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbfc87364, _M_right = 0xbfc87364}, _M_node_count = 0}}}, m_fastLookup = false, m_sortMethod = SORT_METHOD_NONE,
        m_sortOrder = SORT_ORDER_NONE, m_sortIgnoreFolders = false, m_cacheToDisc = CFileItemList::CACHE_IF_SLOW, m_replaceListing = false,
        m_content = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203f7bc ""}}, <No data fields>},
        m_sortDetails = {<std::_Vector_base<SORT_METHOD_DETAILS, std::allocator<SORT_METHOD_DETAILS> >> = {
            _M_impl = {<std::allocator<SORT_METHOD_DETAILS>> = {<__gnu_cxx::new_allocator<SORT_METHOD_DETAILS>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
              _M_end_of_storage = 0x0}}, <No data fields>}, m_lock = {<XbmcThreads::CountingLockable<XbmcThreads::pthreads::RecursiveMutex>> = {<XbmcThreads::NonCopyable> = {<No data fields>}, mutex = {
              mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 1, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}},
                __size = '\000' <repeats 12 times>, "\001\000\000\000\000\000\000\000\000\000\000", __align = 0}}, count = 0}, <No data fields>}}}
@akezeke
Copy link
Owner

akezeke commented Aug 21, 2011

Thank you for your report.

The playerhandling is not fully implemented but I pushed a temporary solution that seems to work. Please try if you can get it to crash or if it solved!

/David

@emilm
Copy link
Author

emilm commented Aug 21, 2011

Hats off to you! It seems to work!

Thanks!

@akezeke
Copy link
Owner

akezeke commented Aug 23, 2011

Seems to be working, I´ll close this for now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants