Opened 18 years ago

Closed 18 years ago

#653 closed defect (fixed)

"Scan for Games" causes segfault

Reported by: jmk@… Owned by: greg
Priority: minor Milestone: unknown
Component: mythgame Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Mythfrontend segfaults for me while running the "Scan for Games" option within setup. I believe one of my MAME .zip game files is bad. The following is displayed when unzipping it and the backtrace shows MythGame? dying on a call to crc32():

inflating: tcu96.bin inflating: tcu97.bin bad CRC a0d163e6 (should be 1675e50d) inflating: tcu98.bin

Removing that file allows the scan to successfully complete. Of course, it'd be nice for MythGame? to not segfault even if the user is stupid and gives it crap.

Attachments (1)

mythgame-crash.txt (15.4 KB) - added by jmk@… 18 years ago.
MythGame? backtrace

Download all attachments as: .zip

Change History (4)

Changed 18 years ago by jmk@…

Attachment: mythgame-crash.txt added

MythGame? backtrace

comment:1 Changed 18 years ago by greg

Status: newassigned

Wanna try your tests again against latest source and see if it still crashes? This should be fixed by a commit from last night.

comment:2 Changed 18 years ago by jmk@…

MythGame? imports all of the roms now without any crashes.

Thanks!

comment:3 Changed 18 years ago by greg

Resolution: fixed
Status: assignedclosed

Thanks to Jochen K?hner for catching the problem :)

Note: See TracTickets for help on using tickets.