Bug 101512

Summary: Crash on Enlightenment with forked child
Product: Mesa Reporter: Apostolos B. <barz621>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTABUG QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: 17.1   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Apostolos B. 2017-06-20 07:07:31 UTC
#0  0x00007fd3538834ce in pthread_join () at /usr/lib/libpthread.so.0
#1  0x00007fd3388630e0 in  () at /usr/lib/xorg/modules/dri/r600_dri.so
#2  0x00007fd338863148 in  () at /usr/lib/xorg/modules/dri/r600_dri.so
#3  0x00007fd352fec298 in __run_exit_handlers () at /usr/lib/libc.so.6
#4  0x00007fd352fec2ea in  () at /usr/lib/libc.so.6
#5  0x0000000000448c76 in  ()
#6  0x00007fd3329d7b13 in  () at /usr/lib/enlightenment/modules/lokker/linux-gnu-x86_64-ver-0.21/module.so
#7  0x00007fd3329d7ea5 in  () at /usr/lib/enlightenment/modules/lokker/linux-gnu-x86_64-ver-0.21/module.so
#8  0x00007fd353d2d8e1 in  () at /usr/lib/libecore.so.1
#9  0x00007fd353d35170 in  () at /usr/lib/libecore.so.1
#10 0x00007fd353d355d7 in ecore_main_loop_begin () at /usr/lib/libecore.so.1
#11 0x000000000043e2fb in  ()
#12 0x00007fd352fd643a in __libc_start_main () at /usr/lib/libc.so.6
#13 0x000000000043f1da in _start ()

This crash happens when trying to unlock enlightenment. According to the E devs its a forked child that doesn't exec.

Arch linux, latest everything from the repos.
Comment 1 Christian König 2017-06-20 08:26:06 UTC
Using OpenGL from a forked child is illegal in the first place.

It used to work on some drivers by coincident, but the last time we discussed this we came to the conclusion that we won't fix any related bugs because the spec forbids it.
Comment 2 Apostolos B. 2017-06-20 08:36:19 UTC
According to the E devs.

"it's not calling any gl from the forked child. it's your own atexit() handlers doing gl stuff in the forked child just when it calls exit. the app does not expect or try to make gl work at all"

they say is something in your code.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.