Comments (4)
Instead of the above segfault, some test runs lead to the game being killed with the following on the console. This also happens on level change/load:
fishtank$ openjazz
pthread_mutex_destroy on mutex with waiters!
X Error of failed request: BadShmSeg (invalid shared segment parameter)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Segment id in failed request: 0x2c0000f
Serial number of failed request: 7133
Current serial number in output stream: 7136
from openjazz.
Yesterday I tested the following:
- Changing the screen into a global to rule out the variable going out of scope - still crashing
- Avoided calling SDL_Flip if either canvas or screen
->refcount
dropped to 0 - still crashing - Avoided calling SDL_Flip if either canvas or screen
->pixels
was null (0x0
) - still crashing
I'm stuck and will need some pointers in further diagnosing this crash.
from openjazz.
I reached out to Ryan C. Gordon on twitter while initially hitting my head against this crash. His reply (note he only saw the backtrace by then, I only just linked him this ticket).
I'm not sure; does this only fail on OpenBSD? Likely either a wrong surface size or a bogus palette, it's dying in the loop where it converts from paletted values to RGBA.
from openjazz.
Since OJ is now ported to SDL2 and it only happened on OpenBSD so far, I am closing this without solution.
from openjazz.
Related Issues (20)
- music stutters during "planet" animation HOT 4
- Can we have alternate character skins for Jazz and Spaz from JJ2 in multiplayer? HOT 2
- Latest windows version detected as malware HOT 2
- Windows 11 says OpenJazz.exe is a virus HOT 1
- Unable to start OpenJazz Continuous build HOT 2
- Wii build instructions - need help HOT 2
- 240p non-interlaced mode - need help
- No sound in latest version HOT 3
- Web port
- Can't save or load games. JJ cheats not working either. HOT 1
- Add-on Support: [EASY :)]] HOT 1
- Impossible to map joystick HOT 5
- Add Flatpak package to Flathub HOT 1
- Jazz disappears when moving HOT 10
- How to use "other options"? HOT 5
- How to implement saving HOT 2
- Names of episodes are not alligned properly on X axis with original 320px wide resolution.
- PSP build failure, apparantly compiler lacks zstd LTO compression? HOT 10
- Cherry-pick upstream modplug changes
- Version 20231028 Issues HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openjazz.