Skip to content
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

zsh: segmentation fault (core dumped) ./blender #960

Closed
ethicalfive opened this issue Dec 8, 2018 · 4 comments
Closed

zsh: segmentation fault (core dumped) ./blender #960

ethicalfive opened this issue Dec 8, 2018 · 4 comments
Labels

Comments

@ethicalfive
Copy link

ethicalfive commented Dec 8, 2018

Reporting for a friend. He has not been able to get upbge to run.

GPU, OS - Original Titan (libGLX_nvidia.so.415.22) Arch Linux
Output of the bug: https://pastebin.com/0sJLYxbg -- Original error + cat /tmp/blender.crash.txt
Output of valgrind: https://pastebin.com/HvVKYZed

Detail of the UPBGE used: compiled current master (as of this report) without compile errors. Vanilla 2.79 runs, 2.8 also segfaults. Also segfaults with the latest stable linux64 binary download.

@youle31 youle31 added the bug label Dec 9, 2018
@youle31
Copy link
Collaborator

youle31 commented Dec 9, 2018

Notes:

  • This is a crash at Blender opening then there are chances that the bug is related to BF code

  • lordloki suggested to try to compile without open color io (OCIO) as we had some issues with the commit 0.2.4 is based on.

  • Last 2.79 build from buildbot seems to not crash

  • I think waiting for the next merge (and if this still doesn't work compiling without OCIO), maybe the better would be to continue to use 0.2.3 until we do the next merge with BF sources.

@ethicalfive
Copy link
Author

So he tried recompiling without opencolorio, which didn't change anything, so he disabled everything and narrowed it down to ffmpeg. Although while the blender binary runs, the blenderplayer binary still segfaults.

He also says that valgrind is complaining about audio even if he runs with "-g noaudio" but he's not sure if the segfault has anything to do with that particular problem. this is his valgrind output https://pastebin.com/z24T7hWb

@lordloki
Copy link
Member

Maybe it is related to this commit 6e8870b

And this crash https://blender.stackexchange.com/questions/77857/error-al-lib-updatedeviceparams-failed-to-set-44100hz-got-48000hz-instead-wh
But with 48000 instead of 44100.

Could you revert the commit (pass 48000 to 44100 in source/gameengine/GamePlayer/GPG_ghost.cpp) and compile again?. If blenderplayer works this way i will add a new -g audio_rate option available.

To solve the blender binary follow the solution exposed in the link above.

@lordloki
Copy link
Member

Closing the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants