Opened 12 years ago

Closed 11 years ago

#5367 closed defect (wontfix)

mythtv-setup segfault in ~DVBSignalMonitor

Reported by: jarlethorsen@… Owned by: danielk
Priority: major Milestone: unknown
Component: channelscan Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1258957088 (LWP 18062)] 0x0840a555 in ?? ()

Thread 1 (Thread -1258957088 (LWP 18062)): #0 0x0840a555 in ?? () No symbol table info available. #1 0xb7c794ca in DVBSignalMonitor::Stop (this=0x83d2578) at dvbsignalmonitor.cpp: 150

dtmp = {d = {jd = 2454602}, t = {ds = 50672808}} dtime = {static null = {static null = <same as static member of an already

seen type>, d = 0x8074418, static shared_null = 0x8074418}, d = 0x828fb90, static shared_null = 0x8074418}

#2 0xb7c79b8e in ~DVBSignalMonitor (this=0x83d2578) at dvbsignalmonitor.cpp:115 No locals. #3 0xb6237f5c in QObject::event () from /usr/lib/libqt-mt.so.3 No symbol table info available. #4 0xb61cfaf0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 No symbol table info available. #5 0xb61d191f in QApplication::notify () from /usr/lib/libqt-mt.so.3 No symbol table info available. #6 0xb6b47edd in QApplication::sendEvent (receiver=0x83d2578, event=0x8324308) at

/usr/include/qt3/qapplication.h:520

No locals. #7 0xb61d0b28 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3 No symbol table info available. #8 0xb61d0c30 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3 No symbol table info available. #9 0xb6176101 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 No symbol table info available. #10 0xb61ea1ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 No symbol table info available. #11 0xb6b33d91 in MythDialog::exec (this=0xb2cd83b8) at mythdialogs.cpp:191

qteloop = (struct QEventLoop *) 0xb3d0bea8 res = 3067069624

#12 0xb6aed51f in ConfigurationDialog::exec (this=0xb2cafa48, saveOnAccept=false, doLoad=true) at mythconfigdialogs.cpp:169

dialog = (class MythDialog? *) 0xb2cd83b8 ret = 3085981280

#13 0xb780cf41 in ChannelEditor::scan (this=0xbfae5c9c) at channeleditor.cpp:471

val = 0 sourceid = 0 scanwizard = (class ScanWizard? *) 0xb2cafa20

#14 0xb7cb2738 in ChannelEditor::qt_invoke (this=0xbfae5c9c, _id=6, _o=0xbfae518c)

at moc_channeleditor.cpp:108

No locals. #15 0xb6238893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 No symbol table info available. #16 0xb6239338 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 No symbol table info available. #17 0xb6c3eafc in ButtonSetting::pressed (this=0xb3d007e0) at moc_settings.cpp:130 3 No locals. #18 0xb6c3f9e5 in ButtonSetting::qt_emit (this=0xb3d007e0, _id=3, _o=0xbfae529c) a t moc_settings.cpp:1325 No locals. #19 0xb6238994 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 No symbol table info available. #20 0xb6239338 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 No symbol table info available. #21 0xb65cd974 in QButton::pressed () from /usr/lib/libqt-mt.so.3 No symbol table info available. #22 0xb6b5e00c in MythPushButton::keyPressEvent (this=0xb2caf818, e=0xbfae5644) at

mythwidgets.cpp:1258

action = {static null = {static null = <same as static member of an alread

y seen type>, d = 0x8074418, static shared_null = 0x8074418}, d = 0x81b4db0, stati c shared_null = 0x8074418}

i = 0 handled = false actions = {<QValueList<QString>> = {sh = 0xb2cafad0}, <No data fields>}

#23 0xb626f8a3 in QWidget::event () from /usr/lib/libqt-mt.so.3 No symbol table info available. #24 0xb61cfaf0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 No symbol table info available. #25 0xb61d1ac0 in QApplication::notify () from /usr/lib/libqt-mt.so.3 No symbol table info available. #26 0xb616227d in QApplication::sendSpontaneousEvent () from /usr/lib/libqt-mt.so. 3 No symbol table info available. #27 0xb6152c69 in QETWidget::translateKeyEvent () from /usr/lib/libqt-mt.so.3 No symbol table info available. #28 0xb615f04f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 No symbol table info available. #29 0xb61761a4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 No symbol table info available. #30 0xb61ea1ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 No symbol table info available. #31 0xb6b33d91 in MythDialog::exec (this=0xb3d4b2c8) at mythdialogs.cpp:191

qteloop = (struct QEventLoop *) 0xb3d0bea8 res = 3065199872

#32 0xb6aed51f in ConfigurationDialog::exec (this=0xbfae5cc4, saveOnAccept=true, d oLoad=true) at mythconfigdialogs.cpp:169

dialog = (class MythDialog? *) 0xb3d4b2c8 ret = 3085981280

#33 0xb78092ee in ChannelEditor::exec (this=0xbfae5c9c) at channeleditor.cpp:403 No locals. #34 0x08065ac2 in SetupMenuCallback? (data=0x81659f8, selection=@0xb3d0e230) at mai n.cpp:68

ce = {<> = {<No data fields>}, <ConfigurationDialog?> = {<Storage> = {_vptr

.Storage = 0x80710ec}, cfgChildren = {<std::_Vector_base<Configurable*,std::alloca tor<Configurable*> >> = {_M_impl = {<std::allocator<Configurable*>> = {<gnu_cxx: :new_allocator<Configurable*>> = {<No data fields>}, <No data fields>}, _M_start =

0xb3d631c8, _M_finish = 0xb3d631dc, _M_end_of_storage = 0xb3d631e8}}, <No data fi

elds>}, childwidget = {<std::_Vector_base<QWidget*,std::allocator<QWidget*> >> = { _M_impl = {<std::allocator<QWidget*>> = {<gnu_cxx::new_allocator<QWidget*>> = {< No data fields>}, <No data fields>}, _M_start = 0xb2c97450, _M_finish = 0xb2c97464 , _M_end_of_storage = 0xb2c97464}}, <No data fields>}, dialog = 0xb3d4b2c8, cfgGrp

0xb3d79080}, static metaObj = 0xb3d66318, id = -1079091976, source = 0xb3d14a38

, list = 0xb3d111f8, buttonScan = 0xb3d007e0, buttonImportIcon = 0xb3d39fe8, butto nTransportEditor = 0xb3d84b30}

sel = {static null = {static null = <same as static member of an already s

een type>, d = 0x8074418, static shared_null = 0x8074418}, d = 0xb3d78d80, static shared_null = 0x8074418} #35 0xb6997a8f in MythThemedMenuPrivate::handleAction (this=0xb3d0e200, action=@0x b3d89d08) at myththemedmenu.cpp:2342 No locals. #36 0xb6997fa8 in MythThemedMenuPrivate::keyHandler (this=0xb3d0e200, actions=@0xb fae5ec8, fullexit=true) at myththemedmenu.cpp:2074

it = {node = 0xb3d89d00} action = {static null = {static null = <same as static member of an alread

y seen type>, d = 0x8074418, static shared_null = 0x8074418}, d = 0x81b4db0, stati c shared_null = 0x8074418}

i = 0 lastbutton = (ThemedButton? *) 0xb3d88ca0 oldrow = 4 oldcolumn = 0 handled = true

#37 0xb699872b in MythThemedMenuPrivate::keyPressHandler (this=0xb3d0e200, e=0xbfa e6334) at myththemedmenu.cpp:1979

actions = {<QValueList<QString>> = {sh = 0xb3d03038}, <No data fields>}

#38 0xb69987c0 in MythThemedMenu::keyPressEvent (this=0xb3d2b730, e=0xbfae6334) at

myththemedmenu.cpp:2560

ret = true

#39 0xb694af37 in MythMainWindow::eventFilter (this=0x81a65e8, e=0xbfae6334) at my thmainwindow.cpp:1193

top = (class MythScreenType? *) 0xb3d2b730 ke = (QKeyEvent *) 0xbfae6334 it = (class MythScreenStack? ) 0xb3d2e714 ge = (MythGestureEvent? *) 0xbfae5fa8

#40 0xb6237e40 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3 No symbol table info available. #41 0xb6237ebe in QObject::event () from /usr/lib/libqt-mt.so.3 No symbol table info available. #42 0xb626f5b3 in QWidget::event () from /usr/lib/libqt-mt.so.3 No symbol table info available. #43 0xb61cfaf0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 No symbol table info available. #44 0xb61d1ac0 in QApplication::notify () from /usr/lib/libqt-mt.so.3 No symbol table info available. #45 0xb616227d in QApplication::sendSpontaneousEvent () from /usr/lib/libqt-mt.so. 3 No symbol table info available. #46 0xb6152c69 in QETWidget::translateKeyEvent () from /usr/lib/libqt-mt.so.3 No symbol table info available. #47 0xb615f04f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 No symbol table info available. #48 0xb61761a4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 No symbol table info available. #49 0xb61ea1ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 No symbol table info available. #50 0xb61e9fde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 No symbol table info available. #51 0xb61d1699 in QApplication::exec () from /usr/lib/libqt-mt.so.3 No symbol table info available. #52 0x08062cc6 in SetupMenu? (win=0x81a65e8) at main.cpp:92

theme = {static null = {static null = <same as static member of an already seen type>, d = 0x8074418, static shared_null = 0x8074418}, d = 0xb3d13b58, stati c shared_null = 0x8074418} menu = (class MythThemedMenu? *) 0xb3d2b730

#53 0x08065208 in main (argc=3, argv=0xbfae6d04) at main.cpp:343

problems = (QString *) 0xbfae6c58 geometry = {static null = {static null = <same as static member of an alre ady seen type>, d = 0x8074418, static shared_null = 0x8074418}, d = 0x8074418, sta tic shared_null = 0x8074418} display = {static null = {static null = <same as static member of an alrea dy seen type>, d = 0x8074418, static shared_null = 0x8074418}, d = 0x8074418, stat ic shared_null = 0x8074418} verboseString = {static null = {static null = <same as static member of an already seen type>, d = 0x8074418, static shared_null = 0x8074418}, d = 0x813b0e8 , static shared_null = 0x8074418} a = <incomplete type> settingsOverride = {sh = 0x8166ad8} fileprefix = {static null = {static null = <same as static member of an al ready seen type>, d = 0x8074418, static shared_null = 0x8074418}, d = 0x81a61c8, s tatic shared_null = 0x8074418} dir = <incomplete type> mainWindow = (class MythMainWindow? *) 0x81a65e8 themeBase = (MythThemeBase? *) 0xb3d0c2b8 warn = {static null = {static null = <same as static member of an already seen type>, d = 0x8074418, static shared_null = 0x8074418}, d = 0xb3d3b3f0, static shared_null = 0x8074418} backendIsRunning = false dia = (class DialogBox? *) 0x0 haveProblems = false

(gdb)

Attachments (1)

backtrace (14.3 KB) - added by jarlethorsen@… 11 years ago.
New backtrace

Download all attachments as: .zip

Change History (4)

comment:1 Changed 12 years ago by anonymous

Compiling with --compile-type=release or --compile-type=debug does not make any difference, it still crashes.

Changed 11 years ago by jarlethorsen@…

Attachment: backtrace added

New backtrace

comment:2 Changed 11 years ago by jarlethorsen@…

I have noticed that mythtv-setup is only crashing when run on a multicore system. If i limit it to only run on one cpu using "taskset -c 0 mythtv-setup" it runs just fine(!)

comment:3 Changed 11 years ago by danielk

Resolution: wontfix
Status: newclosed

The channel scanner in trunk will be replaced with the one from the channel scan branch so trying to fix this isn't a good way to spend our time.

Note: See TracTickets for help on using tickets.