Opened 16 years ago

Closed 16 years ago

Last modified 6 years ago

#3987 closed defect (fixed)

ALL: Assertion on clicking "Theme" in Options

Reported by: raziel- Owned by: SF/tanoku
Priority: normal Component: GUI
Version: Keywords:
Cc: Game:

Description

ScummVM 0.13.0svn (Oct 2 2008 18:18:29) Features compiled in: Vorbis FLAC MP3 zLib MPEG2

When clicking on "Theme" in the Options i get (after a few warnings) an assertion, killing ScummVM

WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/themes/' already present! WARNING: SearchSet::add: archive 'Games:ScummVM/extras/' already present! assertion "p < _size" failed: file "common/str.cpp", line 346

Ticket imported from: #2142743. Ticket imported from: bugs/3987.

Attachments (1)

scummmodern.zip (140.9 KB ) - added by raziel- 16 years ago.
Corrupted theme scummmodern.zip

Download all attachments as: .zip

Change History (15)

comment:1 by eriktorbjorn, 16 years ago

Fingolfin fixed this while I was still trying to figure out what was wrong. :-)

comment:2 by eriktorbjorn, 16 years ago

Owner: set to fingolfin
Resolution: fixed
Status: newclosed

comment:3 by raziel-, 16 years ago

ScummVM 0.13.0svn (Oct 17 2008 19:51:10) Features compiled in: Vorbis FLAC MP3 zLib MPEG2

The meanie is back with the latest incarnation of ScummVM. Again it happens when one clicks on "Theme" while using the "Classic" Theme or immediately after startup when using the "Modern" Theme. Assertion this time is: assertion "_str && idx >= 0 && idx < (int)_size" failed: file "./common/str.h", line 183

AmigaOS4 gcc version 4.0.2 (AmigaOS build 20051012)

comment:4 by raziel-, 16 years ago

Status: closednew

comment:5 by raziel-, 16 years ago

Resolution: fixed

comment:6 by fingolfin, 16 years ago

I am not convinced that this is the same issue, actually. Anyway, maybe tanoku has time to look into it, I certainly don't have any :/.

comment:7 by fingolfin, 16 years ago

Owner: changed from fingolfin to SF/tanoku

comment:8 by SF/tanoku, 16 years ago

This is not the same issue. Can you open another ticket with a full backtrace? Thanks.

comment:9 by raziel-, 16 years ago

Resolution: fixed
Status: newclosed

comment:10 by raziel-, 16 years ago

Please accept my apologies, this behaviour was summoned by a corrupt scummmodern.zip archive (probably due to my build update it was copied and while that got corrupted)

Sorry for the hassle :-/

comment:11 by SF/tanoku, 16 years ago

Still, can you post your corrupted scummodern file? I'd rather have a helpful error message than a random assert on str.h.

:)

by raziel-, 16 years ago

Attachment: scummmodern.zip added

Corrupted theme scummmodern.zip

comment:12 by raziel-, 16 years ago

Of course, haven't thought about that, here you are and thanks for the help File Added: scummmodern.zip

comment:13 by SF/tanoku, 16 years ago

Fixed in commit 34825. Thanks for reporting!

comment:14 by digitall, 6 years ago

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