[Bug 1812955] Re: g-ir-scanner/Shell-0.1 is crashing with SIGSEGV instead of succeeding

Daniel van Vugt daniel.van.vugt at canonical.com
Wed Jan 23 07:59:56 UTC 2019


Using GI_SCANNER_DEBUG=save-temps I can at least see the offending
binary. So here's more useful information:

Thread 1 "Shell-0.1" received signal SIGSEGV, Segmentation fault.
0x00007ffff7bb911f in type_check_is_value_type_U (
    type=type at entry=<error reading variable: Cannot access memory at address 0x555cfd48>) at ../../../../gobject/gtype.c:4156
4156	../../../../gobject/gtype.c: No such file or directory.
(gdb) bt
#0  0x00007ffff7bb911f in type_check_is_value_type_U
    (type=type at entry=<error reading variable: Cannot access memory at address 0x555cfd48>) at ../../../../gobject/gtype.c:4156
#1  0x00007ffff7bb911f in g_type_check_is_value_type
    (type=type at entry=<error reading variable: Cannot access memory at address 0x555cfd48>) at ../../../../gobject/gtype.c:4192
#2  0x00007ffff7baab10 in g_signal_newv
    (signal_name=signal_name at entry=0x7ffff7dbbbae "startup-sequence-changed", itype=itype at entry=0x5555555cfb50 [ShellWindowTracker], signal_flags=G_SIGNAL_RUN_LAST, class_closure=0x0, accumulator=0x0, accu_data=0x0, c_marshaller=0x0, return_type=0x4 [void], n_params=1, param_types=0x5555555c9a70)
    at ../../../../gobject/gsignal.c:1672
#3  0x00007ffff7bab964 in g_signal_new_valist
    (signal_name=signal_name at entry=0x7ffff7dbbbae "startup-sequence-changed", itype=itype at entry=0x5555555cfb50 [ShellWindowTracker], signal_flags=<optimised out>, class_closure=<optimised out>, accumulator=<optimised out>, accu_data=<optimised out>, c_marshaller=0x0, return_type=0x4 [void], n_params=1, args=0x7fffffffe000) at ../../../../gobject/gsignal.c:1902
#4  0x00007ffff7baba4e in g_signal_new
    (signal_name=0x7ffff7dbbbae "startup-sequence-changed", itype=0x5555555cfb50 [ShellWindowTracker], signal_flags=<optimised out>, class_offset=<optimised out>, accumulator=<optimised out>, accu_data=<optimised out>, c_marshaller=0x0, return_type=0x4 [void], n_params=1) at ../../../../gobject/gsignal.c:1437
#5  0x00007ffff7dad20e in shell_window_tracker_class_init
    (klass=0x5555555cfc90) at ../src/shell-window-tracker.c:112
#6  0x00007ffff7dacfca in shell_window_tracker_class_intern_init
    (klass=0x5555555cfc90) at ../src/shell-window-tracker.c:51
#7  0x00007ffff7bb574b in type_class_init_Wm
    (pclass=0x50 [g_type: GObject], node=0x5555555cfb50)
    at ../../../../gobject/gtype.c:2232
#8  0x00007ffff7bb574b in g_type_class_ref (type=<optimised out>)
    at ../../../../gobject/gtype.c:2947
#9  0x00005555555580e5 in dump_properties
    (type=0x5555555cfb50 [ShellWindowTracker], out=0x5555555b6510 [GLocalFileOutputStream])
    at /home/dan/git/gnome-shell/build/tmp-introspectrg6kp9rm/Shell-0.1.c:137
#10 0x0000555555557b83 in dump_object_type
    (out=0x5555555b6510 [GLocalFileOutputStream], symbol=<optimised out>, type=0x5555555cfb50 [ShellWindowTracker])
    at /home/dan/git/gnome-shell/build/tmp-introspectrg6kp9rm/Shell-0.1.c:260
#11 0x0000555555557b83 in dump_type
    (out=0x5555555b6510 [GLocalFileOutputStream], symbol=<optimised out>, type=0x5555555cfb50 [ShellWindowTracker])
    at /home/dan/git/gnome-shell/build/tmp-introspectrg6kp9rm/Shell-0.1.c:402
#12 0x0000555555557b83 in dump_irepository
    (error=0x7fffffffe260, arg=<optimised out>)
    at /home/dan/git/gnome-shell/build/tmp-introspectrg6kp9rm/Shell-0.1.c:547
#13 0x0000555555557b83 in main (argc=<optimised out>, argv=<optimised out>)
    at /home/dan/git/gnome-shell/build/tmp-introspectrg6kp9rm/Shell-0.1.c:610

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gobject-introspection in
Ubuntu.
https://bugs.launchpad.net/bugs/1812955

Title:
  g-ir-scanner/Shell-0.1 is crashing with SIGSEGV instead of succeeding

Status in gobject-introspection package in Ubuntu:
  New

Bug description:
  g-ir-scanner is crashing with SIGSEGV instead of succeeding. So I
  can't build gnome-shell any more.

  Actually it looks like some kind of temporary sub-command "Shell-0.1"
  of g-ir-scanner that's crashing:

  /usr/bin/g-ir-scanner -pthread -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include --no-libtool --namespace=Shell --nsversion=0.1 --warn-all --output src/Shell-0.1.gir --quiet -I/home/dan/git/gnome-shell/src -I/home/dan/git/gnome-shell/build/src -I./. -I../. -I./src/st/. -I../src/st/. -I./src/st/.. -I../src/st/.. -I./src/tray -I../src/tray --filelist=/home/dan/git/gnome-shell/build/src/src@@gnome-shell at sha/Shell_0.1_gir_filelist --include=Clutter-4 --include=ClutterX11-4 --include=Meta-4 --include=Gcr-3 --include=PolkitAgent-1.0 --include=NM-1.0 --include-uninstalled=subprojects/gvc/Gvc-1.0.gir --include-uninstalled=src/ShellMenu-0.1.gir --include-uninstalled=src/st/St-1.0.gir --cflags-begin -I./. -I../. -I./src/st/. -I../src/st/. -I./src/st/.. -I../src/st/.. -I./src/tray -I../src/tray -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/cairo -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -include /usr/include/mozjs-60/js/RequiredDefines.h -I/usr/include/gobject-introspection-1.0 -I/usr/include/mozjs-60 -I/usr/include/gjs-1.0 -I/home/dan/tmp.gs/include/mutter-4/clutter -I/home/dan/tmp.gs/include/mutter-4/cogl -I/usr/include/json-glib-1.0 -I/usr/include/libwacom-1.0 -I/usr/include/startup-notification-1.0 -I/usr/include/polkit-1 -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/libnm -I/usr/include/libsecret-1 -I/usr/include/gstreamer-1.0 -D_REENTRANT -I/home/dan/tmp.gs/include/mutter-4 -I/home/dan/tmp.gs/include/gsettings-desktop-schemas -I/usr/include/gnome-desktop-3.0 -I/usr/include/gnome-settings-daemon-3.0 -I/usr/include/gudev-1.0 --cflags-end -L/home/dan/git/gnome-shell/build/src --add-include-path=/usr/share/gir-1.0 --add-include-path=/home/dan/tmp.gs/lib/x86_64-linux-gnu/mutter-4 --add-include-path=/home/dan/git/gnome-shell/build/subprojects/gvc --add-include-path=/home/dan/git/gnome-shell/build/src --add-include-path=/home/dan/git/gnome-shell/build/src/st -L/home/dan/git/gnome-shell/build/src -L/home/dan/git/gnome-shell/build/src/st -L/lib/x86_64-linux-gnu --library gnome-shell --extra-library=gio-2.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=xml2 --extra-library=gtk-3 --extra-library=gdk-3 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=atk-1.0 --extra-library=cairo-gobject --extra-library=cairo --extra-library=gdk_pixbuf-2.0 --extra-library=atk-bridge-2.0 --extra-library=gjs -L/home/dan/tmp.gs//lib/x86_64-linux-gnu/mutter-4 --extra-library=mutter-clutter-4 --extra-library=m --extra-library=json-glib-1.0 --extra-library=pangoft2-1.0 --extra-library=fontconfig --extra-library=freetype --extra-library=wayland-egl --extra-library=wayland-client --extra-library=Xtst --extra-library=Xi --extra-library=udev --extra-library=input --extra-library=xkbcommon --extra-library=wacom --extra-library=mutter-cogl-4 --extra-library=gmodule-2.0 -pthread --extra-library=wayland-server --extra-library=EGL --extra-library=X11 --extra-library=Xext --extra-library=Xdamage --extra-library=Xfixes --extra-library=Xcomposite --extra-library=Xrandr --extra-library=GL --extra-library=GLESv2 --extra-library=mutter-cogl-pango-4 --extra-library=startup-notification-1 --extra-library=girepository-1.0 --extra-library=polkit-agent-1 --extra-library=polkit-gobject-1 --extra-library=gcr-base-3 --extra-library=gck-1 --extra-library=p11-kit --extra-library=systemd --extra-library=nm --extra-library=secret-1 --extra-library=gstreamer-1.0 --extra-library=gstbase-1.0 -L/home/dan/tmp.gs//lib/x86_64-linux-gnu --extra-library=mutter-4 --extra-library=gnome-desktop-3 --extra-library=canberra --extra-library=gudev-1.0 --extra-library=pipewire-0.2 --extra-library=Xinerama --extra-library=ICE --extra-library=Xcursor --extra-library=xkbfile --extra-library=xkbcommon-x11 --extra-library=Xrender --extra-library=X11-xcb --extra-library=xcb --extra-library=xcb-randr --extra-library=xcb-res --extra-library=SM --extra-library=drm --extra-library=gbm
  Command '['/home/dan/git/gnome-shell/build/tmp-introspectu443gr_x/Shell-0.1', '--introspect-dump=/home/dan/git/gnome-shell/build/tmp-introspectu443gr_x/functions.txt,/home/dan/git/gnome-shell/build/tmp-introspectu443gr_x/dump.xml']' died with <Signals.SIGSEGV: 11>.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: gobject-introspection 1.58.3-2
  ProcVersionSignature: Ubuntu 4.18.0-11.12-generic 4.18.12
  Uname: Linux 4.18.0-11-generic x86_64
  ApportVersion: 2.20.10-0ubuntu19
  Architecture: amd64
  Date: Wed Jan 23 15:04:24 2019
  InstallationDate: Installed on 2018-12-04 (50 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20181203)
  SourcePackage: gobject-introspection
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gobject-introspection/+bug/1812955/+subscriptions



More information about the foundations-bugs mailing list