[mythtv-users] Upgrading from old versions and preserving the database

David Fishburn dfishburn.mythtv at gmail.com
Sat Jul 30 17:24:35 UTC 2011


>
> I was going to say that this is the "socket issue" that no developer has
> been able to reproduce, but ...
>
>> dmesg
>> ----
>> [ 2982.827292] mythbackend[3275]: segfault at 50 ip 05feb65c sp
>> bf974c40 error 4 in libQtCore.so.4.7.2[5f8f000+28a000]
>> ----
>>
>> Any ideas, or additional logs I can gather?
>>
>> Mythbuntu 11-04.
>
> If all that's happening is mythbackend is segfaulting, you'd expect that
> mythfrontend and mythpreviewgen and myth<whatever> couldn't connect to
> the backend because it's no longer running.
>
> If so, we need you to get a debug backtrace, as described at
> http://www.mythtv.org/wiki/Debugging .  Note that you can install
> packages with the debug symbols, so there's no need for you to stop
> using packages or compile a package yourself or anything.

I followed the directions, which essentially were:
1) sudo apt-get install mythtv-dbg

2) Modify /etc/default/apport to set "enabled" to 1

3) Start the apport service. "sudo start apport"

I rebooted here (the 2nd time) and on the restart made sure apport was
still running and enabled.

If I just leave the backend running, it will segfault on it's own.

4) When your crash happens, it will ask you to submit a bug report.
Submit the full report. You'll need a launchpad account for this.

Nothing ever prompted me to submit a bug report.

dmesg
[  417.861881] mythbackend[2226]: segfault at 50 ip 0359e65c sp
bfd3e9d0 error 4 in libQtCore.so.4.7.2[3542000+28a000]


Here is my full mythbackend log in case it helps.
----
2011-07-30 12:41:35.227 mythbackend version: fixes/0.24
[v0.24-243-g9ba3ece] www.mythtv.org
2011-07-30 12:41:35.239 Using runtime prefix = /usr
2011-07-30 12:41:35.241 Using configuration directory = /home/mythtv/.mythtv
2011-07-30 12:41:35.244 Empty LocalHostName.
2011-07-30 12:41:35.246 Using localhost value of mythbuntu-test1104
2011-07-30 12:41:35.258 New DB connection, total: 1
2011-07-30 12:41:35.266 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:41:35.278 Closing DB connection named 'DBManager0'
2011-07-30 12:41:35.281 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:41:35.285 Current locale en_CA
2011-07-30 12:41:35.288 Reading locale defaults from
/usr/share/mythtv//locales/en_ca.xml
2011-07-30 12:41:35.303 Current MythTV Schema Version (DBSchemaVer): 1264
2011-07-30 12:41:35.312 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2011-07-30 12:41:35.324 MediaServer:: Loopback address specified -
127.0.0.1. Disabling UPnP
2011-07-30 12:41:35.329 MythBackend: Running as a slave backend.
2011-07-30 12:41:35.336 MythBackend, Warning: No valid capture cards
are defined in the database.
2011-07-30 12:41:35.345 Main::Registering HttpStatus Extension
2011-07-30 12:41:35.347 Enabled verbose msgs:  important general
2011-07-30 12:41:35.349 New DB connection, total: 2
2011-07-30 12:41:35.347 Enabled verbose msgs:  important general
2011-07-30 12:41:35.349 New DB connection, total: 2
2011-07-30 12:41:35.367 New DB connection, total: 3
2011-07-30 12:41:35.367 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:41:35.372 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:41:36.379 Connecting to master server: 192.168.1.96:6543
2011-07-30 12:41:36.385 Connected successfully
2011-07-30 12:42:06.393 MythSocket(8c31af8:25): readStringList: Error,
timed out after 30000 ms.
2011-07-30 12:42:06.398 MainServer, Error: Failed to open master
server socket, timeout
2011-07-30 12:42:06.403 adding: mythbuntu-test1104 as a slave backend server
2011-07-30 12:42:06.421 MainServer, Warning: Unknown socket closing
MythSocket(0x8c64e30)
2011-07-30 12:42:06.430 MythSocket(8c64e30:-1): writeStringList:
Error, socket went unconnected.
                        We wrote 0 of 10 bytes with 1 errors
2011-07-30 12:42:07.402 Connecting to master server: 192.168.1.96:6543
2011-07-30 12:42:07.405 Connected successfully
2011-07-30 12:42:37.412 MythSocket(8c63b00:25): readStringList: Error,
timed out after 30000 ms.
2011-07-30 12:42:37.418 MainServer, Error: Failed to open master
server socket, timeout

2011-07-30 12:42:37.412 MythSocket(8c63b00:25): readStringList: Error,
timed out after 30000 ms.
2011-07-30 12:42:37.418 MainServer, Error: Failed to open master
server socket, timeout
2011-07-30 12:42:37.422 adding: mythbuntu-test1104 as a slave backend server
2011-07-30 12:42:37.439 MainServer, Warning: Unknown socket closing
MythSocket(0x8c63b00)
2011-07-30 12:42:37.444 MythSocket(8c63b00:-1): writeStringList:
Error, socket went unconnected.
                        We wrote 0 of 10 bytes with 1 errors
2011-07-30 12:42:38.423 Connecting to master server: 192.168.1.96:6543
2011-07-30 12:42:38.427 Connected successfully
2011-07-30 12:43:08.434 MythSocket(8c566a8:25): readStringList: Error,
timed out after 30000 ms.
2011-07-30 12:43:08.603 mythbackend version: fixes/0.24
[v0.24-243-g9ba3ece] www.mythtv.org
2011-07-30 12:43:08.615 Using runtime prefix = /usr
2011-07-30 12:43:08.619 Using configuration directory = /home/mythtv/.mythtv
2011-07-30 12:43:08.623 Empty LocalHostName.
2011-07-30 12:43:08.626 Using localhost value of mythbuntu-test1104
2011-07-30 12:43:08.640 New DB connection, total: 1
2011-07-30 12:43:08.650 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:43:08.661 Closing DB connection named 'DBManager0'
2011-07-30 12:43:08.650 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:43:08.661 Closing DB connection named 'DBManager0'
2011-07-30 12:43:08.666 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:43:08.671 Current locale en_CA
2011-07-30 12:43:08.674 Reading locale defaults from
/usr/share/mythtv//locales/en_ca.xml
2011-07-30 12:43:08.700 Current MythTV Schema Version (DBSchemaVer): 1264
2011-07-30 12:43:08.710 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2011-07-30 12:43:08.724 MediaServer:: Loopback address specified -
127.0.0.1. Disabling UPnP
2011-07-30 12:43:08.730 MythBackend: Running as a slave backend.
2011-07-30 12:43:08.735 MythBackend, Warning: No valid capture cards
are defined in the database.
2011-07-30 12:43:08.740 Main::Registering HttpStatus Extension
2011-07-30 12:43:08.742 Enabled verbose msgs:  important general
2011-07-30 12:43:08.741 New DB connection, total: 2
2011-07-30 12:43:08.759 New DB connection, total: 3
2011-07-30 12:43:08.761 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:43:08.763 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:43:09.773 Connecting to master server: 192.168.1.96:6543
2011-07-30 12:43:09.779 Connected successfully
2011-07-30 12:43:39.785 MythSocket(976d778:25): readStringList: Error,
timed out after 30000 ms.
2011-07-30 12:43:09.779 Connected successfully
2011-07-30 12:43:39.785 MythSocket(976d778:25): readStringList: Error,
timed out after 30000 ms.
2011-07-30 12:43:39.946 mythbackend version: fixes/0.24
[v0.24-243-g9ba3ece] www.mythtv.org
2011-07-30 12:43:39.949 Using runtime prefix = /usr
2011-07-30 12:43:39.967 Using configuration directory = /home/mythtv/.mythtv
2011-07-30 12:43:39.972 Empty LocalHostName.
2011-07-30 12:43:39.975 Using localhost value of mythbuntu-test1104
2011-07-30 12:43:39.995 New DB connection, total: 1
2011-07-30 12:43:40.011 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:43:40.033 Closing DB connection named 'DBManager0'
2011-07-30 12:43:40.039 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:43:40.046 Current locale en_CA
2011-07-30 12:43:40.049 Reading locale defaults from
/usr/share/mythtv//locales/en_ca.xml
2011-07-30 12:43:40.078 Current MythTV Schema Version (DBSchemaVer): 1264
2011-07-30 12:43:40.093 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2011-07-30 12:43:40.104 MediaServer:: Loopback address specified -
127.0.0.1. Disabling UPnP
2011-07-30 12:43:40.109 MythBackend: Running as a slave backend.
2011-07-30 12:43:40.117 MythBackend, Warning: No valid capture cards
are defined in the database.
2011-07-30 12:43:40.109 MythBackend: Running as a slave backend.
2011-07-30 12:43:40.117 MythBackend, Warning: No valid capture cards
are defined in the database.
2011-07-30 12:43:40.121 Main::Registering HttpStatus Extension
2011-07-30 12:43:40.123 Enabled verbose msgs:  important general
2011-07-30 12:43:40.124 New DB connection, total: 2
2011-07-30 12:43:40.143 New DB connection, total: 3
2011-07-30 12:43:40.148 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:43:40.149 Connected to database 'mythconverg' at host: localhost
2011-07-30 12:43:41.158 Connecting to master server: 192.168.1.96:6543
2011-07-30 12:43:41.163 Connected successfully
2011-07-30 12:44:11.170 MythSocket(88c6ea0:25): readStringList: Error,
timed out after 30000 ms.
----


More information about the mythtv-users mailing list