Opened 19 years ago

Closed 19 years ago

Last modified 6 years ago

#2238 closed defect (invalid)

GUI: scummvm segmentation fault on startup (x86_64)

Reported by: SF/cathectic Owned by: sev-
Priority: normal Component: GUI
Version: Keywords:
Cc: Game:

Description

When trying to run scummvm (0.7.1 and 20051007 snapshot) on Slamd64 (64bit Slackware port), it immediately segfaults.

<myuser>@<mymachine>:~$ scummvm Fatal signal: Segmentation Fault (SDL Parachute Deployed)

I am using a self compiled ScummVM. I have tried both './configure' and 'LDFLAGS="-L/usr/lib64" ./configure' to build it, with the same result.

A gdb backtrace of both produces the following:

*** ScummM 0.7.1 ***

<myuser>@<mymachine>:~/src/SlackBuild/scummvm/scummvm$ gdb GNU gdb 6.3 Copyright 2004 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 "x86_64-slackware-linux". (gdb) file scummvm Reading symbols from /home/cathectic/src/SlackBuild/scummvm/scummvm/scummvm...done. Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) run Starting program: /home/cathectic/src/SlackBuild/scummvm/scummvm/scummvm [Thread debugging using libthread_db enabled] [New Thread 46912520262720 (LWP 19005)] [New Thread 1082132832 (LWP 19008)]

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912520262720 (LWP 19005)] 0x00002aaaab46fa34 in SDL_CalculateBlitN () from /usr/lib64/libSDL-1.2.so.0 (gdb) bt #0 0x00002aaaab46fa34 in SDL_CalculateBlitN () from /usr/lib64/libSDL-1.2.so.0 #1 0x00002aaaab45f3c9 in SDL_CalculateBlit () from /usr/lib64/libSDL-1.2.so.0 #2 0x00002aaaab472cd2 in SDL_MapSurface () from /usr/lib64/libSDL-1.2.so.0 #3 0x00002aaaab473488 in SDL_LowerBlit () from /usr/lib64/libSDL-1.2.so.0 #4 0x00002aaaab474ef9 in SDL_UpdateRects () from /usr/lib64/libSDL-1.2.so.0 #5 0x00000000004064c9 in OSystem_SDL::internUpdateScreen (this=0x95d3c0) at backends/sdl/graphics.cpp:700 #6 0x0000000000405f46 in OSystem_SDL::updateScreen (this=0x95d3c0) at backends/sdl/graphics.cpp:522 #7 0x000000000040759f in OSystem_SDL::showMouse (this=0xab5a8140, visible=true) at backends/sdl/graphics.cpp:1244 #8 0x00000000005dcaa4 in GUI::NewGui::saveState (this=0x9b8d90) at gui/newgui.cpp:227 #9 0x00000000005dc720 in GUI::NewGui::runLoop (this=0x9b8d90) at gui/newgui.cpp:116 #10 0x00000000005d1e85 in GUI::Dialog::runModal (this=0x7ffffff60ff0) at gui/dialog.cpp:56 #11 0x000000000040f27b in launcherDialog (detector=@0x7ffffff61100, system=@0x95d3c0) at base/main.cpp:270 #12 0x000000000040f837 in main (argc=1, argv=0x7ffffff61268) at base/main.cpp:440

*** SCUMMVM 20051007 Snapshot ***

<myuser>@<mymachine>:~/src/SlackBuild/scummvm/scummvm$ gdb GNU gdb 6.3 Copyright 2004 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 "x86_64-slackware-linux". (gdb) file scummvm Reading symbols from /home/cathectic/src/SlackBuild/scummvm/scummvm/scummvm...done. Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) run Starting program: /home/cathectic/src/SlackBuild/scummvm/scummvm/scummvm [Thread debugging using libthread_db enabled] [New Thread 46912520262720 (LWP 19005)] [New Thread 1082132832 (LWP 19008)]

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912520262720 (LWP 19005)] 0x00002aaaab46fa34 in SDL_CalculateBlitN () from /usr/lib64/libSDL-1.2.so.0 (gdb) bt #0 0x00002aaaab46fa34 in SDL_CalculateBlitN () from /usr/lib64/libSDL-1.2.so.0 #1 0x00002aaaab45f3c9 in SDL_CalculateBlit () from /usr/lib64/libSDL-1.2.so.0 #2 0x00002aaaab472cd2 in SDL_MapSurface () from /usr/lib64/libSDL-1.2.so.0 #3 0x00002aaaab473488 in SDL_LowerBlit () from /usr/lib64/libSDL-1.2.so.0 #4 0x00002aaaab474ef9 in SDL_UpdateRects () from /usr/lib64/libSDL-1.2.so.0 #5 0x00000000004064c9 in OSystem_SDL::internUpdateScreen (this=0x95d3c0) at backends/sdl/graphics.cpp:700 #6 0x0000000000405f46 in OSystem_SDL::updateScreen (this=0x95d3c0) at backends/sdl/graphics.cpp:522 #7 0x000000000040759f in OSystem_SDL::showMouse (this=0xab5a8140, visible=true) at backends/sdl/graphics.cpp:1244 #8 0x00000000005dcaa4 in GUI::NewGui::saveState (this=0x9b8d90) at gui/newgui.cpp:227 #9 0x00000000005dc720 in GUI::NewGui::runLoop (this=0x9b8d90) at gui/newgui.cpp:116 #10 0x00000000005d1e85 in GUI::Dialog::runModal (this=0x7ffffff60ff0) at gui/dialog.cpp:56 #11 0x000000000040f27b in launcherDialog (detector=@0x7ffffff61100, system=@0x95d3c0) at base/main.cpp:270 #12 0x000000000040f837 in main (argc=1, argv=0x7ffffff61268) at base/main.cpp:440

Ticket imported from: #1321004. Ticket imported from: bugs/2238.

Attachments (2)

backtrace-scummvm-0.7.1.gz (915 bytes ) - added by SF/cathectic 19 years ago.
0.7.1 Backtrace
backtrace-scummvm-20051007.gz (1009 bytes ) - added by SF/cathectic 19 years ago.
20051007 Backtrace

Download all attachments as: .zip

Change History (8)

comment:1 by SF/cathectic, 19 years ago

Summary: scummvm segmentation fault on startup (x86_64)GUI: scummvm segmentation fault on startup (x86_64)

by SF/cathectic, 19 years ago

Attachment: backtrace-scummvm-0.7.1.gz added

0.7.1 Backtrace

by SF/cathectic, 19 years ago

20051007 Backtrace

comment:2 by sev-, 19 years ago

Please, test this bug with latest daily build which you can find on bottom of our downloads page at http://www.scummvm.org/downloads.php.

comment:3 by SF/cathectic, 19 years ago

Still happens with latest snapshot (20051009).

Gives segmentation fault error, then closes. gdb output below:

GNU gdb 6.3 Copyright 2004 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 "x86_64-slackware-linux". (gdb) file scummvm Reading symbols from /home/<myuser>/src/SlackBuild/scummvm/scummvm/scummvm...done. Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) run Starting program: /home/<myuser>/src/SlackBuild/scummvm/scummvm/scummvm [Thread debugging using libthread_db enabled] [New Thread 46912520262720 (LWP 5993)] [New Thread 1082132832 (LWP 5996)]

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912520262720 (LWP 5993)] 0x00002aaaab46fa34 in SDL_CalculateBlitN () from /usr/lib64/libSDL-1.2.so.0 (gdb) bt #0 0x00002aaaab46fa34 in SDL_CalculateBlitN () from /usr/lib64/libSDL-1.2.so.0 #1 0x00002aaaab45f3c9 in SDL_CalculateBlit () from /usr/lib64/libSDL-1.2.so.0 #2 0x00002aaaab472cd2 in SDL_MapSurface () from /usr/lib64/libSDL-1.2.so.0 #3 0x00002aaaab473488 in SDL_LowerBlit () from /usr/lib64/libSDL-1.2.so.0 #4 0x00002aaaab474ef9 in SDL_UpdateRects () from /usr/lib64/libSDL-1.2.so.0 #5 0x00000000004064c9 in OSystem_SDL::internUpdateScreen (this=0x95d3c0) at backends/sdl/graphics.cpp:700 #6 0x0000000000405f46 in OSystem_SDL::updateScreen (this=0x95d3c0) at backends/sdl/graphics.cpp:522 #7 0x000000000040759f in OSystem_SDL::showMouse (this=0xab5a8140, visible=true) at backends/sdl/graphics.cpp:1244 #8 0x00000000005dcaa4 in GUI::NewGui::saveState (this=0x9b8d90) at gui/newgui.cpp:227 #9 0x00000000005dc720 in GUI::NewGui::runLoop (this=0x9b8d90) at gui/newgui.cpp:116 #10 0x00000000005d1e85 in GUI::Dialog::runModal (this=0x7fffff9de420) at gui/dialog.cpp:56 #11 0x000000000040f27b in launcherDialog (detector=@0x7fffff9de530, system=@0x95d3c0) at base/main.cpp:270 #12 0x000000000040f837 in main (argc=1, argv=0x7fffff9de698) at base/main.cpp:440 (gdb) quit The program is running. Exit anyway? (y or n)

comment:4 by sev-, 19 years ago

Well, as you may see in both backtraces problem goes down to SDL. And moreover it happens inside of SDL_UpdateRects(), so probably update to newer SDL would fix it. At least it is not our bug.

comment:5 by sev-, 19 years ago

Owner: set to sev-
Resolution: invalid
Status: newclosed

comment:6 by digitall, 6 years ago

Component: GUI
Note: See TracTickets for help on using tickets.