[mythtv-commits] Ticket #4243: mythfrontend only segfaults on new Ubuntu 7.10 install

MythTV mythtv at cvs.mythtv.org
Wed Jan 16 03:51:30 UTC 2008


#4243: mythfrontend only segfaults on new Ubuntu 7.10 install
--------------------------------+-------------------------------------------
 Reporter:  DannyCan at gmail.com  |        Owner:  nigel
     Type:  defect              |       Status:  new  
 Priority:  minor               |    Milestone:  0.21 
Component:  mythtv              |      Version:  head 
 Severity:  medium              |   Resolution:       
  Mlocked:  0                   |  
--------------------------------+-------------------------------------------
Changes (by nigel):

  * status:  closed => new
  * resolution:  fixed =>


Comment:

 OK. I am at a bit of a loss then. The gdb helps narrow it down, but not a
 lot.
 [[BR]]
 Any change of building with the following changes:
 {{{
 Index: libs/libmythupnp/libmythupnp.pro
 ===================================================================
 --- libs/libmythupnp/libmythupnp.pro    (revision 15447)
 +++ libs/libmythupnp/libmythupnp.pro    (working copy)
 @@ -71,3 +71,5 @@
      # It isn't built yet, so we have to ignore these for now:
      QMAKE_LFLAGS_SHLIB += -flat_namespace -undefined warning
  }
 +
 +QMAKE_CXXFLAGS += -g
 Index: libs/libmythupnp/upnpcmgr.cpp
 ===================================================================
 --- libs/libmythupnp/upnpcmgr.cpp       (revision 15447)
 +++ libs/libmythupnp/upnpcmgr.cpp       (working copy)
 @@ -25,6 +25,9 @@
      AddVariable( new StateVariable< QString >( "SinkProtocolInfo"    ,
 true ) );
      AddVariable( new StateVariable< QString >( "CurrentConnectionIDs",
 true ) );

 +puts("About to SetValue with a QString");
 +    SetValue< QString >( "CurrentConnectionIDs", QString("0") );
 +puts("About to SetValue with a literal char*");
      SetValue< QString >( "CurrentConnectionIDs", "0" );
      SetValue< QString >( "SourceProtocolInfo"  , sSourceProtocols );
      SetValue< QString >( "SinkProtocolInfo"    , sSinkProtocols   );
 }}}
 and providing -v all output? (plus another gdb.txt if it crashes)

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4243#comment:9>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list