Public bug reported:

apport-bug calling apport-gtk crashes with a segmentation fault.

~ $ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
~ $ dpkg -l apport-gtk
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  apport-gtk                      2.20.1-0ubuntu2.1    all                  
GTK+ frontend for the apport crash report system


This look related to #1610518.


The backtrace from the core:

~ $ apport-bug 
Segmentation fault (core dumped)
~ $ gdb64 /usr/bin/python3 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 /usr/bin/python3...(no debugging symbols found)...done.

warning: core file may not match specified executable file.
[New LWP 4932]
[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 `/usr/bin/python3 /usr/share/apport/apport-gtk'.
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  0x00007f89cc55bf22 in _IO_str_init_static_internal 
(sf=sf@entry=0x7ffc1fa72690, ptr=ptr@entry=0x0, size=size@entry=0, 
pstart=pstart@entry=0x0)
    at strops.c:41
        fp = 0x7ffc1fa72690
        end = <optimised out>
#2  0x00007f89cc54ab67 in __GI___isoc99_vsscanf (string=0x0, 
format=0x7f89c5e972f2 "%d.%d", args=args@entry=0x7ffc1fa727b8) at 
isoc99_vsscanf.c:41
        ret = -863365216
        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 = 0x7f89cc8a17a0 
<_IO_str_jumps>}, _s = {_allocate_buffer = 0x0, _free_buffer = 0x0}}
#3  0x00007f89cc54ab07 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 = -863365216
#4  0x00007f89c5e79d22 in epoxy_glx_version () from 
/usr/lib/x86_64-linux-gnu/libepoxy.so.0
No symbol table info available.
#5  0x00007f89c8b18509 in gdk_x11_screen_init_gl (screen=screen@entry=0xdf6160)
    at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gdk/x11/gdkglcontext-x11.c:774
        display = 0xdf1020
        display_x11 = 0xdf1020
        dpy = 0xde3800
        error_base = 172
        event_base = 104
        screen_num = 0
#6  0x00007f89c8b1882a in _gdk_x11_screen_update_visuals_for_gl 
(screen=screen@entry=0xdf6160)
    at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gdk/x11/gdkglcontext-x11.c:1114
        x11_screen = 0xdf6160
        display = 0xdf1020
        display_x11 = 0xdf1020
        dpy = 0xde3800
        gl_info = <optimised out>
        i = <optimised out>
        system_visual_id = <optimised out>
        rgba_visual_id = <optimised out>
#7  0x00007f89c8b20f4e in _gdk_x11_screen_init_visuals 
(screen=screen@entry=0xdf6160)
    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 = 0xdf6160
        visual_list = <optimised out>
        visual_template = {visual = 0x7f89c8b4b1a1, visualid = 140229818854176, 
screen = 0, depth = 0, class = 14618656, red_mask = 14563328, 
          green_mask = 14563328, blue_mask = 14618656, colormap_size = 
-943571576, bits_per_rgb = 32649}
        temp_visual = <optimised out>
        default_xvisual = 0xdf6160
        visuals = 0xdf32a0
        nxvisuals = 12
        nvisuals = <optimised out>
        i = <optimised out>
        j = <optimised out>
        __func__ = "_gdk_x11_screen_init_visuals"
#8  0x00007f89c8b1dec6 in _gdk_x11_screen_new (display=display@entry=0xdf1020, 
screen_number=0)
    at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gdk/x11/gdkscreen-x11.c:1264
        screen = 0xdf6160
        x11_screen = 0xdf6160
        display_x11 = 0xdf1020
        scale_str = <optimised out>
#9  0x00007f89c8b10265 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 = 0xdf1020
        display_x11 = 0xdf1020
        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 = 0x0, 
          wmclass_name = 0x9ee633bf404e1000 <error: Cannot access memory at 
address 0x9ee633bf404e1000>, 
          wmclass_class = 0x7ffc1fa72c01 ",\247\037\374\177", override_redirect 
= 0, type_hint = GDK_WINDOW_TYPE_HINT_NORMAL}
        argc = <optimised out>
        argv = {0x7ffc1fa72c01 ",\247\037\374\177"}
        class_hint = <optimised out>
        pid = 1
        ignore = 147
        maj = 1684955500
        min = 12333
#10 0x00007f89c8aea5d6 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 = 0xcec290 "*"
        any = 1
---Type <return> to continue, or q <return> to quit---
        backend_list = <optimised out>
        display = 0x0
        backends = 0xdb8230
        i = <optimised out>
        allow_any = 1
#11 0x00007f89c8ae220e in gdk_init_check (argc=<optimised out>, argv=<optimised 
out>) at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gdk/gdk.c:490
No locals.
#12 0x00007f89ca282e40 in ffi_call_unix64 () from 
/usr/lib/x86_64-linux-gnu/libffi.so.6
No symbol table info available.
#13 0x00007f89ca2828ab in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
No symbol table info available.
#14 0x00007f89cac488fc in ?? () from 
/usr/lib/python3/dist-packages/gi/_gi.cpython-35m-x86_64-linux-gnu.so
No symbol table info available.
#15 0x00007f89cac4a3e8 in ?? () from 
/usr/lib/python3/dist-packages/gi/_gi.cpython-35m-x86_64-linux-gnu.so
No symbol table info available.
#16 0x00000000005bc727 in PyObject_Call ()
No symbol table info available.
#17 0x000000000051f756 in PyEval_EvalFrameEx ()
No symbol table info available.
#18 0x0000000000523d29 in ?? ()
No symbol table info available.
#19 0x00000000005249ef in PyEval_EvalCode ()
No symbol table info available.
#20 0x0000000000542dc8 in ?? ()
No symbol table info available.
#21 0x00000000004e11c6 in PyCFunction_Call ()
No symbol table info available.
#22 0x00000000005215f7 in PyEval_EvalFrameEx ()
No symbol table info available.
#23 0x0000000000523d29 in ?? ()
No symbol table info available.
#24 0x000000000051fd83 in PyEval_EvalFrameEx ()
No symbol table info available.
#25 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#26 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#27 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#28 0x000000000051f254 in PyEval_EvalFrameEx ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#29 0x0000000000523d29 in ?? ()
No symbol table info available.
#30 0x000000000051f93f in PyEval_EvalFrameEx ()
No symbol table info available.
#31 0x0000000000523d29 in ?? ()
No symbol table info available.
#32 0x000000000051f93f in PyEval_EvalFrameEx ()
No symbol table info available.
#33 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#34 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#35 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#36 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#37 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#38 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#39 0x0000000000523d29 in ?? ()
No symbol table info available.
#40 0x000000000051f93f in PyEval_EvalFrameEx ()
No symbol table info available.
#41 0x0000000000523d29 in ?? ()
No symbol table info available.
#42 0x000000000051f93f in PyEval_EvalFrameEx ()
No symbol table info available.
#43 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#44 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#45 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#46 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#47 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#48 0x0000000000523d29 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#49 0x000000000051f93f in PyEval_EvalFrameEx ()
No symbol table info available.
#50 0x0000000000523d29 in ?? ()
No symbol table info available.
#51 0x000000000051f93f in PyEval_EvalFrameEx ()
No symbol table info available.
#52 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#53 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#54 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#55 0x000000000051f254 in PyEval_EvalFrameEx ()
No symbol table info available.
#56 0x0000000000524b3b in PyEval_EvalCodeEx ()
No symbol table info available.
#57 0x00000000004e3223 in ?? ()
No symbol table info available.
#58 0x00000000005bc727 in PyObject_Call ()
No symbol table info available.
#59 0x00000000005bd54a in _PyObject_CallMethodIdObjArgs ()
No symbol table info available.
#60 0x0000000000529f03 in PyImport_ImportModuleLevelObject ()
No symbol table info available.
#61 0x00000000005429d8 in ?? ()
No symbol table info available.
#62 0x00000000004e1137 in PyCFunction_Call ()
No symbol table info available.
#63 0x00000000005215f7 in PyEval_EvalFrameEx ()
No symbol table info available.
#64 0x0000000000523d29 in ?? ()
No symbol table info available.
#65 0x000000000051fd83 in PyEval_EvalFrameEx ()
No symbol table info available.
#66 0x0000000000524b3b in PyEval_EvalCodeEx ()
No symbol table info available.
#67 0x00000000004e3223 in ?? ()
No symbol table info available.
#68 0x00000000005bc727 in PyObject_Call ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#69 0x00000000005bd54a in _PyObject_CallMethodIdObjArgs ()
No symbol table info available.
#70 0x0000000000529ecf in PyImport_ImportModuleLevelObject ()
No symbol table info available.
#71 0x00000000005429d8 in ?? ()
No symbol table info available.
#72 0x00000000004e1137 in PyCFunction_Call ()
No symbol table info available.
#73 0x00000000005bc727 in PyObject_Call ()
No symbol table info available.
#74 0x000000000051a290 in PyEval_CallObjectWithKeywords ()
No symbol table info available.
#75 0x000000000051dac9 in PyEval_EvalFrameEx ()
No symbol table info available.
#76 0x0000000000523d29 in ?? ()
No symbol table info available.
#77 0x00000000005249ef in PyEval_EvalCode ()
No symbol table info available.
#78 0x0000000000601402 in ?? ()
No symbol table info available.
#79 0x000000000060393a in PyRun_FileExFlags ()
No symbol table info available.
#80 0x0000000000603b2c in PyRun_SimpleFileExFlags ()
No symbol table info available.
#81 0x000000000063dc06 in Py_Main ()
No symbol table info available.
#82 0x00000000004cfb91 in main ()
No symbol table info available.
(gdb) quit

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apport-gtk 2.20.1-0ubuntu2.1
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 19:04:08 2016
InstallationDate: Installed on 2016-06-07 (59 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 LANGUAGE=en_AU:en
 SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

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

Title:
  apport-gtk crashes with segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1610519/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to