#1286 closed defect (fixed)
Segmentation Fault
Reported by: | SF/inguin | Owned by: | eriktorbjorn |
---|---|---|---|
Priority: | normal | Component: | Port: Linux |
Version: | Keywords: | ||
Cc: | Game: |
Description
This may or may not be related to bug #827560: After not following ScummVM's development for a few weeks I finally checked out the current version from CVS and compiled it. Unfortunately I'm not able to start any game, they all raise a Segmentation Fault on startup:
inva@marvin:~>scummvm tentacle Looking for tentacle Trying to start game 'Day Of The Tentacle' Fatal signal: Segmentation Fault (SDL Parachute Deployed)
According to gdb it happens when creating the debugger object at startup, I have attached a complete backtrace.
My system: Linux 2.4.21, gcc 2.95.3, SDL 1.2.6 and ScummVM 0.5.4cvs (Oct 27 2003 03:56:49)
Ticket imported from: #830772. Ticket imported from: bugs/1286.
Attachments (1)
Change History (5)
by , 21 years ago
Attachment: | backtrace.txt added |
---|
comment:1 by , 21 years ago
I found something: In scumm/scummvm.cpp:592 a new ScummDebugger object is created before _newgui is initialized. Moving "_newgui = g_gui;" from line 631 a few lines up seems to fix the issue.
comment:2 by , 21 years ago
The general idea seems right to me, but apparently the debugger has to be created after the backend is initialised, or ScummVM will crash when the debug console is opened, so it's the creation of _debugger that needs to be moved.
This bug was introduced very recently by the way, so I guess you just picked a bad time to check out a new copy. It should be fixed in CVS now. Welcome to the bleeding edge. ;-)
comment:3 by , 21 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 by , 6 years ago
Component: | --Unset-- → Port: Linux |
---|
gdb backtrace