Opened 17 years ago

Closed 16 years ago

#2909 closed defect (fixed)

Channel Scan pop-up deleted outside of Qt event thread

Reported by: sipsniffa Owned by: danielk
Priority: minor Milestone: 0.22
Component: channelscan Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Hardware


Processor: Intel Pentium 4 PCI DVB-T TV Card: LifeView? FlyDVB-T

Software


Ubuntu 6.10 (Edgy), currently up-to-date uname -a: Linux pvr 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux mythtv 0.20 (from ubuntu repositories using apt-get)

After performing a channel scan for the fourth time within mythtv-setup I got a seg fault, but no stack trace. Here's the console output:

mythtv@pvr:~$ mythtv-setup 
2007-01-11 21:30:58.003 Using runtime prefix = /usr
2007-01-11 21:30:58.010 DPMS is not supported.
2007-01-11 21:30:58.041 New DB connection, total: 1
2007-01-11 21:30:58.046 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:30:58.048 Total desktop dim: 1280x1024, with 1 screen[s].
2007-01-11 21:30:58.061 Using screen 0, 1280x1024 at 0,0
2007-01-11 21:30:58.073 Current Schema Version: 1160
2007-01-11 21:30:58.104 Total desktop dim: 1280x1024, with 1 screen[s].
2007-01-11 21:30:58.110 Using screen 0, 1280x1024 at 0,0
2007-01-11 21:30:58.111 Switching to square mode (MythCenter)
2007-01-11 21:30:58.131 Using the Qt painter
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2007-01-11 21:30:58.882 Joystick disabled.
2007-01-11 21:30:59.105 Loading from: /usr/share/mythtv/themes/default/base.xml
2007-01-11 21:31:12.296 New DB connection, total: 2
2007-01-11 21:31:12.297 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:31:12.298 DiSEqCDevTree, Warning: No device tree for cardid 1
2007-01-11 21:31:12.300 New DB connection, total: 3
2007-01-11 21:31:12.300 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:31:12.303 New DB connection, total: 4
2007-01-11 21:31:12.304 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:31:12.305 New DB connection, total: 5
2007-01-11 21:31:12.306 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:39:24.186 DiSEqCDevTree, Warning: No device tree for cardid 1
2007-01-11 21:39:24.195 DiSEqCDevTree, Warning: No device tree for cardid 1
2007-01-11 21:41:28.734 DiSEqCDevTree, Warning: No device tree for cardid 1
2007-01-11 21:42:10.592 New DB DataDirect connection
2007-01-11 21:42:10.593 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:48:42.341 Using runtime prefix = /usr
2007-01-11 21:48:42.371 New DB connection, total: 1
2007-01-11 21:48:42.376 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:48:42.382 Running for sourceid 1 ONLY because --sourceid was given on command-line
2007-01-11 21:48:42.384 New DB connection, total: 2
2007-01-11 21:48:42.385 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:48:42.385 Updating source #1 (transmitted-guide) with grabber eitonly
2007-01-11 21:48:42.385 Source configured to use only the broadcasted guide data. Skipping.
2007-01-11 21:48:42.387 New DB connection, total: 3
2007-01-11 21:48:42.388 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:48:42.391 New DB connection, total: 4
2007-01-11 21:48:42.392 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:48:42.394 New DB connection, total: 5
2007-01-11 21:48:42.394 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:48:42.396 Data fetching complete.
2007-01-11 21:48:42.396 Adjusting program database end times.
2007-01-11 21:48:42.396     0 replacements made
2007-01-11 21:48:42.396 Marking generic episodes.
2007-01-11 21:48:42.397     Found 0
2007-01-11 21:48:42.397 Marking repeats.
2007-01-11 21:48:42.398     Found 0
2007-01-11 21:48:42.398 Unmarking new episode rebroadcast repeats.
2007-01-11 21:48:42.399     Found 0
2007-01-11 21:48:42.399 Marking episode first showings.
2007-01-11 21:48:42.399     Found 0
2007-01-11 21:48:42.399 Marking episode last showings.
2007-01-11 21:48:42.399     Found 0
2007-01-11 21:48:42.400 
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2007-01-11 21:48:42.404 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-11 21:48:42.405 Connection timed out.          
                        You probably should modify the Master Server 
                        settings in the setup program and set the    
                        proper IP address.
2007-01-11 21:48:42.405 Error rescheduling id -1 in ScheduledRecording::signalChange
2007-01-11 21:48:42.406 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-11 21:48:42.406 Connection timed out.          
                        You probably should modify the Master Server 
                        settings in the setup program and set the    
                        proper IP address.
2007-01-11 21:48:42.408 mythfilldatabase run complete.
2007-01-11 21:49:05.124 Using runtime prefix = /usr
2007-01-11 21:49:05.154 New DB connection, total: 1
2007-01-11 21:49:05.159 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:49:05.165 Running for sourceid 1 ONLY because --sourceid was given on command-line
2007-01-11 21:49:05.167 New DB connection, total: 2
2007-01-11 21:49:05.167 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:49:05.168 Updating source #1 (transmitted-guide) with grabber eitonly
2007-01-11 21:49:05.168 Source configured to use only the broadcasted guide data. Skipping.
2007-01-11 21:49:05.170 New DB connection, total: 3
2007-01-11 21:49:05.170 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:49:05.174 New DB connection, total: 4
2007-01-11 21:49:05.174 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:49:05.176 New DB connection, total: 5
2007-01-11 21:49:05.177 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:49:05.179 Data fetching complete.
2007-01-11 21:49:05.179 Adjusting program database end times.
2007-01-11 21:49:05.180     0 replacements made
2007-01-11 21:49:05.180 Marking generic episodes.
2007-01-11 21:49:05.180     Found 0
2007-01-11 21:49:05.180 Marking repeats.
2007-01-11 21:49:05.182     Found 0
2007-01-11 21:49:05.182 Unmarking new episode rebroadcast repeats.
2007-01-11 21:49:05.182     Found 0
2007-01-11 21:49:05.182 Marking episode first showings.
2007-01-11 21:49:05.183     Found 0
2007-01-11 21:49:05.183 Marking episode last showings.
2007-01-11 21:49:05.183     Found 0
2007-01-11 21:49:05.184 
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2007-01-11 21:49:05.190 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-11 21:49:05.190 Connection timed out.          
                        You probably should modify the Master Server 
                        settings in the setup program and set the    
                        proper IP address.
2007-01-11 21:49:05.191 Error rescheduling id -1 in ScheduledRecording::signalChange
2007-01-11 21:49:05.191 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-11 21:49:05.191 Connection timed out.          
                        You probably should modify the Master Server 
                        settings in the setup program and set the    
                        proper IP address.
2007-01-11 21:49:05.193 mythfilldatabase run complete.
2007-01-11 21:49:19.415 Using runtime prefix = /usr
2007-01-11 21:49:19.446 New DB connection, total: 1
2007-01-11 21:49:19.450 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:49:19.456 Running for sourceid 1 ONLY because --sourceid was given on command-line
2007-01-11 21:49:19.458 New DB connection, total: 2
2007-01-11 21:49:19.458 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:49:19.459 Updating source #1 (transmitted-guide) with grabber eitonly
2007-01-11 21:49:19.459 Source configured to use only the broadcasted guide data. Skipping.
2007-01-11 21:49:19.461 New DB connection, total: 3
2007-01-11 21:49:19.461 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:49:19.465 New DB connection, total: 4
2007-01-11 21:49:19.465 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:49:19.466 New DB connection, total: 5
2007-01-11 21:49:19.467 Connected to database 'mythconverg' at host: localhost
2007-01-11 21:49:19.469 Data fetching complete.
2007-01-11 21:49:19.469 Adjusting program database end times.
2007-01-11 21:49:19.469     0 replacements made
2007-01-11 21:49:19.469 Marking generic episodes.
2007-01-11 21:49:19.469     Found 0
2007-01-11 21:49:19.470 Marking repeats.
2007-01-11 21:49:19.470     Found 0
2007-01-11 21:49:19.470 Unmarking new episode rebroadcast repeats.
2007-01-11 21:49:19.471     Found 0
2007-01-11 21:49:19.471 Marking episode first showings.
2007-01-11 21:49:19.471     Found 0
2007-01-11 21:49:19.471 Marking episode last showings.
2007-01-11 21:49:19.472     Found 0
2007-01-11 21:49:19.472 
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2007-01-11 21:49:19.474 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-11 21:49:19.475 Connection timed out.          
                        You probably should modify the Master Server 
                        settings in the setup program and set the    
                        proper IP address.
2007-01-11 21:49:19.475 Error rescheduling id -1 in ScheduledRecording::signalChange
2007-01-11 21:49:19.475 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-11 21:49:19.475 Connection timed out.          
                        You probably should modify the Master Server 
                        settings in the setup program and set the    
                        proper IP address.
2007-01-11 21:49:19.477 mythfilldatabase run complete.
2007-01-11 22:03:25.906 DiSEqCDevTree, Warning: No device tree for cardid 1
2007-01-11 22:03:25.917 DiSEqCDevTree, Warning: No device tree for cardid 1
2007-01-11 22:03:44.655 DiSEqCDevTree, Warning: No device tree for cardid 1
2007-01-11 22:03:44.665 DiSEqCDevTree, Warning: No device tree for cardid 1
2007-01-11 22:03:56.731 DiSEqCDevTree, Warning: No device tree for cardid 1
2007-01-11 22:26:44.277 DiSEqCDevTree, Warning: No device tree for cardid 1
2007-01-11 22:26:44.286 DiSEqCDevTree, Warning: No device tree for cardid 1
Segmentation fault (core dumped)

I then re-ran mythtv-setup, and again attempted a channel scan. This time I got a seg fault and a stack trace:

mythtv@pvr:~$ mythtv-setup 
2007-01-11 22:34:52.216 Using runtime prefix = /usr
2007-01-11 22:34:52.223 DPMS is not supported.
2007-01-11 22:34:52.256 New DB connection, total: 1
2007-01-11 22:34:52.261 Connected to database 'mythconverg' at host: localhost
2007-01-11 22:34:52.263 Total desktop dim: 1280x1024, with 1 screen[s].
2007-01-11 22:34:52.292 Using screen 0, 1280x1024 at 0,0
2007-01-11 22:34:52.304 Current Schema Version: 1160
2007-01-11 22:34:52.342 Total desktop dim: 1280x1024, with 1 screen[s].
2007-01-11 22:34:52.348 Using screen 0, 1280x1024 at 0,0
2007-01-11 22:34:52.350 Switching to square mode (MythCenter)
2007-01-11 22:34:52.394 Using the Qt painter
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2007-01-11 22:34:53.145 Joystick disabled.
2007-01-11 22:34:53.373 Loading from: /usr/share/mythtv/themes/default/base.xml
2007-01-11 22:38:03.653 New DB connection, total: 2
2007-01-11 22:38:03.653 Connected to database 'mythconverg' at host: localhost
2007-01-11 22:38:28.387 New DB connection, total: 3
2007-01-11 22:38:28.387 Connected to database 'mythconverg' at host: localhost
*** glibc detected *** mythtv-setup: free(): invalid pointer: 0xb509b74f ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb5bbf8bd]
/lib/tls/i686/cmov/libc.so.6(__libc_free+0x84)[0xb5bbfa44]
/usr/lib/libqt-mt.so.3(_ZN7QGArrayD2Ev+0x6f)[0xb659439d]
/usr/lib/libmythtv-0.20.so.0(_ZN9QMemArrayIcED1Ev+0x2d)[0xb782938f]
/usr/lib/libqt-mt.so.3(_ZN7QBufferD0Ev+0x2e)[0xb657ff70]
/usr/lib/libqt-mt.so.3(_ZN11QDataStreamD1Ev+0x4d)[0xb6589019]
/usr/lib/libqt-mt.so.3(_ZNK11QTranslator11findMessageEPKcS1_S1_+0x521)[0xb628a8d1]
/usr/lib/libqt-mt.so.3(_ZNK12QApplication9translateEPKcS1_S1_NS_8EncodingE+0xb8)[0xb6238324]
/usr/lib/libmythtv-0.20.so.0(_ZN17ScanProgressPopup2trEPKcS1_+0x43)[0xb7ccb65b]
/usr/lib/libmythtv-0.20.so.0(_ZN17ScanProgressPopup7dvbLockEi+0x51)[0xb7b689c1]
/usr/lib/libmythtv-0.20.so.0(_ZN17ScanWizardScanner11customEventEP12QCustomEvent+0x169)[0xb7b84775]
/usr/lib/libqt-mt.so.3(_ZN7QObject5eventEP6QEvent+0x119)[0xb629f059]
/usr/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x274)[0xb6236b88]
/usr/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x1e9)[0xb62389b7]
/usr/lib/libmyth-0.20.so.0(_ZN12QApplication9sendEventEP7QObjectP6QEvent+0x54)[0xb6cf75f8]
/usr/lib/libqt-mt.so.3(_ZN12QApplication16sendPostedEventsEP7QObjecti+0x25c)[0xb6237bc0]
/usr/lib/libqt-mt.so.3(_ZN12QApplication16sendPostedEventsEv+0x26)[0xb6237cc8]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x65)[0xb61dd27d]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x70)[0xb625125e]
/usr/lib/libqt-mt.so.3(_ZN12QApplication10enter_loopEv+0x25)[0xb62386af]
/usr/lib/libmyth-0.20.so.0(_ZN10MythDialog4execEv+0x7d)[0xb6c92957]
/usr/lib/libmyth-0.20.so.0(_ZN19ConfigurationDialog4execEbb+0xa4)[0xb6c0c356]
/usr/lib/libmythtv-0.20.so.0(_ZN13ChannelEditor4scanEv+0x3e)[0xb787b186]
/usr/lib/libmythtv-0.20.so.0(_ZN13ChannelEditor9qt_invokeEiP8QUObject+0xd7)[0xb7cbc97b]
/usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x12f)[0xb629f957]
/usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEi+0x162)[0xb62a03fc]
/usr/lib/libmyth-0.20.so.0(_ZN13ButtonSetting7pressedEv+0x40)[0xb6d2e684]
/usr/lib/libmyth-0.20.so.0(_ZN13ButtonSetting7qt_emitEiP8QUObject+0x4d)[0xb6d2f0df]
/usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x230)[0xb629fa58]
/usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEi+0x162)[0xb62a03fc]
/usr/lib/libqt-mt.so.3(_ZN7QButton7pressedEv+0x2e)[0xb6634fcc]
/usr/lib/libqt-mt.so.3(_ZN7QButton15mousePressEventEP11QMouseEvent+0xdd)[0xb633e0f3]
/usr/lib/libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0xb6)[0xb62d66ec]
/usr/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x274)[0xb6236b88]
/usr/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x578)[0xb6238d46]
/usr/lib/libqt-mt.so.3(_ZN12QApplication20sendSpontaneousEventEP7QObjectP6QEvent+0x5b)[0xb61c93fd]
/usr/lib/libqt-mt.so.3(_ZN9QETWidget19translateMouseEventEPK7_XEvent+0x121e)[0xb61c8062]
/usr/lib/libqt-mt.so.3(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xbfc)[0xb61c614c]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x108)[0xb61dd320]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x70)[0xb625125e]
/usr/lib/libqt-mt.so.3(_ZN12QApplication10enter_loopEv+0x25)[0xb62386af]
/usr/lib/libmyth-0.20.so.0(_ZN10MythDialog4execEv+0x7d)[0xb6c92957]
/usr/lib/libmyth-0.20.so.0(_ZN19ConfigurationDialog4execEbb+0xa4)[0xb6c0c356]
/usr/lib/libmythtv-0.20.so.0(_ZN13ChannelEditor4execEv+0x26)[0xb7877b6a]
mythtv-setup[0x8075de2]
/usr/lib/libmythui-0.20.so.0(_ZN21MythThemedMenuPrivate12handleActionERK7QString+0x11c6)[0xb6ac261e]
/usr/lib/libmythui-0.20.so.0(_ZN21MythThemedMenuPrivate10keyHandlerER11QStringListb+0x542)[0xb6ac2b7a]
/usr/lib/libmythui-0.20.so.0(_ZN21MythThemedMenuPrivate15keyPressHandlerEP9QKeyEvent+0xb2)[0xb6ac3314]
/usr/lib/libmythui-0.20.so.0(_ZN14MythThemedMenu13keyPressEventEP9QKeyEvent+0x55)[0xb6ac33b7]
/usr/lib/libmythui-0.20.so.0(_ZN14MythMainWindow11eventFilterEP7QObjectP6QEvent+0x1cc)[0xb6a77534]
/usr/lib/libqt-mt.so.3(_ZN7QObject16activate_filtersEP6QEvent+0x78)[0xb629ef04]
/usr/lib/libqt-mt.so.3(_ZN7QObject5eventEP6QEvent+0x42)[0xb629ef82]
/usr/lib/libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x25)[0xb62d665b]
/usr/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x274)[0xb6236b88]
/usr/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x38a)[0xb6238b58]
/usr/lib/libqt-mt.so.3(_ZN12QApplication20sendSpontaneousEventEP7QObjectP6QEvent+0x5b)[0xb61c93fd]
/usr/lib/libqt-mt.so.3(_ZN9QETWidget17translateKeyEventEPK7_XEventb+0xb83)[0xb61b9de9]
/usr/lib/libqt-mt.so.3(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xc7f)[0xb61c61cf]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x108)[0xb61dd320]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x70)[0xb625125e]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x32)[0xb625106e]
/usr/lib/libqt-mt.so.3(_ZN12QApplication4execEv+0x25)[0xb6238731]
mythtv-setup[0x80733ed]
======= Memory map: ========
08048000-0808b000 r-xp 00000000 08:01 7620910    /usr/bin/mythtv-setup
0808b000-0808c000 rwxp 00042000 08:01 7620910    /usr/bin/mythtv-setup
0808c000-084ab000 rwxp 0808c000 00:00 0          [heap]
afc00000-afc21000 rwxp afc00000 00:00 0 
afc21000-afd00000 ---p afc21000 00:00 0 
afd94000-b00c6000 rwxp afd94000 00:00 0 
b00c6000-b00c7000 ---p b00c6000 00:00 0 
b00c7000-b08c7000 rwxp b00c7000 00:00 0 
b08c7000-b08e3000 r-xp 00000000 08:01 7651466    /usr/lib/X11/locale/common/ximcp.so.2.0.0
b08e3000-b08e5000 rwxp 0001b000 08:01 7651466    /usr/lib/X11/locale/common/ximcp.so.2.0.0
b08e5000-b0909000 r-xp 00000000 08:01 7685727    /usr/lib/qt3/plugins/inputmethods/libqsimple.so
b0909000-b090a000 rwxp 00024000 08:01 7685727    /usr/lib/qt3/plugins/inputmethods/libqsimple.so
b090a000-b0950000 r-xp 00000000 08:01 20693068   /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
b0950000-b0951000 r-xp 00000000 08:01 7651470    /usr/lib/X11/locale/common/xlcUTF8Load.so.2.0.0
b0951000-b0952000 rwxp 00000000 08:01 7651470    /usr/lib/X11/locale/common/xlcUTF8Load.so.2.0.0
b0952000-b0971000 r-xp 00000000 08:01 20693081   /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Bold.ttf
b0971000-b3532000 rwxp b0971000 00:00 0 
b3537000-b3540000 r-xp 00000000 08:01 7651476    /usr/lib/X11/locale/common/xomGeneric.so.2.0.0
b3540000-b3541000 rwxp 00008000 08:01 7651476    /usr/lib/X11/locale/common/xomGeneric.so.2.0.0
b3541000-b354c000 r-xp 00000000 08:01 7685728    /usr/lib/qt3/plugins/inputmethods/libqxim.so
b354c000-b354d000 rwxp 0000a000 08:01 7685728    /usr/lib/qt3/plugins/inputmethods/libqxim.so
b354d000-b3555000 r-xp 00000000 08:01 6258726    /lib/tls/i686/cmov/libnss_nis-2.4.so
b3555000-b3557000 rwxp 00007000 08:01 6258726    /lib/tls/i686/cmov/libnss_nis-2.4.so
b3557000-b355e000 r-xp 00000000 08:01 6258720    /lib/tls/i686/cmov/libnss_compat-2.4.so
b355e000-b3560000 rwxp 00006000 08:01 6258720    /lib/tls/i686/cmov/libnss_compat-2.4.so
b3562000-b356b000 r-xp 00000000 08:01 7685725    /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
b356b000-b356c000 rwxp 00008000 08:01 7685725    /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
b356c000-b3b9b000 rwxp b356c000 00:00 0 
b3b9b000-b3bba000 r-xp 00000000 08:01 20693052   /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS.ttf
b3bba000-b3c0a000 rwxp b3bba000 00:00 0 
b3c0a000-b3c7b000 r-xp 00000000 08:01 7848073    /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b3c7b000-b3c9a000 r-xp 00000000 08:01 8044990    /usr/share/locale-langpack/en_GB/LC_MESSAGES/libc.mo
b3c9a000-b3c9b000 ---p b3c9a000 00:00 0 
b3c9b000-b449b000 rwxp b3c9b000 00:00 0 
b449b000-b449c000 ---p b449b000 00:00 0 
b449c000-b4c9c000 rwxp b449c000 00:00 0 
b4c9c000-b4cc6000 r-xp 00000000 08:01 7621257    /usr/lib/libkdefx.so.4.2.0
b4cc6000-b4cc7000 rwxp 00029000 08:01 7621257    /usr/lib/libkdefx.so.4.2.0
b4cc7000-b4ce5000 r-xp 00000000 08:01 8060945    /usr/lib/kde3/plugins/styles/plastik.so
b4ce5000-b4ce6000 rwxp 0001e000 08:01 8060945    /usr/lib/kde3/plugins/styles/plastik.so
b4ce6000-b4d10000 r-xp 00000000 08:01 7620306    /usr/lib/liblcms.so.1.0.15
b4d1Aborted (core dumped)

Attachments (4)

2909-v1.patch (21.5 KB) - added by danielk 17 years ago.
Possible fix
2909-backtrace (15.3 KB) - added by martyn <brightm@…> 17 years ago.
Re ran compile as requested - still failed, so backtrace attached.
gdb.txt (13.2 KB) - added by anonymous 17 years ago.
svn trunk as of 13 sep 07 segfault on channel scan
trace.txt (31.5 KB) - added by anonymous 16 years ago.
gdb output

Download all attachments as: .zip

Change History (23)

comment:1 Changed 17 years ago by danielk

Milestone: unknown0.21
Owner: changed from Isaac Richards to danielk
Version: 0.20head

Changed 17 years ago by danielk

Attachment: 2909-v1.patch added

Possible fix

comment:2 Changed 17 years ago by danielk

sipsniffa, or anyone else getting coredumps during or after a channel scan, can you test the attached patch?

comment:3 Changed 17 years ago by danielk

Type: defectpatch

comment:4 in reply to:  3 Changed 17 years ago by martyn

Replying to danielk: I tried your patch, but it still crashes in the scan.

My coredump is attached.

2007-01-15 14:50:04.736 DTVMux, Error: Invalid symbol rate parameter '0', aborting.
*** glibc detected *** /usr/local/bin/mythtv-setup: free(): invalid pointer: 0xb5c2c74f ***
======= Backtrace: =========
/lib/libc.so.6[0xb5e5bcb0]
/lib/libc.so.6(__libc_free+0x84)[0xb5e5d2f4]
/usr/qt/3/lib/libqt-mt.so.3(_ZN7QGArrayD2Ev+0x47)[0xb673b5d7]
/usr/qt/3/lib/libqt-mt.so.3(_ZN7QBufferD0Ev+0x3c)[0xb6726a4c]
/usr/qt/3/lib/libqt-mt.so.3(_ZN11QDataStreamD1Ev+0x35)[0xb672fac5]
/usr/qt/3/lib/libqt-mt.so.3(_ZNK11QTranslator11findMessageEPKcS1_S1_+0x389)[0xb6479e59]
/usr/qt/3/lib/libqt-mt.so.3(_ZNK12QApplication9translateEPKcS1_S1_NS_8EncodingE+0xa1)[0xb642df31]
/usr/qt/3/lib/libqt-mt.so.3(_ZN7QObject2trEPKcS1_+0x50)[0xb67c2040]
/usr/local/lib/libmythtv-0.20.so.0(_ZN6SIScan11HasTimedOutEv+0x12f)[0xb7b9de55]
[0xb17084d0]
======= Memory map: ========
08048000-08068000 r-xp 00000000 08:03 8603196    /usr/local/bin/mythtv-setup
08068000-08069000 rw-p 0001f000 08:03 8603196    /usr/local/bin/mythtv-setup
08069000-0931a000 rw-p 08069000 00:00 0          [heap]
b1700000-b1721000 rw-p b1700000 00:00 0
b1721000-b1800000 ---p b1721000 00:00 0
b1828000-b18a9000 rw-p b1828000 00:00 0
b18a9000-b18aa000 ---p b18a9000 00:00 0
b18aa000-b23dc000 rw-p b18aa000 00:00 0
b23dc000-b23dd000 ---p b23dc000 00:00 0
b23dd000-b2bdd000 rw-p b23dd000 00:00 0
b2bdd000-b2bde000 ---p b2bdd000 00:00 0
b2bde000-b43e2000 rw-p b2bde000 00:00 0
b4419000-b4421000 r-xp 00000000 08:03 7536745    /lib/libnss_nis-2.4.so
b4421000-b4423000 rw-p 00007000 08:03 7536745    /lib/libnss_nis-2.4.so
b4423000-b4821000 rw-p b4423000 00:00 0
b4821000-b4900000 ---p b4821000 00:00 0
b4901000-b4907000 r-xp 00000000 08:03 7536741    /lib/libnss_compat-2.4.so
b4907000-b4909000 rw-p 00005000 08:03 7536741    /lib/libnss_compat-2.4.so
b4914000-b4918000 r--p 00000000 08:03 8866636    /usr/share/fonts/100dpi/helvB12.pcf.gz
b4918000-b491d000 r--p 00000000 08:03 8866656    /usr/share/fonts/100dpi/helvB18.pcf.gz
b491d000-b4948000 rw-p b491d000 00:00 0
b4948000-b4949000 ---p b4948000 00:00 0
b4949000-b5149000 rw-p b4949000 00:00 0
b5149000-b514a000 ---p b5149000 00:00 0
b514a000-b594a000 rw-p b514a000 00:00 0
b594a000-b5952000 r-xp 00000000 08:03 7536743    /lib/libnss_files-2.4.so
b5952000-b5954000 rw-p 00007000 08:03 7536743    /lib/libnss_files-2.4.so
b5954000-b5a44000 r-xp 00000000 08:03 8194553    /usr/lib/libcrypto.so.0.9.7
b5a44000-b5a56000 rw-p 000f0000 08:03 8194553    /usr/lib/libcrypto.so.0.9.7
b5a56000-b5a59000 rw-p b5a56000 00:00 0
b5a59000-b5a87000 r-xp 00000000 08:03 8194550    /usr/lib/libssl.so.0.9.7
b5a87000-b5a8a000 rw-p 0002e000 08:03 8194550    /usr/lib/libssl.so.0.9.7
b5a8a000-b5a9b000 r-xp 00000000 08:03 7536740    /lib/libnsl-2.4.so
b5a9b000-b5a9d000 rw-p 00010000 08:03 7536740    /lib/libnsl-2.4.so
b5a9d000-b5a9f000 rw-p b5a9d000 00:00 0
b5a9f000-b5aa4000 r-xp 00000000 08:03 7536734    /lib/libcrypt-2.4.so
b5aa4000-b5aa6000 rw-p 00004000 08:03 7536734    /lib/libcrypt-2.4.so
b5aa6000-b5acd000 rw-p b5aa6000 00:00 0
b5acd000-b5be3000 r-xp 00000000 08:03 7160244    /usr/lib/mysql/libmysqlclient.so.15.0.0
b5be3000-b5c25000 rw-p 00115000 08:03 7160244    /usr/lib/mysql/libmysqlclient.so.15.0.0
b5c25000-b5c26000 rw-p b5c25000 00:00 0
b5c29000-b5c2d000 r--p 00000000 08:03 8604410    /usr/local/share/mythtv/i18n/mythfrontend_en_gb.qm
b5c2d000-b5c31000 r--p 00000000 08:03 8865129    /usr/share/fonts/75dpi/helvR14.pcf.gz
b5c31000-b5c35000 r--p 00000000 08:03 8866816    /usr/share/fonts/100dpi/helvR12.pcf.gz
b5c35000-b5c38000 rw-p b5c35000 00:00 0
b5c38000-b5c55000 r-xp 00000000 08:03 8194578    /usr/lib/libexpat.so.0.5.0
b5c55000-b5c57000 rw-p 0001d000 08:03 8194578    /usr/lib/libexpat.so.0.5.0
b5c57000-b5c5b000 r-xp 00000000 08:03 8194789    /usr/lib/libXfixes.so.3.1.0
b5c5b000-b5c5c000 rw-p 00003000 08:03 8194789    /usr/lib/libXfixes.so.3.1.0
b5c5c000-b5c5d000 rw-p b5c5c000 00:00 0
b5c5d000-b5c61000 r-xp 00000000 08:03 8194689    /usr/lib/libXdmcp.so.6.0.0
b5c61000-b5c62000 rw-p 00003000 08:03 8194689    /usr/lib/libXdmcp.so.6.0.0
b5c62000-b5c64000 r-xp 00000000 08:03 8194684    /usr/lib/libXau.so.6.0.0
b5c64000-b5c65000 rw-p 00001000 08:03 8194684    /usr/lib/libXau.so.6.0.0
b5c65000-b5cb0000 r-xp 00000000 08:03 8194765    /usr/lib/libXt.so.6.0.0
b5cb0000-b5cb3000 rw-p 0004b000 08:03 8194765    /usr/lib/libXt.so.6.0.0
b5cb3000-b5cb4000 rw-p b5cb3000 00:00 0
b5cb4000-b5cba000 r-xp 00000000 08:03 7111225    /usr/lib/libdrm.so.2.0.0
b5cba000-b5cbb000 rw-p 00005000 08:03 7111225    /usr/lib/libdrm.so.2.0.0
b5cbb000-b5cd0000 r-xp 00000000 08:03 8194755    /usr/lib/libICE.so.6.3.0
b5cd0000-b5cd1000 rw-p 00014000 08:03 8194755    /usr/lib/libICE.so.6.3.0
b5cd1000-b5cd4000 rw-p b5cd1000 00:00 0
b5cd4000-b5cdc000 r-xp 00000000 08:03 8194760    /usr/lib/libSM.so.6.0.0
b5cdc000-b5cdd000 rw-p 00007000 08:03 8194760    /usr/lib/libSM.so.6.0.0
b5cdd000-b5d00000 r-xp 00000000 08:03 8194804    /usr/lib/libfontconfig.so.1.0.4b5d00000-b5d03000 rw-p 00022000 08:03 8194804    /usr/lib/libfontconfig.so.1.0.4b5d03000-b5d04000 rw-p b5d03000 00:00 0
b5d04000-b5d15000 r-xp 00000000 08:03 8194898    /usr/lib/libXft.so.2.1.2
b5d15000-b5d16000 rw-p 00010000 08:03 8194898    /usr/lib/libXft.so.2.1.2
b5d16000-b5d1e000 r-xp 00000000 08:03 8194928    /usr/lib/libXcursor.so.1.0.2
b5d1e000-b5d1f000 rw-p 00007000 08:03 8194928    /usr/lib/libXcursor.so.1.0.2
b5d1f000-b5d26000 r-xp 00000000 08:03 8194877    /usr/lib/libXi.so.6.0.0
b5d26000-b5d27000 rw-p 00006000 08:03 8194877    /usr/lib/libXi.so.6.0.0
b5d27000-b5d48000 r-xp 00000000 08:03 8194750    /usr/lib/libpng12.so.0.12.0
b5d48000-b5d49000 rw-p 00021000 08:03 8194750    /usr/lib/libpng12.so.0.12.0
b5d49000-b5d4a000 rw-p b5d49000 00:00 0
b5d4a000-b5d68000 r-xp 00000000 08:03 8194738    /usr/lib/libjpeg.so.62.0.0
b5d68000-b5d69000 rw-p 0001e000 08:03 8194738    /usr/lib/libjpeg.so.62.0.0
b5d69000-b5dc4000 r-xp 00000000 08:03 7096179    /usr/lib/libmng.so.1.0.0
b5dc4000-b5dc7000 rw-p 0005a000 08:03 7096179    /usr/lib/libmng.so.1.0.0
b5dc7000-b5dce000 r-xp 00000000 08:03 8194784    /usr/lib/libXrender.so.1.3.0
b5dce000-b5dcf000 rw-p 00006000 08:03 8194784    /usr/lib/libXrender.so.1.3.0
b5dcf000-b5dd4000 r-xp 00000000 08:03 7225705    /usr/lib/liblirc_client.so.0.1.0
b5dd4000-b5dd5000 rw-p 00005000 08:03 7225705    /usr/lib/liblirc_client.so.0.1.0
b5dd5000-b5dd6000 rw-p b5dd5000 00:00 0
b5dd6000-b5ddc000 r-xp 00000000 08:03 7095793    /usr/lib/libdts.so.0.0.0
b5ddc000-b5df9000 rw-p 00006000 08:03 7095793    /usr/lib/libdts.so.0.0.0
b5df9000-b5f10000 r-xp 00000000 08:03 7536732    /lib/libc-2.4.so
b5f10000-b5f12000 r--p 00116000 08:03 7536732    /lib/libc-2.4.so
b5f12000-b5f14000 rw-p 00118000 08:03 7536732    /lib/libc-2.4.so
b5f14000-b5f17000 rw-p b5f14000 00:00 0
b5f17000-b5f21000 r-xp 00000000 08:03 8194460    /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b5f21000-b5f22000 rw-p 00009000 08:03 8194460    /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b5f22000-b5f45000 r-xp 00000000 08:03 7536737    /lib/libm-2.4.so
b5f45000-b5f47000 rw-p 00022000 08:03 7536737    /lib/libm-2.4.so
b5f47000-b5f48000 rw-p b5f47000 00:00 0
b5f48000-b601e000 r-xp 00000000 08:03 8194459    /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
b601e000-b6021000 r--p 000d5000 08:03 8194459    /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
b6021000-b6023000 rw-p 000d8000 08:03 8194459    /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
b6023000-b6029000 rw-p b6023000 00:00 0
b6029000-b6038000 r-xp 00000000 08:03 7536748    /lib/libpthread-2.4.so
b6038000-b6039000 r--p 0000e000 08:03 7536748    /lib/libpthread-2.4.so
b6039000-b603a000 rw-p 0000f000 08:03 7536748    /lib/libpthread-2.4.so
b603a000-b603c000 rw-p b603a000 00:00 0
b603c000-b6120000 r-xp 00000000 08:03 8194694    /usr/lib/libX11.so.6.2.0
b6120000-b6124000 rw-p 000e4000 08:03 8194694    /usr/lib/libX11.so.6.2.0
b6124000-b6131000 r-xp 00000000 08:03 8194722    /usr/lib/libXext.so.6.4.0
b6131000-b6132000 rw-p 0000c000 08:03 8194722    /usr/lib/libXext.so.6.4.0
b6132000-b6146000 r-xp 00000000 08:03 8194834    /usr/lib/libXmu.so.6.2.0
b6146000-b6147000 rw-p 00014000 08:03 8194834    /usr/lib/libXmu.so.6.2.0
b6147000-b6198000 r-xp 00000000 08:03 7192630    /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
b6198000-b619e000 rwxp 00050000 08:03 7192630    /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
b619e000-b619f000 rwxp b619e000 00:00 0
b619f000-b61a0000 rw-p b619f000 00:00 0
b61a0000-b6219000 r-xp 00000000 08:03 7192620    /usr/lib/libGLU.so.1.3.060501
b6219000-b621a000 rw-p 00079000 08:03 7192620    /usr/lib/libGLU.so.1.3.060501
b621a000-b68b4000 r-xp 00000000 08:03 7127768    /usr/qt/3/lib/libqt-mt.so.3.3.6b68b4000-b68f4000 rw-p 00699000 08:03 7127768    /usr/qt/3/lib/libqt-mt.so.3.3.6b68f4000-b68f8000 rw-p b68f4000 00:00 0
b68f8000-b68fb000 r-xp 00000000 08:03 8194933    /usr/lib/libXrandr.so.2.0.0
b68fb000-b68fc000 rw-p 00002000 08:03 8194933    /usr/lib/libXrandr.so.2.0.0
b68fc000-b6900000 r-xp 00000000 08:03 8194794    /usr/lib/libXxf86vm.so.1.0.0
b6900000-b6901000 rw-p 00003000 08:03 8194794    /usr/lib/libXxf86vm.so.1.0.0
b6901000-b6905000 r-xp 00000000 08:03 8194948    /usr/lib/libXv.so.1.0.0
b6905000-b6906000 rw-p 00003000 08:03 8194948    /usr/lib/libXv.so.1.0.0
b6906000-b6908000 r-xp 00000000 08:03 8194938    /usr/lib/libXinerama.so.1.0.0
b6908000-b6909000 rw-p 00001000 08:03 8194938    /usr/lib/libXinerama.so.1.0.0
b6909000-b690a000 rw-p b6909000 00:00 0
b690a000-b690d000 r-xp 00000000 08:03 7095997    /usr/lib/libavc1394.so.0.3.0
b690d000-b690e000 rw-p 00003000 08:03 7095997    /usr/lib/libavc1394.so.0.3.0
b690e000-b691a000 r-xp 00000000 08:03 7095922    /usr/lib/libiec61883.so.0.0.0
b691a000-b691b000 rw-p 0000b000 08:03 7095922    /usr/lib/libiec61883.so.0.0.0
b691b000-b6920000 r-xp 00000000 08:03 7095858    /usr/lib/libraw1394.so.8.1.1
b6920000-b6921000 rw-p 00004000 08:03 7095858    /usr/lib/libraw1394.so.8.1.1
b6921000-b69a7000 r-xp 00000000 08:03 8194984    /usr/lib/libglib-2.0.so.0.1000.3
b69a7000-b69a8000 rw-p 00085000 08:03 8194984    /usr/lib/libglib-2.0.so.0.1000.3
b69a8000-b69ab000 r-xp 00000000 08:03 8194996    /usr/lib/libgthread-2.0.so.0.1000.3
b69ab000-b69ac000 rw-p 00003000 08:03 8194996    /usr/lib/libgthread-2.0.so.0.1000.3
b69ac000-b69ae000 r-xp 00000000 08:03 7536735    /lib/libdl-2.4.so
b69ae000-b69b0000 rw-p 00001000 08:03 7536735    /lib/libdl-2.4.so
b69b0000-b69b1000 rw-p b69b0000 00:00 0
b69b1000-b69b3000 r-xp 00000000 08:03 8194988    /usr/lib/libgmodule-2.0.so.0.1000.3
b69b3000-b69b4000 rw-p 00002000 08:03 8194988    /usr/lib/libgmodule-2.0.so.0.1000.3
b69b4000-b69b9000 r-xp 00000000 08:03 8964208    /usr/kde/3.5/lib/libartsc.so.0.0.0
b69b9000-b69ba000 rw-p 00004000 08:03 8964208    /usr/kde/3.5/lib/libartsc.so.0.0.0
b69ba000-b6a74000 r-xp 00000000 08:03 6767766    /usr/lib/libasound.so.2.0.0
b6a74000-b6a79000 rw-p 000b9000 08:03 6767766    /usr/lib/libasound.so.2.0.0
b6a79000-b6aba000 r-xp 00000000 08:03 8195510    /usr/lib/libmp3lame.so.0.0.0
b6aba000-b6abc000 rw-p 00040000 08:03 8195510    /usr/lib/libmp3lame.so.0.0.0
b6abc000-b6b10000 rw-p b6abc000 00:00 0
b6b10000-b6b21000 r-xp 00000000 08:03 7536753    /lib/libz.so.1.2.3
b6b21000-b6b22000 rw-p 00010000 08:03 7536753    /lib/libz.so.1.2.3
b6b22000-b6b8b000 r-xp 00000000 08:03 8194728    /usr/lib/libfreetype.so.6.3.8
b6b8b000-b6b8e000 rw-p 00069000 08:03 8194728    /usr/lib/libfreetype.so.6.3.8
b6b8e000-b6b8f000 rw-p b6b8e000 00:00 0
b6b8f000-b6c35000 r-xp 00000000 08:03 8602765    /usr/local/lib/libmythui-0.20.so.0.20.0
b6c35000-b6c39000 rw-p 000a5000 08:03 8602765    /usr/local/lib/libmythui-0.20.so.0.20.0
b6c39000-b6ec0000 r-xp 00000000 08:03 8602727    /usr/local/lib/libmyth-0.20.so.0.20.0
b6ec0000-b6ecf000 rw-p 00287000 08:03 8602727    /usr/local/lib/libmyth-0.20.so.0.20.0
b6ecf000-b6ed0000 rw-p b6ecf000 00:00 0
b6ed0000-b6f79000 r-xp 00000000 08:03 8604662    /usr/local/lib/libmythlivemedia-0.20.so.0.20.0
b6f79000-b6f83000 rw-p 000a9000 08:03 8604662    /usr/local/lib/libmythlivemedia-0.20.so.0.20.0
b6f83000-b6f91000 rw-p b6f83000 00:00 0
b6f91000-b7000000 r-xp 00000000 08:03 8602783    /usr/local/lib/libmythupnp-0.20.so.0.20.0
b7000000-b7002000 rw-p 0006e000 08:03 8602783    /usr/local/lib/libmythupnp-0.20.so.0.20.0
b7002000-b7077000 r-xp 00000000 08:03 8602779    /usr/local/lib/libmythfreemheg-0.20.so.0.20.0
b7077000-b707e000 rw-p 00074000 08:03 8602779    /usr/local/lib/libmythfreemheg-0.20.so.0.20.0
b707e000-b707f000 rw-p b707e000 00:00 0
b707f000-b7488000 r-xp 00000000 08:03 8602717    /usr/local/lib/libmythavcodec-0.20.so.0.20.0
b7488000-b7494000 rw-p 00409000 08:03 8602717    /usr/local/lib/libmythavcodec-0.20.so.0.20.0
b7494000-b74ff000 rw-p b7494000 00:00 0
b74ff000-b7504000 r-xp 00000000 08:03 8604661    /usr/local/lib/libmythavutil-0.20.so.0.20.0
b7504000-b7505000 rw-p 00004000 08:03 8604661    /usr/local/lib/libmythavutil-0.20.so.0.20.0
b7505000-b757f000 r-xp 00000000 08:03 8602722    /usr/local/lib/libmythavformat-0.20.so.0.20.0
b757f000-b7586000 rw-p 00079000 08:03 8602722    /usr/local/lib/libmythavformat-0.20.so.0.20.0
b7586000-b758a000 rw-p b7586000 00:00 0
b758a000-b7f23000 r-xp 00000000 08:03 8602747    /usr/local/lib/libmythtv-0.20.so.0.20.0
b7f23000-b7f4a000 rw-p 00999000 08:03 8602747    /usr/local/lib/libmythtv-0.20.so.0.20.0
b7f4a000-b7f4e000 rw-p b7f4a000 00:00 0
b7f51000-b7f5b000 r-xp 00000000 08:03 7127287    /usr/qt/3/plugins/sqldrivers/libqsqlmysql.so
b7f5b000-b7f5c000 rw-p 00009000 08:03 7127287    /usr/qt/3/plugins/sqldrivers/libqsqlmysql.so
b7f5c000-b7f5e000 rw-p b7f5c000 00:00 0
b7f5e000-b7f5f000 r-xp b7f5e000 00:00 0          [vdso]
b7f5f000-b7f79000 r-xp 00000000 08:03 7536721    /lib/ld-2.4.so
b7f79000-b7f7a000 r--p 00019000 08:03 7536721    /lib/ld-2.4.so
b7f7a000-b7f7b000 rw-p 0001a000 08:03 7536721    /lib/ld-2.4.so
bfec1000-bfed7000 rw-p bfec1000 00:00 0          [stack]
Aborted


my conifigure includes --enable-proc-opt - it said I should tell you.

regards Martyn.

comment:5 Changed 17 years ago by danielk

Martyn, it looks like this is a different crash. Can you reproduce this without '--enable-proc-opt' and with '--compile-type=release' (Make sure you do a distclean before running ./configure).

Then attach the backtrace using the "Attach File" button.

Changed 17 years ago by martyn <brightm@…>

Attachment: 2909-backtrace added

Re ran compile as requested - still failed, so backtrace attached.

comment:6 Changed 17 years ago by martyn

Hi Danielk

I re ran the compile with the changes you suggested and have attached the backtrace from the resultant crash.

comment:7 Changed 17 years ago by danielk

(In [12624]) Refs #2909. Fixes one of the SEGFAULTs that can happen when scanning for channels.

This fixes a segfault reported by sipsniffa, where the ScanProgressPopup? was referenced after it was deleted. Unfortunately this changes the libmyth ABI so you will need to relink and reinstall the plugins after installing the updated MythTV.

comment:8 Changed 17 years ago by danielk

(In [12629]) Refs #2909. Fixes compile bug in [12624] with --disable-dvb.

comment:9 Changed 17 years ago by danielk

(In [12635]) Refs #2909. Fixes #2983. Reverts [12624] and [12629], until I can fix some problems with accept/reject.

This changes the plugin ABI and will require recompiling the plugins after installing the updated MythTV.

comment:10 Changed 17 years ago by danielk

Summary: during channel scan in mythtv-setup: glibc detected *** mythtv-setup: free(): invalid pointer: 0xb509b74fChannel Scan pop-up deleted outside of Qt event thread
Type: patchdefect

comment:11 Changed 17 years ago by danielk

(In [13256]) Refs #2695. Refs #2909. Refs #3119. Refs #3190. Refs #2830. Refs #2600. This commit creates a branch for working on the channel scanner.

comment:12 Changed 17 years ago by danielk

Component: mythtvchannelscan

comment:13 Changed 17 years ago by danielk

(In [14362]) Refs #2909. Refs #3326. Fixes Channel Scan popup segfault in mythtv-multirec.

The problem when we applied this to trunk in [12624] & [12629] which caused the reversion in [12635] appears to have been the addition of some popupDone() signals when we were done with a MythPopupBox?. This signal is interpreted in several places in playbackbox,cpp and once in welcomedialog.cpp to mean the popup was rejected not just done. I've added the return value to the popupDone signal so that these uses can be supported by simply checking that the return value is Rejected before interpreting the signal as a cancel.

I'm fixing this in multirec is because the changes in multirec make the lack of thread safety in the popup handling cause a reproducable segfault every time you run the same channel scan twice. In the trunk this segfault is relatively rare.

comment:14 Changed 17 years ago by danielk

Resolution: fixed
Status: newclosed

(In [14478]) Fixes #2909. Fixes segfault in channel scanner caused by usage unsafe QDialog handling.

This was applied and reverted about 8 months ago because it broke most of the playbackbox dialogs. I've addressed that issues in this changeset and searched the codebase for all similar constructions, finding one in welcomedialog.cpp. This was also tested in the multirec branch for a couple weeks.

This changes the binary revision and so requires plugins to be rebuilt.

Changed 17 years ago by anonymous

Attachment: gdb.txt added

svn trunk as of 13 sep 07 segfault on channel scan

comment:15 Changed 17 years ago by yan@…

Resolution: fixed
Status: closedreopened

I've re-opened the ticket as I am seeing a segfault on dvb channel scan. Backtrace attached.

comment:16 Changed 17 years ago by yan@…

I don't think this has to do with Qt widgets. I can get a fairly reliable segfault on channel 17 in the early morning, but in the evening I can scan most channels. I suspect it has to do with signal strength and/or interference.

Also, I've rebuilt both front and backends and the backend will segfault on channel changes. I don't have time to do a full trace (I'm leaving town in a couple of hours), but here's the tail end of mythbackend.log:

Channel #4 nam<C4>?) 0-0 mod([Reserved]) cTSID(0x0)

pnum(0) ETM_loc(0) access_ctrl(0) hidden(0) hide_guide(0) service_type(32) source_id(35191)

Channel #5 name(<F0>? ) 0-0 mod([Reserved]) cTSID(0x0)

pnum(0) ETM_loc(0) access_ctrl(0) hidden(0) hide_guide(0) service_type(32) source_id(36727)

Channel #6 name(0?) 0-0 mod([Reserved]) cTSID(0xa)

pnum(0) ETM_loc(0) access_ctrl(0) hidden(0) hide_guide(0) service_type(6) source_id(28527) descriptors length(32) count(1)

Data Broadcast Identifier Descriptor (0x66) length(111)

Channel #7 name(??<F0>?) 0-0 mod([Reserved]) cTSID(0x0)

pnum(0) ETM_loc(0) access_ctrl(0) hidden(0) hide_guide(0) service_type(0) source_id(0)

Channel #8 name(DDw?) 776-103 mod(UNKNOWN 105) cTSID(0x0)

pnum(0) ETM_loc(0) access_ctrl(0) hidden(0) hide_guide(0) service_type(48) source_id(35703)

Channel #9 name(X??? ) 0-0 mod([Reserved]) cTSID(0x0)

pnum(0) ETM_loc(0) access_ctrl(0) hidden(0) hide_guide(0) service_type(0) source_id(36215)

At this point the backend went away.

I was attempting to change channels on liveTV with the frontend.

Changed 16 years ago by anonymous

Attachment: trace.txt added

gdb output

comment:17 Changed 16 years ago by anonymous

Channel Scanning still segfaults as of REV14696. I'll add a backtrace too. I did a "Full Scan of Existing Transports" coming via "Channel Editor" If I come from the "connect source to input page" it does work :-)

comment:18 Changed 16 years ago by danielk

Milestone: 0.210.22

comment:19 Changed 16 years ago by danielk

Resolution: fixed
Status: newclosed

(In [17115]) Fixes #2909. Refs #2695. Changes signal monitor code to use callbacks rather than signals/slots.

Note: See TracTickets for help on using tickets.