Opened 5 years ago

Closed 16 months ago

#6594 closed defect (fixed)

WME: Bickadoodle - Assertion on climbing the mountain

Reported by: raziel- Owned by:
Priority: normal Component: Engine: Wintermute
Keywords: Cc:
Game: Wintermute


ScummVM 1.7.0git (May 30 2014 18:48:56)
Features compiled in: Vorbis FLAC MP3 RGB zLib MPEG2 Theora AAC FreeType2 JPEG PNG

When ascending the mountain i get an assertion on the scene switch:
assertion "_str && idx >= 0 && idx < (int)_size" failed: file "./common/str.h", line 187

I get a black screen when that assertion happens, the background music runs along
(from the savegame just move upwards)

Happens in both 1.0 and 1.1 versions of the game

Bickadoodle (unknown version) (Windows) --> version 1.1 (see )
Bickadoodle (Windows/English) --> version 1.0

AmigaOS4 - PPC - SDL - BE
gcc (GCC) 4.2.4 (adtools build 20090118)

Ticket imported from: bugs/6594.

Attachments (3)

wmeunk-Bickadoodle-win.004 (63.6 KB) - added by raziel- 5 years ago.
backtrace.txt (2.0 KB) - added by SF/windlepoons 3 years ago.
bickadoodle-win.000 (64.4 KB) - added by SF/windlepoons 3 years ago.

Download all attachments as: .zip

Change History (10)

Changed 5 years ago by raziel-

Attachment: wmeunk-Bickadoodle-win.004 added

comment:1 Changed 4 years ago by raziel-

This also happens in v1.2

comment:2 Changed 4 years ago by SF/windlepoons

Confirmed but crash with Bickadoodle (Version 1.2/Windows/English)
ScummVM 1.8.0git3028-gc787560 (May 15 2015 06:01:10)
OS: Linux Siduction amd64

Changed 3 years ago by SF/windlepoons

Attachment: bickadoodle-win.000 added

comment:3 Changed 3 years ago by SF/windlepoons

I testing again with crash when ascending the mountain.
Bickadoodle v1.2 from

ScummVM 1.9.0git1233-g024f79d (Mar 22 2016 04:50:20)
OS: Linux Debian/64bit

I attached current save game and backtrace from crash.

comment:4 Changed 3 years ago by SF/tobiatesan


Funnily, I can reproduce under Linux but not under Windows.

There is something wrong with path normalization, which makes this related to #7088 and #7068.

comment:5 Changed 3 years ago by SF/tobiatesan

OTOH this appears to be a game script bug: playMusic() is apparently called with filename ""

comment:6 Changed 3 years ago by SF/tobiatesan

comment:7 Changed 3 years ago by SF/windlepoons

Your committed for path_util.cpp works, no more crash.

comment:8 Changed 16 months ago by csnover

Resolution: fixed
Status: newclosed

According to the last comment, this bug was already fixed.

Note: See TracTickets for help on using tickets.