anholt / libepoxy

Epoxy is a library for handling OpenGL function pointer management for you
Other
675 stars 161 forks source link

1.5.2 crashing on macOS. #180

Closed Lord-Kamina closed 6 years ago

Lord-Kamina commented 6 years ago

Hey there, I'm one of the developers of performous and I just noticed that 1.5.2 is causing Performous to crash.

I haven't yet been able to determine the cause, but it worked perfectly up to 1.5.1.

Relevant log:

Process:               performous [53146]
Path:                  /Users/USER/*/Performous.app/Contents/MacOS/performous
Identifier:            org.performous.Performous
Version:               1.1 (1.1.0)
Code Type:             X86-64 (Native)
Parent Process:        ??? [53139]
Responsible:           performous [53146]
User ID:               501

Date/Time:             2018-06-13 19:13:45.207 -0400
OS Version:            Mac OS X 10.13.5 (17F77)
Report Version:        12
Bridge OS Version:     3.0 (14Y664)
Anonymous UUID:        EA9784FA-1965-044C-73CA-79464B4271C5

Sleep/Wake UUID:       10B80FEA-F74C-4510-B15E-D54C6F4AF8FC

Time Awake Since Boot: 310000 seconds
Time Since Wake:       18000 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff6e015b6e __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fff6e1e0080 pthread_kill + 333
2   libsystem_c.dylib               0x00007fff6df711ae abort + 127
3   libepoxy.0.dylib                0x000000010caf5df2 get_dlopen_handle + 258
4   libepoxy.0.dylib                0x000000010caf623c epoxy_load_gl + 60
5   libepoxy.0.dylib                0x000000010caf61e1 epoxy_gl_dlsym + 17
6   libepoxy.0.dylib                0x000000010caf6558 epoxy_get_bootstrap_proc_address + 72
7   libepoxy.0.dylib                0x000000010cb430bd gl_provider_resolver + 28445
8   libepoxy.0.dylib                0x000000010cb3c193 gl_single_resolver + 67
9   libepoxy.0.dylib                0x000000010cb4e9f3 epoxy_glGetString_resolver + 19
10  libepoxy.0.dylib                0x000000010cb0f5a4 epoxy_glGetString_global_rewrite_ptr + 36
11  performous                      0x000000010a40038d Window::Window() + 3405 (video_driver.cc:82)
12  performous                      0x000000010a4034a5 Window::Window() + 21 (video_driver.cc:131)
13  performous                      0x000000010a1075ba mainLoop(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 266 (main.cc:134)
14  performous                      0x000000010a11157b main + 7659 (main.cc:388)
15  libdyld.dylib                   0x00007fff6dec5015 start + 1
nwnk commented 6 years ago

Can you try with git master? In particular I think 8c3d3711 would affect this.

Lord-Kamina commented 6 years ago

I was currently playing around with reverting selected commits between 1.5.1 and 1.5.2 to try and determine what caused the issue but sure.

Also, apparently somebody on Arch Linux ran into the same issue but I'm not entirely clear because for them (going by dates of posted issue and commments) maybe 1.5.1 broke it and 1.5.2 fixed it?

Lord-Kamina commented 6 years ago

Ok yes, it works with current master.

ebassi commented 6 years ago

@Lord-Kamina Thanks for testing with master; I'll try and spin a 1.5.3 release soon-ish.

Lord-Kamina commented 6 years ago

@ebassi Just wondering when we might get 1.5.3?

ebassi commented 6 years ago

@Lord-Kamina As soon as #193 gets merged, I'm going to spin a new release. Thanks for your patience!

ebassi commented 6 years ago

1.5.3 is out, thanks again for the reminder.

Lord-Kamina commented 6 years ago

Thank you very much!