Kodi Community Forum

Full Version: XBMC crashes with multi-file movies
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm running XBMC stable on Ubuntu Maverick with VDPAU. The machine is an Asus eeebox EB1012.

Whenever I'm watch multi-file movies and XBMC has to switch from the first file to the second file it crashes. When I change to software rendering the error is gone.

Any ideas? Does anyone have the same problem?
Might want to grab a debug
Code:
############## XBMC CRASH LOG ###############

################ SYSTEM INFO ################
Date: Fri Oct 29 18:18:49 CEST 2010
XBMC Options:
Arch: i686
Kernel: Linux 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010
Release:
    Distributor ID:    Ubuntu
    Description:    Ubuntu 10.10
    Release:    10.10
    Codename:    maverick
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/media/core
        =========================================
[New Thread 2415]
[New Thread 2379]
[New Thread 2389]
[New Thread 2388]
[New Thread 2390]
[New Thread 2387]
[New Thread 2391]
[New Thread 2392]
[New Thread 2416]
[New Thread 2396]
Core was generated by `/usr/share/xbmc/xbmc.bin'.
Program terminated with signal 11, Segmentation fault.
#0  0x00537ec6 in glIsTexture () from /usr/lib/nvidia-current/libGL.so.1

Thread 10 (Thread 2396):
#0  0x0040c416 in __kernel_vsyscall ()
#1  0x0015a884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x047c1cb1 in SDL_CondWaitTimeout () from /usr/lib/libSDL-1.2.so.0
#3  0x08202d53 in ?? ()
#4  0x08202e35 in WaitForSingleObject(CXHandle*, unsigned int) ()
#5  0x0823e621 in CEvent::WaitMSec(unsigned int) ()
#6  0x082b8d8d in CJobManager::GetNextJob(CJobWorker const*) ()
#7  0x082b8e95 in CJobWorker::Process() ()
#8  0x08291bd7 in CThread::staticThread(void*) ()
#9  0x00507c38 in ?? () from /usr/lib/nvidia-current/libGL.so.1

Thread 9 (Thread 2416):
#0  0x0040c416 in __kernel_vsyscall ()
#1  0x07ba6381 in select () from /lib/libc.so.6
#2  0x010158e6 in ?? () from /usr/lib/libsmbclient.so.0
#3  0x0101c76d in ?? () from /usr/lib/libsmbclient.so.0
#4  0x0101cdd8 in ?? () from /usr/lib/libsmbclient.so.0
#5  0x0101f27b in ?? () from /usr/lib/libsmbclient.so.0
#6  0x01059a27 in ?? () from /usr/lib/libsmbclient.so.0
#7  0x01059b1d in ?? () from /usr/lib/libsmbclient.so.0
#8  0x00fb0174 in ?? () from /usr/lib/libsmbclient.so.0
#9  0x00fa93f5 in smbc_read () from /usr/lib/libsmbclient.so.0
#10 0x0873a6f2 in XFILE::CFileSMB::Read(void*, long long) ()
#11 0x0872473d in XFILE::CFile::Read(void*, long long) ()
#12 0x086e01b8 in CDVDInputStreamFile::Read(unsigned char*, int) ()
#13 0x0186dd2e in get_le32 () from /usr/share/xbmc/system/players/dvdplayer/avformat-52-i486-linux.so
#14 0x00000000 in ?? ()

Thread 8 (Thread 2392):
#0  0x0040c416 in __kernel_vsyscall ()
#1  0x0015a884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x047c1cb1 in SDL_CondWaitTimeout () from /usr/lib/libSDL-1.2.so.0
#3  0x08202d53 in ?? ()
#4  0x08202e35 in WaitForSingleObject(CXHandle*, unsigned int) ()
#5  0x0823e621 in CEvent::WaitMSec(unsigned int) ()
#6  0x082b8d8d in CJobManager::GetNextJob(CJobWorker const*) ()
#7  0x082b8e95 in CJobWorker::Process() ()
#8  0x08291bd7 in CThread::staticThread(void*) ()
#9  0x00507c38 in ?? () from /usr/lib/nvidia-current/libGL.so.1

Thread 7 (Thread 2391):
#0  0x0040c416 in __kernel_vsyscall ()
#1  0x0015a884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x047c1cb1 in SDL_CondWaitTimeout () from /usr/lib/libSDL-1.2.so.0
#3  0x08202d53 in ?? ()
#4  0x08202e35 in WaitForSingleObject(CXHandle*, unsigned int) ()
#5  0x0823e621 in CEvent::WaitMSec(unsigned int) ()
#6  0x082b8d8d in CJobManager::GetNextJob(CJobWorker const*) ()
#7  0x082b8e95 in CJobWorker::Process() ()
#8  0x08291bd7 in CThread::staticThread(void*) ()
#9  0x00507c38 in ?? () from /usr/lib/nvidia-current/libGL.so.1

Thread 6 (Thread 2387):
#0  0x0040c416 in __kernel_vsyscall ()
#1  0x07ba6381 in select () from /lib/libc.so.6
#2  0x0889e6a4 in socketSelect ()
#3  0x08870bf0 in CWebServer::Process() ()
#4  0x08291bd7 in CThread::staticThread(void*) ()
#5  0x00507c38 in ?? () from /usr/lib/nvidia-current/libGL.so.1

Thread 5 (Thread 2390):
#0  0x0040c416 in __kernel_vsyscall ()
#1  0x07b9ede6 in poll () from /lib/libc.so.6
#2  0x00773bfb in ?? () from /lib/libdbus-1.so.3
#3  0x0076c95f in ?? () from /lib/libdbus-1.so.3
#4  0x0076a7dc in ?? () from /lib/libdbus-1.so.3
#5  0x00753c13 in ?? () from /lib/libdbus-1.so.3
#6  0x007561e7 in ?? () from /lib/libdbus-1.so.3
#7  0x082b4b6b in DBUSSERVER::CDbusServer::Run() ()
#8  0x08291bd7 in CThread::staticThread(void*) ()
#9  0x00507c38 in ?? () from /usr/lib/nvidia-current/libGL.so.1

Thread 4 (Thread 2388):
#0  0x0040c416 in __kernel_vsyscall ()
#1  0x07b9ede6 in poll () from /lib/libc.so.6
#2  0x00f86cae in ?? () from /usr/lib/libavahi-common.so.3
#3  0x00f8545c in avahi_simple_poll_run () from /usr/lib/libavahi-common.so.3
#4  0x00f85ca0 in avahi_simple_poll_iterate () from /usr/lib/libavahi-common.so.3
#5  0x00f85cf0 in avahi_simple_poll_loop () from /usr/lib/libavahi-common.so.3
#6  0x00f86a9b in ?? () from /usr/lib/libavahi-common.so.3
#7  0x00507c38 in ?? () from /usr/lib/nvidia-current/libGL.so.1

Thread 3 (Thread 2389):
#0  0x0040c416 in __kernel_vsyscall ()
#1  0x07ba6381 in select () from /lib/libc.so.6
#2  0x082a5910 in SOCKETS::CSocketListener::Listen(int) ()
#3  0x0829f82f in EVENTSERVER::CEventServer::Run() ()
#4  0x0829fae0 in EVENTSERVER::CEventServer::Process() ()
#5  0x08291bd7 in CThread::staticThread(void*) ()
#6  0x00507c38 in ?? () from /usr/lib/nvidia-current/libGL.so.1

Thread 2 (Thread 2379):
#0  0x0040c416 in __kernel_vsyscall ()
#1  0x0015a4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x047c1be8 in SDL_CondWait () from /usr/lib/libSDL-1.2.so.0
#3  0x08202d6a in ?? ()
#4  0x08202e35 in WaitForSingleObject(CXHandle*, unsigned int) ()
#5  0x082916f9 in CThread::WaitForSingleObject(CXHandle*, unsigned int) ()
#6  0x085916d4 in CDVDPlayer::OpenFile(CFileItem const&, CPlayerOptions const&) ()
#7  0x082e212f in CApplication::PlayFile(CFileItem const&, bool) ()
#8  0x082e752d in CApplication::OnMessage(CGUIMessage&) ()
#9  0x0865ca52 in CGUIWindowManager::SendMessage(CGUIMessage&) ()
#10 0x0865dccf in CGUIWindowManager::DispatchThreadMessages() ()
#11 0x082e330b in CApplication::Process() ()
#12 0x0850b4ac in CXBApplicationEx::Run() ()
#13 0x0850bd04 in main ()

Thread 1 (Thread 2415):
#0  0x00537ec6 in glIsTexture () from /usr/lib/nvidia-current/libGL.so.1
#1  0x08689dfe in CGUIFontTTFGL::DeleteHardwareTexture() ()
#2  0x08689f00 in CGUIFontTTFGL::CopyCharToTexture(FT_BitmapGlyphRec_*, CGUIFontTTFBase::Character*) ()
#3  0x086246c8 in CGUIFontTTFBase::CacheCharacter(wchar_t, unsigned int, CGUIFontTTFBase::Character*) ()
#4  0x08624fb9 in CGUIFontTTFBase::GetTextWidthInternal(__gnu_cxx::__normal_iterator<unsigned int const*, std::vector<unsigned int, std::allocator<unsigned int> > >, __gnu_cxx::__normal_iterator<unsigned int const*, std::vector<unsigned int, std::allocator<unsigned int> > >) ()
#5  0x0861e567 in CGUIFont::GetTextWidth(std::vector<unsigned int, std::allocator<unsigned int> > const&) ()
#6  0x0867c10f in CGUITextLayout::CalcTextExtent() ()
#7  0x086804d9 in CGUITextLayout::SetText(CStdStr<wchar_t> const&, float, bool) ()
#8  0x086805d5 in CGUITextLayout::Update(CStdStr<char> const&, float, bool, bool) ()
#9  0x08628cc5 in CGUILabelControl::ShortenPath(CStdStr<char> const&) ()
#10 0x08629154 in CGUILabelControl::SetLabel(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#11 0x08629629 in CGUILabelControl::OnMessage(CGUIMessage&) ()
#12 0x086125ac in CGUIControlGroup::SendControlMessage(CGUIMessage&) ()
#13 0x0865767f in CGUIWindow::OnMessage(CGUIMessage&) ()
#14 0x084b6d10 in CGUIDialogProgress::OnMessage(CGUIMessage&) ()
#15 0x0848dfc7 in CGUIDialogBoxBase::SetLine(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#16 0x086b5e90 in CDlgCache::OpenDialog() ()
#17 0x086b5f91 in CDlgCache::Process() ()
#18 0x08291bd7 in CThread::staticThread(void*) ()
#19 0x00507c38 in ?? () from /usr/lib/nvidia-current/libGL.so.1
############# END STACK TRACE ###############
It's calling glIsTexture() from the wrong thread it seems.
Can you post the full crashlog?
Any idea on how to work around the error?
Not without a full crashlog.
How can I create that?
Turn on debug logging in xbmc, make it crash, post the crashlog in your homedirectory to http://pastebin.com
Should be fixed in r35081.