[mythtv-commits] Ticket #4249: mythfilldatabase segfaulting..
MythTV
mythtv at cvs.mythtv.org
Sat Dec 1 07:42:02 UTC 2007
#4249: mythfilldatabase segfaulting..
------------------------------+---------------------------------------------
Reporter: damian at linux.ie | Owner: nigel
Type: defect | Status: new
Priority: critical | Milestone: 0.21
Component: mythfilldatabase | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
------------------------------+---------------------------------------------
Comment(by nigel):
I haven't been able to reproduce here, but this patch may help to narrow
it down?
{{{
Index: upnptasknotify.cpp
===================================================================
--- upnptasknotify.cpp (revision 15013)
+++ upnptasknotify.cpp (working copy)
@@ -136,10 +136,18 @@
//
----------------------------------------------------------------------
UPnpDevice &device = UPnp::g_UPnpDeviceDesc.m_rootDevice;
+ QString sUDN = QDeepCopy<QString>(device.GetUDN());
- SendNotifyMsg( pMulticast, "upnp:rootdevice", device.GetUDN() );
-// SendNotifyMsg( pBroadcast, "upnp:rootdevice", device.GetUDN() );
+ if (sUDN == "uuid:")
+ {
+ VERBOSE(VB_IMPORTANT, "UPnpNotifyTask::Execute() - No root
device?");
+ return;
+ }
+
+ SendNotifyMsg( pMulticast, "upnp:rootdevice", sUDN );
+// SendNotifyMsg( pBroadcast, "upnp:rootdevice", sUDN );
+
//
----------------------------------------------------------------------
// Process rest of notifications
//
----------------------------------------------------------------------
Index: ssdp.cpp
===================================================================
--- ssdp.cpp (revision 15013)
+++ ssdp.cpp (working copy)
@@ -374,7 +374,7 @@
QString sMX = GetHeaderValue( sHeaders, "MX" , "" );
int nMX = 0;
- //cout << "*** SSDP ProcessSearchrequest : [" << sST << "] MX = " <<
nMX << endl;
+ cout << "*** SSDP ProcessSearchrequest : [" << sST << "] MX = " <<
nMX << endl;
//
----------------------------------------------------------------------
// Validate Header Values...
}}}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4249#comment:2>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list