[mythtv-commits] Ticket #10541: SIGSEGV when EIT updating DB and channel change
MythTV
noreply at mythtv.org
Sun Apr 15 16:50:05 UTC 2012
#10541: SIGSEGV when EIT updating DB and channel change
--------------------------------+--------------------------------
Reporter: angela.schmid@… | Owner: danielk
Type: Bug Report - Crash | Status: infoneeded_new
Priority: minor | Milestone: 0.26
Component: MythTV - DVB | Version: Master Head
Severity: low | Resolution:
Keywords: | Ticket locked: 0
--------------------------------+--------------------------------
Comment (by angela.schmid@…):
Hello
No crashes anymore. However I see mythbackend hanging, which I have seen
in the past also without this patch.
I restarted mythbackend. EIT passive scanning started (17:39:26). A
recording was asked (17:39:39). EIT writing from 17:40:01 till 17:43:16.
During this time mythweb was not responding. Socket errors were
protocolied at 17:43:31. Recording was canceled 17:43:32. Mythweb did not
respond. A yet started mythfrontend had a log time to scan the recordings
in watch recordings. Had to restart mythbackend.
During "EITCache: Wrote 14 modified entries of 252 for channel 1002 to
database" messages, I think mythbackend comes unresponsive, this behaviour
has been seen before, also without this patch.
This time the recording has been canceled. In my previous comment, the
recording started 1.5 minutes later.
Run with " /usr/bin/mythbackend --syslog local7 --user mythtv -v
eit,general --loglevel debug". Attached mythbackend.zip and gdb1.txt (gdb
-p <pid>).
Why does mythbackend hang.
Angela
p.s. Why does MythTV not reuse prepared statements ? For each
insert/update/delete as far as I have seen, the SQL command is prepared on
each call. Why not preparing it once and reuse it. Sure needs some re-
preparing when the connection has to be re-astablished. Writing 2000 EIT
records needs 3 Minutes, which is in my eyes very long. This is on a Sandy
Bridge 2600K.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10541#comment:7>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list