Opened 18 years ago

Closed 18 years ago

Last modified 6 years ago

#2914 closed defect (fixed)

SCUMM: Failed assertion in getBoxCoordinates()

Reported by: eriktorbjorn Owned by: fingolfin
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game:

Description

A couple of days ago, there was a very vague report on the #scummvm channel about a failed assertion in getBoxCoordinates():

[11:47] --> mEpHiSt0 joined #scummvm. [11:47] <mEpHiSt0> re all [11:49] <mEpHiSt0> Assertion failed: bp, file engines/scumm/boxes.cpp, line 568 [11:49] <mEpHiSt0> This application has requested the Runtime to terminate it in an unusual way. [11:49] <mEpHiSt0> Please contact the application's support team for more information. [11:49] <mEpHiSt0> wtf? [11:49] <mEpHiSt0> mi [11:49] <mEpHiSt0> xp [11:51] <mEpHiSt0> hello! [11:54] <Junior|> file a bug report [11:56] <mEpHiSt0> yay [11:56] <mEpHiSt0> 8-( [11:57] <mEpHiSt0> ok [11:57] <-- mEpHiSt0 left irc:

Possibly related to this, Kirben discovered that the Spy Fox 3 demo can be made to trigger the same assertion, simply by clicking on the satellite. (In fact, you can simply click on the moon, but that's also a kind of satellite, right? :-)

This happens when getBoxBaseAddr() returns NULL. In this case, it does so because getResourceAddress() returns NULL.

Ticket imported from: #1599113. Ticket imported from: bugs/2914.

Change History (4)

comment:1 by fingolfin, 18 years ago

So the only relevant piece of information here is that the problem occurs in Spy Fox 3 demo, I guess -- that IRC excerpt is useless, isn't it? It doesn't even say in which game the problem occurs. Or am I missing something subtle in this report?

comment:2 by eriktorbjorn, 18 years ago

Well, "mi" *could* mean one of the Monkey Island, but other than that the only test case I know of (so far) is the Spy Fox 3 demo.

comment:3 by fingolfin, 18 years ago

Resolution: fixed
Status: newclosed

comment:4 by digitall, 6 years ago

Component: Engine: SCUMM
Note: See TracTickets for help on using tickets.