GNU gdb (GDB) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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: ... 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. 0x00007ffff5db4ae7 in Phonon::PulseSupport::PulseSupport() () from /usr/lib/libphonon.so.4 (gdb) btrace Undefined command: "btrace". Try "help". (gdb) btracetracestracetracebtraceatracectracetracetrace #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 A debugging session is active. Inferior 1 [process 8392] will be killed. Quit anyway? (y or n)