synaptic crashed with segfault

Bug #1610518 reported by Dan Kortschak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
New
Undecided
Unassigned

Bug Description

Attempting to start synaptic over an X tunnel via ssh causes synaptic to crash with a segfault - it may be the case that this happens on a local X session, but I have not been able to get an X to work locally (grumble).

~ $ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
~ $ dpkg -l synaptic
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii synaptic 0.83 amd64 Graphical package manager

The backtrace from the core:

~ $ synaptic
Segmentation fault (core dumped)
~ $ gdb64 synaptic core
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from synaptic...(no debugging symbols found)...done.
[New LWP 4802]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: the debug information found in "/lib64/ld-2.23.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

Core was generated by `synaptic'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 rawmemchr () at ../sysdeps/x86_64/rawmemchr.S:37

warning: Source file is more recent than executable.
37 movdqu (%rdi), %xmm0
(gdb) backtrace full
#0 rawmemchr () at ../sysdeps/x86_64/rawmemchr.S:37
No locals.
#1 0x00007f420d947f22 in _IO_str_init_static_internal (sf=sf@entry=0x7fff39195d30, ptr=ptr@entry=0x0, size=size@entry=0, pstart=pstart@entry=0x0)
    at strops.c:41
        fp = 0x7fff39195d30
        end = <optimised out>
#2 0x00007f420d936b67 in __GI___isoc99_vsscanf (string=0x0, format=0x7f420b6512f2 "%d.%d", args=args@entry=0x7fff39195e58) at isoc99_vsscanf.c:41
        ret = 231266208
        sf = {_sbf = {_f = {_flags = -72515584, _IO_read_ptr = 0x0, _IO_read_end = 0x0, _IO_read_base = 0x0, _IO_write_base = 0x0,
              _IO_write_ptr = 0x0, _IO_write_end = 0x0, _IO_buf_base = 0x0, _IO_buf_end = 0x0, _IO_save_base = 0x0, _IO_backup_base = 0x0,
              _IO_save_end = 0x0, _markers = 0x0, _chain = 0x0, _fileno = 0, _flags2 = 0, _old_offset = 71776119061217280, _cur_column = 0,
              _vtable_offset = 0 '\000', _shortbuf = "", _lock = 0x0, _offset = 0, _codecvt = 0x0, _wide_data = 0xffffffffffffffff,
              _freeres_list = 0x0, _freeres_buf = 0xffffff00ff000000, __pad5 = 18446462598732840960, _mode = -1,
              _unused2 = '\000' <repeats 19 times>}, vtable = 0x7f420dc8d7a0 <_IO_str_jumps>}, _s = {_allocate_buffer = 0x0, _free_buffer = 0x0}}
#3 0x00007f420d936b07 in __isoc99_sscanf (s=<optimised out>, format=<optimised out>) at isoc99_sscanf.c:31
        arg = <error reading variable arg (Attempt to dereference a generic pointer.)>
        done = 231266208
#4 0x00007f420b633d22 in epoxy_glx_version () from /usr/lib/x86_64-linux-gnu/libepoxy.so.0
No symbol table info available.
#5 0x00007f420f8ff509 in gdk_x11_screen_init_gl (screen=screen@entry=0x14d8100)
    at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gdk/x11/gdkglcontext-x11.c:774
        display = 0x14d3020
        display_x11 = 0x14d3020
        dpy = 0x14c5800
        error_base = 172
        event_base = 104
        screen_num = 0
#6 0x00007f420f8ff82a in _gdk_x11_screen_update_visuals_for_gl (screen=screen@entry=0x14d8100)
    at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gdk/x11/gdkglcontext-x11.c:1114
        x11_screen = 0x14d8100
        display = 0x14d3020
        display_x11 = 0x14d3020
        dpy = 0x14c5800
        gl_info = <optimised out>
        i = <optimised out>
        system_visual_id = <optimised out>
        rgba_visual_id = <optimised out>
#7 0x00007f420f907f4e in _gdk_x11_screen_init_visuals (screen=screen@entry=0x14d8100)
    at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gdk/x11/gdkvisual-x11.c:334
        possible_depths = {32, 30, 24, 16, 15, 8, 4, 1}
---Type <return> to continue, or q <return> to quit---
        possible_types = {GDK_VISUAL_DIRECT_COLOR, GDK_VISUAL_TRUE_COLOR, GDK_VISUAL_PSEUDO_COLOR, GDK_VISUAL_STATIC_COLOR, GDK_VISUAL_GRAYSCALE,
          GDK_VISUAL_STATIC_GRAY}
        x11_screen = 0x14d8100
        visual_list = <optimised out>
        visual_template = {visual = 0x7f420f9321a1, visualid = 139921675840288, screen = 0, depth = 0, class = 21835808, red_mask = 21780480,
          green_mask = 21780480, blue_mask = 21835808, colormap_size = 174730632, bits_per_rgb = 32578}
        temp_visual = <optimised out>
        default_xvisual = 0x14d8100
        visuals = 0x14d66c0
        nxvisuals = 12
        nvisuals = <optimised out>
        i = <optimised out>
        j = <optimised out>
        __func__ = "_gdk_x11_screen_init_visuals"
#8 0x00007f420f904ec6 in _gdk_x11_screen_new (display=display@entry=0x14d3020, screen_number=0)
    at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gdk/x11/gdkscreen-x11.c:1264
        screen = 0x14d8100
        x11_screen = 0x14d8100
        display_x11 = 0x14d3020
        scale_str = <optimised out>
#9 0x00007f420f8f7265 in _gdk_x11_display_open (display_name=<optimised out>)
    at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gdk/x11/gdkdisplay-x11.c:1472
        xdisplay = <optimised out>
        display = 0x14d3020
        display_x11 = 0x14d3020
        attr = {title = 0x4 <error: Cannot access memory at address 0x4>, event_mask = 0, x = 0, y = 0, width = 0, height = 0,
          wclass = GDK_INPUT_OUTPUT, visual = 0x0, window_type = GDK_WINDOW_ROOT, cursor = 0xf,
          wmclass_name = 0x2178be8c0389fc00 <error: Cannot access memory at address 0x2178be8c0389fc00>, wmclass_class = 0x48ee01 "k",
          override_redirect = 0, type_hint = GDK_WINDOW_TYPE_HINT_NORMAL}
        argc = <optimised out>
        argv = {0x48ee01 "k"}
        class_hint = <optimised out>
        pid = 1
        ignore = 147
        maj = 1684955500
        min = 12333
#10 0x00007f420f8d15d6 in gdk_display_manager_open_display (manager=<optimised out>, name=0x0)
    at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gdk/gdkdisplaymanager.c:463
        backend = 0x149fd60 "*"
        any = 1
---Type <return> to continue, or q <return> to quit---
        backend_list = <optimised out>
        display = 0x0
        backends = 0x149f7b0
        i = <optimised out>
        allow_any = 1
#11 0x00007f420fd8e060 in gtk_init_check (argc=<optimised out>, argv=<optimised out>) at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gtk/gtkmain.c:1022
        ret = <optimised out>
        argc = <optimised out>
        argv = <optimised out>
#12 0x00007f420fd8e099 in gtk_init (argc=<optimised out>, argv=<optimised out>) at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gtk/gtkmain.c:1079
No locals.
#13 0x00000000004144d1 in main ()
No symbol table info available.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: synaptic 0.83
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
Uname: Linux 4.4.0-31-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Aug 6 18:49:36 2016
InstallationDate: Installed on 2016-06-07 (59 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 LANGUAGE=en_AU:en
 SHELL=/bin/bash
SourcePackage: synaptic
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dan Kortschak (dan-kortschak) wrote :
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

can you please test libepoxy from my ppa?
 https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/locutusofborg-ppa

please report back results on bug: https://bugs.launchpad.net/ubuntu/+source/libepoxy/+bug/1647600

this is a duplicate bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.