Menu

#4544 drascula: scumm crashes crashing cementary window

Drascula
closed-works-for-me
None
5
2009-08-18
2009-08-18
No

In Drascula:
When I try to use pike on window, scummvm crashes.

Language: English

How to reproduce:
Use the attached savegame and then use "Pike" on "Window" (there are 3 "windows")
If the savegame is not possible, just do:
-- talk to bartender, go to room, go outside, go to suburbs, go to cementary, get pike, go to church.

Platform: Linux Ubuntu 8.04 x86_64, g++ (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

(gdb) r
Starting program: /tmp/D/scummvm-0.13.1/scummvm
[Thread debugging using libthread_db enabled]
[New Thread 0x7fa251a68750 (LWP 20396)]
[New Thread 0x426f0950 (LWP 20399)]
[New Thread 0x42ef1950 (LWP 20400)]
WARNING: Could not find theme 'scummmodern' falling back to builtin!
User picked target 'drascula' (gameid 'drascula')...
Looking for a plugin supporting this gameid... Drascula Engine
Starting 'Drascula: The Vampire Strikes Back'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fa251a68750 (LWP 20396)]
0x000000000060dd81 in Drascula::DrasculaEngine::copyRect (this=0x12f83f0, xorg=7174510, yorg=170, xdes=226, ydes=88,
width=23, height=25, src=0x29515de <Address 0x29515de out of bounds>,
dest=0x2205f62 "\005\021\v\v\021-77;77;GIf(\022\022\022", '\t' <repeats 20 times>, "\003\005\005\003\005\t\002\t\t\003\t\003\003\003\003\004\003\003\003\002\v", '\003' <repeats 17 times>, "\002\003\003\026\006\002\003\003\002\002\002\003\003\003\002\002\003\026\032#\026\026\026\006\0263#.(##!\004\003\003\003\004\t\t\025&!!!(^kkkkkkkqsR\003\n\006\001\v,*\"\t\t\t\004\004\003\003\004\t\022\022\v\023\001") at engines/drascula/graphics.cpp:190
190 if (src[x + y * 320] != 255)
(gdb) p x
$1 = 0
(gdb) p y
$2 = 0
(gdb) p src
$3 = (byte *) 0x29515de <Address 0x29515de out of bounds>

Discussion

  • Krzysztof Leszczynski

    Saved game

     
  • Filippos Karapetis

    This bug has already been fixed in the latest unstable version and in branch 1.0.0, please use one of these two versions. Closing

     
  • Filippos Karapetis

    • assigned_to: nobody --> thebluegr
    • status: open --> closed-works-for-me