[mythtv-commits] Ticket #4548: [15647] breaks mythtranscode (and maybe others)
MythTV
mythtv at cvs.mythtv.org
Thu Jan 31 05:27:18 UTC 2008
#4548: [15647] breaks mythtranscode (and maybe others)
----------------------+-----------------------------------------------------
Reporter: xris | Owner: nigel
Type: defect | Status: accepted
Priority: critical | Milestone: 0.21
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
----------------------+-----------------------------------------------------
Changes (by nigel):
* status: new => accepted
Comment:
Haven't reproduced yet, but a config.xml without USN+PIN should magically
use UPNPautpconf, find a backend, and happily run. Like this:
{{{
mythtranscode
2008-01-31 16:15:01.661 Using runtime prefix = /usr, libdir = /usr/lib
2008-01-31 16:15:01.662 Unable to read configuration file mysql.txt
2008-01-31 16:15:01.663 Empty LocalHostName.
2008-01-31 16:15:01.708 New DB connection, total: 1
2008-01-31 16:15:01.710 Unable to connect to database!
2008-01-31 16:15:01.710 Driver error was [1/2002]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2008-01-31 16:15:01.765 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2008-01-31 16:15:02.230 MythXMLClient::GetConnectionInfo Failed - (606)
Action Not Authorized
2008-01-31 16:15:02.231 Cannot login to database?
Cannot login to database?
Would you like to configure the database connection now? [yes]
nigel at mythtv:~/mythtv$ mythtranscode -v upnp
2008-01-31 16:15:13.227 Using runtime prefix = /usr, libdir = /usr/lib
2008-01-31 16:15:13.228 Unable to read configuration file mysql.txt
2008-01-31 16:15:13.229 Empty LocalHostName.
2008-01-31 16:15:13.231 MCP::DefaultUPnP() - No default UPnP backend
2008-01-31 16:15:13.274 New DB connection, total: 1
2008-01-31 16:15:13.276 Unable to connect to database!
2008-01-31 16:15:13.276 Driver error was [1/2002]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2008-01-31 16:15:13.331 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2008-01-31 16:15:13.383 Setting UPnP client for backend autodiscovery...
2008-01-31 16:15:13.383 UPnp - Constructor
2008-01-31 16:15:13.385 ThreadPool:AddWorkerThread - HTTP_WorkerThread
2008-01-31 16:15:13.386 HttpServer( 6549 ) - SharePath =
/usr/share/mythtv/
2008-01-31 16:15:13.387 UPnp::Initialize - Begin
2008-01-31 16:15:13.387 UPnp::Initialize - Starting TaskQueue
2008-01-31 16:15:13.388 UPnp::Initialize - Creating SSDP Thread at port
6549
2008-01-31 16:15:13.389 UPnp::Initialize - End
2008-01-31 16:15:13.390 UPnp::Start - Starting SSDP Thread (Multicast)
2008-01-31 16:15:13.390 UPnp::Start - Enabling Notifications
2008-01-31 16:15:13.390 SSDP::EnableNotifications() - creating new task
2008-01-31 16:15:13.390 SSDP::EnableNotifications() - sending NTS_byebye
2008-01-31 16:15:13.391 LookupUDN(urn:schemas-upnp-
org:device:MythContextClient:1) sName=UPnP/UDN/MythContextClient, sUDN=
2008-01-31 16:15:13.673 SSDP::EnableNotifications() - sending NTS_alive
2008-01-31 16:15:13.674 SSDP::EnableNotifications() - Task added to UPnP
queue
2008-01-31 16:15:13.674 UPnp::Start - Returning
2008-01-31 16:15:13.800 UPnPconnect() - Trying host at
http://149.135.128.77:6544/getDeviceDesc
2008-01-31 16:15:13.851 MythXMLClient::GetConnectionInfo Failed - (606)
Action Not Authorized
2008-01-31 16:15:13.852 UPnPconnect() - Action Not Authorized. Wrong PIN?
2008-01-31 16:15:13.852 Cannot login to database?
Cannot login to database?
Would you like to configure the database connection now? [yes]
^C
}}}
Does gdb mythtranscode reveal the location of the segfault?
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4548#comment:1>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list