Segmentation fault in meta_monitor_mode_get_resolution
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mutter (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I change the monitor configuration on my newly updated Artful system I get a desktop crash. A quick reproduction with gdb attached to gnome-shell gave the following back-trace, unfortunately with symbols for gnome-shell but not for libmutter (I am still a bit of a new-comer to gnome-shell).
Thread 1 "gnome-shell" received signal SIGSEGV, Segmentation fault.
0x00007f2b2d75bf50 in meta_monitor_
from /usr/lib/
(gdb) bt
#0 0x00007f2b2d75bf50 in meta_monitor_
at /usr/lib/
#1 0x00007f2b2d75bfd2 in meta_monitor_
at /usr/lib/
#2 0x00007f2b2d758437 in meta_finish_
at /usr/lib/
#3 0x00007f2b2d7558fe in meta_monitor_
at /usr/lib/
#4 0x00007f2b2d75d732 in meta_monitor_
at /usr/lib/
#5 0x00007f2b2f531f9d in g_closure_invoke ()
at /usr/lib/
#6 0x00007f2b2f544d5e in () at /usr/lib/
#7 0x00007f2b2f54d535 in g_signal_
at /usr/lib/
#8 0x00007f2b2f54df4f in g_signal_emit ()
at /usr/lib/
#9 0x00007f2b2f536464 in () at /usr/lib/
#10 0x00007f2b2f5388b9 in g_object_notify ()
at /usr/lib/
#11 0x00007f2b2f531f9d in g_closure_invoke ()
at /usr/lib/
#12 0x00007f2b2f544d5e in () at /usr/lib/
---Type <return> to continue, or q <return> to quit---
#13 0x00007f2b2f54d535 in g_signal_
at /usr/lib/
#14 0x00007f2b2f54df4f in g_signal_emit ()
at /usr/lib/
#15 0x00007f2b2f536464 in () at /usr/lib/
#16 0x00007f2b2f5388b9 in g_object_notify ()
at /usr/lib/
#17 0x00007f2b23f1abbc in () at /usr/lib/
#18 0x00007f2b291bbe18 in ffi_call_unix64 ()
at /usr/lib/
#19 0x00007f2b291bb87a in ffi_call () at /usr/lib/
#20 0x00007f2b2f532799 in g_cclosure_
at /usr/lib/
#21 0x00007f2b2f531f9d in g_closure_invoke ()
at /usr/lib/
#22 0x00007f2b2f5447d8 in () at /usr/lib/
#23 0x00007f2b2f54d535 in g_signal_
at /usr/lib/
#24 0x00007f2b2f54df4f in g_signal_emit ()
at /usr/lib/
#25 0x00007f2b2f83f311 in () at /usr/lib/
#26 0x00007f2b2f82e804 in () at /usr/lib/
#27 0x00007f2b2f258de5 in g_main_
---Type <return> to continue, or q <return> to quit---
at /lib/x86_
#28 0x00007f2b2f2591b0 in () at /lib/x86_
#29 0x00007f2b2f2594c2 in g_main_loop_run ()
at /lib/x86_
#30 0x00007f2b2d79201c in meta_run ()
at /usr/lib/
#31 0x000056266c5ff307 in main (argc=<optimized out>, argv=<optimized out>)
at ../src/main.c:462
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: libmutter-1-0 3.26.0+
ProcVersionSign
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 6 10:03:09 2017
InstallationDate: Installed on 2016-05-31 (492 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: mutter
UpgradeStatus: Upgraded to artful on 2017-10-05 (1 days ago)
Second try with debug symbols for glib2.0 and libmutter.
Thread 1 "gnome-shell" received signal SIGSEGV, Segmentation fault. mode_get_ resolution (monitor_ mode=monitor_ mode@entry= 0x0, width@entry= 0x7fff256d5ad8, height= height@ entry=0x7fff256 d5adc) meta-monitor. c:1582 meta-monitor. c: Нет такого файла или каталога. mode_get_ resolution (monitor_ mode=monitor_ mode@entry= 0x0, width=width@ entry=0x7fff256 d5ad8, height= height@ entry=0x7fff256 d5adc) at backends/ meta-monitor. c:1582 0x55c462ebd040 [MetaMonitorNor mal]) at backends/ meta-monitor. c:1377 calculate_ mode_scale (monitor= monitor@ entry=0x55c462e bd040 [MetaMonitorNor mal], monitor_mode=0x0) meta-monitor. c:1439 monitors_ config_ migration (monitor_ manager= monitor_ manager@ entry=0x55c462a f81b0 [MetaMonitorMan agerKms] , config= config@ entry=0x7f3dd00 19750 [MetaMonitorsCo nfig], error=error@ entry=0x7fff256 d5b60) meta-monitor- config- migration. c:1177 config_ manager_ get_stored (config_ manager= 0x7f3dd0005f20 [MetaMonitorCon figManager] ) meta-monitor- config- manager. c:385 manager_ ensure_ configured (manager= 0x55c462af81b0 [MetaMonitorMan agerKms] ) at backends/ meta-monitor- manager. c:487 lid-is- closed on instance 0x7f3dd000cb70 [UpClient]> (instance= instance@ entry=0x7f3dd00 0cb70, signal_ id=<optimized out>, detail=<optimized out>) at ../../. ./../gobject/ gsignal. c:3447 0x55c462ecde10, return_value=0x0, n_param_values=2, param_values= 0x7fff256d5dc0, invocation_ hint=0x7fff256d 5d40) at ../../. ./../gobject/ gclosure. c:804 emit_unlocked_ R (node=node@ entry=0x55c462a e0060, detail= detail@ entry=302, instance= instance@ entry=0x7f3dd00 0cb70, emission_ return= emission_ return@ entry=0x0, instance_ and_params= instance_ and_params@ entry=0x7fff256 d5dc0) at ../../. ./../gobject/ gsignal. c:3635 emit_valist (instance= 0x7f3dd000cb70, signal_ id=<optimized out>, detail=302, var_args= var_args@ entry=0x7fff256 d5f90) ./../gobject/ gsignal. c:3391 dispatch_ properties_ changed (object= 0x7f3dd000cb70 [UpClient], n_pspecs=<optimized out>, pspecs=<optimized out>) ./../gobject/ gobject. c:1064 notify_ by_spec_ internal (pspec= 0x55c462b1c830 [GParamBoolean], object= 0x7f3dd000cb70 [UpClient]) ./../gobject/ gobject. c:1157 0x7f3dd000cb70 [UpClient], property_ name=0x55c462ad 20ff "lid-is-closed") ./../gobject/ gobject. c:1205 lid-is- closed on instance 0x55c462ae9580 [UpExportedDaem onProxy] > (instance= instance@ entry=0x55c462a e9580, signal_ id=<optimized out>, detail=...
meta_monitor_
width=
at backends/
1582 backends/
(gdb) bt
#0 0x00007f3df4941f50 in meta_monitor_
#1 0x00007f3df4941fd2 in calculate_scale (monitor_mode=0x0, monitor=
#2 0x00007f3df4941fd2 in meta_monitor_
at backends/
#3 0x00007f3df493e437 in meta_finish_
at backends/
#4 0x00007f3df493b8fe in meta_monitor_
at backends/
#5 0x00007f3df4943732 in meta_monitor_
#9 0x00007f3df6733f4f in <emit signal notify:
#6 0x00007f3df6717f9d in g_closure_invoke (closure=
---Type <return> to continue, or q <return> to quit---
#7 0x00007f3df672ad5e in signal_
#8 0x00007f3df6733535 in g_signal_
at ../../.
#10 0x00007f3df671c464 in g_object_
at ../../.
#11 0x00007f3df671e8b9 in g_object_
at ../../.
#12 0x00007f3df671e8b9 in g_object_notify (object=
at ../../.
#16 0x00007f3df6733f4f in <emit signal notify: