obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
60.19k stars 7.97k forks source link

[BUG] Crash on startup `iris_dri.so + 0xb6f190` #2655

Closed txomon closed 4 years ago

txomon commented 4 years ago

Platform

Operating system and version: Arch linux community & master compiled manually OBS Studio version: 25.0.3-1 and master

Expected Behavior

It should not crash

Current Behavior

It crashes

Steps to Reproduce

  1. Open the app

Additional information

Stack trace of thread 34468:
#0  0x00007f10e6456190 n/a (iris_dri.so + 0xb6f190)
#1  0x00007f10e6456d17 n/a (iris_dri.so + 0xb6fd17)
#2  0x00007f10e647dd25 n/a (iris_dri.so + 0xb96d25)
#3  0x00007f10e64806cc n/a (iris_dri.so + 0xb996cc)
#4  0x00007f10e664656e n/a (iris_dri.so + 0xd5f56e)
#5  0x00007f10e645c20d n/a (iris_dri.so + 0xb7520d)
#6  0x00007f10e6457970 n/a (iris_dri.so + 0xb70970)
#7  0x00007f10e5a2c5ba n/a (iris_dri.so + 0x1455ba)
#8  0x00007f10e5a2cadb n/a (iris_dri.so + 0x145adb)
#9  0x00007f10e5a2d433 n/a (iris_dri.so + 0x146433)
#10 0x00007f10e5c56922 n/a (iris_dri.so + 0x36f922)
#11 0x00007f10f40650c1 gl_copy_texture (libobs-opengl.so.0 + 0x80c1)
#12 0x00007f10f406f5ef device_copy_texture_region (libobs-opengl.so.0 + 0x125ef)
#13 0x00007f1105859dd8 gs_copy_texture_region (libobs.so.0 + 0x39dd8)
#14 0x00007f10e403a0d8 _ZN12XCompcapMain4tickEf (linux-capture.so + 0xa0d8)
#15 0x00007f110588b562 obs_source_video_tick (libobs.so.0 + 0x6b562)
#16 0x00007f11058c6cb8 obs_graphics_thread (libobs.so.0 + 0xa6cb8)
#17 0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#18 0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34454:
#0  0x00007f11047fcabf __poll (libc.so.6 + 0xf4abf)
#1  0x00007f10ffff97a0 n/a (libglib-2.0.so.0 + 0x6d7a0)
#2  0x00007f10ffffa843 g_main_loop_run (libglib-2.0.so.0 + 0x6e843)
#3  0x00007f10f7582df8 n/a (libgio-2.0.so.0 + 0x59df8)
#4  0x00007f10fffd0e71 n/a (libglib-2.0.so.0 + 0x44e71)
#5  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#6  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34466:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34450:
#0  0x00007f11055ae9f7 _ZN7QRegionC1Ev (libQt5Gui.so.5 + 0x43a9f7)
#1  0x00007f1105a7b502 _ZN14QWidgetPrivateC1Ei (libQt5Widgets.so.5 + 0x184502)
#2  0x00007f1105a97e6f _ZN7QWidgetC1EPS_6QFlagsIN2Qt10WindowTypeEE (libQt5Widgets.so.5 + 0x1a0e6f)
#3  0x0000557e0dae0f0d n/a (obs + 0x19ff0d)
#4  0x0000557e0dae3494 n/a (obs + 0x1a2494)
#5  0x0000557e0dae3601 n/a (obs + 0x1a2601)
#6  0x0000557e0d9cf3eb n/a (obs + 0x8e3eb)
#7  0x0000557e0d9ee82b n/a (obs + 0xad82b)
#8  0x0000557e0d9f8d86 n/a (obs + 0xb7d86)
#9  0x0000557e0d9c8d7c n/a (obs + 0x87d7c)
#10 0x0000557e0d9ac618 main (obs + 0x6b618)
#11 0x00007f110472f023 __libc_start_main (libc.so.6 + 0x27023)
#12 0x0000557e0d9ad85e n/a (obs + 0x6c85e)

Stack trace of thread 34451:
#0  0x00007f11047fcabf __poll (libc.so.6 + 0xf4abf)
#1  0x00007f10ffca363b n/a (libxcb.so.1 + 0xc63b)
#2  0x00007f10ffca537b xcb_wait_for_event (libxcb.so.1 + 0xe37b)
#3  0x00007f10fd47ae01 n/a (libQt5XcbQpa.so.5 + 0x65e01)
#4  0x00007f1104d04dd6 n/a (libQt5Core.so.5 + 0xc9dd6)
#5  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#6  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34452:
#0  0x00007f11047fcabf __poll (libc.so.6 + 0xf4abf)
#1  0x00007f10ffff97a0 n/a (libglib-2.0.so.0 + 0x6d7a0)
#2  0x00007f10ffff9871 g_main_context_iteration (libglib-2.0.so.0 + 0x6d871)
#3  0x00007f10ffff98c2 n/a (libglib-2.0.so.0 + 0x6d8c2)
#4  0x00007f10fffd0e71 n/a (libglib-2.0.so.0 + 0x44e71)
#5  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#6  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34456:
#0  0x00007f11048de01a pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0x1001a)
#1  0x00007f110587b30c os_event_timedwait (libobs.so.0 + 0x5b30c)
#2  0x00007f11058af7e6 obs_hotkey_thread (libobs.so.0 + 0x8f7e6)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34464:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34459:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34461:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34455:
#0  0x00007f11047fcabf __poll (libc.so.6 + 0xf4abf)
#1  0x00007f10ffff97a0 n/a (libglib-2.0.so.0 + 0x6d7a0)
#2  0x00007f10ffff9871 g_main_context_iteration (libglib-2.0.so.0 + 0x6d871)
#3  0x00007f10fd584e5e n/a (libdconfsettings.so + 0x4e5e)
#4  0x00007f10fffd0e71 n/a (libglib-2.0.so.0 + 0x44e71)
#5  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#6  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34475:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34467:
#0  0x00007f11048e07b4 do_futex_wait.constprop.0 (libpthread.so.0 + 0x127b4)
#1  0x00007f11048e08a8 __new_sem_wait_slow.constprop.0 (libpthread.so.0 + 0x128a8)
#2  0x00007f110586761d n/a (libobs.so.0 + 0x4761d)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34457:
#0  0x00007f11047fcabf __poll (libc.so.6 + 0xf4abf)
#1  0x00007f10ffff97a0 n/a (libglib-2.0.so.0 + 0x6d7a0)
#2  0x00007f10ffff9871 g_main_context_iteration (libglib-2.0.so.0 + 0x6d871)
#3  0x00007f1104f38890 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2fd890)
#4  0x00007f1104edf05c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a405c)
#5  0x00007f1104d03c62 _ZN7QThread4execEv (libQt5Core.so.5 + 0xc8c62)
#6  0x00007f10fd38fb28 n/a (libQt5DBus.so.5 + 0x15b28)
#7  0x00007f1104d04dd6 n/a (libQt5Core.so.5 + 0xc9dd6)
#8  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#9  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34473:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34463:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34458:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34460:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34465:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34472:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34469:
#0  0x00007f11047fcabf __poll (libc.so.6 + 0xf4abf)
#1  0x00007f1105fd81b3 n/a (libcurl.so.4 + 0x3a1b3)
#2  0x00007f1105fd2123 n/a (libcurl.so.4 + 0x34123)
#3  0x00007f1105fd22a6 curl_multi_poll (libcurl.so.4 + 0x342a6)
#4  0x00007f1105fcaaac curl_easy_perform (libcurl.so.4 + 0x2caac)
#5  0x00007f10cc051e90 n/a (rtmp-services.so + 0x5e90)
#6  0x00007f10cc05256b n/a (rtmp-services.so + 0x656b)
#7  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#8  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34462:
#0  0x00007f11047cf2d1 clock_nanosleep@@GLIBC_2.17 (libc.so.6 + 0xc72d1)
#1  0x00007f11047d4bf7 __nanosleep (libc.so.6 + 0xccbf7)
#2  0x00007f11047ff799 usleep (libc.so.6 + 0xf7799)
#3  0x00007f1105868c95 n/a (libobs.so.0 + 0x48c95)
#4  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#5  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34471:
#0  0x00007f11047fcabf __poll (libc.so.6 + 0xf4abf)
#1  0x00007f1100a01c14 n/a (libpulse.so.0 + 0xdc14)
#2  0x00007f1100a0f059 pa_mainloop_poll (libpulse.so.0 + 0x1b059)
#3  0x00007f1100a19301 pa_mainloop_iterate (libpulse.so.0 + 0x25301)
#4  0x00007f1100a193b1 pa_mainloop_run (libpulse.so.0 + 0x253b1)
#5  0x00007f1100a0961e n/a (libpulse.so.0 + 0x1561e)
#6  0x00007f10ff7a4d1c n/a (libpulsecommon-13.0.so + 0x1dd1c)
#7  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#8  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34474:
#0  0x00007f11048ddcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1  0x00007f10e5d6bbfc n/a (iris_dri.so + 0x484bfc)
#2  0x00007f10e5d6b7f8 n/a (iris_dri.so + 0x4847f8)
#3  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#4  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

Stack trace of thread 34453:
#0  0x00007f1104801f8d syscall (libc.so.6 + 0xf9f8d)
#1  0x00007f10fffa913b g_cond_wait_until (libglib-2.0.so.0 + 0x1d13b)
#2  0x00007f11000287e3 n/a (libglib-2.0.so.0 + 0x9c7e3)
#3  0x00007f10fffce63b n/a (libglib-2.0.so.0 + 0x4263b)
#4  0x00007f10fffd0e71 n/a (libglib-2.0.so.0 + 0x44e71)
#5  0x00007f11048d746f start_thread (libpthread.so.0 + 0x946f)
#6  0x00007f11048073d3 __clone (libc.so.6 + 0xff3d3)

I have the dump files locally, but github won't let me upload them, tell me if there is something I can help with.

kkartaltepe commented 4 years ago

Upload the OBS log as well.

txomon commented 4 years ago

This is the file for the run in ~/.config/obs-studio/logs, obs.log and this is the output in the terminal obs-terminal.log

kkartaltepe commented 4 years ago

Considering how deep it is within your graphics drivers and that the logs show no glx/x11 issues during the process. Im inclined to say its probably a driver bug.

txomon commented 4 years ago

@kkartaltepe you are right, someone already spotted it, thanks!

https://gitlab.freedesktop.org/mesa/mesa/-/issues/2725