-
Notifications
You must be signed in to change notification settings - Fork 567
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
minecraft-launcher: segfault in versions later than 0.9.66 #4961
Comments
There are some GL-related error messages, and the backtrace also seems to be in a 3d-related library (while creating a window?). But maybe some related 3d-library is in a different path in Gentoo. |
You know what? This thing has 24 cores idling and I've been meaning to put git-bisect to use for some time now. [a few minutes later]
Guess I'll have a look at ea564eb, I'll let you know if I find out anything. |
Turns out, it's specifically that video group handling. Only now did I notice the I'm not too familiar with the internals, so maybe you can shed some light on the purpose of novideo.? |
video devices mean webcam (
Unless minecraft(-launcher) has a webcam feature (e.g. for streaming) it is right there.
Related discussion: #4632 (comment) |
What fixes it for me is this:
It seems |
@benaryorg commented on Feb 25:
Thanks for debugging and for specifying that the problem happens on nvidia. The aforementioned bisected commit from #4632 would be my first guess as well. So as I suspected in #4632, it seems that the proprietary nvidia driver indeed I think I'll change the checks to keep the video group to also consider the To clarify the environment: Are you using openrc and the proprietary nvidia driver? Are you using udev/eudev? Which seat manager are you using if any? Examples: logind, elogind, seatd |
Correct. rc_controller_cgroups="YES"
rc_cgroup_mode="unified"
rc_cgroup_controllers="cpuset cpu io memory hugetlb pids systemd"
rc_cgroup_cleanup="YES"
rc_crashed_start=YES
rc_depend_strict="YES"
rc_parallel="NO"
rc_shell=/sbin/sulogin
rc_sys=""
rc_tty_number=12
unicode="YES"
udev, yes.
None, plain old startx on tty2 (at which point agetty chowns the tty device to my user for the duration of my session AFAIK). |
Description
Hard SIGSEGV when running minecraft-launcher in corresponding profile.
Steps to Reproduce
firejail "--private=${custom_path?}" minecraft-launcher
(LC_ALL=C.utf8 is my default)Click to expand
Seems to be a solid NULL-deref.
Expected behavior
It's supposed to launch the game as usual.
Actual behavior
The above error is thrown and no game ever appears.
Behavior without a profile
Doesn't start at all
Additional context
The problem was introduced after firejail-0.9.66.
That version works as expected, while the update to 0.9.68 introduces the error.
firejail version 0.9.66 (working)
firejail version 0.9.68 (broken)
Environment
Checklist
browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers: shouldn't be relevant--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/program
The above output is pretty much the same with the older version too, only after that output the start button is triggered at which point the segfault occurs, but there is no more output from that point onwards.
Output of
LC_ALL=C firejail --debug /path/to/program
Same as without the
--debug
, but with this prepended:See attached file: log.txt
The text was updated successfully, but these errors were encountered: