stardot / b-em

An opensource BBC Micro emulator for Win32 and Linux
http://stardot.org.uk/forums/viewtopic.php?f=4&t=10823
GNU General Public License v2.0
112 stars 56 forks source link

Core dump on startup with e624e51 #217

Closed hoglet67 closed 6 months ago

hoglet67 commented 6 months ago

Happy New Year Steve!

I'm running on an oldish Ubuntu 18.04 installation.

With e624e51 I get:

b-em: /build/allegro5-cSE4AD/allegro5-5.2.3.0/src/bitmap_draw.c:34: _bitmap_drawer: Assertion `bitmap != dest && bitmap != dest->parent' failed.
Aborted (core dumped)

With ff93fb0 (the previous master) it works fine.

It looks like this comes from the merge of sf/issue214.

Dave

SteveFosdick commented 6 months ago

Try this branch: https://github.com/stardot/b-em/tree/sf/issue217

Interestingly, it looks like it is not that the version of Allegro you have is old but that it was built with assertions compiled in. That assertion is still there in source of the current version.

hoglet67 commented 6 months ago

That's fixed it, thanks Steve.

SteveFosdick commented 6 months ago

Thanks, Dave, now merged to master.