Re: [anjuta-list] [anjuta-devel] Problem starting Anjuta



Hi, Jens,

On Sun, Aug 6, 2017 at 3:35 AM, Jens Mühlenhoff <j muehlenhoff gmx de> wrote:
Hi Igor,

Am 06.08.2017 um 00:35 schrieb Igor Korot:
igor@IgorReinCloud ~/dbhandler $ anjuta

[some warnings here]

Segmentation fault

I think you are prematurely attributing the segfault to the warnings (specifically to the tmp fs one). 
Warnings are not errors, the only real error here is the segfault.

Have you read this? https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces

You should recompile anjuta with `-O2 -ggdb` (or even with `-Og -ggdb`, but don't forget to reset the flags 
later!) then run it with gdb:

gdb anjuta

and get a (hopefully) meaningful stack backtrace with the gdb `bt` command.

I finally had time to recompile Anjuta.
Here is the gdb session:

igor@IgorReinCloud ~/dbhandler $ gdb anjuta
GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1
Copyright (C) 2015 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
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 anjuta...done.
(gdb) run
Starting program: /usr/bin/anjuta
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffed239700 (LWP 6505)]
[New Thread 0x7fffeca38700 (LWP 6506)]
[New Thread 0x7fffe7195700 (LWP 6507)]
[New Thread 0x7fffe5b0a700 (LWP 6508)]

(anjuta:6501): Gtk-WARNING **: Theme parsing error: <data>:2:30: The
style property GtkWidget:focus-line-width is deprecated and shouldn't
be used anymore. It will be removed in a future version

(anjuta:6501): Gtk-WARNING **: Theme parsing error: <data>:3:27: The
style property GtkWidget:focus-padding is deprecated and shouldn't be
used anymore. It will be removed in a future version
[New Thread 0x7fffda0d9700 (LWP 6539)]

(anjuta:6501): Gtk-WARNING **: Theme parsing error: <data>:2:28: The
style property GtkButton:default-border is deprecated and shouldn't be
used anymore. It will be removed in a future version

(anjuta:6501): Gtk-WARNING **: Theme parsing error: <data>:3:36: The
style property GtkButton:default-outside-border is deprecated and
shouldn't be used anymore. It will be removed in a future version

(anjuta:6501): Gtk-WARNING **: Theme parsing error: <data>:4:25: The
style property GtkButton:inner-border is deprecated and shouldn't be
used anymore. It will be removed in a future version

(anjuta:6501): Gtk-WARNING **: Theme parsing error: <data>:5:30: The
style property GtkWidget:focus-line-width is deprecated and shouldn't
be used anymore. It will be removed in a future version

(anjuta:6501): Gtk-WARNING **: Theme parsing error: <data>:6:27: The
style property GtkWidget:focus-padding is deprecated and shouldn't be
used anymore. It will be removed in a future version

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)
[New Thread 0x7fffd8907700 (LWP 6559)]
[New Thread 0x7fffcffff700 (LWP 6560)]
[New Thread 0x7fffcf7fe700 (LWP 6561)]

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)

(anjuta:6501): Gtk-WARNING **:
(/var/tmp/portage/x11-libs/gtk+-3.20.9/work/gtk+-3.20.9/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) ==
0)
[Thread 0x7fffd8907700 (LWP 6559) exited]
[Thread 0x7fffcffff700 (LWP 6560) exited]
[Thread 0x7fffe5b0a700 (LWP 6508) exited]

(anjuta:6501): libanjuta-symbol-db-WARNING **: Error while trying to
open a shared memory file. Besure to have /dev/shm mounted with tmpfs
[New Thread 0x7fffe5b0a700 (LWP 6563)]
[New Thread 0x7fffcffff700 (LWP 6564)]
[New Thread 0x7fffd8907700 (LWP 6565)]
[New Thread 0x7fffceffd700 (LWP 6566)]
[New Thread 0x7fffce7fc700 (LWP 6567)]
[New Thread 0x7fffcdffb700 (LWP 6568)]
[New Thread 0x7fffcd7fa700 (LWP 6569)]
[New Thread 0x7fffccff9700 (LWP 6570)]
[New Thread 0x7fffbffff700 (LWP 6571)]
[New Thread 0x7fffbe7fc700 (LWP 6655)]
[New Thread 0x7fffbdffb700 (LWP 6656)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffbe7fc700 (LWP 6655)]
0x00007ffff4506e7b in fwrite () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff4506e7b in fwrite () from /lib64/libc.so.6
#1  0x00007fffe4447bd3 in sdb_engine_ctags_output_thread
(data=0x18c9ac0, user_data=<optimized out>)
    at symbol-db-engine-core.c:1074
#2  0x00007ffff503f14d in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff503e6d5 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffff48455e6 in start_thread () from /lib64/libpthread.so.0
#5  0x00007ffff45889ad in clone () from /lib64/libc.so.6
(gdb)

Thank you.


You already included the console output and mount output which is great, but a backtrace (or a core dump) 
on a build with debug symbols would be the more obvious thing to do for a segfault.

--
Mit freundlichen Grüßen
Jens Mühlenhoff


_______________________________________________
anjuta-list mailing list
anjuta-list gnome org
https://mail.gnome.org/mailman/listinfo/anjuta-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]