Summary: | Phonon.BackendCapabilities.availableMimeTypes() causes segfault in libphonon.so.4.4.0 | ||
---|---|---|---|
Product: | [Unmaintained] phonon-backend-gstreamer | Reporter: | cantabile <cantabile.desu> |
Component: | general | Assignee: | Harald Sitter <sitter> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | martin.sandsmark, myriam |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
the test case run in gdb; contains backtrace
backtrace from gdb with debugging symbols - using gstreamer backend backtrace from gdb with debugging symbols - using vlc backend backtrace from gdb with debugging symbols - using xine backend |
Description
cantabile
2011-02-08 09:59:26 UTC
Backtrace from attachment (please always paste backtraces inline, else those are not searchable): Program received signal SIGSEGV, Segmentation fault. 0x00007ffff5db4ae7 in Phonon::PulseSupport::PulseSupport() () from /usr/lib/libphonon.so.4 (gdb) btrace Undefined command: "btrace". Try "help". (gdb) btrace[1Ptracestrace[1Ptracebtraceatracectrace[1Ptrace[1Ptrace[C[C[C[C[C[K[K[K[K #0 0x00007ffff5db4ae7 in Phonon::PulseSupport::PulseSupport() () from /usr/lib/libphonon.so.4 #1 0x00007ffff5db5140 in Phonon::PulseSupport::getInstance() () from /usr/lib/libphonon.so.4 #2 0x00007fffedb0bf5a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so #3 0x00007fffedb0c5ab in qt_plugin_instance () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so #4 0x00007ffff5da161f in ?? () from /usr/lib/libphonon.so.4 #5 0x00007ffff5da1a1f in Phonon::Factory::backend(bool) () from /usr/lib/libphonon.so.4 #6 0x00007ffff5d9a65e in Phonon::BackendCapabilities::availableMimeTypes() () from /usr/lib/libphonon.so.4 #7 0x00007ffff600a66b in ?? () from /usr/lib/python3.1/site-packages/PyQt4/phonon.so #8 0x00007ffff7add460 in PyEval_EvalFrameEx () from /usr/lib/libpython3.1.so.1.0 #9 0x00007ffff7ade90b in PyEval_EvalCodeEx () from /usr/lib/libpython3.1.so.1.0 #10 0x00007ffff7ade9eb in PyEval_EvalCode () from /usr/lib/libpython3.1.so.1.0 #11 0x00007ffff7af9d3c in run_mod () from /usr/lib/libpython3.1.so.1.0 #12 0x00007ffff7afb988 in PyRun_FileExFlags () from /usr/lib/libpython3.1.so.1.0 #13 0x00007ffff7afc51f in PyRun_SimpleFileExFlags () from /usr/lib/libpython3.1.so.1.0 #14 0x00007ffff7b0d841 in Py_Main () from /usr/lib/libpython3.1.so.1.0 #15 0x0000000000400bd7 in main () (gdb) Quit Could you please install debugging symbols and try again? The backtrace is not exactly good. Please see also here how to get a valid backtrace: Sorry, but your backtrace is not useful, as you are lacking debugging symbols. If you can reproduce this bug, please check here on how to get a valid backtrace: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports Created attachment 57126 [details]
backtrace from gdb with debugging symbols - using gstreamer backend
Created attachment 57127 [details]
backtrace from gdb with debugging symbols - using vlc backend
Created attachment 57128 [details]
backtrace from gdb with debugging symbols - using xine backend
I rebuilt the stock phonon{,-gstreamer,-vlc,-xine} packages with debugging enabled and not stripped, as instructed here: https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces (also with -DCMAKE_BUILD_TYPE=Debug ) The new backtraces are now attached. I'll also paste them here, as requested. -- using the gstreamer backend -- GNU gdb (GDB) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/python...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/python python-segfault.py [Thread debugging using libthread_db enabled] WARNING: Phonon needs QCoreApplication::applicationName to be set to export audio output names through the DBUS interface Program received signal SIGSEGV, Segmentation fault. Phonon::PulseSupport::PulseSupport (this=0xa8e640) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/pulsesupport.cpp:716 716 if (strcmp(QAbstractEventDispatcher::instance()->metaObject()->className(), (gdb) thread apply all backtrace Thread 1 (Thread 0x7ffff7fd1700 (LWP 11216)): #0 Phonon::PulseSupport::PulseSupport (this=0xa8e640) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/pulsesupport.cpp:716 #1 0x00007ffff5db51a0 in Phonon::PulseSupport::getInstance () at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/pulsesupport.cpp:668 #2 0x00007fffedb07870 in Phonon::Gstreamer::Backend::Backend (this=0xa99090, parent=<value optimized out>) at /home/asdf/builds/phonon-gstreamer/src/phonon-backend-gstreamer-4.4.4/gstreamer/backend.cpp:59 #3 0x00007fffedb07d60 in qt_plugin_instance () at /home/asdf/builds/phonon-gstreamer/src/phonon-backend-gstreamer-4.4.4/gstreamer/backend.cpp:42 #4 0x00007ffff5da159f in Phonon::FactoryPrivate::createBackend ( this=0x8b5a00) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/factory.cpp:161 #5 0x00007ffff5da199f in Phonon::Factory::backend ( createWhenNull=<value optimized out>) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/factory.cpp:453 #6 0x00007ffff5d9a5de in Phonon::BackendCapabilities::availableMimeTypes () at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/backendcapabilities.cpp:51 #7 0x00007ffff600a66b in ?? () from /usr/lib/python3.1/site-packages/PyQt4/phonon.so #8 0x00007ffff7add460 in PyEval_EvalFrameEx () from /usr/lib/libpython3.1.so.1.0 #9 0x00007ffff7ade90b in PyEval_EvalCodeEx () from /usr/lib/libpython3.1.so.1.0 #10 0x00007ffff7ade9eb in PyEval_EvalCode () from /usr/lib/libpython3.1.so.1.0 #11 0x00007ffff7af9d3c in run_mod () from /usr/lib/libpython3.1.so.1.0 #12 0x00007ffff7afb988 in PyRun_FileExFlags () from /usr/lib/libpython3.1.so.1.0 #13 0x00007ffff7afc51f in PyRun_SimpleFileExFlags () from /usr/lib/libpython3.1.so.1.0 #14 0x00007ffff7b0d841 in Py_Main () from /usr/lib/libpython3.1.so.1.0 #15 0x0000000000400bd7 in main () (gdb) quit A debugging session is active. Inferior 1 [process 11216] will be killed. Quit anyway? (y or n) ------------------------ -- using the vlc backend -- GNU gdb (GDB) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/python...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/python python-segfault.py [Thread debugging using libthread_db enabled] WARNING: Phonon needs QCoreApplication::applicationName to be set to export audio output names through the DBUS interface bool Phonon::VLC::scanDevices(QList<Phonon::VLC::DeviceInfo>&) Probing for v4l2 devices [New Thread 0x7fffb6b22700 (LWP 11588)] [New Thread 0x7fffb6a21700 (LWP 11589)] Program received signal SIGSEGV, Segmentation fault. Phonon::PulseSupport::PulseSupport (this=0xae2650) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/pulsesupport.cpp:716 716 if (strcmp(QAbstractEventDispatcher::instance()->metaObject()->className(), (gdb) thread apply all backtrace Thread 3 (Thread 0x7fffb6a21700 (LWP 11589)): #0 0x00007fffed492ec0 in msg_Generic () from /usr/lib/libvlccore.so.4 #1 0x00007fffc5890ae2 in ?? () from /usr/lib/vlc/plugins/demux/libplaylist_plugin.so #2 0x00007fffed480b15 in module_need () from /usr/lib/libvlccore.so.4 #3 0x00007fffed43ab9f in ?? () from /usr/lib/libvlccore.so.4 #4 0x00007fffed448083 in ?? () from /usr/lib/libvlccore.so.4 #5 0x00007fffed44921a in ?? () from /usr/lib/libvlccore.so.4 #6 0x00007fffed44a8f5 in ?? () from /usr/lib/libvlccore.so.4 #7 0x00007fffed42a92d in ?? () from /usr/lib/libvlccore.so.4 #8 0x00007ffff77f8cb0 in start_thread () from /lib/libpthread.so.0 #9 0x00007ffff7564aed in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fffb6b22700 (LWP 11588)): #0 0x00007ffff77fd41c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fffed424532 in ?? () from /usr/lib/libvlccore.so.4 #2 0x00007ffff77f8cb0 in start_thread () from /lib/libpthread.so.0 #3 0x00007ffff7564aed in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ffff7fd1700 (LWP 11544)): #0 Phonon::PulseSupport::PulseSupport (this=0xae2650) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/pulsesupport.cpp:716 #1 0x00007ffff5db51a0 in Phonon::PulseSupport::getInstance () at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/pulsesupport.cpp:668 #2 0x00007fffedb19555 in Phonon::VLC::DeviceManager::updateDeviceList (this= 0xa9c9e0) at /home/asdf/builds/phonon-vlc/src/phonon-backend-vlc-0.3.2/vlc/devicemanager.cpp:225 #3 0x00007fffedb15156 in Phonon::VLC::Backend::Backend (this=0xa94f30, parent=<value optimized out>) at /home/asdf/builds/phonon-vlc/src/phonon-backend-vlc-0.3.2/vlc/backend.cpp:90 #4 0x00007fffedb15240 in qt_plugin_instance () at /home/asdf/builds/phonon-vlc/src/phonon-backend-vlc-0.3.2/vlc/backend.cpp:49 #5 0x00007ffff5da159f in Phonon::FactoryPrivate::createBackend ( this=0x8b5a00) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/factory.cpp:161 #6 0x00007ffff5da199f in Phonon::Factory::backend ( createWhenNull=<value optimized out>) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/factory.cpp:453 #7 0x00007ffff5d9a5de in Phonon::BackendCapabilities::availableMimeTypes () at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/backendcapabilities.cpp:51 #8 0x00007ffff600a66b in ?? () from /usr/lib/python3.1/site-packages/PyQt4/phonon.so #9 0x00007ffff7add460 in PyEval_EvalFrameEx () from /usr/lib/libpython3.1.so.1.0 #10 0x00007ffff7ade90b in PyEval_EvalCodeEx () from /usr/lib/libpython3.1.so.1.0 #11 0x00007ffff7ade9eb in PyEval_EvalCode () from /usr/lib/libpython3.1.so.1.0 #12 0x00007ffff7af9d3c in run_mod () from /usr/lib/libpython3.1.so.1.0 #13 0x00007ffff7afb988 in PyRun_FileExFlags () from /usr/lib/libpython3.1.so.1.0 #14 0x00007ffff7afc51f in PyRun_SimpleFileExFlags () from /usr/lib/libpython3.1.so.1.0 #15 0x00007ffff7b0d841 in Py_Main () from /usr/lib/libpython3.1.so.1.0 #16 0x0000000000400bd7 in main () (gdb) quit A debugging session is active. Inferior 1 [process 11544] will be killed. Quit anyway? (y or n) ------------------------ -- using the xine backend -- GNU gdb (GDB) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/python...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/python python-segfault.py [Thread debugging using libthread_db enabled] WARNING: Phonon needs QCoreApplication::applicationName to be set to export audio output names through the DBUS interface Program received signal SIGSEGV, Segmentation fault. Phonon::PulseSupport::PulseSupport (this=0xa8d5d0) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/pulsesupport.cpp:716 716 if (strcmp(QAbstractEventDispatcher::instance()->metaObject()->className(), (gdb) thread apply all backtrace Thread 1 (Thread 0x7ffff7fd1700 (LWP 11729)): #0 Phonon::PulseSupport::PulseSupport (this=0xa8d5d0) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/pulsesupport.cpp:716 #1 0x00007ffff5db51a0 in Phonon::PulseSupport::getInstance () at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/pulsesupport.cpp:668 #2 0x00007fffedb05ccf in Phonon::Xine::Backend::Backend (this=0xa8e0b0, parent=<value optimized out>) at /home/asdf/builds/phonon-xine/src/phonon-backend-xine-4.4.4/xine/backend.cpp:73 #3 0x00007fffedb06260 in qt_plugin_instance () at /home/asdf/builds/phonon-xine/src/phonon-backend-xine-4.4.4/xine/backend.cpp:51 #4 0x00007ffff5da159f in Phonon::FactoryPrivate::createBackend ( this=0x8b5a00) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/factory.cpp:161 #5 0x00007ffff5da199f in Phonon::Factory::backend ( createWhenNull=<value optimized out>) at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/factory.cpp:453 #6 0x00007ffff5d9a5de in Phonon::BackendCapabilities::availableMimeTypes () at /home/asdf/builds/phonon/src/phonon-4.4.4/phonon/backendcapabilities.cpp:51 #7 0x00007ffff600a66b in ?? () from /usr/lib/python3.1/site-packages/PyQt4/phonon.so #8 0x00007ffff7add460 in PyEval_EvalFrameEx () from /usr/lib/libpython3.1.so.1.0 #9 0x00007ffff7ade90b in PyEval_EvalCodeEx () from /usr/lib/libpython3.1.so.1.0 #10 0x00007ffff7ade9eb in PyEval_EvalCode () from /usr/lib/libpython3.1.so.1.0 #11 0x00007ffff7af9d3c in run_mod () from /usr/lib/libpython3.1.so.1.0 #12 0x00007ffff7afb988 in PyRun_FileExFlags () from /usr/lib/libpython3.1.so.1.0 #13 0x00007ffff7afc51f in PyRun_SimpleFileExFlags () from /usr/lib/libpython3.1.so.1.0 #14 0x00007ffff7b0d841 in Py_Main () from /usr/lib/libpython3.1.so.1.0 #15 0x0000000000400bd7 in main () (gdb) quit A debugging session is active. Inferior 1 [process 11729] will be killed. Quit anyway? (y or n) ------------------------ Thank you for your feedback, this is a duplicate of bug 246448, please see the comments there. *** This bug has been marked as a duplicate of bug 246448 *** reassigning to the new bugzilla product for better bug tracing of the various backends. Sorry for the noise. |