[vlc-devel] Crash when running on a desktop without systray

Alexander Gall gall at switch.ch
Tue Jul 17 11:19:53 CEST 2007


When vlc (w/ QT) is run on a desktop that doesn't have an active
systray, it still tries to update the information in the systray when
playing a stream, which leads to a crash.  See backtrace below.

-- 
Alex

t at 1 (l at 1) terminated by signal SEGV (no mapping at the fault address)
0xfccf3a88: q_atomic_lock_int+0x0008:   swap     [%o0], %o2
Current function is q_atomic_decrement (optimized)
  102       const int val = q_atomic_lock_int(ptr);
(dbx) where
current thread: t at 1
  [1] q_atomic_lock_int(0x0, 0x5, 0x80000000, 0x80000000, 0x5, 0xff000000), at 0xfccf3a88 
=>[2] q_atomic_decrement(ptr = ???) (optimized), at 0xfe40b468 (line ~102) in "qatomic_sparc.h"
  [3] QBasicAtomic::deref(this = ???) (optimized), at 0xfe40b34c (line ~78) in "qatomic.h"
  [4] QString::operator=(this = 0xfcf7142c, other = CLASS), line 1065 in "qstring.cpp"
  [5] QSystemTrayIcon::setToolTip(this = 0x224940, tooltip = CLASS), line 194 in "qsystemtrayicon.cpp"
  [6] MainInterface::updateSystrayTooltipName(this = ???, name = CLASS) (optimized), at 0xfe419b88 (line ~353) in "main_interface.cpp"
  [7] MainInterface::qt_metacall(this = ???, _c = ???, _id = ???, _a = ???) (optimized), at 0xfe48cd08 (line ~115) in "main_interface.moc.cpp"
  [8] QMetaObject::activate(sender = 0x23c018, from_signal_index = 5, to_signal_index = 5, argv = 0xffbfd270), line 3066 in "qobject.cpp"
  [9] QMetaObject::activate(sender = 0x23c018, m = 0xfe516c70, local_signal_index = 1, argv = 0xffbfd270), line 3125 in "qobject.cpp"
  [10] InputManager::nameChanged(this = ???, _t1 = CLASS) (optimized), at 0xfe490890 (line ~121) in "input_manager.moc.cpp"
  [11] InputManager::update(this = ???) (optimized), at 0xfe42406c (line ~157) in "input_manager.cpp"
  [12] InputManager::qt_metacall(this = ???, _c = ???, _id = ???, _a = ???) (optimized), at 0xfe4906e0 (line ~95) in "input_manager.moc.cpp"
  [13] QMetaObject::activate(sender = 0x22af68, from_signal_index = 4, to_signal_index = 4, argv = (nil)), line 3066 in "qobject.cpp"
  [14] QMetaObject::activate(sender = 0x22af68, m = 0xfcfb01a0, local_signal_index = 0, argv = (nil)), line 3125 in "qobject.cpp"
  [15] QTimer::timeout(this = 0x22af68), line 125 in "moc_qtimer.cpp"
  [16] QTimer::timerEvent(this = 0x22af68, e = 0xffbfe34c), line 246 in "qtimer.cpp"
  [17] QObject::event(this = 0x22af68, e = 0xffbfe34c), line 1074 in "qobject.cpp"
  [18] QApplicationPrivate::notify_helper(this = 0x4ab00, receiver = 0x22af68, e = 0xffbfe34c), line 3538 in "qapplication.cpp"
  [19] QApplication::notify(this = 0x156ae0, receiver = 0x22af68, e = 0xffbfe34c), line 3097 in "qapplication.cpp"
  [20] QCoreApplication::notifyInternal(this = 0x156ae0, receiver = 0x22af68, event = 0xffbfe34c), line 509 in "qcoreapplication.cpp"
  [21] QCoreApplication::sendEvent(receiver = 0x22af68, event = 0xffbfe34c), line 186 in "qcoreevent.h"
  [22] QTimerInfoList::activateTimers(this = 0x157634), line 541 in "qeventdispatcher_unix.cpp"
  [23] timerSourceDispatch(source = 0x157600, _ARG2 = (nil), _ARG3 = (nil)), line 142 in "qeventdispatcher_glib.cpp"
  [24] g_main_dispatch(0x158c28, 0x23, 0x0, 0xfcbb81d4, 0xfcbb64dc, 0x158c30), at 0xfcb3b7f8 
  [25] g_main_context_dispatch(0x1, 0x1, 0xfcbb81c0, 0x2, 0xfcbb81c4, 0x158c28), at 0xfcb3ce44 
  [26] g_main_context_iterate(0x1, 0x1, 0x1, 0x158c28, 0x4, 0x4), at 0xfcb3d364 
  [27] g_main_context_iteration(0x158c28, 0x1, 0xfcbb81c4, 0x158c28, 0x1, 0x60), at 0xfcb3d5e8 
  [28] QEventDispatcherGlib::processEvents(this = 0x156be0, flags = CLASS), line 325 in "qeventdispatcher_glib.cpp"
  [29] QGuiEventDispatcherGlib::processEvents(this = 0x156be0, flags = CLASS), line 178 in "qguieventdispatcher_glib.cpp"
  [30] QEventLoop::processEvents(this = 0xffbfe7f0, flags = CLASS), line 126 in "qeventloop.cpp"
  [31] QEventLoop::exec(this = 0xffbfe7f0, flags = CLASS), line 172 in "qeventloop.cpp"
  [32] QCoreApplication::exec(), line 729 in "qcoreapplication.cpp"
  [33] QApplication::exec(), line 3035 in "qapplication.cpp"
  [34] Init(p_intf = ???) (optimized), at 0xfe409698 (line ~207) in "qt4.cpp"
  [35] Run(p_intf = ???) (optimized), at 0xfe409530 (line ~171) in "qt4.cpp"
  [36] RunInterface(p_intf = ???) (optimized), at 0xff1cdeb8 (line ~370) in "interface.c"
  [37] intf_RunThread(p_intf = ???) (optimized), at 0xff1cd9dc (line ~193) in "interface.c"
  [38] libvlc_InternalAddIntf(p_libvlc = ???, psz_module = ???, b_block = ???, b_play = ???, i_options = ???, ppsz_options = ???) (optimized), at 0xff1c2c30 (line ~1146) in "libvlc-common.c"
  [39] VLC_AddIntf(i_object = ???, psz_module = ???, b_block = ???, b_play = ???) (optimized), at 0xff1bd2ec (line ~141) in "libvlc.c"
  [40] main(i_argc = ???, ppsz_argv = ???) (optimized), at 0x11684 (line ~180) in "vlc.c"

_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list