#!/bin/hi David,
Ah, thx for taking up! I appreciate this very much.
Mhm, strictly speaking, my uploaded file ain't a core dump but a syscall-log. All the syscalls the binary does against the operating system. Here some of my specs:
Code: Select all
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
So I do use Kubuntu 17.10, which based on KDE, but essentially the very same as Ubuntu 17.10.
Code: Select all
$ dpkg --list | grep libpng
ii libpng-dev:amd64 1.6.34-1 amd64 PNG library - development (version 1.6)
ii libpng-dev:i386 1.6.34-1 i386 PNG library - development (version 1.6)
ii libpng-tools 1.6.34-1 amd64 PNG library - tools (version 1.6)
ri libpng12-0:amd64 1.2.50-2+deb8u3 amd64 PNG library - runtime
ii libpng16-16:amd64 1.6.34-1 amd64 PNG library - runtime (version 1.6)
ii libpng16-16:i386 1.6.34-1 i386 PNG library - runtime (version 1.6)
Code: Select all
$ dpkg --list | grep gtk3
ii gtk3-engines-breeze 5.10.5-0ubuntu1 amd64 GTK theme built to match KDE's Breeze
ii libcanberra-gtk3-0:amd64 0.30-3ubuntu1 amd64 GTK+ 3.0 helper for playing widget event sounds with libcanberra
ii libcanberra-gtk3-module:amd64 0.30-3ubuntu1 amd64 translates GTK3 widgets signals to event sounds
ii libdbusmenu-gtk3-4:amd64 16.04.1+17.04.20170109.1-0ubuntu1 amd64 library for passing menus over DBus - GTK+ version
ii libwxgtk3.0-0v5:amd64 3.0.3.1+dfsg2-1 amd64 wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
ii python-wxgtk3.0 3.0.2.0+dfsg-5 amd64 Python interface to the wxWidgets Cross-platform C++ GUI toolkit
ii python3-aptdaemon.gtk3widgets 1.1.1+bzr982-0ubuntu17 all Python 3 GTK+ 3 widgets to run an aptdaemon client
Code: Select all
$ dpkg --list | grep libgtk-3-0
ii libgtk-3-0:amd64
Then, as you brought that up with the core dump, though I do think you stripped all debug symbols from the binary. This results in:
Code: Select all
$ ulimit -c unlimited
$ ./gridc64pro
Aborted (core dumped)
$ gdb ./gridc64pro ./core
GNU gdb (Ubuntu 8.0.1-0ubuntu1) 8.0.1
Copyright (C) 2017 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 ./gridc64pro...(no debugging symbols found)...done.
[New LWP 28078]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./gridc64pro'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7fb507400540 (LWP 28078) __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007fb504acff5d in __GI_abort () at abort.c:90
#2 0x00007fb4fb25cf7e in _Unwind_SetGR () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#3 0x00007fb4fb261af8 in __gcc_personality_v0 () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#4 0x0000000000680ad3 in ?? ()
#5 0x000000000068118a in ?? ()
#6 0x000000000067515c in __cxa_throw ()
#7 0x00007fb4fee0a100 in ?? () from /usr/lib/x86_64-linux-gnu/libmirclient.so.9
#8 0x00007fb4fee05a72 in ?? () from /usr/lib/x86_64-linux-gnu/libmirclient.so.9
#9 0x00007fb4fede9ebf in ?? () from /usr/lib/x86_64-linux-gnu/libmirclient.so.9
#10 0x00007fb4fedeb8b1 in mir::client::DefaultConnectionConfiguration::the_rpc_channel() () from /usr/lib/x86_64-linux-gnu/libmirclient.so.9
#11 0x00007fb4fedf6a94 in mir_connect () from /usr/lib/x86_64-linux-gnu/libmirclient.so.9
#12 0x00007fb4fedf7e1b in mir_connect_sync () from /usr/lib/x86_64-linux-gnu/libmirclient.so.9
#13 0x00007fb505e258b9 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#14 0x00007fb505db9f33 in gdk_display_manager_open_display () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#15 0x00007fb5062bc2ca in gtk_init_check () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x00007fb5062bc2f9 in gtk_init () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x00000000005bcf26 in ?? ()
#18 0x00007fb504ab81c1 in __libc_start_main (main=0x5bcee0, argc=1, argv=0x7ffc133e37e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc133e37d8) at ../csu/libc-start.c:308
#19 0x00000000004092a9 in ?? ()
So, yes there is some Mir working under the hood. Which is funny, since I do use KDE and neither Mir nor Gnome nor Unit. But I do have plenty of Gnome applications installed, which work nicely. So I doubt to locate the reason in this area. Yet, quite plainly the
causes the crash, since it does not return...
Then you mentioned Linux Mint 17.3 and 18.1. So I got myself a docker container of Mint:
Code: Select all
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
vcatechnology/linux-mint 18.0 1c038c7a65fe 4 days ago 559 MB
portainer/portainer latest f71b185552bf 2 weeks ago 33.2 MB
It's just a Mint 18.0 but then
Code: Select all
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7bca146c23dd vcatechnology/linux-mint:18.0 "/bin/bash" 7 minutes ago Up 7 minutes mint18.0
a1ff7f4d3f64 portainer/portainer "/portainer" 3 days ago Up 17 minutes 0.0.0.0:9000->9000/tcp goofy_curran
$ docker attach mint18.0
# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 18 Sarah
Release: 18
Codename: sarah
# (dpkg --list | grep gtk-3); (dpkg --list | grep libpng)
ii libgtk-3-0:amd64 3.18.9-1ubuntu3.3 amd64 GTK+ graphical user interface library
ii libgtk-3-bin 3.18.9-1ubuntu3.3 amd64 programs for the GTK+ graphical user interface library
ii libgtk-3-common 3.18.9-1ubuntu3.3 all common files for the GTK+ graphical user interface library
ii libpng12-0:amd64 1.2.54-1ubuntu1 amd64 PNG library - runtime
# ls -1
base0.zip
Documents
gridc64pro
readme.txt
# ./gridc64pro
Aborted (core dumped)
Same result.