Bug#748294: vdpau-va-driver: Arithmetic exception in nvidia driver

Teemu Ikonen tpikonen at gmail.com
Wed May 21 21:44:35 UTC 2014


Hi,

Attached is a full stack trace from XBMC after the arithmetic
exception crash, made with a debug-build of vdpau-va-driver. I hope
this helps, but if not, let me know if I can do more to help debug
this.

Also, I could not reproduce this bug with mpv.

Best,
Teemu
-------------- next part --------------
############### STACK TRACE #################
=====>  Core file: /home/tpikonen/core.18396 (2014-05-21 23:35:00.101394445 +0200)
        =========================================
[New LWP 18448]
[New LWP 18449]
[New LWP 18451]
[New LWP 18425]
[New LWP 18426]
[New LWP 18430]
[New LWP 18433]
[New LWP 18434]
[New LWP 18436]
[New LWP 18437]
[New LWP 18438]
[New LWP 18439]
[New LWP 18440]
[New LWP 18441]
[New LWP 18442]
[New LWP 18445]
[New LWP 18427]
[New LWP 18435]
[New LWP 18396]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `/usr/lib/xbmc/xbmc.bin'.
Program terminated with signal 8, Arithmetic exception.
#0  0xacb02695 in object_heap_destroy (heap=0xaca4be88) at object_heap.c:275
275         for (i = 0; i < heap->heap_size / heap->heap_increment; i++) {

Thread 19 (Thread 0xb13ce840 (LWP 18396)):
#0  0x085191a0 in CVideoThumbLoader::LoadItem(CFileItem*) ()
#1  0x08be4b6c in CGUIInfoManager::SetCurrentMovie(CFileItem&) ()
#2  0x08be51a5 in CGUIInfoManager::SetCurrentItem(CFileItem&) ()
#3  0x08b919c2 in CApplication::OnMessage(CGUIMessage&) ()
#4  0x085f72b2 in CGUIWindowManager::SendMessage(CGUIMessage&) ()
#5  0x085f7d60 in CGUIWindowManager::DispatchThreadMessages() ()
#6  0x08b909d3 in CApplication::Process() ()
#7  0x08c2a68b in CXBApplicationEx::Run() ()
#8  0x08c33047 in XBMC_Run ()
#9  0x082a4fc6 in main ()

Thread 18 (Thread 0xa6a28b40 (LWP 18435)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50bb2b6 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#2  0xb50e920d in usleep (useconds=10000) at ../sysdeps/unix/sysv/linux/usleep.c:32
#3  0x08d805cd in CThread::Sleep(unsigned int) ()
#4  0x086397c6 in CDVDPlayer::Process() ()
#5  0x08d80155 in CThread::Action() ()
#6  0x08d807ea in CThread::staticThread(void*) ()
#7  0xb641ded9 in start_thread (arg=0xa6a28b40) at pthread_create.c:312
#8  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 17 (Thread 0xaff82b40 (LWP 18427)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50e214b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0x08a793a8 in PERIPHERALS::CPeripheralBusUSB::WaitForUpdate() ()
#3  0x08a79480 in PERIPHERALS::CPeripheralBusUSB::Process() ()
#4  0x08d80155 in CThread::Action() ()
#5  0x08d807ea in CThread::staticThread(void*) ()
#6  0xb641ded9 in start_thread (arg=0xaff82b40) at pthread_create.c:312
#7  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 16 (Thread 0xa2236b40 (LWP 18445)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50e8811 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0x0851320b in CVideoReferenceClock::ParseNvSettings(int&) ()
#3  0x085143d4 in CVideoReferenceClock::UpdateRefreshrate(bool) ()
#4  0x08514ffa in CVideoReferenceClock::SetupGLX() ()
#5  0x085158e6 in CVideoReferenceClock::Process() ()
#6  0x08d80155 in CThread::Action() ()
#7  0x08d807ea in CThread::staticThread(void*) ()
#8  0xb641ded9 in start_thread (arg=0xa2236b40) at pthread_create.c:312
#9  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 15 (Thread 0xa3a22b40 (LWP 18442)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb6422025 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix
/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:245
#2  0x083635d6 in CJobManager::GetNextJob(CJobWorker const*) ()
#3  0x08363b7b in CJobWorker::Process() ()
#4  0x08d80155 in CThread::Action() ()
#5  0x08d807ea in CThread::staticThread(void*) ()
#6  0xb641ded9 in start_thread (arg=0xa3a22b40) at pthread_create.c:312
#7  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 14 (Thread 0xae122b40 (LWP 18441)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50e8811 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0xad3ab0cf in shairport_loop () from /usr/lib/i386-linux-gnu/libshairport.so.2
#3  0x082f647a in DllLibShairport::shairport_loop() ()
#4  0x082f1146 in CAirTunesServer::Process() ()
#5  0x08d80155 in CThread::Action() ()
#6  0x08d807ea in CThread::staticThread(void*) ()
#7  0xb641ded9 in start_thread (arg=0xae122b40) at pthread_create.c:312
#8  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 13 (Thread 0xa4223b40 (LWP 18440)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50e8811 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0x082efd87 in CAirPlayServer::Process() ()
#3  0x08d80155 in CThread::Action() ()
#4  0x08d807ea in CThread::staticThread(void*) ()
#5  0xb641ded9 in start_thread (arg=0xa4223b40) at pthread_create.c:312
#6  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 12 (Thread 0xa4a24b40 (LWP 18439)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb6422025 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:245
#2  0x083635d6 in CJobManager::GetNextJob(CJobWorker const*) ()
#3  0x08363b7b in CJobWorker::Process() ()
#4  0x08d80155 in CThread::Action() ()
#5  0x08d807ea in CThread::staticThread(void*) ()
#6  0xb641ded9 in start_thread (arg=0xa4a24b40) at pthread_create.c:312
#7  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 11 (Thread 0xa5225b40 (LWP 18438)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50e214b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb6a9ec19 in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#3  0xb6a9e69e in avahi_simple_poll_run () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#4  0xb6a9e8e8 in avahi_simple_poll_iterate () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#5  0xb6a9eb90 in avahi_simple_poll_loop () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#6  0xb6a9ec84 in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#7  0xb641ded9 in start_thread (arg=0xa5225b40) at pthread_create.c:312
#8  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 10 (Thread 0xa5a26b40 (LWP 18437)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50e8811 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0x082db779 in JSONRPC::CTCPServer::Process() ()
#3  0x08d80155 in CThread::Action() ()
#4  0x08d807ea in CThread::staticThread(void*) ()
#5  0xb641ded9 in start_thread (arg=0xa5a26b40) at pthread_create.c:312
#6  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 9 (Thread 0xa6227b40 (LWP 18436)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50e8811 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0x082d8eaa in SOCKETS::CSocketListener::Listen(int) ()
#3  0x082cefd0 in EVENTSERVER::CEventServer::Run() ()
#4  0x082cf570 in EVENTSERVER::CEventServer::Process() ()
#5  0x08d80155 in CThread::Action() ()
#6  0x08d807ea in CThread::staticThread(void*) ()
#7  0xb641ded9 in start_thread (arg=0xa6227b40) at pthread_create.c:312
#8  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 8 (Thread 0xa7229b40 (LWP 18434)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb6422025 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:245
#2  0x083635d6 in CJobManager::GetNextJob(CJobWorker const*) ()
#3  0x08363b7b in CJobWorker::Process() ()
#4  0x08d80155 in CThread::Action() ()
#5  0x08d807ea in CThread::staticThread(void*) ()
#6  0xb641ded9 in start_thread (arg=0xa7229b40) at pthread_create.c:312
#7  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 7 (Thread 0xa89feb40 (LWP 18433)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50e8811 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0xb5ea9a21 in ?? () from /usr/lib/i386-linux-gnu/libpython2.7.so.1.0
#3  0xb5f1fcab in PyCFunction_Call () from /usr/lib/i386-linux-gnu/libpython2.7.so.1.0
#4  0xb5f56bee in PyEval_EvalFrameEx () from /usr/lib/i386-linux-gnu/libpython2.7.so.1.0
#5  0xb5f56918 in PyEval_EvalFrameEx () from /usr/lib/i386-linux-gnu/libpython2.7.so.1.0
#6  0xb5f56918 in PyEval_EvalFrameEx () from /usr/lib/i386-linux-gnu/libpython2.7.so.1.0
#7  0xb5f57c6a in PyEval_EvalCodeEx () from /usr/lib/i386-linux-gnu/libpython2.7.so.1.0
#8  0xb5f57dd3 in PyEval_EvalCode () from /usr/lib/i386-linux-gnu/libpython2.7.so.1.0
#9  0xb5f8f9f5 in PyRun_FileExFlags () from /usr/lib/i386-linux-gnu/libpython2.7.so.1.0
#10 0x08c6f864 in XBPyThread::Process() ()
#11 0x08d80155 in CThread::Action() ()
#12 0x08d807ea in CThread::staticThread(void*) ()
#13 0xb641ded9 in start_thread (arg=0xa89feb40) at pthread_create.c:312
#14 0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 6 (Thread 0xb0916b40 (LWP 18430)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb6422025 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:245
#2  0x08d806a1 in CThread::Sleep(unsigned int) ()
#3  0x08b38baf in MEDIA_DETECT::CDetectDVDMedia::Process() ()
#4  0x08d80155 in CThread::Action() ()
#5  0x08d807ea in CThread::staticThread(void*) ()
#6  0xb641ded9 in start_thread (arg=0xb0916b40) at pthread_create.c:312
#7  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 5 (Thread 0xb0783b40 (LWP 18426)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb6422025 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:245
#2  0x08a764a8 in PERIPHERALS::CPeripheralBus::Process() ()
#3  0x08d80155 in CThread::Action() ()
#4  0x08d807ea in CThread::staticThread(void*) ()
#5  0xb641ded9 in start_thread (arg=0xb0783b40) at pthread_create.c:312
#6  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0xb11cdb40 (LWP 18425)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50e214b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb5817817 in ?? () from /usr/lib/i386-linux-gnu/libasound.so.2
#3  0xb58179fe in snd_pcm_wait () from /usr/lib/i386-linux-gnu/libasound.so.2
#4  0x08752510 in CAESinkALSA::AddPackets(unsigned char*, unsigned int, bool) ()
#5  0x08747557 in CSoftAE::RunOutputStage(bool) ()
#6  0x0874c901 in CSoftAE::Run() ()
#7  0x08d7f3b8 in CThread::Process() ()
#8  0x08d80155 in CThread::Action() ()
#9  0x08d807ea in CThread::staticThread(void*) ()
#10 0xb641ded9 in start_thread (arg=0xb11cdb40) at pthread_create.c:312
#11 0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0xa1a35b40 (LWP 18451)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50e214b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb28b9d4d in ?? () from /usr/lib/i386-linux-gnu/libpulse.so.0
#3  0xb28a86ce in pa_mainloop_poll () from /usr/lib/i386-linux-gnu/libpulse.so.0
#4  0xb28a8efd in pa_mainloop_iterate () from /usr/lib/i386-linux-gnu/libpulse.so.0
#5  0xb28a8fd4 in pa_mainloop_run () from /usr/lib/i386-linux-gnu/libpulse.so.0
#6  0xb28b9cec in ?? () from /usr/lib/i386-linux-gnu/libpulse.so.0
#7  0xb1e2d55d in ?? () from /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-5.0.so
#8  0xb641ded9 in start_thread (arg=0xa1a35b40) at pthread_create.c:312
#9  0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xa2a37b40 (LWP 18449)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb50bb2b6 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#2  0xb50e920d in usleep (useconds=1000) at ../sysdeps/unix/sysv/linux/usleep.c:32
#3  0x082bdc55 in Sleep(unsigned int) ()
#4  0x0862067d in CDVDAudio::AddPacketsRenderer(unsigned char*, unsigned int, CSingleLock&) ()
#5  0x08621cb0 in CDVDAudio::AddPackets(stDVDAudioFrame const&) ()
#6  0x0863f2ae in CDVDPlayerAudio::OutputPacket(stDVDAudioFrame&) ()
#7  0x086408e0 in CDVDPlayerAudio::Process() ()
#8  0x08d80155 in CThread::Action() ()
#9  0x08d807ea in CThread::staticThread(void*) ()
#10 0xb641ded9 in start_thread (arg=0xa2a37b40) at pthread_create.c:312
#11 0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xad39bb40 (LWP 18448)):
#0  0xacb02695 in object_heap_destroy (heap=0xaca4be88) at object_heap.c:275
#1  0xacb05dfb in destroy_heap (name=0xacb140c4 "buffer", heap=0xaca4be88, destr
oy_func=0xacb05d0c <destroy_buffer_cb>, user_data=0xaca4bdb0) at vdpau_driver.c:
138
#2  0xacb05e3f in vdpau_common_Terminate (driver_data=0xaca4bdb0) at vdpau_driver.c:159
#3  0xacb071f6 in vdpau_Terminate_Current (ctx=0xaca3b000) at vdpau_driver_template.h:537
#4  0xacb072a0 in vdpau_Initialize_Current (ctx=0xaca3b000) at vdpau_driver_template.h:563
#5  0xacb075b8 in __vaDriverInit_0_35 (ctx=0xaca3b000) at vdpau_driver.c:317
#6  0xb76a7cd2 in ?? () from /usr/lib/i386-linux-gnu/libva.so.1
#7  0xb76a8922 in vaInitialize () from /usr/lib/i386-linux-gnu/libva.so.1
#8  0x08669854 in VAAPI::CDecoder::Open(AVCodecContext*, AVPixelFormat, unsigned int) ()
#9  0x0865c272 in CDVDVideoCodecFFmpeg::GetFormat(AVCodecContext*, AVPixelFormat const*) ()
#10 0xb6cef5dc in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.54
#11 0xb6d03384 in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.54
#12 0xb6d0772f in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.54
#13 0xb6ea0d51 in avcodec_decode_video2 () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.54
#14 0x0865f1a4 in CDVDVideoCodecFFmpeg::Decode(unsigned char*, int, double, double) ()
#15 0x08647932 in CDVDPlayerVideo::Process() ()
#16 0x08d80155 in CThread::Action() ()
#17 0x08d807ea in CThread::staticThread(void*) ()
#18 0xb641ded9 in start_thread (arg=0xad39bb40) at pthread_create.c:312
#19 0xb50f02ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
############# END STACK TRACE ###############


More information about the pkg-multimedia-maintainers mailing list