FS#55999 - [hedgewars] update of physfs to 3.0.0 breaks hedgewars
Attached to Project:
Community Packages
Opened by Stefan Biereigel (thasti) - Sunday, 15 October 2017, 14:50 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 15 December 2017, 15:16 GMT
Opened by Stefan Biereigel (thasti) - Sunday, 15 October 2017, 14:50 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 15 December 2017, 15:16 GMT
|
Details
Description:
After system upgrade, which updated physfs-2.0.3-3 to physfs-3.0.0-2 entering games is no longer possible. When trying to play a game, the game engine fails to startup, an error message is displayed and the user is returned to the previous screen. Additional info: Downgrading physfs to 2.0.3-3 solved the problem, games can be entered again. Steps to reproduce: * Launch hedgewars * Press left menu button (single player mode) * Press upper left menu button (quick match) * See error message |
This task depends upon
Closed by Sergej Pupykin (sergej)
Friday, 15 December 2017, 15:16 GMT
Reason for closing: Fixed
Additional comments about closing: package updated
Friday, 15 December 2017, 15:16 GMT
Reason for closing: Fixed
Additional comments about closing: package updated
And you didn't think it was important enough to include?
"The game engine could not be started
Path: /usr/bin/hwengine
Error code: 1"
1. As already said, the bug first appeared after upgrading physfs some days ago. If you downgrade physfs, it starts working normally.
2. If you re-compile the dependant package (hedgewars), the bug is no longer present.
For me, this feels like an ABI breakage from physfs. I don't know whether other packages dependent on physfs might need re-compiling or not.
[1] https://icculus.org/pipermail/physfs/2017-September/001247.html
In any case, hedgewars needs rebuilding, that's for sure. The thing in question is whether other dependant packages should be re-compiled, if I get things correctly.
Attempting to play demo file "test.hwd"
Hedgewars engine 0.9.22-r11265 (4c4f22cc3fa4) with protocol #51
Init SDL... ok
Init SDL_ttf... ok
Init SDL_image... ok
Loading /Graphics/hwengine.png [flags: 8]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6c96f99 in PHYSFS_read () from /usr/bin/../lib/libphysfs.so.1
The engine is actually crashing with a segmentation fault, it's not a version check.