SCUMM: Failed assertion in getBoxCoordinates()
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
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.