After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794283 - Application crashed when window with glarea is minimized
Application crashed when window with glarea is minimized
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkGLArea
3.22.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2018-03-13 11:43 UTC by Martin
Modified: 2018-05-02 19:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Source code of testing program. (10.93 KB, text/plain)
2018-03-13 11:43 UTC, Martin
Details
gdb output (14.99 KB, text/plain)
2018-03-13 12:41 UTC, Martin
Details
Gdb output with gtk debug dlls. (17.93 KB, text/plain)
2018-03-15 07:45 UTC, Martin
Details
Opengl calls gets from apitrace program. (138.92 KB, text/plain)
2018-04-05 07:14 UTC, Martin
Details

Description Martin 2018-03-13 11:43:50 UTC
Created attachment 369609 [details]
Source code of testing program.

Hello

I am using windows 10 (64-bit) with libgdk-3-0.dll, libgtk-3.0.dll, libepoxy-0.dll (32-bit). I compiled source code (in attachment). It works fine but if I click to minimize window it crashed in intel graphics driver (segmentation fault, accessing to NULL pointer). Callstack looks like:
Address  To       From     Size     Comment             Party 
0060F0F4 5E3CE707 5E3C80F0 6C       ig75icd32.5E3C80F0  System
0060F160 5E286730 5E3CE707 3C       ig75icd32.5E3CE707  System
0060F19C 710D1648 5E286730 FF9F0E68 ig75icd32.5E286730  User
00000004 00000000 710D1648          libgdk-3-0.710D1648 User

Libgdk is calling epoxy_glBlitFramebufferEXT.
Comment 1 Daniel Boles 2018-03-13 11:53:50 UTC
I doubt you're using GTK+ 3.0.x! What is the real minor and point release? And are the DLLs you're using provided by MSYS2, self-compiled, or something else?

Are you able to get an informative backtrace with symbols/files/lines/etc. included?
Comment 2 Martin 2018-03-13 12:41:47 UTC
Created attachment 369612 [details]
gdb output
Comment 3 Martin 2018-03-13 12:42:57 UTC
Sorry, you have the right, it is not 3.0 but 3.22. Dlls are obtained from MSYS2 using "pacman -S mingw-w64-i686-gtk3".
Comment 4 Martin 2018-03-13 12:45:17 UTC
(In reply to Martin from comment #3)
> Sorry, you have the right, it is not 3.0 but 3.22. Dlls are obtained from
> MSYS2 using "pacman -S mingw-w64-i686-gtk3".

version is 3.22.21
Comment 5 Daniel Boles 2018-03-14 15:44:36 UTC
I have Intel HD Graphics 4000. This does not crash for me on 3.22.28 from MSYS2 (64-bit), but it does spam me with warnings when I minimise or close the window:


(a.exe:7484): Gtk-WARNING **: fb setup not supported

(a.exe:7484): Gdk-WARNING **: Compile failure in fragment shader:
ERROR: 0:10: 'texture2D' : no matching overloaded function found (using implicit conversion)
ERROR: 0:10: 'assign' :  cannot convert from 'const float' to 'FragUserData 4-component vector of float'


Do you get nothing in the console, just the crash?
Comment 6 Daniel Boles 2018-03-14 15:46:40 UTC
For "fb setup not supported", see Bug 792174
Comment 7 Martin 2018-03-15 07:41:53 UTC
I didn't get any console output, it only crashed.
Comment 8 Martin 2018-03-15 07:45:01 UTC
Created attachment 369710 [details]
Gdb output with gtk debug dlls.

I have found these dlls on the internet. The gtk version of dlls is 3.22.0.
Comment 9 Martin 2018-04-05 07:14:37 UTC
Created attachment 370547 [details]
Opengl calls gets from apitrace program.
Comment 10 GNOME Infrastructure Team 2018-05-02 19:55:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/1040.