Bug 97279 - crash (SIGSEGV) in mesa on exit of totem
Summary: crash (SIGSEGV) in mesa on exit of totem
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 11.2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
Depends on:
Reported: 2016-08-10 13:54 UTC by Paul Wise
Modified: 2016-11-04 22:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

gdb backtrace of the crash (22.51 KB, text/plain)
2016-08-10 13:55 UTC, Paul Wise

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Wise 2016-08-10 13:54:56 UTC
Forwarding https://bugs.debian.org/833867

Package: libgl1-mesa-dri
Version: 11.2.2-1
Severity: normal

I got a crash (SIGSEGV) in mesa when totem (GNOME video player) was
exiting. The Debian GNOME team advised me to file this against mesa.
The Debian X Strike Force advised me to forward this bug upstream.
Full backtrace attached and further information in the downstream bug.
If the backtrace below isn't useful, please close this bug.

#0  0x00007fd93badba20 in unsafe_free (info=0x55d85338ad50) at ../../../src/util/ralloc.c:247
#1  0x00007fd93badbcb1 in ralloc_free (ptr=<optimized out>) at ../../../src/util/ralloc.c:218
#2  0x00007fd93ba9dc1c in _mesa_glsl_release_builtin_functions() (this=0x7fd93c070cc0 <builtins>, this=0x7fd93c070cc0 <builtins>) at ../../../src/compiler/glsl/builtin_functions.cpp:899
#3  0x00007fd93ba9dc1c in _mesa_glsl_release_builtin_functions() () at ../../../src/compiler/glsl/builtin_functions.cpp:5444
#4  0x00007fd93bac9759 in _mesa_destroy_shader_compiler() () at ../../../src/compiler/glsl/glsl_parser_extras.cpp:1957
#5  0x00007fd93bac9759 in _mesa_destroy_shader_compiler() () at ../../../src/compiler/glsl/glsl_parser_extras.cpp:1944
#6  0x00007fd93b8a0af9 in one_time_fini () at ../../../src/mesa/main/context.c:357
#7  0x00007fd9513d7b78 in __run_exit_handlers (status=status@entry=0, listp=0x7fd95173d5f8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#8  0x00007fd9513d7bc5 in __GI_exit (status=status@entry=0) at exit.c:104
#9  0x00007fd952e9d9c4 in totem_object_exit (totem=<optimized out>) at totem-object.c:1364
#10 0x00007fd952e9db3c in main_window_destroy_cb (widget=<optimized out>, event=<optimized out>, totem=<optimized out>) at totem-object.c:1370
#11 0x00007fd95246e57a in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x55d8529bbbc0, return_value=0x7ffe0b0b9950, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x55d852287be0) at /build/gtk+3.0-MFQuqz/gtk+3.0-3.20.6/./gtk/gtkmarshalers.c:131
#12 0x00007fd951c811d4 in _g_closure_invoke_va (closure=closure@entry=0x55d8529bbbc0, return_value=return_value@entry=0x7ffe0b0b9950, instance=instance@entry=0x55d8529c43e0, args=args@entry=0x7ffe0b0b9a20, n_params=<optimized out>, param_types=0x55d852287be0) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./gobject/gclosure.c:867
#13 0x00007fd951c9b4b8 in g_signal_emit_valist (instance=0x55d8529c43e0, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7ffe0b0b9a20) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./gobject/gsignal.c:3294
#14 0x00007fd951c9c08f in g_signal_emit (instance=instance@entry=0x55d8529c43e0, signal_id=<optimized out>, detail=detail@entry=0) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./gobject/gsignal.c:3441
#15 0x00007fd9525b13dc in gtk_widget_event_internal (widget=0x55d8529c43e0 [GtkApplicationWindow], event=0x55d8533c0990) at /build/gtk+3.0-MFQuqz/gtk+3.0-3.20.6/./gtk/gtkwidget.c:7705
#16 0x00007fd95246d65d in gtk_main_do_event (event=event@entry=0x55d8533c0990) at /build/gtk+3.0-MFQuqz/gtk+3.0-3.20.6/./gtk/gtkmain.c:1760
#17 0x00007fd9525c76d1 in send_delete_event (data=0x55d8529c43e0) at /build/gtk+3.0-MFQuqz/gtk+3.0-3.20.6/./gtk/gtkwindow.c:1320
#18 0x00007fd94e828b38 in gdk_threads_dispatch (data=0x55d8553f60e0) at /build/gtk+3.0-MFQuqz/gtk+3.0-3.20.6/./gdk/gdk.c:720
#19 0x00007fd9519aa05a in g_main_context_dispatch (context=0x55d85227b540) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3154
#20 0x00007fd9519aa05a in g_main_context_dispatch (context=context@entry=0x55d85227b540) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3769
#21 0x00007fd9519aa400 in g_main_context_iterate (context=context@entry=0x55d85227b540, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3840
#22 0x00007fd9519aa4ac in g_main_context_iteration (context=context@entry=0x55d85227b540, may_block=may_block@entry=1) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3901
#23 0x00007fd951f71cdd in g_application_run (application=0x55d8522581a0 [TotemObject], argc=2, argv=0x7ffe0b0b9e78) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./gio/gapplication.c:2381
#24 0x000055d8504dcdf8 in main (argc=2, argv=0x7ffe0b0b9e78) at totem.c:83
Comment 1 Paul Wise 2016-08-10 13:55:51 UTC
Created attachment 125668 [details]
gdb backtrace of the crash
Comment 2 Matt Turner 2016-11-02 06:56:28 UTC
Is this reproducible? The Debian report reads as if it was a one-off occurence.

Could you try a newer version of Mesa like 12 or 13?
Comment 3 Paul Wise 2016-11-02 07:10:20 UTC
Correct, it was a once-off so I don't have any way of reproducing it. If the backtrace isn't useful, I guess this bug report should be closed.
Comment 4 Matt Turner 2016-11-04 22:45:42 UTC
Best advice I can give is to update to Mesa 12 or 13 and to reopen the bug if it happens again.

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.