-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fails to build on OpenBSD with qt 5.15 #119
Comments
Is this the current master? I remember I have already fixed a similar issue by adding |
that was with 2.1.0, not master. I see |
Yes please do as that fix was not included in 2.1.0 :) |
2.1.1 builds fine on OpenBSD (and yes we build with
|
Seems to crash when destroying and removing a game object (I suspect it's the area wall). What do you do when it crashes? You just start the game, select a track and it crashes? |
yes, it crashes just after selecting a track |
Could you run Should look like this: ` 100% tests passed, 0 tests failed out of 5 Total Test time (real) = 0.19 sec |
looks.. pretty bad here:
|
Try |
only the failing ones:
and within gdb:
note that OpenBSD has a somewhat aggressive memory management, so if you reuse some freed memory you fail hard/etc.. |
For some reason the destruction sequence of |
I tried to run the tests under
|
Fwiw here's the build options we're using: https://github.com/openbsd/ports/blob/master/games/dustrac/Makefile#L31 |
Could you try the current |
looks definitely helpful, with that commit backported on top of 2.1.1, the test succeeds:
i can start a game, the map & cars are displayed, there's the countdown, but when the countdown reaches zero there's another (different) segfault - i think that matches the failure i was seeing with 2.0.3:
|
Cool! :) That another problem seems to be even trickier as there's no deletion involved, but still some a corrupted object, I guess. Would be useful to add some debug prints to |
sure, can try that if you tell me what to add where :) i have zero knowledge in dustrac code / classes :) |
I added some debug prints to |
it integrated ... many things, before blowing (19Mb log) |
But it eventually crashed? Hmm...I thought that it would crash immediately...damn... |
Would it be possible for you to |
that will be .. painful to say the least. Is it supposed to loop so many times on this method ? i saw 'start integration' 270 times in the log before the crash. i thought it was related to the end of the countdown as soon as vehicles start moving... |
What I meant was to just use |
Btw, is it possible to run OpenBSD in VirtualBox on Ubuntu so that I could test this? |
i know and yeah, ofc you can run OpenBSD in Virtualbox (or KVM) with X, you'll probably just need to install cmake/openal via the packages. then,
|
i guess since f7edcad the build fails on openbsd, just tried 2.1.0 (2.0.3 was failing at runtime after 5s it was crashing), build fails on all the calls to
bindValue
:The text was updated successfully, but these errors were encountered: