[mythtv-commits] Ticket #11378: mythlogserver crashed with SIGSEGV in QObject:: disconnect()
MythTV
noreply at mythtv.org
Tue Jan 29 20:55:49 UTC 2013
#11378: mythlogserver crashed with SIGSEGV in QObject:: disconnect()
------------------------------------+----------------------------
Reporter: flaurent@… | Owner: beirdo
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Mythlogserver | Version: 0.26-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------------+----------------------------
Comment (by mythtv@…):
I get this core dump every time I restart my master backend, so I suspect
a race condition during system startup. In my case, it is occurring on
mythbuntu 12.10, kernel 3.5.0-22-generic.
mythbackend --version:
{{{
Please attach all output as a file in bug reports.
MythTV Version : v0.26.0-89-g14aa707
MythTV Branch : fixes/0.26
Network Protocol : 75
Library API : 0.26.20130112-1
QT Version : 4.8.3
Options compiled in:
linux profile use_hidesyms using_alsa using_oss using_pulse
using_pulseoutput using_backend using_bindings_perl using_bindings_python
using_bindings_php using_crystalhd using_dvb using_firewire using_frontend
using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv
using_joystick_menu using_libcec using_libcrypto using_libdns_sd
using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit
using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv
using_bindings_perl using_bindings_python using_bindings_php
using_mythtranscode using_opengl using_vaapi using_vdpau
using_ffmpeg_threads using_live using_mheg using_libass using_libxml2
}}}
dmesg shows:
{{{
[ 11.259685] r8169 0000:02:00.0: eth0: link up
[ 11.260068] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 15.898904] init: mythtv-backend main process (1785) terminated with
status 135
[ 15.898926] init: mythtv-backend main process ended, respawning
[ 82.196388] init: mythtv-backend main process (2062) killed by TERM
signal
[ 97.864909] show_signal_msg: 21 callbacks suppressed
[ 97.864916] LogServer[1990]: segfault at 0 ip (null) sp
00007f6f1420c6f8 error 14 in mythlogserver[400000+3000]
}}}
kern.log shows (to give date/time contect):
{{{
Jan 29 00:24:37 buus-mbe kernel: [ 11.259685] r8169 0000:02:00.0: eth0:
link up
Jan 29 00:24:37 buus-mbe kernel: [ 11.260068] IPv6:
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan 29 00:26:04 buus-mbe kernel: [ 97.864909] show_signal_msg: 21
callbacks suppressed
Jan 29 00:26:04 buus-mbe kernel: [ 97.864916] LogServer[1990]: segfault
at 0 ip (null) sp 00007f6f1420c6f8 error 14 in
mythlogserver[400000+3000]
}}}
mythbackend.log shows:
{{{
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: C
thread_unknown mythcommandlineparser.cpp:2545 (ConfigureLogging)
mythbackend version: fixes/0.26 [v0.26.0-89-g14aa707] www.mythtv.org
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: C
thread_unknown mythcommandlineparser.cpp:2547 (ConfigureLogging) Qt
version: compile: 4.8.3, runtime: 4.8.3
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: N
thread_unknown mythcommandlineparser.cpp:2549 (ConfigureLogging) Enabled
verbose msgs: general
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: N
thread_unknown logging.cpp:837 (logStart) Setting Log Level to LOG_INFO
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I Logger
logging.cpp:306 (run) Added logging to the console
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt
handler
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated
handler
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup
Segmentation fault handler
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted
handler
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error
handler
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating
point exception handler
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal
instruction handler
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Real-time
signal 0 handler
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: N
thread_unknown mythdirs.cpp:55 (InitializeMythDirs) Using runtime prefix =
/usr
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: N
thread_unknown mythdirs.cpp:68 (InitializeMythDirs) Using configuration
directory = /home/mythtv/.mythtv
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
mythcorecontext.cpp:231 (Init) Assumed character encoding: en_US.UTF-8
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: N CoreContext
mythcontext.cpp:493 (LoadDatabaseSettings) Empty LocalHostName.
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
mythcontext.cpp:501 (LoadDatabaseSettings) Using localhost value of buus-
mbe
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: N CoreContext
mythcorecontext.cpp:1283 (InitLocale) Setting QT default locale to en_US
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
mythcorecontext.cpp:1316 (SaveLocaleDefaults) Current locale en_US
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: N CoreContext
mythlocale.cpp:121 (LoadDefaultsFromXML) Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
schemawizard.cpp:118 (Compare) Current MythTV Schema Version
(DBSchemaVer): 1307
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
mythtranslation.cpp:65 (load) Loading en_us translation for module
mythfrontend
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: N CoreContext
main_helpers.cpp:575 (run_backend) MythBackend: Starting up as the master
server.
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: W CoreContext
scheduler.cpp:209 (VerifyCards) Scheduler: Listings source 'WOW Analog' is
defined, but is not attached to a card input.
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
programinfo.cpp:2062 (CheckProgramIDAuthorities) Found 1 distinct
programid authorities
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I Scheduler
mythdbcon.cpp:436 (getStaticCon) New static DB connectionSchedCon
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP 127.0.0.1:6544
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP 192.168.1.54:6544
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP [::1]:6544
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: E CoreContext
serverpool.cpp:407 (listen) Failed listening on TCP
[fe80::96de:80ff:fe05:4423%eth0]:6544 - Error 9: The address is not
available
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: E CoreContext
mediaserver.cpp:86 (Init) MediaServer::HttpServer Create Error
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP 127.0.0.1:6543
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP 192.168.1.54:6543
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP [::1]:6543
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: E CoreContext
serverpool.cpp:407 (listen) Failed listening on TCP
[fe80::96de:80ff:fe05:4423%eth0]:6543 - Error 9: The address is not
available
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: C CoreContext
main_helpers.cpp:658 (run_backend) Backend exiting, MainServer
initialization error.
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I Logger
logging.cpp:487 (launchLogServer) Starting mythlogserver
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I SystemManager
system-unix.cpp:263 (run) Starting process manager
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I
SystemSignalManager system-unix.cpp:490 (run) Starting process signal
handler
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I
SystemIOHandlerR system-unix.cpp:90 (run) Starting IO manager (read)
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I
SystemIOHandlerW system-unix.cpp:90 (run) Starting IO manager (write)
Jan 29 00:24:38 buus-mbe mythlogserver: mythbackend[1787]: I Logger
logging.cpp:447 (initialTimeout) Added logging to mythlogserver at
TCP:35327
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: C
thread_unknown mythcommandlineparser.cpp:2545 (ConfigureLogging)
mythbackend version: fixes/0.26 [v0.26.0-89-g14aa707] www.mythtv.org
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: C
thread_unknown mythcommandlineparser.cpp:2547 (ConfigureLogging) Qt
version: compile: 4.8.3, runtime: 4.8.3
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: N
thread_unknown mythcommandlineparser.cpp:2549 (ConfigureLogging) Enabled
verbose msgs: general
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: N
thread_unknown logging.cpp:837 (logStart) Setting Log Level to LOG_INFO
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I Logger
logging.cpp:306 (run) Added logging to the console
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt
handler
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated
handler
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup
Segmentation fault handler
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted
handler
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error
handler
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating
point exception handler
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal
instruction handler
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Real-time
signal 0 handler
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: N
thread_unknown mythdirs.cpp:55 (InitializeMythDirs) Using runtime prefix =
/usr
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: N
thread_unknown mythdirs.cpp:68 (InitializeMythDirs) Using configuration
directory = /home/mythtv/.mythtv
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
mythcorecontext.cpp:231 (Init) Assumed character encoding: en_US.UTF-8
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: N CoreContext
mythcontext.cpp:493 (LoadDatabaseSettings) Empty LocalHostName.
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
mythcontext.cpp:501 (LoadDatabaseSettings) Using localhost value of buus-
mbe
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: N CoreContext
mythcorecontext.cpp:1283 (InitLocale) Setting QT default locale to en_US
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
mythcorecontext.cpp:1316 (SaveLocaleDefaults) Current locale en_US
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: N CoreContext
mythlocale.cpp:121 (LoadDefaultsFromXML) Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
schemawizard.cpp:118 (Compare) Current MythTV Schema Version
(DBSchemaVer): 1307
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
mythtranslation.cpp:65 (load) Loading en_us translation for module
mythfrontend
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: N CoreContext
main_helpers.cpp:575 (run_backend) MythBackend: Starting up as the master
server.
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: W CoreContext
scheduler.cpp:209 (VerifyCards) Scheduler: Listings source 'WOW Analog' is
defined, but is not attached to a card input.
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
programinfo.cpp:2062 (CheckProgramIDAuthorities) Found 1 distinct
programid authorities
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I Scheduler
mythdbcon.cpp:436 (getStaticCon) New static DB connectionSchedCon
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP 127.0.0.1:6544
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP 192.168.1.54:6544
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP [::1]:6544
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP
[fe80::96de:80ff:fe05:4423%eth0]:6544
Jan 29 00:24:42 buus-mbe mythlogserver: mythbackend[2063]: I Logger
logging.cpp:447 (initialTimeout) Added logging to mythlogserver at
TCP:35327
Jan 29 00:24:43 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
main_helpers.cpp:645 (run_backend) Main::Registering HttpStatus Extension
Jan 29 00:24:43 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP 127.0.0.1:6543
Jan 29 00:24:43 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP 192.168.1.54:6543
Jan 29 00:24:43 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP [::1]:6543
Jan 29 00:24:43 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
serverpool.cpp:395 (listen) Listening on TCP
[fe80::96de:80ff:fe05:4423%eth0]:6543
Jan 29 00:24:43 buus-mbe mythlogserver: mythbackend[2063]: N CoreContext
autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required
Free Space: 1.0 GB w/freq: 15 min
Jan 29 00:24:44 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
bonjourregister.cpp:100 (BonjourCallback) Bonjour: Service registration
complete: name 'Mythbackend on buus-mbe' type '_mythbackend-master._tcp.'
domain: 'local.'
Jan 29 00:24:45 buus-mbe mythlogserver: mythbackend[2063]: I Scheduler
scheduler.cpp:2130 (HandleReschedule) Reschedule requested for MATCH 0 0 0
- SchedulerInit
Jan 29 00:24:45 buus-mbe mythlogserver: mythbackend[2063]: I Scheduler
scheduler.cpp:2243 (HandleReschedule) Scheduled 0 items in 0.0 = 0.02
match + 0.00 check + 0.00 place
Jan 29 00:24:45 buus-mbe mythlogserver: mythbackend[2063]: I Scheduler
scheduler.cpp:2310 (HandleRunSchedulerStartup) Scheduler: Seem to be woken
up by USER
Jan 29 00:24:52 buus-mbe mythlogserver: mythbackend[2063]: I HouseKeeping
housekeeper.cpp:221 (RunHouseKeeping) Running housekeeping thread
Jan 29 00:24:52 buus-mbe mythlogserver: mythbackend[2063]: I HouseKeeping
housekeeper.cpp:309 (RunHouseKeeping) Running mythfilldatabase
Jan 29 00:24:52 buus-mbe mythlogserver: mythbackend[2063]: I SystemManager
system-unix.cpp:263 (run) Starting process manager
Jan 29 00:24:52 buus-mbe mythlogserver: mythbackend[2063]: I
SystemSignalManager system-unix.cpp:490 (run) Starting process signal
handler
Jan 29 00:24:52 buus-mbe mythlogserver: mythbackend[2063]: I
SystemIOHandlerR system-unix.cpp:90 (run) Starting IO manager (read)
Jan 29 00:24:52 buus-mbe mythlogserver: mythbackend[2063]: I
SystemIOHandlerW system-unix.cpp:90 (run) Starting IO manager (write)
Jan 29 00:25:48 buus-mbe mythlogserver: mythbackend[2063]: C CoreContext
signalhandling.cpp:305 (handleSignal) Received Terminated: Code 0, PID 1,
UID 0, Value 0x00000000
Jan 29 00:25:48 buus-mbe mythlogserver: mythbackend[2063]: N CoreContext
main_helpers.cpp:683 (run_backend) MythBackend exiting
Jan 29 00:25:48 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
system-unix.cpp:751 (Signal) Child PID 2123 killed with Terminated
Jan 29 00:25:49 buus-mbe mythlogserver: mythbackend[2063]: E MythFillDB
housekeeper.cpp:464 (RunMFD) MythFillDatabase command
'/usr/bin/mythfilldatabase --verbose general --loglevel info --nodblog
--syslog local7 ' failed
Jan 29 00:25:49 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
bonjourregister.cpp:26 (~BonjourRegister) Bonjour: De-registering service
'_mythbackend-master._tcp.' on 'Mythbackend on buus-mbe'
Jan 29 00:25:50 buus-mbe mythlogserver: mythbackend[2063]: I CoreContext
mythcontext.cpp:1169 (~MythContext) Waiting for threads to exit.
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11378#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list