[mythtv] mythgame crash

Dan Conti dconti at acm.wwu.edu
Mon Aug 18 20:14:59 EDT 2003


I think the attached patch should fix this.

> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org
> [mailto:mythtv-dev-bounces at mythtv.org]On Behalf Of Thomas Mueller
> Sent: Monday, August 18, 2003 5:51 PM
> To: mythtv-dev
> Subject: [mythtv] mythgame crash
>
>
> I'm getting the same crash as someone else posted on the mythtv-users
> list. I choose Games from the main menu, get the message "Looking for
> Mame games" and 0% on the statusbar, then mythfrontend segfaults
> (presumably caused by libmythgame.so). I'm using 0.11 on an Asus Pundit
> with RH9. Here is a backtrace:
>
> [mythtv at localhost mythtv-0.11]$ gdb mythfrontend
> GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
> Copyright 2003 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License,
> and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux-gnu"...
> (gdb) run
> Starting program: /usr/bin/mythfrontend
> [New Thread 1086915488 (LWP 2708)]
> Xlib: extension "GLX" missing on display ":5.0".
> Xlib: extension "GLX" missing on display ":5.0".
> ASSERT: "i <= nodes" in /usr/lib/qt-3.1/include/qvaluelist.h (372)
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1086915488 (LWP 2708)]
> 0x420796b8 in strcmp () from /lib/tls/libc.so.6
> (gdb) thread apply all bt full
>
> Thread 1 (Thread 1086915488 (LWP 2708)):
> #0 0x420796b8 in strcmp () from /lib/tls/libc.so.6
> No symbol table info available.
> #1 0x41b7bf31 in MameHandler::processGames() (this=0x84f19a8)
> at mamehandler.cpp:320
> xmame_info = (FILE *) 0x40153fe4
> xmame_vrfy = (FILE *) 0x84ea190
> xmame_drv = (FILE *) 0x0
> line =
> "tB\b|\002\232@?\237j\200@\000\000\000\000^\035m\r?\220#@pB\b?030\022@?
> \016Y at .AtO\b\217\177\000@\024\032\023B\220#@VO\022@?\214\f\021BdvO\b\000
> \000\000\000\002\000\000\000R?@??.A?@@?\220\003?\b?\b?@?\001@@?\b?
> \026?000@@?8\200A\233?@`D?\220\003??@?C\b?C\b?\000\000\000\000?\001@@?
> \000\000\000\000\b?"...
> infocmd = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x84bb190,
> static shared_null = 0x842b2c8}
> vrfycmd = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x42132320,
> static shared_null = 0x842b2c8}
> drvcmd = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x0,
> static shared_null = 0x842b2c8}
> romname = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x84f7600,
> static shared_null = 0x842b2c8}
> gamename = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0xbfffe400,
> static shared_null = 0x842b2c8}
> year = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0xbfffe400,
> static shared_null = 0x842b2c8}
> manu = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x84f74b0,
> static shared_null = 0x842b2c8}
> cloneof = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x84e8ec8,
> static shared_null = 0x842b2c8}
> romof = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x41c24460,
> static shared_null = 0x842b2c8}
> input = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x84eb4a8,
> static shared_null = 0x842b2c8}
> video = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x393931,
> static shared_null = 0x842b2c8}
> chip = {{static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x72614d20,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x31206863,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x3a393939,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x63695620,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x20726f74,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x63757254,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x61206f63,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x64656464,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x50206120,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x616d6361,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x6c63206e,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x2e656e6f,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x2d6e5c20,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x74323120,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x614d2068,
> static shared_null = 0x842b2c8}, {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x20686372,
> static shared_null = 0x842b2c8}}
> driver_status = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x656e6f6c,
> static shared_null = 0x842b2c8}
> driver = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x72656420,
> static shared_null = 0x842b2c8}
> status = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x656e6f6c,
> static shared_null = 0x842b2c8}
> p = 0x202e293f <Address 0x202e293f out of bounds>
> keyword = 0x202d6e5c <Address 0x202d6e5c out of bounds>
> value = 0x68743531 <Address 0x68743531 out of bounds>
> verifyname = 0x6320776f <Address 0x6320776f out of bounds>
> drivername = 0x6e207369 <Address 0x6e207369 out of bounds>
> thequery = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x61206c61,
> static shared_null = 0x842b2c8}
> tmp_array = {<QValueList<QString>> = {
> sh = 0x20746573}, <No data fields>}
> rom = (class MameRomInfo *) 0x206e6170
> i = 1632249888
> tmp_counter = 1851870571
> done_roms = 1668632608
> done = 0.000707182393
> db = (struct QSqlDatabase *) 0x332e3020
> CatMap = {
> _M_t = {<_Rb_tree_base<std::pair<const QString,
> QString>,std::allocator<std::pair<const QString, QString> > >> =
> {<_Rb_tree_alloc_base<std::pair<const QString,
> QString>,std::allocator<std::pair<const QString, QString> >,true>> = {
> _M_header = 0x6120646e}, <No data fields>},
> _M_node_count = 1916870766,
> _M_key_compare = {<binary_function<QString,QString,bool>> = {<No data
> fields>}, <No data fields>}}}
> pdial = <incomplete type>
> #2 0x41b61c07 in mythplugin_run () at main.cpp:118
> handler = (class GameHandler *) 0x84e8ec8
> found = false
> i = 0
> translator = <incomplete type>
> db = (struct QSqlDatabase *) 0x849f198
> systems = {<QValueList<QString>> = {sh = 0x84f8c98}, <No data fields>}
> thequery = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x84f5b88,
> static shared_null = 0x842b2c8}
> query = <incomplete type>
> paths = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x84eb4a8,
> static shared_null = 0x842b2c8}
> gametree = {<> = {<No data fields>}, static metaObj = 0x0,
> db = 0x41bd8310, game_tree_list = 0x41bd81b0, game_tree_root = 0x849f9d0,
> game_tree_data = 0x849f9e8, treeList = {sh = 0x849f9f0},
> curitem = 0x84f7401, m_paths = {static null = {
> static null = <same as static member of an already seen type>,
> d = 0x842b2c8, static shared_null = 0x842b2c8}, d = 0x41bd80b8,
> static shared_null = 0x842b2c8}, m_pathlist = {<QValueList<QString>> = {
> sh = 0x842b2c8}, <No data fields>}, game_title = 0x842b2c8,
> game_system = 0x842b2c8, game_year = 0x40a9f201, game_genre = 0x409865a8,
> game_shot = 0x84f1990}
>
>
>
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mamehandler.diff
Type: application/octet-stream
Size: 1829 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20030818/65032771/mamehandler.obj


More information about the mythtv-dev mailing list