Error on getting connection failed to load sparql backend

Ошибка sudo в Терминал

Цитата: ecc83 от 05 августа 2019, 20:17:55cat ~/.bashrc

bash: alias: env: не найден
user@Computer:~$ cat ~/.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case $- in
    *i*) ;;
      *) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color|*-256color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
    else
color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}[33[01;32m]u@h[33[00m]:[33[01;34m]w[33[00m]$ '
else
    PS1='${debian_chroot:+($debian_chroot)}u@h:w$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="[e]0;${debian_chroot:+($debian_chroot)}u@h: wa]$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    #alias grep='grep --color=auto'
    #alias fgrep='fgrep --color=auto'
    #alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'

# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi
alias gksudo=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY
user@Computer:~$

Цитировать… смешно но sudo nautilus с терминала стартует на ура … вывод: а автор себя в группу sudo добавил … а , автор ?

нет, а нужно, и как? до этого у меня sudo работал по умолчанию в Debian 9

Nautilus does not launch in Ubuntu 19.04

Some time after upgrading to Ubuntu 19.04, I have become unable to launch nautilus by double-clicking it and also unable to launch using terminal.

Output of which nautilus

Output of apt-cache policy nautilus

Output of nautilus

Does not give any output, it hangs there itself and does not give any output.

UPDATE

Output of sudo nautilus -q

/.local/share/nautilus and see if it works again.

3 Answers 3

In my 18.04 setup I had problems with tracker causing the same issue, nautilus not launching, then it worked by killing tracker, but now that did not work either.

What did work, was resetting tracker. I performed a hard reset, you might try a soft reset, maybe it could work too, I didn’t test, since it got fixed by the hard reset. Sidenote: I disabled search in files.

tracker hard reset in terminal :

tracker soft reset :

I also had this problem. All was good in the beginning, but after some time I was unable to open Files to access to my folders.

Try cleaning your operating system with Bleachbi:

Run Bleachbit and clean your OS, then restart the computer.

This worked for me.

I had an identical observation. I updated to 19.04 and then noticed sporadic behave with folders and the terminal. I would click the home folder and the busy icon would appear for a few seconds but sadly the home folder would not open. I would try to open a terminal (quick keys and through apps) but seemingly nothing happened. Then everything worked after a couple of restarts, with none of the methods tried on this thread, before reverting back to not working.

After searching for a more substantial answer than the ones provided on this thread I believe that I found a more plausible solution on another thread. I uninstalled Google Remote Desktop, and everything appears to be working robustly now (I even had old pages open that I had not seen since I installed Google Remote Desktop):

Источник

Error on getting connection failed to load sparql backend

This morning nautilus was updated to gnome-base/nautilus-3.28.1, but now it won’t open. Has anyone else ran in to this problem?

Tried making a new user account, that didn’t work. Restarted my machine, that didn’t work either.

When I run it from the terminal, here is the output:

Код:
$ nautilus

(nautilus:9747): GLib-GObject-WARNING **: 09:49:32.833: cannot register existing type ‘TrackerSparqlConnection’

(nautilus:9747): GLib-CRITICAL **: 09:49:32.833: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:9747): GLib-GObject-CRITICAL **: 09:49:32.833: g_param_spec_object: assertion ‘g_type_is_a (object_type, G_TYPE_OBJECT)’ failed

(nautilus:9747): GLib-GObject-CRITICAL **: 09:49:32.833: validate_pspec_to_install: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

(nautilus:9747): GLib-GObject-WARNING **: 09:49:32.850: cannot register existing type ‘TrackerSparqlCursor’

(nautilus:9747): GLib-GObject-WARNING **: 09:49:32.850: cannot add private field to invalid (non-instantiatable) type ‘ ‘

(nautilus:9747): GLib-CRITICAL **: 09:49:32.850: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:9747): GLib-GObject-WARNING **: 09:49:32.863: invalid cast from ‘TrackerDBCursor’ to ‘ ‘

(nautilus:9747): GLib-GObject-CRITICAL **: 09:49:32.863: g_object_notify_by_pspec: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

Here is my output of emerge —info for my

amd64 system with LTO and the gold linker:

Код:
$ emerge —info
Portage 2.3.62 (python 2.7.16-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-8.3.0, glibc-2.28-r5, 5.0.0-gentoo x86_64)
=================================================================
System uname: Linux-5.0.0-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-gentoo-2.6
KiB Mem: 132270556 total, 127035128 free
KiB Swap: 167772156 total, 167772156 free
Timestamp of repository gentoo: Wed, 06 Mar 2019 00:45:01 +0000
Head commit of repository sakaki-tools: df5b210704a49d66fca210509456b3809bab4716

sh bash 5.0_p2
ld GNU gold (Gentoo 2.32 p1 2.32.0) 1.16
ccache version 3.6 [disabled]
app-shells/bash: 5.0_p2::gentoo
dev-java/java-config: 2.2.0-r4::gentoo
dev-lang/perl: 5.28.0::gentoo
dev-lang/python: 2.7.16::gentoo, 3.6.8::gentoo, 3.7.2::gentoo
dev-util/ccache: 3.6::gentoo
dev-util/cmake: 3.13.4::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.6-r1::gentoo
sys-apps/sandbox: 2.15::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils: 2.32::gentoo
sys-devel/gcc: 8.3.0::gentoo
sys-devel/gcc-config: 2.0::gentoo
sys-devel/libtool: 2.4.6-r5::gentoo
sys-devel/make: 4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc: 2.28-r5::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: webrsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-webrsync-verify-signature: true

krivenko
location: /var/lib/layman/krivenko
masters: gentoo
priority: 50

lto-overlay
location: /var/lib/layman/lto-overlay
masters: gentoo mv
priority: 50

mv
location: /var/lib/layman/mv
masters: gentoo
priority: 50

sakaki-tools
location: /usr/local/portage/sakaki-tools
sync-type: git
sync-uri: https://github.com/sakaki-/sakaki-tools.git
masters: gentoo
priority: 50

Installed sets: @ansys-cfx, @pointwise
ACCEPT_KEYWORDS=»amd64

amd64″
ACCEPT_LICENSE=»@FREE CC-Sampling-Plus-1.0″
CBUILD=»x86_64-pc-linux-gnu»
CFLAGS=»-march=native -O3 -fgraphite-identity -floop-nest-optimize -fipa-pta -fno-semantic-interposition -flto=24 -fuse-linker-plugin -pipe -falign-functions=32″
CHOST=»x86_64-pc-linux-gnu»
CONFIG_PROTECT=»/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh»
CONFIG_PROTECT_MASK=»/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c»
CXXFLAGS=»-march=native -O3 -fgraphite-identity -floop-nest-optimize -fipa-pta -fno-semantic-interposition -flto=24 -fuse-linker-plugin -pipe -falign-functions=32″
DISTDIR=»/usr/portage/distfiles»
ENV_UNSET=»DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR»
FCFLAGS=»-O2 -pipe»
FEATURES=»assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr»
FFLAGS=»-O2 -pipe»
GENTOO_MIRRORS=»http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/»
LANG=»en_CA.utf8″
LDFLAGS=»-Wl,-O1 -Wl,—as-needed -Wl,—hash-style=gnu»
PKGDIR=»/usr/portage/packages»
PORTAGE_CONFIGROOT=»/»
PORTAGE_RSYNC_OPTS=»—recursive —links —safe-links —perms —times —omit-dir-times —compress —force —whole-file —delete —stats —human-readable —timeout=180 —exclude=/distfiles —exclude=/local —exclude=/packages —exclude=/.git»
PORTAGE_TMPDIR=»/var/tmp»
USE=»X a52 aac acl acpi ads alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg kerberos lcms ldap libnotify libsecret libtirpc lto mad mng mp3 mp4 mpeg multilib nautilus ncurses nls nptl numa ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 rdp readline samba sdl seccomp spell ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis webdav winbind wxwidgets x264 xattr xcb xml xv xvid zlib» ABI_X86=»64″ ALSA_CARDS=»ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci» APACHE2_MODULES=»authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias» CALLIGRA_FEATURES=»karbon sheets words» COLLECTD_PLUGINS=»df interface irq load memory rrdtool swap syslog» CPU_FLAGS_X86=»aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3″ ELIBC=»glibc» GPSD_PROTOCOLS=»ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx» INPUT_DEVICES=»libinput» KERNEL=»linux» L10N=»en» LCD_DEVICES=»bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text» LIBREOFFICE_EXTENSIONS=»presenter-console presenter-minimizer» NETBEANS_MODULES=»apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml» OFFICE_IMPLEMENTATION=»libreoffice» PHP_TARGETS=»php5-6 php7-1″ POSTGRES_TARGETS=»postgres9_5 postgres10″ PYTHON_SINGLE_TARGET=»python3_6″ PYTHON_TARGETS=»python2_7 python3_6″ RUBY_TARGETS=»ruby24″ USERLAND=»GNU» VIDEO_CARDS=»nvidia» XTABLES_ADDONS=»quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account»
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Последний раз редактировалось: corrmaan (ср апр 10, 2019 11:51 pm), всего редактировалось 1 раз Вернуться к началу

Leio
Developer

Зарегистрирован: 27 фев 2003
Сообщений: 494
Откуда: Estonia

Добавлено: чт мар 07, 2019 9:28 am Заголовок сообщения:
Did you recently upgrade from tracker-1 to tracker-2 and haven’t rebuilt everything from the ABI change? Searches of this type of error suggest symbol clashes between them, e.g. nautilus using tracker-2, but something also grilo/grilo-plugins in the same process with that still using tracker-1, and then it goes wonky; that was just one example (grilo-plugins, in case of nautilus it’d probably be something else involved).
So first question — do you still have tracker-1 preserved by portage with rebuilds not complete? Something like

Код:
ls /usr/lib64/libtracker-1*

shouldn’t report any files; if they do, look at emerge -1va @preserved-rebuild
_________________
GNOME team lead; GStreamer; MIPS/ARM64

Вернуться к началу

corrmaan
n00b

Зарегистрирован: 02 мая 2016
Сообщений: 14

Добавлено: чт мар 07, 2019 1:50 pm Заголовок сообщения:
Thanks for your reply. I checked what you asked, only libtracker-*-2.0* libraries exist:

Код:
# ls -la /usr/lib64/libtracker*
lrwxrwxrwx 1 root root 27 Mar 6 08:49 /usr/lib64/libtracker-control-2.0.so -> libtracker-control-2.0.so.0
lrwxrwxrwx 1 root root 33 Mar 6 08:49 /usr/lib64/libtracker-control-2.0.so.0 -> libtracker-control-2.0.so.0.108.0
-rwxr-xr-x 1 root root 35416 Mar 6 08:49 /usr/lib64/libtracker-control-2.0.so.0.108.0
lrwxrwxrwx 1 root root 25 Mar 6 08:49 /usr/lib64/libtracker-miner-2.0.so -> libtracker-miner-2.0.so.0
lrwxrwxrwx 1 root root 31 Mar 6 08:49 /usr/lib64/libtracker-miner-2.0.so.0 -> libtracker-miner-2.0.so.0.108.0
-rwxr-xr-x 1 root root 192896 Mar 6 08:49 /usr/lib64/libtracker-miner-2.0.so.0.108.0
lrwxrwxrwx 1 root root 26 Mar 6 08:49 /usr/lib64/libtracker-sparql-2.0.so -> libtracker-sparql-2.0.so.0
lrwxrwxrwx 1 root root 32 Mar 6 08:49 /usr/lib64/libtracker-sparql-2.0.so.0 -> libtracker-sparql-2.0.so.0.108.0
-rwxr-xr-x 1 root root 213376 Mar 6 08:49 /usr/lib64/libtracker-sparql-2.0.so.0.108.0

Interestingly these libraries were updated at the same time as well. Sure enough I checked my update log and app-misc/tracker-2.1.8 and app-misc/tracker-miners-2.1.6 were merged. This was followed by a depclean (FYI I update using sakaki’s genup script) which did not remove any old app-misc/tracker* packages.

Вернуться к началу

Leio
Developer

Зарегистрирован: 27 фев 2003
Сообщений: 494
Откуда: Estonia

Добавлено: чт мар 07, 2019 2:27 pm Заголовок сообщения:
Ok, so this is not that particular cause for these symptoms.

Would be nice to have a backtrace of that GLib-CRITICAL, but in lack of that I looked at potential g_once_init_leave calls from nautilus itself, and one may theoretically explain these symptoms, so next question:

Do you have some nautilus extension not upgraded yet, or have I missed updating some extension to be compatible with nautilus-3.28?
If you have any of these installed, at what version are they at?

Maybe easiest to just check and post the output of the following:

Код:
grep -rI ‘nautilus-extension’ /var/db/pkg —include=NEEDED.ELF.2 -l

_________________
GNOME team lead; GStreamer; MIPS/ARM64

Вернуться к началу

corrmaan
n00b

Зарегистрирован: 02 мая 2016
Сообщений: 14

Добавлено: чт мар 07, 2019 2:38 pm Заголовок сообщения:
Ah, so you’re the maintainer for nautilus and the lead of Gentoo’s GNOME project, I didn’t realize that at first! Thanks for taking the time to look at this. It’s starting to get over my head so I’ll gladly follow any troubleshooting instructions you throw at me.

Код:
# grep -rI ‘nautilus-extension’ /var/db/pkg —include=NEEDED.ELF.2 -l
/var/db/pkg/x11-terms/gnome-terminal-3.30.1/NEEDED.ELF.2
/var/db/pkg/app-text/evince-3.30.2/NEEDED.ELF.2
/var/db/pkg/gnome-base/nautilus-3.28.1/NEEDED.ELF.2
/var/db/pkg/media-video/totem-3.30.0/NEEDED.ELF.2
/var/db/pkg/app-arch/file-roller-3.28.1/NEEDED.ELF.2
/var/db/pkg/gnome-extra/gnome-user-share-3.18.3/NEEDED.ELF.2
/var/db/pkg/app-cdr/brasero-3.12.2-r1/NEEDED.ELF.2

Would gnome-extra/gnome-user-share-3.18.3 and app-cdr/brasero-3.12.2-r1 be of concern in this case?

Вернуться к началу

Leio
Developer

Зарегистрирован: 27 фев 2003
Сообщений: 494
Откуда: Estonia

Добавлено: чт мар 07, 2019 2:50 pm Заголовок сообщения:
gnome-user-share does have this in its NEWS:

Код:
Major changes since 3.18.3:
— Update for nautilus changes in 3.28 development branch

Due to reading that, I did actually try old gnome-user-share with new nautilus and didn’t experience any crashes; however as I don’t actually use the features it provides, I force installed it without the apache runtime deps, and it might not have loaded the extension fully to trigger issues due to that.

So yeah, give gnome-user-share-3.28.0 a try, maybe that’s it. If not, let us know here and we can continue troubleshooting.
If that was it, then of course let us know too, and maybe I’ll adjust dependencies in gnome-user-share accordingly (at least making 3.18.x block newer nautilus, so they’d be forced to be upgraded at once)
_________________
GNOME team lead; GStreamer; MIPS/ARM64

Вернуться к началу

corrmaan
n00b

Зарегистрирован: 02 мая 2016
Сообщений: 14

Добавлено: чт мар 07, 2019 6:12 pm Заголовок сообщения:
Sorry for the delay, here’s what I did:

Код:
# emaint sync —auto
# emerge —with-bdeps=y —changed-use —update —backtrack=50 @world
# emerge —depclean
# emerge @module-rebuild
# emerge @preserved-rebuild
# revdep-rebuild
# emerge -1 nautilus

which updated gnome-user-share to 3.28.0 (along with webkit-gtk, hence the delay). Then I rebooted, but nautilus still won’t start:

Код:
$ nautilus

(nautilus:4755): GLib-GObject-WARNING **: 14:08:03.903: cannot register existing type ‘TrackerSparqlConnection’

(nautilus:4755): GLib-CRITICAL **: 14:08:03.903: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:4755): GLib-GObject-CRITICAL **: 14:08:03.903: g_param_spec_object: assertion ‘g_type_is_a (object_type, G_TYPE_OBJECT)’ failed

(nautilus:4755): GLib-GObject-CRITICAL **: 14:08:03.903: validate_pspec_to_install: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

(nautilus:4755): GLib-GObject-WARNING **: 14:08:03.920: cannot register existing type ‘TrackerSparqlCursor’

(nautilus:4755): GLib-GObject-WARNING **: 14:08:03.920: cannot add private field to invalid (non-instantiatable) type ‘ ‘

(nautilus:4755): GLib-CRITICAL **: 14:08:03.920: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:4755): GLib-GObject-WARNING **: 14:08:03.934: invalid cast from ‘TrackerDBCursor’ to ‘ ‘

(nautilus:4755): GLib-GObject-CRITICAL **: 14:08:03.934: g_object_notify_by_pspec: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

Вернуться к началу

Leio
Developer

Зарегистрирован: 27 фев 2003
Сообщений: 494
Откуда: Estonia

Добавлено: чт мар 07, 2019 6:16 pm Заголовок сообщения:
Did you get gnome-user-share upgraded? Seemed curious you had that old version already before, maybe some keyword mixing or some other problem with it not seeing the upgrade?
_________________
GNOME team lead; GStreamer; MIPS/ARM64

Вернуться к началу

corrmaan
n00b

Зарегистрирован: 02 мая 2016
Сообщений: 14

Добавлено: чт мар 07, 2019 6:26 pm Заголовок сообщения:
Yes gnome-user-share was updated to 3.28.0 in the @world update.

Вернуться к началу

Leio
Developer

Зарегистрирован: 27 фев 2003
Сообщений: 494
Откуда: Estonia

Добавлено: чт мар 07, 2019 6:36 pm Заголовок сообщения:
Is there a core dump we can look at? coredumpctl info /usr/bin/nautilus maybe if on systemd?
_________________
GNOME team lead; GStreamer; MIPS/ARM64

Вернуться к началу

corrmaan
n00b

Зарегистрирован: 02 мая 2016
Сообщений: 14

Добавлено: пт мар 08, 2019 1:44 pm Заголовок сообщения:
I ran out of time yesterday to figure out how to force a core dump, so overnight I let a world rebuild run,

Код:
emerge —emptytree —with-bdeps=y @world

to see if it would fix the issue, but unfortunately it didn’t. So I rebuilt nautilus as follows, being verbose here to make sure I included everything that may help with troubleshooting:

Код:
# nano -w /etc/portage/env/debug.conf
Код:
CFLAGS=»-march=native -pipe -Og -ggdb»
CXXFLAGS=»$»
FEATURES=»$ splitdebug»
Код:
# nano -w /etc/portage/package.env/nautilus-debug
Код:
gnome-base/nautilus debug.conf
Код:
# emerge -1 gnome-base/nautilus
Код:
$ gdb -q /usr/bin/nautilus
Reading symbols from /usr/bin/nautilus. Reading symbols from /usr/lib64/debug//usr/bin/nautilus.debug. done.
done.
(gdb) run
Starting program: /usr/bin/nautilus
[Thread debugging using libthread_db enabled]
Using host libthread_db library «/lib64/libthread_db.so.1».
[New Thread 0x7ffff2f6c700 (LWP 8660)]
[New Thread 0x7ffff276b700 (LWP 8661)]
[New Thread 0x7ffff1f6a700 (LWP 8663)]

(nautilus:8656): GLib-GObject-WARNING **: 09:17:26.398: cannot register existing type ‘TrackerSparqlConnection’

(nautilus:8656): GLib-CRITICAL **: 09:17:26.398: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:8656): GLib-GObject-CRITICAL **: 09:17:26.398: g_param_spec_object: assertion ‘g_type_is_a (object_type, G_TYPE_OBJECT)’ failed

(nautilus:8656): GLib-GObject-CRITICAL **: 09:17:26.398: validate_pspec_to_install: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed
[New Thread 0x7ffff16bd700 (LWP 8664)]
[New Thread 0x7ffff0ebc700 (LWP 8665)]

(nautilus:8656): GLib-GObject-WARNING **: 09:17:26.484: cannot register existing type ‘TrackerSparqlCursor’

(nautilus:8656): GLib-GObject-WARNING **: 09:17:26.484: cannot add private field to invalid (non-instantiatable) type ‘ ‘

(nautilus:8656): GLib-CRITICAL **: 09:17:26.484: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:8656): GLib-GObject-WARNING **: 09:17:26.496: invalid cast from ‘TrackerDBCursor’ to ‘ ‘

(nautilus:8656): GLib-GObject-CRITICAL **: 09:17:26.497: g_object_notify_by_pspec: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed
[Thread 0x7ffff0ebc700 (LWP 8665) exited]

It was hanging at this point so I hit Ctrl+C:

Код:
^C
Thread 1 «nautilus» received signal SIGINT, Interrupt.
0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6
(gdb) generate-core-file
Saved corefile core.8656
(gdb) quit
A debugging session is active.

Inferior 1 [process 8656] will be killed.

Quit anyway? (y or n) y

Here is a link to the core dump: core.8656.tar.gz

Вернуться к началу

Leio
Developer

Зарегистрирован: 27 фев 2003
Сообщений: 494
Откуда: Estonia

Добавлено: пт мар 08, 2019 3:47 pm Заголовок сообщения:
I can’t do anything with a core file without all the binaries as well. Get a backtrace instead, issuing this command to gdb:

thread apply all backtrace full

(or «t a a bt f» for short iirc)

Running nautilus with —g-fatal-warnings argument would make it abort on first warning, which might get a better backtrace if the first warning is a symptom of the issue
_________________
GNOME team lead; GStreamer; MIPS/ARM64

Вернуться к началу

corrmaan
n00b

Зарегистрирован: 02 мая 2016
Сообщений: 14

Добавлено: пт мар 08, 2019 4:23 pm Заголовок сообщения:
That makes sense, sorry I’m not used to this. Here’s the backtrace:

Код:
$ gdb -q /usr/bin/nautilus
Reading symbols from /usr/bin/nautilus. Reading symbols from /usr/lib64/debug//usr/bin/nautilus.debug. done.
done.
(gdb) set pagination off
(gdb) set args —g-fatal-warnings
(gdb) run
Starting program: /usr/bin/nautilus —g-fatal-warnings
[Thread debugging using libthread_db enabled]
Using host libthread_db library «/lib64/libthread_db.so.1».
[New Thread 0x7ffff2f6c700 (LWP 15844)]
[New Thread 0x7ffff276b700 (LWP 15845)]
[New Thread 0x7ffff1f6a700 (LWP 15847)]

(nautilus:15840): GLib-GObject-WARNING **: 12:18:40.897: cannot register existing type ‘TrackerSparqlConnection’

(nautilus:15840): GLib-CRITICAL **: 12:18:40.898: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:15840): GLib-GObject-CRITICAL **: 12:18:40.898: g_param_spec_object: assertion ‘g_type_is_a (object_type, G_TYPE_OBJECT)’ failed

(nautilus:15840): GLib-GObject-CRITICAL **: 12:18:40.898: validate_pspec_to_install: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed
[New Thread 0x7ffff16bd700 (LWP 15848)]
[New Thread 0x7ffff0ebc700 (LWP 15849)]

(nautilus:15840): GLib-GObject-WARNING **: 12:18:40.986: cannot register existing type ‘TrackerSparqlCursor’

(nautilus:15840): GLib-GObject-WARNING **: 12:18:40.986: cannot add private field to invalid (non-instantiatable) type ‘ ‘

(nautilus:15840): GLib-CRITICAL **: 12:18:40.986: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:15840): GLib-GObject-WARNING **: 12:18:40.999: invalid cast from ‘TrackerDBCursor’ to ‘ ‘

(nautilus:15840): GLib-GObject-CRITICAL **: 12:18:40.999: g_object_notify_by_pspec: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed
[Thread 0x7ffff0ebc700 (LWP 15849) exited]
^C
Thread 1 «nautilus» received signal SIGINT, Interrupt.
0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6
(gdb) thread apply all backtrace full

Thread 5 (Thread 0x7ffff16bd700 (LWP 15848)):
#0 0x00007ffff6e65e33 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff71e2fec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff16cabdd in dconf_gdbus_worker_thread () from /usr/lib64/gio/modules/libdconfsettings.so
No symbol table info available.
#4 0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007ffff6e7214f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 4 (Thread 0x7ffff1f6a700 (LWP 15847)):
#0 0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff7185238 in g_cond_wait () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff721bacb in g_async_queue_pop_unlocked () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff71ac6e7 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007ffff6e7214f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x7ffff276b700 (LWP 15845)):
#0 0x00007ffff6e65e33 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff71e3212 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff738dc36 in gdbus_shared_thread_func.lto_priv () from /usr/lib64/libgio-2.0.so.0
No symbol table info available.
#4 0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007ffff6e7214f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x7ffff2f6c700 (LWP 15844)):
#0 0x00007ffff6e65e33 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff71e308b in glib_worker_main () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007ffff6e7214f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7ffff2fb2940 (LWP 15840)):
#0 0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff7185238 in g_cond_wait () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff71accff in g_once_init_enter () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff6f7056d in tracker_sparql_cursor_get_type () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#4 0x00007ffff6f73ada in tracker_direct_connection_query () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#5 0x00007ffff6f80618 in tracker_sparql_backend_real_query () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#6 0x00007ffff6f76476 in tracker_notifier_cache_id () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#7 0x00007ffff6f7f5ec in tracker_notifier_initable_init () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#8 0x00007ffff7419911 in g_initable_new () from /usr/lib64/libgio-2.0.so.0
No symbol table info available.
#9 0x00007ffff6f7c4ab in tracker_notifier_new () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#10 0x00005555555ef250 in nautilus_tag_manager_set_cancellable (self=0x555555743780, cancellable=0x7fffe400ed90) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:868
No locals.
#11 0x0000555555599b75 in nautilus_application_init (self=0x555555724140) at ../nautilus-3.28.1/src/nautilus-application.c:1114
options = <, , , , , , , , , >
priv = 0x555555724010
#12 0x00007ffff72cd3af in g_type_create_instance () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#13 0x00007ffff72debd8 in g_object_new_internal () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#14 0x00007ffff72dfbc1 in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#15 0x00007ffff72dff41 in g_object_new () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#16 0x000055555559bcaa in nautilus_application_new () at ../nautilus-3.28.1/src/nautilus-application.c:1549
No locals.
#17 0x0000555555599a1c in main (argc=2, argv=0x7fffffffd918) at ../nautilus-3.28.1/src/nautilus-main.c:76
retval =
application =
(gdb) quit
A debugging session is active.

Inferior 1 [process 15840] will be killed.

Quit anyway? (y or n) y

Вернуться к началу

Leio
Developer

Зарегистрирован: 27 фев 2003
Сообщений: 494
Откуда: Estonia

Добавлено: сб мар 09, 2019 3:57 pm Заголовок сообщения:
Looks like some sort of a deadlock between thread 4 and thread 1.
That said, it looks like the fatal warning things didn’t really take and you still had to just ctrl+C the deadlock. Please try via environment variable instead of the «set args», rest the same; something like:

Код:
G_DEBUG=fatal-warnings gdb -q /usr/bin/nautilus

Just in case might also try with getting pass the warning and get a backtrace of the critical instead too:

Код:
G_DEBUG=fatal-criticals gdb -q /usr/bin/nautilus

_________________
GNOME team lead; GStreamer; MIPS/ARM64

Вернуться к началу

corrmaan
n00b

Зарегистрирован: 02 мая 2016
Сообщений: 14

Добавлено: пн мар 11, 2019 12:14 pm Заголовок сообщения:
Good morning, hope you had a good weekend. Here are the outputs:

Код:
$ G_DEBUG=fatal-warnings gdb -q /usr/bin/nautilus
Reading symbols from /usr/bin/nautilus. Reading symbols from /usr/lib64/debug//usr/bin/nautilus.debug. done.
done.
(gdb) set pagination off
(gdb) run
Starting program: /usr/bin/nautilus
[Thread debugging using libthread_db enabled]
Using host libthread_db library «/lib64/libthread_db.so.1».
[New Thread 0x7ffff2f6c700 (LWP 19791)]
[New Thread 0x7ffff276b700 (LWP 19792)]
[New Thread 0x7ffff1f6a700 (LWP 19794)]

(nautilus:19786): GLib-GObject-WARNING **: 09:11:15.848: cannot register existing type ‘TrackerSparqlConnection’

Thread 1 «nautilus» received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff71d1656 in g_logv () from /usr/lib64/libglib-2.0.so.0
(gdb) thread apply all backtrace full

Thread 4 (Thread 0x7ffff1f6a700 (LWP 19794)):
#0 0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff7185238 in g_cond_wait () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff721bacb in g_async_queue_pop_unlocked () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff71ac6e7 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007ffff6e7214f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x7ffff276b700 (LWP 19792)):
#0 0x00007ffff6e65e33 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff71e3212 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff738dc36 in gdbus_shared_thread_func.lto_priv () from /usr/lib64/libgio-2.0.so.0
No symbol table info available.
#4 0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007ffff6e7214f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x7ffff2f6c700 (LWP 19791)):
#0 0x00007ffff6e65e33 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff71e308b in glib_worker_main () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007ffff6e7214f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7ffff2fb2940 (LWP 19786)):
#0 0x00007ffff71d1656 in g_logv () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#1 0x00007ffff71d18f7 in g_log () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff72c4d80 in check_type_name_I.lto_priv.69 () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#3 0x00007ffff72bee0b in g_type_register_static () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#4 0x00007ffff5ee26e1 in tracker_sparql_cursor_class_init.lto_priv () from /usr/lib64/tracker-2.0/libtracker-data.so
No symbol table info available.
#5 0x00007ffff72ba1da in g_type_class_ref () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#6 0x00007ffff72ba398 in g_type_class_ref () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#7 0x00007ffff72df7a8 in g_object_new_with_properties () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#8 0x00007ffff72dff69 in g_object_new () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#9 0x00007ffff5ecc175 in tracker_db_statement_start_cursor.constprop () from /usr/lib64/tracker-2.0/libtracker-data.so
No symbol table info available.
#10 0x00007ffff5f1d988 in tracker_db_manager_create_db_interface.lto_priv () from /usr/lib64/tracker-2.0/libtracker-data.so
No symbol table info available.
#11 0x00007ffff5ed7378 in tracker_db_manager_new () from /usr/lib64/tracker-2.0/libtracker-data.so
No symbol table info available.
#12 0x00007ffff5f35df3 in tracker_data_manager_initable_init () from /usr/lib64/tracker-2.0/libtracker-data.so
No symbol table info available.
#13 0x00007ffff6f73c85 in tracker_direct_connection_initable_init () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#14 0x00007ffff6f80a6b in tracker_sparql_backend_create_readonly_direct () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#15 0x00007ffff6f83913 in tracker_sparql_backend_get.lto_priv () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#16 0x00007ffff6f6f930 in tracker_sparql_connection_get () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#17 0x00005555555ee482 in start_query_or_update (query=query@entry=0x7fffe4001860, callback=callback@entry=0x5555555eef10 , user_data=user_data@entry=0x555555743780, is_query=is_query@entry=1, cancellable=cancellable@entry=0x7fffe400ed90) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:146
error = 0x0
connection =
#18 0x00005555555ee5d9 in nautilus_tag_manager_query_starred_files (self=self@entry=0x555555743780, cancellable=cancellable@entry=0x7fffe400ed90) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:425
query = 0x7fffe4001860
#19 0x00005555555ef23a in nautilus_tag_manager_set_cancellable (self=0x555555743780, cancellable=0x7fffe400ed90) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:866
No locals.
#20 0x0000555555599b75 in nautilus_application_init (self=0x555555724140) at ../nautilus-3.28.1/src/nautilus-application.c:1114
options = <, , , , , , , , , >
priv = 0x555555724010
#21 0x00007ffff72cd3af in g_type_create_instance () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#22 0x00007ffff72debd8 in g_object_new_internal () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#23 0x00007ffff72dfbc1 in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#24 0x00007ffff72dff41 in g_object_new () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#25 0x000055555559bcaa in nautilus_application_new () at ../nautilus-3.28.1/src/nautilus-application.c:1549
No locals.
#26 0x0000555555599a1c in main (argc=1, argv=0x7fffffffd918) at ../nautilus-3.28.1/src/nautilus-main.c:76
retval =
application =
(gdb) quit
A debugging session is active.

Inferior 1 [process 19786] will be killed.

Quit anyway? (y or n) y

Код:
$ G_DEBUG=fatal-criticals gdb -q /usr/bin/nautilus
Reading symbols from /usr/bin/nautilus. Reading symbols from /usr/lib64/debug//usr/bin/nautilus.debug. done.
done.
(gdb) set pagination off
(gdb) run
Starting program: /usr/bin/nautilus
[Thread debugging using libthread_db enabled]
Using host libthread_db library «/lib64/libthread_db.so.1».
[New Thread 0x7ffff2f6c700 (LWP 5164)]
[New Thread 0x7ffff276b700 (LWP 5165)]
[New Thread 0x7ffff1f6a700 (LWP 5167)]

(nautilus:5144): GLib-GObject-WARNING **: 09:12:57.980: cannot register existing type ‘TrackerSparqlConnection’

(nautilus:5144): GLib-CRITICAL **: 09:12:57.980: g_once_init_leave: assertion ‘result != 0’ failed

Thread 1 «nautilus» received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff71d1656 in g_logv () from /usr/lib64/libglib-2.0.so.0
(gdb) thread apply all backtrace full

Thread 4 (Thread 0x7ffff1f6a700 (LWP 5167)):
#0 0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff7185238 in g_cond_wait () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff721bacb in g_async_queue_pop_unlocked () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff71ac6e7 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007ffff6e7214f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x7ffff276b700 (LWP 5165)):
#0 0x00007ffff6e65e33 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff71e3212 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff738dc36 in gdbus_shared_thread_func.lto_priv () from /usr/lib64/libgio-2.0.so.0
No symbol table info available.
#4 0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007ffff6e7214f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x7ffff2f6c700 (LWP 5164)):
#0 0x00007ffff6e65e33 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff71e308b in glib_worker_main () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007ffff6e7214f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7ffff2fb2940 (LWP 5144)):
#0 0x00007ffff71d1656 in g_logv () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#1 0x00007ffff71d18f7 in g_log () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff5ee26f0 in tracker_sparql_cursor_class_init.lto_priv () from /usr/lib64/tracker-2.0/libtracker-data.so
No symbol table info available.
#3 0x00007ffff72ba1da in g_type_class_ref () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#4 0x00007ffff72ba398 in g_type_class_ref () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#5 0x00007ffff72df7a8 in g_object_new_with_properties () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#6 0x00007ffff72dff69 in g_object_new () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#7 0x00007ffff5ecc175 in tracker_db_statement_start_cursor.constprop () from /usr/lib64/tracker-2.0/libtracker-data.so
No symbol table info available.
#8 0x00007ffff5f1d988 in tracker_db_manager_create_db_interface.lto_priv () from /usr/lib64/tracker-2.0/libtracker-data.so
No symbol table info available.
#9 0x00007ffff5ed7378 in tracker_db_manager_new () from /usr/lib64/tracker-2.0/libtracker-data.so
No symbol table info available.
#10 0x00007ffff5f35df3 in tracker_data_manager_initable_init () from /usr/lib64/tracker-2.0/libtracker-data.so
No symbol table info available.
#11 0x00007ffff6f73c85 in tracker_direct_connection_initable_init () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#12 0x00007ffff6f80a6b in tracker_sparql_backend_create_readonly_direct () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#13 0x00007ffff6f83913 in tracker_sparql_backend_get.lto_priv () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#14 0x00007ffff6f6f930 in tracker_sparql_connection_get () from /usr/lib64/libtracker-sparql-2.0.so.0
No symbol table info available.
#15 0x00005555555ee482 in start_query_or_update (query=query@entry=0x7fffe4001500, callback=callback@entry=0x5555555eef10 , user_data=user_data@entry=0x555555743780, is_query=is_query@entry=1, cancellable=cancellable@entry=0x555555749740) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:146
error = 0x0
connection =
#16 0x00005555555ee5d9 in nautilus_tag_manager_query_starred_files (self=self@entry=0x555555743780, cancellable=cancellable@entry=0x555555749740) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:425
query = 0x7fffe4001500
#17 0x00005555555ef23a in nautilus_tag_manager_set_cancellable (self=0x555555743780, cancellable=0x555555749740) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:866
No locals.
#18 0x0000555555599b75 in nautilus_application_init (self=0x555555724140) at ../nautilus-3.28.1/src/nautilus-application.c:1114
options = <, , , , , , , , , >
priv = 0x555555724010
#19 0x00007ffff72cd3af in g_type_create_instance () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#20 0x00007ffff72debd8 in g_object_new_internal () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#21 0x00007ffff72dfbc1 in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#22 0x00007ffff72dff41 in g_object_new () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#23 0x000055555559bcaa in nautilus_application_new () at ../nautilus-3.28.1/src/nautilus-application.c:1549
No locals.
#24 0x0000555555599a1c in main (argc=1, argv=0x7fffffffd918) at ../nautilus-3.28.1/src/nautilus-main.c:76
retval =
application =
(gdb) quit
A debugging session is active.

Inferior 1 [process 5144] will be killed.

Quit anyway? (y or n) y

Вернуться к началу

Leio
Developer

Зарегистрирован: 27 фев 2003
Сообщений: 494
Откуда: Estonia

Добавлено: пн мар 11, 2019 3:30 pm Заголовок сообщения:
Please try to recompile glib and tracker without LTO and see what happens then. If it works then, we have something to blame and look further; otherwise it’s still a mystery.
_________________
GNOME team lead; GStreamer; MIPS/ARM64

Вернуться к началу

corrmaan
n00b

Зарегистрирован: 02 мая 2016
Сообщений: 14

Добавлено: вт мар 12, 2019 12:11 pm Заголовок сообщения:
I recompiled glib and tracker without LTO, then rebuilt nautilus again, here is it’s new output (a new crash):

Код:
$ gdb -q /usr/bin/nautilus
Reading symbols from /usr/bin/nautilus. Reading symbols from /usr/lib64/debug//usr/bin/nautilus.debug. done.
done.
(gdb) set pagination off
(gdb) run
Starting program: /usr/bin/nautilus
[Thread debugging using libthread_db enabled]
Using host libthread_db library «/lib64/libthread_db.so.1».
[New Thread 0x7ffff2f47700 (LWP 13536)]
[New Thread 0x7ffff2746700 (LWP 13537)]

(nautilus:13532): GVFS-WARNING **: 08:38:15.871: Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.Daemon: The connection is closed (g-io-error-quark, 18)

[New Thread 0x7ffff1f45700 (LWP 13538)]
[New Thread 0x7ffff1744700 (LWP 13539)]

** (nautilus:13532): WARNING **: 08:38:15.872: Error on getting connection: Failed to load SPARQL backend: The connection is closed

(nautilus:13532): GLib-GIO-CRITICAL **: 08:38:15.872: g_dbus_connection_signal_unsubscribe: assertion ‘G_IS_DBUS_CONNECTION (connection)’ failed

(nautilus:13532): GLib-GObject-CRITICAL **: 08:38:15.872: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed

(nautilus:13532): GLib-GObject-CRITICAL **: 08:38:15.872: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed

(nautilus:13532): GLib-GObject-WARNING **: 08:38:15.872: invalid (NULL) pointer instance

(nautilus:13532): GLib-GObject-CRITICAL **: 08:38:15.872: g_signal_connect_data: assertion ‘G_TYPE_CHECK_INSTANCE (instance)’ failed
Failed to register: The connection is closed

Thread 1 «nautilus» received signal SIGTERM, Terminated.
0x00007ffff6f255fb in raise () from /lib64/libpthread.so.0
(gdb) thread apply all backtrace full

Thread 5 (Thread 0x7ffff1744700 (LWP 13539)):
#0 0x00007ffff6e44459 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff720697b in g_cond_wait_until () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff71635de in g_async_queue_timeout_pop_unlocked () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff71dd112 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff71dc435 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff6f193e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007ffff6e4a14f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 4 (Thread 0x7ffff1f45700 (LWP 13538)):
#0 0x00007ffff6e44459 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff720697b in g_cond_wait_until () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff71635de in g_async_queue_timeout_pop_unlocked () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff71dd112 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff71dc435 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff6f193e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007ffff6e4a14f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x7ffff2746700 (LWP 13537)):
#0 0x00007ffff6e3de33 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff719faa6 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff71a0072 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff73eee36 in gdbus_shared_thread_func () from /usr/lib64/libgio-2.0.so.0
No symbol table info available.
#4 0x00007ffff71dc435 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff6f193e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007ffff6e4a14f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x7ffff2f47700 (LWP 13536)):
#0 0x00007ffff6e3de33 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff719faa6 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff719fc23 in glib_worker_main () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff71dc435 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff6f193e3 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007ffff6e4a14f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7ffff2f8d940 (LWP 13532)):
#0 0x00007ffff6f255fb in raise () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00007ffff611a4dd in ffi_call_unix64 () from /usr/lib64/libffi.so.7
No symbol table info available.
#2 0x00007ffff6115fda in ffi_call_int.lto_priv () from /usr/lib64/libffi.so.7
No symbol table info available.
#3 0x00007ffff72a6626 in g_cclosure_marshal_generic_va () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#4 0x00007ffff72a5856 in _g_closure_invoke_va () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#5 0x00007ffff72c45a1 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#6 0x00007ffff72c4b17 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#7 0x00007ffff73d5785 in emit_closed_in_idle () from /usr/lib64/libgio-2.0.so.0
No symbol table info available.
#8 0x00007ffff719f6e7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#9 0x00007ffff719fb40 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#10 0x00007ffff719fd4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#11 0x00007ffff73b7a1a in g_application_run () from /usr/lib64/libgio-2.0.so.0
No symbol table info available.
#12 0x0000555555599a65 in main (argc=1, argv=0x7fffffffd948) at ../nautilus-3.28.1/src/nautilus-main.c:84
retval =
application = 0x555555724140
(gdb) quit
A debugging session is active.

Inferior 1 [process 13532] will be killed.

Quit anyway? (y or n) y

This seems to have broke most of the DE. I restarted and gdm and NetworkManager wouldn’t even start, the latter spitting out a DBus error. Sorry I don’t have the exact log, this is being posted from a different system.

Вернуться к началу

Leio
Developer

Зарегистрирован: 27 фев 2003
Сообщений: 494
Откуда: Estonia

Добавлено: вт мар 12, 2019 2:15 pm Заголовок сообщения:
hrm; you do have a user dbus session running, right?
_________________
GNOME team lead; GStreamer; MIPS/ARM64

Вернуться к началу

corrmaan
n00b

Зарегистрирован: 02 мая 2016
Сообщений: 14

Добавлено: сб мар 16, 2019 4:00 pm Заголовок сообщения:
Ya, I’m pretty sure. I think I’ll have to try a reinstall on normal amd64 without LTO and gold and see if it works then.

Вернуться к началу

Phoenix591
Guru

Зарегистрирован: 17 сен 2007
Сообщений: 443

Добавлено: вт апр 02, 2019 3:33 pm Заголовок сообщения:
I just ran facefirst into the same thing (same warnings and symptoms of it not opening). Nautilus worked few times then stopped working around when I switched to systemd and added the user-session useflags to dbus/bluez, but switching back to openrc and dropping those changes hasn’t fixed it.

EDIT: my backtrace put me on the trail of tracker too and all it needed was to be rebuilt without any form of lto. (and nothing else needed changed when I rebuilt everything without debug info)

Вернуться к началу

ElDavo
n00b

Зарегистрирован: 23 авг 2015
Сообщений: 18

Добавлено: пт апр 05, 2019 8:59 pm Заголовок сообщения: LTO is the problem
Hi, the problem should be LTO as I have the exact same problem and I have LTO as well.
So I don’t think the GNOME guys would offer support for this, we should rather tell the gentooLTO guys.

Вернуться к началу

ElDavo
n00b

Зарегистрирован: 23 авг 2015
Сообщений: 18

Добавлено: пт апр 05, 2019 9:31 pm Заголовок сообщения:
A couple of interesting facts:
1) Compiling nautilus without LTO does not solve the problem. This implies the problem is somewhere else.
Well yes but actually no:
2) nautilus-3.24.2.1-r2 works fine.
At least this mean we can do a bisect or sort of.

I’ll investigate after a good night o’ sleep

Вернуться к началу

ElDavo
n00b

Зарегистрирован: 23 авг 2015
Сообщений: 18

Добавлено: вс апр 07, 2019 2:26 pm Заголовок сообщения:
Shazam! Found the bad commit.
It’s 16 months old!!
https://gitlab.gnome.org/GNOME/nautilus/commit/a9c446afe262b7989bc17ef1f9ab19931db8dede
OP, would you like to confirm that the issue goes away with commit 0be00303f025ef212e517776c5b92199cc66096c (the previous one)?

Вернуться к началу

ElDavo
n00b

Зарегистрирован: 23 авг 2015
Сообщений: 18

Добавлено: вс апр 07, 2019 8:35 pm Заголовок сообщения:
Removing -fno-semantic-interposition from app-misc/tracker fixes the issue.

Вернуться к началу

corrmaan
n00b

Зарегистрирован: 02 мая 2016
Сообщений: 14

Добавлено: пн апр 08, 2019 3:36 pm Заголовок сообщения:
Thanks for digging into this ElDavo, using

Код:
app-misc/tracker *FLAGS-=-fno-semantic-interposition

in my LTO workarounds, then rebuilding tracker then nautilus, did the trick. I didn’t try undoing that commit you mentioned.

I almost got used to not using nautilus anymore and instead browsing directories with bash and opening files from their default apps haha.

Cheers!

Вернуться к началу

Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете голосовать в опросах

Copyright 2001-2023 Gentoo Foundation, Inc. Designed by Kyle Manna © 2003; Style derived from original subSilver theme. | Hosting by Gossamer Threads Inc. © | Powered by phpBB 2.0.23-gentoo-p11 © 2001, 2002 phpBB Group
Privacy Policy

Источник

Adblock
detector

  • Печать

Страницы: [1]   Вниз

Тема: Ошибка sudo в Терминал  (Прочитано 5087 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
RIS

Привет, в Терминал получаю ошибку (смотрите код) при запуске sudo nautilus, как можно устранить ошибку? Спасибо.

user@Computer:~$ sudo nautilus
[sudo] пароль для user:

** (nautilus:1669): WARNING **: 03:55:31.626: Error on getting connection: Failed to load SPARQL backend: Error spawning command line ?dbus-launch --autolaunch=a93a5e1d09834c0da7d82de9b49e231e --binary-syntax --close-stderr?: Child process exited with code 1

(nautilus:1669): GLib-GIO-CRITICAL **: 03:55:31.633: g_dbus_connection_signal_unsubscribe: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(nautilus:1669): GLib-GObject-CRITICAL **: 03:55:31.633: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(nautilus:1669): GLib-GObject-CRITICAL **: 03:55:31.633: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
No protocol specified
Unable to init server: Не удалось подключиться к: В соединении отказано

(nautilus:1669): Gtk-WARNING **: 03:55:31.647: cannot open display: :0


Оффлайн
Azure

Если у Вас уже новая «бунта» (начиная с 18) то там совсем другой порядок запуска GUI-приложений от администратора.

How to edit system files using a GUI without gksu?

Enter admin://. The recommended way of performing operations that require elevated permissions using a GUI is by using the gvfs admin backend, which is available in both Ubuntu 18.04 LTS (and Linux Mint 19 Tara) and 17.10, by using the admin:// prefix.
All you have to do is open Nautilus (or Nemo), press [Ctrl] + [L] so you can type in its address bar, and type admin:// followed by the path of the folder containing the file you want to edit, and enter your password. After doing this, you can use any GUI application to alter system files, like Nautilus to add / delete files or folders, Gedit (or Xed in Linux Mint 19) to edit text file, and so on.

P.S. Не стоит привыкать к плохому: запуск наутилуса под root‘ом НЕ нужен в подавляющем большинстве случаев, а привести к проблемам может «на раз-два»!

« Последнее редактирование: 06 Августа 2019, 20:22:58 от Azure »

В Линукс можно сделать ВСЁ что угодно, достаточно знать КАК !


Оффлайн
RIS

so you can type in its address bar, and type admin:// followed by the path of the folder containing the file you want to edit

Нет возможности написать адрес папки (смотрите фото) https://prnt.sc/op7qa9


Оффлайн
Azure

press [Ctrl] + [L] so you can type in its address bar

В Линукс можно сделать ВСЁ что угодно, достаточно знать КАК !


  • Печать

Страницы: [1]   Вверх

View previous topic :: View next topic  
Author Message
corrmaan
n00b
n00b

Joined: 02 May 2016
Posts: 14

PostPosted: Wed Mar 06, 2019 1:56 pm    Post subject: [SOLVED] Nautilus won’t open Reply with quote

Hi all,

This morning nautilus was updated to gnome-base/nautilus-3.28.1, but now it won’t open. Has anyone else ran in to this problem?

Tried making a new user account, that didn’t work. Restarted my machine, that didn’t work either.

When I run it from the terminal, here is the output:

Code:
$ nautilus

(nautilus:9747): GLib-GObject-WARNING **: 09:49:32.833: cannot register existing type ‘TrackerSparqlConnection’

(nautilus:9747): GLib-CRITICAL **: 09:49:32.833: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:9747): GLib-GObject-CRITICAL **: 09:49:32.833: g_param_spec_object: assertion ‘g_type_is_a (object_type, G_TYPE_OBJECT)’ failed

(nautilus:9747): GLib-GObject-CRITICAL **: 09:49:32.833: validate_pspec_to_install: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

(nautilus:9747): GLib-GObject-WARNING **: 09:49:32.850: cannot register existing type ‘TrackerSparqlCursor’

(nautilus:9747): GLib-GObject-WARNING **: 09:49:32.850: cannot add private field to invalid (non-instantiatable) type ‘<invalid>’

(nautilus:9747): GLib-CRITICAL **: 09:49:32.850: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:9747): GLib-GObject-WARNING **: 09:49:32.863: invalid cast from ‘TrackerDBCursor’ to ‘<invalid>’

(nautilus:9747): GLib-GObject-CRITICAL **: 09:49:32.863: g_object_notify_by_pspec: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

Here is my output of emerge —info for my ~amd64 system with LTO and the gold linker:

Code:
$ emerge —info

Portage 2.3.62 (python 2.7.16-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-8.3.0, glibc-2.28-r5, 5.0.0-gentoo x86_64)

=================================================================

System uname: Linux-5.0.0-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-gentoo-2.6

KiB Mem:   132270556 total, 127035128 free

KiB Swap:  167772156 total, 167772156 free

Timestamp of repository gentoo: Wed, 06 Mar 2019 00:45:01 +0000

Head commit of repository sakaki-tools: df5b210704a49d66fca210509456b3809bab4716

sh bash 5.0_p2

ld GNU gold (Gentoo 2.32 p1 2.32.0) 1.16

ccache version 3.6 [disabled]

app-shells/bash:          5.0_p2::gentoo

dev-java/java-config:     2.2.0-r4::gentoo

dev-lang/perl:            5.28.0::gentoo

dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo, 3.7.2::gentoo

dev-util/ccache:          3.6::gentoo

dev-util/cmake:           3.13.4::gentoo

dev-util/pkgconfig:       0.29.2::gentoo

sys-apps/baselayout:      2.6-r1::gentoo

sys-apps/sandbox:         2.15::gentoo

sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo

sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo

sys-devel/binutils:       2.32::gentoo

sys-devel/gcc:            8.3.0::gentoo

sys-devel/gcc-config:     2.0::gentoo

sys-devel/libtool:        2.4.6-r5::gentoo

sys-devel/make:           4.2.1-r4::gentoo

sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)

sys-libs/glibc:           2.28-r5::gentoo

Repositories:

gentoo

    location: /usr/portage

    sync-type: webrsync

    sync-uri: rsync://rsync.gentoo.org/gentoo-portage

    priority: -1000

    sync-webrsync-verify-signature: true

krivenko

    location: /var/lib/layman/krivenko

    masters: gentoo

    priority: 50

lto-overlay

    location: /var/lib/layman/lto-overlay

    masters: gentoo mv

    priority: 50

mv

    location: /var/lib/layman/mv

    masters: gentoo

    priority: 50

sakaki-tools

    location: /usr/local/portage/sakaki-tools

    sync-type: git

    sync-uri: https://github.com/sakaki-/sakaki-tools.git

    masters: gentoo

    priority: 50

Installed sets: @ansys-cfx, @pointwise

ACCEPT_KEYWORDS=»amd64 ~amd64″

ACCEPT_LICENSE=»@FREE CC-Sampling-Plus-1.0″

CBUILD=»x86_64-pc-linux-gnu»

CFLAGS=»-march=native -O3 -fgraphite-identity -floop-nest-optimize -fipa-pta -fno-semantic-interposition -flto=24 -fuse-linker-plugin -pipe -falign-functions=32″

CHOST=»x86_64-pc-linux-gnu»

CONFIG_PROTECT=»/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh»

CONFIG_PROTECT_MASK=»/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c»

CXXFLAGS=»-march=native -O3 -fgraphite-identity -floop-nest-optimize -fipa-pta -fno-semantic-interposition -flto=24 -fuse-linker-plugin -pipe -falign-functions=32″

DISTDIR=»/usr/portage/distfiles»

ENV_UNSET=»DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR»

FCFLAGS=»-O2 -pipe»

FEATURES=»assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr»

FFLAGS=»-O2 -pipe»

GENTOO_MIRRORS=»http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/»

LANG=»en_CA.utf8″

LDFLAGS=»-Wl,-O1 -Wl,—as-needed -Wl,—hash-style=gnu»

PKGDIR=»/usr/portage/packages»

PORTAGE_CONFIGROOT=»/»

PORTAGE_RSYNC_OPTS=»—recursive —links —safe-links —perms —times —omit-dir-times —compress —force —whole-file —delete —stats —human-readable —timeout=180 —exclude=/distfiles —exclude=/local —exclude=/packages —exclude=/.git»

PORTAGE_TMPDIR=»/var/tmp»

USE=»X a52 aac acl acpi ads alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg kerberos lcms ldap libnotify libsecret libtirpc lto mad mng mp3 mp4 mpeg multilib nautilus ncurses nls nptl numa ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 rdp readline samba sdl seccomp spell ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis webdav winbind wxwidgets x264 xattr xcb xml xv xvid zlib» ABI_X86=»64″ ALSA_CARDS=»ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci» APACHE2_MODULES=»authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias» CALLIGRA_FEATURES=»karbon sheets words» COLLECTD_PLUGINS=»df interface irq load memory rrdtool swap syslog» CPU_FLAGS_X86=»aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3″ ELIBC=»glibc» GPSD_PROTOCOLS=»ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx» INPUT_DEVICES=»libinput» KERNEL=»linux» L10N=»en» LCD_DEVICES=»bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text» LIBREOFFICE_EXTENSIONS=»presenter-console presenter-minimizer» NETBEANS_MODULES=»apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml» OFFICE_IMPLEMENTATION=»libreoffice» PHP_TARGETS=»php5-6 php7-1″ POSTGRES_TARGETS=»postgres9_5 postgres10″ PYTHON_SINGLE_TARGET=»python3_6″ PYTHON_TARGETS=»python2_7 python3_6″ RUBY_TARGETS=»ruby24″ USERLAND=»GNU» VIDEO_CARDS=»nvidia» XTABLES_ADDONS=»quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account»

Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Cheers!

Last edited by corrmaan on Wed Apr 10, 2019 11:51 pm; edited 1 time in total

Back to top

View user's profile Send private message

Leio
Developer
Developer

Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Thu Mar 07, 2019 9:28 am    Post subject: Reply with quote

Did you recently upgrade from tracker-1 to tracker-2 and haven’t rebuilt everything from the ABI change? Searches of this type of error suggest symbol clashes between them, e.g. nautilus using tracker-2, but something also grilo/grilo-plugins in the same process with that still using tracker-1, and then it goes wonky; that was just one example (grilo-plugins, in case of nautilus it’d probably be something else involved).

So first question — do you still have tracker-1 preserved by portage with rebuilds not complete? Something like

Code:
ls /usr/lib64/libtracker-1*

shouldn’t report any files; if they do, look at emerge -1va @preserved-rebuild
_________________
GNOME team lead; GStreamer; MIPS/ARM64

Back to top

View user's profile Send private message

corrmaan
n00b
n00b

Joined: 02 May 2016
Posts: 14

PostPosted: Thu Mar 07, 2019 1:50 pm    Post subject: Reply with quote

Thanks for your reply. I checked what you asked, only libtracker-*-2.0* libraries exist:

Code:
# ls -la /usr/lib64/libtracker*

lrwxrwxrwx 1 root root     27 Mar  6 08:49 /usr/lib64/libtracker-control-2.0.so -> libtracker-control-2.0.so.0

lrwxrwxrwx 1 root root     33 Mar  6 08:49 /usr/lib64/libtracker-control-2.0.so.0 -> libtracker-control-2.0.so.0.108.0

-rwxr-xr-x 1 root root  35416 Mar  6 08:49 /usr/lib64/libtracker-control-2.0.so.0.108.0

lrwxrwxrwx 1 root root     25 Mar  6 08:49 /usr/lib64/libtracker-miner-2.0.so -> libtracker-miner-2.0.so.0

lrwxrwxrwx 1 root root     31 Mar  6 08:49 /usr/lib64/libtracker-miner-2.0.so.0 -> libtracker-miner-2.0.so.0.108.0

-rwxr-xr-x 1 root root 192896 Mar  6 08:49 /usr/lib64/libtracker-miner-2.0.so.0.108.0

lrwxrwxrwx 1 root root     26 Mar  6 08:49 /usr/lib64/libtracker-sparql-2.0.so -> libtracker-sparql-2.0.so.0

lrwxrwxrwx 1 root root     32 Mar  6 08:49 /usr/lib64/libtracker-sparql-2.0.so.0 -> libtracker-sparql-2.0.so.0.108.0

-rwxr-xr-x 1 root root 213376 Mar  6 08:49 /usr/lib64/libtracker-sparql-2.0.so.0.108.0



Interestingly these libraries were updated at the same time as well. Sure enough I checked my update log and app-misc/tracker-2.1.8 and app-misc/tracker-miners-2.1.6 were merged. This was followed by a depclean (FYI I update using sakaki’s genup script) which did not remove any old app-misc/tracker* packages.

Back to top

View user's profile Send private message

Leio
Developer
Developer

Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Thu Mar 07, 2019 2:27 pm    Post subject: Reply with quote

Ok, so this is not that particular cause for these symptoms.

Would be nice to have a backtrace of that GLib-CRITICAL, but in lack of that I looked at potential g_once_init_leave calls from nautilus itself, and one may theoretically explain these symptoms, so next question:

Do you have some nautilus extension not upgraded yet, or have I missed updating some extension to be compatible with nautilus-3.28?

If you have any of these installed, at what version are they at?

Maybe easiest to just check and post the output of the following:

Code:
grep -rI ‘nautilus-extension’ /var/db/pkg —include=NEEDED.ELF.2 -l


_________________
GNOME team lead; GStreamer; MIPS/ARM64

Back to top

View user's profile Send private message

corrmaan
n00b
n00b

Joined: 02 May 2016
Posts: 14

PostPosted: Thu Mar 07, 2019 2:38 pm    Post subject: Reply with quote

Ah, so you’re the maintainer for nautilus and the lead of Gentoo’s GNOME project, I didn’t realize that at first! Thanks for taking the time to look at this. It’s starting to get over my head so I’ll gladly follow any troubleshooting instructions you throw at me.

Code:
# grep -rI ‘nautilus-extension’ /var/db/pkg —include=NEEDED.ELF.2 -l

/var/db/pkg/x11-terms/gnome-terminal-3.30.1/NEEDED.ELF.2

/var/db/pkg/app-text/evince-3.30.2/NEEDED.ELF.2

/var/db/pkg/gnome-base/nautilus-3.28.1/NEEDED.ELF.2

/var/db/pkg/media-video/totem-3.30.0/NEEDED.ELF.2

/var/db/pkg/app-arch/file-roller-3.28.1/NEEDED.ELF.2

/var/db/pkg/gnome-extra/gnome-user-share-3.18.3/NEEDED.ELF.2

/var/db/pkg/app-cdr/brasero-3.12.2-r1/NEEDED.ELF.2

Would gnome-extra/gnome-user-share-3.18.3 and app-cdr/brasero-3.12.2-r1 be of concern in this case?

Back to top

View user's profile Send private message

Leio
Developer
Developer

Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Thu Mar 07, 2019 2:50 pm    Post subject: Reply with quote

gnome-user-share does have this in its NEWS:

Code:
Major changes since 3.18.3:

— Update for nautilus changes in 3.28 development branch

Due to reading that, I did actually try old gnome-user-share with new nautilus and didn’t experience any crashes; however as I don’t actually use the features it provides, I force installed it without the apache runtime deps, and it might not have loaded the extension fully to trigger issues due to that.

So yeah, give gnome-user-share-3.28.0 a try, maybe that’s it. If not, let us know here and we can continue troubleshooting.

If that was it, then of course let us know too, and maybe I’ll adjust dependencies in gnome-user-share accordingly (at least making 3.18.x block newer nautilus, so they’d be forced to be upgraded at once)
_________________
GNOME team lead; GStreamer; MIPS/ARM64

Back to top

View user's profile Send private message

corrmaan
n00b
n00b

Joined: 02 May 2016
Posts: 14

PostPosted: Thu Mar 07, 2019 6:12 pm    Post subject: Reply with quote

Sorry for the delay, here’s what I did:

Code:
# emaint sync —auto

# emerge —with-bdeps=y —changed-use —update —backtrack=50 @world

# emerge —depclean

# emerge @module-rebuild

# emerge @preserved-rebuild

# revdep-rebuild

# emerge -1 nautilus



which updated gnome-user-share to 3.28.0 (along with webkit-gtk, hence the delay). Then I rebooted, but nautilus still won’t start:

Code:
$ nautilus

(nautilus:4755): GLib-GObject-WARNING **: 14:08:03.903: cannot register existing type ‘TrackerSparqlConnection’

(nautilus:4755): GLib-CRITICAL **: 14:08:03.903: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:4755): GLib-GObject-CRITICAL **: 14:08:03.903: g_param_spec_object: assertion ‘g_type_is_a (object_type, G_TYPE_OBJECT)’ failed

(nautilus:4755): GLib-GObject-CRITICAL **: 14:08:03.903: validate_pspec_to_install: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

(nautilus:4755): GLib-GObject-WARNING **: 14:08:03.920: cannot register existing type ‘TrackerSparqlCursor’

(nautilus:4755): GLib-GObject-WARNING **: 14:08:03.920: cannot add private field to invalid (non-instantiatable) type ‘<invalid>’

(nautilus:4755): GLib-CRITICAL **: 14:08:03.920: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:4755): GLib-GObject-WARNING **: 14:08:03.934: invalid cast from ‘TrackerDBCursor’ to ‘<invalid>’

(nautilus:4755): GLib-GObject-CRITICAL **: 14:08:03.934: g_object_notify_by_pspec: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

Back to top

View user's profile Send private message

Leio
Developer
Developer

Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Thu Mar 07, 2019 6:16 pm    Post subject: Reply with quote

Did you get gnome-user-share upgraded? Seemed curious you had that old version already before, maybe some keyword mixing or some other problem with it not seeing the upgrade?
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top

View user's profile Send private message

corrmaan
n00b
n00b

Joined: 02 May 2016
Posts: 14

PostPosted: Thu Mar 07, 2019 6:26 pm    Post subject: Reply with quote

Yes gnome-user-share was updated to 3.28.0 in the @world update.
Back to top

View user's profile Send private message

Leio
Developer
Developer

Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Thu Mar 07, 2019 6:36 pm    Post subject: Reply with quote

Is there a core dump we can look at? coredumpctl info /usr/bin/nautilus maybe if on systemd?
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top

View user's profile Send private message

corrmaan
n00b
n00b

Joined: 02 May 2016
Posts: 14

PostPosted: Fri Mar 08, 2019 1:44 pm    Post subject: Reply with quote

I ran out of time yesterday to figure out how to force a core dump, so overnight I let a world rebuild run,

Code:
emerge —emptytree —with-bdeps=y @world



to see if it would fix the issue, but unfortunately it didn’t. So I rebuilt nautilus as follows, being verbose here to make sure I included everything that may help with troubleshooting:

Code:
# nano -w /etc/portage/env/debug.conf



Code:
CFLAGS=»-march=native -pipe -Og -ggdb»

CXXFLAGS=»${CFLAGS}»

FEATURES=»${FEATURES} splitdebug»



Code:
# nano -w /etc/portage/package.env/nautilus-debug



Code:
gnome-base/nautilus debug.conf



Code:
# emerge -1 gnome-base/nautilus



Code:
$ gdb -q /usr/bin/nautilus

Reading symbols from /usr/bin/nautilus…Reading symbols from /usr/lib64/debug//usr/bin/nautilus.debug…done.

done.

(gdb) run

Starting program: /usr/bin/nautilus

[Thread debugging using libthread_db enabled]

Using host libthread_db library «/lib64/libthread_db.so.1».

[New Thread 0x7ffff2f6c700 (LWP 8660)]

[New Thread 0x7ffff276b700 (LWP 8661)]

[New Thread 0x7ffff1f6a700 (LWP 8663)]

(nautilus:8656): GLib-GObject-WARNING **: 09:17:26.398: cannot register existing type ‘TrackerSparqlConnection’

(nautilus:8656): GLib-CRITICAL **: 09:17:26.398: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:8656): GLib-GObject-CRITICAL **: 09:17:26.398: g_param_spec_object: assertion ‘g_type_is_a (object_type, G_TYPE_OBJECT)’ failed

(nautilus:8656): GLib-GObject-CRITICAL **: 09:17:26.398: validate_pspec_to_install: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

[New Thread 0x7ffff16bd700 (LWP 8664)]

[New Thread 0x7ffff0ebc700 (LWP 8665)]

(nautilus:8656): GLib-GObject-WARNING **: 09:17:26.484: cannot register existing type ‘TrackerSparqlCursor’

(nautilus:8656): GLib-GObject-WARNING **: 09:17:26.484: cannot add private field to invalid (non-instantiatable) type ‘<invalid>’

(nautilus:8656): GLib-CRITICAL **: 09:17:26.484: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:8656): GLib-GObject-WARNING **: 09:17:26.496: invalid cast from ‘TrackerDBCursor’ to ‘<invalid>’

(nautilus:8656): GLib-GObject-CRITICAL **: 09:17:26.497: g_object_notify_by_pspec: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

[Thread 0x7ffff0ebc700 (LWP 8665) exited]



It was hanging at this point so I hit Ctrl+C:

Code:
^C

Thread 1 «nautilus» received signal SIGINT, Interrupt.

0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6

(gdb) generate-core-file

Saved corefile core.8656

(gdb) quit

A debugging session is active.

        Inferior 1 [process 8656] will be killed.

Quit anyway? (y or n) y



Here is a link to the core dump: core.8656.tar.gz

Back to top

View user's profile Send private message

Leio
Developer
Developer

Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Fri Mar 08, 2019 3:47 pm    Post subject: Reply with quote

I can’t do anything with a core file without all the binaries as well. Get a backtrace instead, issuing this command to gdb:

thread apply all backtrace full

(or «t a a bt f» for short iirc)

Running nautilus with —g-fatal-warnings argument would make it abort on first warning, which might get a better backtrace if the first warning is a symptom of the issue
_________________
GNOME team lead; GStreamer; MIPS/ARM64

Back to top

View user's profile Send private message

corrmaan
n00b
n00b

Joined: 02 May 2016
Posts: 14

PostPosted: Fri Mar 08, 2019 4:23 pm    Post subject: Reply with quote

That makes sense, sorry I’m not used to this. Here’s the backtrace:

Code:
$ gdb -q /usr/bin/nautilus

Reading symbols from /usr/bin/nautilus…Reading symbols from /usr/lib64/debug//usr/bin/nautilus.debug…done.

done.

(gdb) set pagination off

(gdb) set args —g-fatal-warnings

(gdb) run

Starting program: /usr/bin/nautilus —g-fatal-warnings

[Thread debugging using libthread_db enabled]

Using host libthread_db library «/lib64/libthread_db.so.1».

[New Thread 0x7ffff2f6c700 (LWP 15844)]

[New Thread 0x7ffff276b700 (LWP 15845)]

[New Thread 0x7ffff1f6a700 (LWP 15847)]

(nautilus:15840): GLib-GObject-WARNING **: 12:18:40.897: cannot register existing type ‘TrackerSparqlConnection’

(nautilus:15840): GLib-CRITICAL **: 12:18:40.898: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:15840): GLib-GObject-CRITICAL **: 12:18:40.898: g_param_spec_object: assertion ‘g_type_is_a (object_type, G_TYPE_OBJECT)’ failed

(nautilus:15840): GLib-GObject-CRITICAL **: 12:18:40.898: validate_pspec_to_install: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

[New Thread 0x7ffff16bd700 (LWP 15848)]

[New Thread 0x7ffff0ebc700 (LWP 15849)]

(nautilus:15840): GLib-GObject-WARNING **: 12:18:40.986: cannot register existing type ‘TrackerSparqlCursor’

(nautilus:15840): GLib-GObject-WARNING **: 12:18:40.986: cannot add private field to invalid (non-instantiatable) type ‘<invalid>’

(nautilus:15840): GLib-CRITICAL **: 12:18:40.986: g_once_init_leave: assertion ‘result != 0’ failed

(nautilus:15840): GLib-GObject-WARNING **: 12:18:40.999: invalid cast from ‘TrackerDBCursor’ to ‘<invalid>’

(nautilus:15840): GLib-GObject-CRITICAL **: 12:18:40.999: g_object_notify_by_pspec: assertion ‘G_IS_PARAM_SPEC (pspec)’ failed

[Thread 0x7ffff0ebc700 (LWP 15849) exited]

^C

Thread 1 «nautilus» received signal SIGINT, Interrupt.

0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6

(gdb) thread apply all backtrace full

Thread 5 (Thread 0x7ffff16bd700 (LWP 15848)):

#0  0x00007ffff6e65e33 in poll () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff71e2fec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff16cabdd in dconf_gdbus_worker_thread () from /usr/lib64/gio/modules/libdconfsettings.so

No symbol table info available.

#4  0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#5  0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#6  0x00007ffff6e7214f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 4 (Thread 0x7ffff1f6a700 (LWP 15847)):

#0  0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff7185238 in g_cond_wait () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff721bacb in g_async_queue_pop_unlocked () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff71ac6e7 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#4  0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#5  0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#6  0x00007ffff6e7214f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 3 (Thread 0x7ffff276b700 (LWP 15845)):

#0  0x00007ffff6e65e33 in poll () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff71e3212 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff738dc36 in gdbus_shared_thread_func.lto_priv () from /usr/lib64/libgio-2.0.so.0

No symbol table info available.

#4  0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#5  0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#6  0x00007ffff6e7214f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 2 (Thread 0x7ffff2f6c700 (LWP 15844)):

#0  0x00007ffff6e65e33 in poll () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff71e308b in glib_worker_main () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#4  0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#5  0x00007ffff6e7214f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 1 (Thread 0x7ffff2fb2940 (LWP 15840)):

#0  0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff7185238 in g_cond_wait () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff71accff in g_once_init_enter () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff6f7056d in tracker_sparql_cursor_get_type () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#4  0x00007ffff6f73ada in tracker_direct_connection_query () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#5  0x00007ffff6f80618 in tracker_sparql_backend_real_query () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#6  0x00007ffff6f76476 in tracker_notifier_cache_id () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#7  0x00007ffff6f7f5ec in tracker_notifier_initable_init () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#8  0x00007ffff7419911 in g_initable_new () from /usr/lib64/libgio-2.0.so.0

No symbol table info available.

#9  0x00007ffff6f7c4ab in tracker_notifier_new () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#10 0x00005555555ef250 in nautilus_tag_manager_set_cancellable (self=0x555555743780, cancellable=0x7fffe400ed90) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:868

No locals.

#11 0x0000555555599b75 in nautilus_application_init (self=0x555555724140) at ../nautilus-3.28.1/src/nautilus-application.c:1114

        options = {{long_name = 0x555555660e4d «check», short_name = 99 ‘c’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c098 «Perform a quick set of self-check tests.», arg_description = 0x0}, {long_name = 0x5555556610b0 «browser», short_name = 0 ’00’, flags = 1, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}, {long_name = 0x5555556610b8 «geometry», short_name = 103 ‘g’, flags = 1, arg = G_OPTION_ARG_STRING, arg_data = 0x0, description = 0x55555566c0c8 «Create the initial window with the given geometry.», arg_description = 0x5555556610c1 «GEOMETRY»}, {long_name = 0x555555661034 «version», short_name = 0 ’00’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c100 «Show the version of the program.», arg_description = 0x0}, {long_name = 0x55555566100b «new-window», short_name = 119 ‘w’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c128 «Always open a new window for browsing specified URIs», arg_description = 0x0}, {long_name = 0x5555556610ca «no-default-window», short_name = 110 ‘n’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c160 «Only create windows for explicitly specified URIs.», arg_description = 0x0}, {long_name = 0x555555660e54 «quit», short_name = 113 ‘q’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x5555556610dc «Quit Nautilus.», arg_description = 0x0}, {long_name = 0x555555660e5d «select», short_name = 115 ‘s’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c198 «Select specified URI in parent folder.», arg_description = 0x0}, {long_name = 0x555555660e53 «», short_name = 0 ’00’, flags = 0, arg = G_OPTION_ARG_STRING_ARRAY, arg_data = 0x0, description = 0x0, arg_description = 0x5555556610eb «[URI…]»}, {long_name = 0x0, short_name = 0 ’00’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}

        priv = 0x555555724010

#12 0x00007ffff72cd3af in g_type_create_instance () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#13 0x00007ffff72debd8 in g_object_new_internal () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#14 0x00007ffff72dfbc1 in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#15 0x00007ffff72dff41 in g_object_new () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#16 0x000055555559bcaa in nautilus_application_new () at ../nautilus-3.28.1/src/nautilus-application.c:1549

No locals.

#17 0x0000555555599a1c in main (argc=2, argv=0x7fffffffd918) at ../nautilus-3.28.1/src/nautilus-main.c:76

        retval = <optimized out>

        application = <optimized out>

(gdb) quit

A debugging session is active.

   Inferior 1 [process 15840] will be killed.

Quit anyway? (y or n) y

Back to top

View user's profile Send private message

Leio
Developer
Developer

Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Sat Mar 09, 2019 3:57 pm    Post subject: Reply with quote

Looks like some sort of a deadlock between thread 4 and thread 1.

That said, it looks like the fatal warning things didn’t really take and you still had to just ctrl+C the deadlock. Please try via environment variable instead of the «set args», rest the same; something like:

Code:
G_DEBUG=fatal-warnings gdb -q /usr/bin/nautilus



Just in case might also try with getting pass the warning and get a backtrace of the critical instead too:

Code:
G_DEBUG=fatal-criticals gdb -q /usr/bin/nautilus


_________________
GNOME team lead; GStreamer; MIPS/ARM64

Back to top

View user's profile Send private message

corrmaan
n00b
n00b

Joined: 02 May 2016
Posts: 14

PostPosted: Mon Mar 11, 2019 12:14 pm    Post subject: Reply with quote

Good morning, hope you had a good weekend. Here are the outputs:

Code:
$ G_DEBUG=fatal-warnings gdb -q /usr/bin/nautilus

Reading symbols from /usr/bin/nautilus…Reading symbols from /usr/lib64/debug//usr/bin/nautilus.debug…done.

done.

(gdb) set pagination off

(gdb) run

Starting program: /usr/bin/nautilus

[Thread debugging using libthread_db enabled]

Using host libthread_db library «/lib64/libthread_db.so.1».

[New Thread 0x7ffff2f6c700 (LWP 19791)]

[New Thread 0x7ffff276b700 (LWP 19792)]

[New Thread 0x7ffff1f6a700 (LWP 19794)]

(nautilus:19786): GLib-GObject-WARNING **: 09:11:15.848: cannot register existing type ‘TrackerSparqlConnection’

Thread 1 «nautilus» received signal SIGTRAP, Trace/breakpoint trap.

0x00007ffff71d1656 in g_logv () from /usr/lib64/libglib-2.0.so.0

(gdb) thread apply all backtrace full

Thread 4 (Thread 0x7ffff1f6a700 (LWP 19794)):

#0  0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff7185238 in g_cond_wait () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff721bacb in g_async_queue_pop_unlocked () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff71ac6e7 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#4  0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#5  0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#6  0x00007ffff6e7214f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 3 (Thread 0x7ffff276b700 (LWP 19792)):

#0  0x00007ffff6e65e33 in poll () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff71e3212 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff738dc36 in gdbus_shared_thread_func.lto_priv () from /usr/lib64/libgio-2.0.so.0

No symbol table info available.

#4  0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#5  0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#6  0x00007ffff6e7214f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 2 (Thread 0x7ffff2f6c700 (LWP 19791)):

#0  0x00007ffff6e65e33 in poll () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff71e308b in glib_worker_main () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#4  0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#5  0x00007ffff6e7214f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 1 (Thread 0x7ffff2fb2940 (LWP 19786)):

#0  0x00007ffff71d1656 in g_logv () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#1  0x00007ffff71d18f7 in g_log () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff72c4d80 in check_type_name_I.lto_priv.69 () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#3  0x00007ffff72bee0b in g_type_register_static () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#4  0x00007ffff5ee26e1 in tracker_sparql_cursor_class_init.lto_priv () from /usr/lib64/tracker-2.0/libtracker-data.so

No symbol table info available.

#5  0x00007ffff72ba1da in g_type_class_ref () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#6  0x00007ffff72ba398 in g_type_class_ref () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#7  0x00007ffff72df7a8 in g_object_new_with_properties () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#8  0x00007ffff72dff69 in g_object_new () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#9  0x00007ffff5ecc175 in tracker_db_statement_start_cursor.constprop () from /usr/lib64/tracker-2.0/libtracker-data.so

No symbol table info available.

#10 0x00007ffff5f1d988 in tracker_db_manager_create_db_interface.lto_priv () from /usr/lib64/tracker-2.0/libtracker-data.so

No symbol table info available.

#11 0x00007ffff5ed7378 in tracker_db_manager_new () from /usr/lib64/tracker-2.0/libtracker-data.so

No symbol table info available.

#12 0x00007ffff5f35df3 in tracker_data_manager_initable_init () from /usr/lib64/tracker-2.0/libtracker-data.so

No symbol table info available.

#13 0x00007ffff6f73c85 in tracker_direct_connection_initable_init () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#14 0x00007ffff6f80a6b in tracker_sparql_backend_create_readonly_direct () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#15 0x00007ffff6f83913 in tracker_sparql_backend_get.lto_priv () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#16 0x00007ffff6f6f930 in tracker_sparql_connection_get () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#17 0x00005555555ee482 in start_query_or_update (query=query@entry=0x7fffe4001860, callback=callback@entry=0x5555555eef10 <on_get_starred_files_query_callback>, user_data=user_data@entry=0x555555743780, is_query=is_query@entry=1, cancellable=cancellable@entry=0x7fffe400ed90) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:146

        error = 0x0

        connection = <optimized out>

#18 0x00005555555ee5d9 in nautilus_tag_manager_query_starred_files (self=self@entry=0x555555743780, cancellable=cancellable@entry=0x7fffe400ed90) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:425

        query = 0x7fffe4001860

#19 0x00005555555ef23a in nautilus_tag_manager_set_cancellable (self=0x555555743780, cancellable=0x7fffe400ed90) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:866

No locals.

#20 0x0000555555599b75 in nautilus_application_init (self=0x555555724140) at ../nautilus-3.28.1/src/nautilus-application.c:1114

        options = {{long_name = 0x555555660e4d «check», short_name = 99 ‘c’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c098 «Perform a quick set of self-check tests.», arg_description = 0x0}, {long_name = 0x5555556610b0 «browser», short_name = 0 ’00’, flags = 1, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}, {long_name = 0x5555556610b8 «geometry», short_name = 103 ‘g’, flags = 1, arg = G_OPTION_ARG_STRING, arg_data = 0x0, description = 0x55555566c0c8 «Create the initial window with the given geometry.», arg_description = 0x5555556610c1 «GEOMETRY»}, {long_name = 0x555555661034 «version», short_name = 0 ’00’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c100 «Show the version of the program.», arg_description = 0x0}, {long_name = 0x55555566100b «new-window», short_name = 119 ‘w’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c128 «Always open a new window for browsing specified URIs», arg_description = 0x0}, {long_name = 0x5555556610ca «no-default-window», short_name = 110 ‘n’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c160 «Only create windows for explicitly specified URIs.», arg_description = 0x0}, {long_name = 0x555555660e54 «quit», short_name = 113 ‘q’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x5555556610dc «Quit Nautilus.», arg_description = 0x0}, {long_name = 0x555555660e5d «select», short_name = 115 ‘s’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c198 «Select specified URI in parent folder.», arg_description = 0x0}, {long_name = 0x555555660e53 «», short_name = 0 ’00’, flags = 0, arg = G_OPTION_ARG_STRING_ARRAY, arg_data = 0x0, description = 0x0, arg_description = 0x5555556610eb «[URI…]»}, {long_name = 0x0, short_name = 0 ’00’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}

        priv = 0x555555724010

#21 0x00007ffff72cd3af in g_type_create_instance () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#22 0x00007ffff72debd8 in g_object_new_internal () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#23 0x00007ffff72dfbc1 in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#24 0x00007ffff72dff41 in g_object_new () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#25 0x000055555559bcaa in nautilus_application_new () at ../nautilus-3.28.1/src/nautilus-application.c:1549

No locals.

#26 0x0000555555599a1c in main (argc=1, argv=0x7fffffffd918) at ../nautilus-3.28.1/src/nautilus-main.c:76

        retval = <optimized out>

        application = <optimized out>

(gdb) quit

A debugging session is active.

   Inferior 1 [process 19786] will be killed.

Quit anyway? (y or n) y



Code:
$ G_DEBUG=fatal-criticals gdb -q /usr/bin/nautilus

Reading symbols from /usr/bin/nautilus…Reading symbols from /usr/lib64/debug//usr/bin/nautilus.debug…done.

done.

(gdb) set pagination off

(gdb) run

Starting program: /usr/bin/nautilus

[Thread debugging using libthread_db enabled]

Using host libthread_db library «/lib64/libthread_db.so.1».

[New Thread 0x7ffff2f6c700 (LWP 5164)]

[New Thread 0x7ffff276b700 (LWP 5165)]

[New Thread 0x7ffff1f6a700 (LWP 5167)]

(nautilus:5144): GLib-GObject-WARNING **: 09:12:57.980: cannot register existing type ‘TrackerSparqlConnection’

(nautilus:5144): GLib-CRITICAL **: 09:12:57.980: g_once_init_leave: assertion ‘result != 0’ failed

Thread 1 «nautilus» received signal SIGTRAP, Trace/breakpoint trap.

0x00007ffff71d1656 in g_logv () from /usr/lib64/libglib-2.0.so.0

(gdb) thread apply all backtrace full

Thread 4 (Thread 0x7ffff1f6a700 (LWP 5167)):

#0  0x00007ffff6e6c459 in syscall () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff7185238 in g_cond_wait () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff721bacb in g_async_queue_pop_unlocked () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff71ac6e7 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#4  0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#5  0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#6  0x00007ffff6e7214f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 3 (Thread 0x7ffff276b700 (LWP 5165)):

#0  0x00007ffff6e65e33 in poll () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff71e3212 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff738dc36 in gdbus_shared_thread_func.lto_priv () from /usr/lib64/libgio-2.0.so.0

No symbol table info available.

#4  0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#5  0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#6  0x00007ffff6e7214f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 2 (Thread 0x7ffff2f6c700 (LWP 5164)):

#0  0x00007ffff6e65e33 in poll () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff71e2ece in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff71e308b in glib_worker_main () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff71b2085 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#4  0x00007ffff6f413e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#5  0x00007ffff6e7214f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 1 (Thread 0x7ffff2fb2940 (LWP 5144)):

#0  0x00007ffff71d1656 in g_logv () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#1  0x00007ffff71d18f7 in g_log () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff5ee26f0 in tracker_sparql_cursor_class_init.lto_priv () from /usr/lib64/tracker-2.0/libtracker-data.so

No symbol table info available.

#3  0x00007ffff72ba1da in g_type_class_ref () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#4  0x00007ffff72ba398 in g_type_class_ref () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#5  0x00007ffff72df7a8 in g_object_new_with_properties () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#6  0x00007ffff72dff69 in g_object_new () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#7  0x00007ffff5ecc175 in tracker_db_statement_start_cursor.constprop () from /usr/lib64/tracker-2.0/libtracker-data.so

No symbol table info available.

#8  0x00007ffff5f1d988 in tracker_db_manager_create_db_interface.lto_priv () from /usr/lib64/tracker-2.0/libtracker-data.so

No symbol table info available.

#9  0x00007ffff5ed7378 in tracker_db_manager_new () from /usr/lib64/tracker-2.0/libtracker-data.so

No symbol table info available.

#10 0x00007ffff5f35df3 in tracker_data_manager_initable_init () from /usr/lib64/tracker-2.0/libtracker-data.so

No symbol table info available.

#11 0x00007ffff6f73c85 in tracker_direct_connection_initable_init () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#12 0x00007ffff6f80a6b in tracker_sparql_backend_create_readonly_direct () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#13 0x00007ffff6f83913 in tracker_sparql_backend_get.lto_priv () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#14 0x00007ffff6f6f930 in tracker_sparql_connection_get () from /usr/lib64/libtracker-sparql-2.0.so.0

No symbol table info available.

#15 0x00005555555ee482 in start_query_or_update (query=query@entry=0x7fffe4001500, callback=callback@entry=0x5555555eef10 <on_get_starred_files_query_callback>, user_data=user_data@entry=0x555555743780, is_query=is_query@entry=1, cancellable=cancellable@entry=0x555555749740) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:146

        error = 0x0

        connection = <optimized out>

#16 0x00005555555ee5d9 in nautilus_tag_manager_query_starred_files (self=self@entry=0x555555743780, cancellable=cancellable@entry=0x555555749740) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:425

        query = 0x7fffe4001500

#17 0x00005555555ef23a in nautilus_tag_manager_set_cancellable (self=0x555555743780, cancellable=0x555555749740) at ../nautilus-3.28.1/src/nautilus-tag-manager.c:866

No locals.

#18 0x0000555555599b75 in nautilus_application_init (self=0x555555724140) at ../nautilus-3.28.1/src/nautilus-application.c:1114

        options = {{long_name = 0x555555660e4d «check», short_name = 99 ‘c’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c098 «Perform a quick set of self-check tests.», arg_description = 0x0}, {long_name = 0x5555556610b0 «browser», short_name = 0 ’00’, flags = 1, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}, {long_name = 0x5555556610b8 «geometry», short_name = 103 ‘g’, flags = 1, arg = G_OPTION_ARG_STRING, arg_data = 0x0, description = 0x55555566c0c8 «Create the initial window with the given geometry.», arg_description = 0x5555556610c1 «GEOMETRY»}, {long_name = 0x555555661034 «version», short_name = 0 ’00’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c100 «Show the version of the program.», arg_description = 0x0}, {long_name = 0x55555566100b «new-window», short_name = 119 ‘w’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c128 «Always open a new window for browsing specified URIs», arg_description = 0x0}, {long_name = 0x5555556610ca «no-default-window», short_name = 110 ‘n’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c160 «Only create windows for explicitly specified URIs.», arg_description = 0x0}, {long_name = 0x555555660e54 «quit», short_name = 113 ‘q’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x5555556610dc «Quit Nautilus.», arg_description = 0x0}, {long_name = 0x555555660e5d «select», short_name = 115 ‘s’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x55555566c198 «Select specified URI in parent folder.», arg_description = 0x0}, {long_name = 0x555555660e53 «», short_name = 0 ’00’, flags = 0, arg = G_OPTION_ARG_STRING_ARRAY, arg_data = 0x0, description = 0x0, arg_description = 0x5555556610eb «[URI…]»}, {long_name = 0x0, short_name = 0 ’00’, flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}

        priv = 0x555555724010

#19 0x00007ffff72cd3af in g_type_create_instance () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#20 0x00007ffff72debd8 in g_object_new_internal () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#21 0x00007ffff72dfbc1 in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#22 0x00007ffff72dff41 in g_object_new () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#23 0x000055555559bcaa in nautilus_application_new () at ../nautilus-3.28.1/src/nautilus-application.c:1549

No locals.

#24 0x0000555555599a1c in main (argc=1, argv=0x7fffffffd918) at ../nautilus-3.28.1/src/nautilus-main.c:76

        retval = <optimized out>

        application = <optimized out>

(gdb) quit

A debugging session is active.

   Inferior 1 [process 5144] will be killed.

Quit anyway? (y or n) y

Back to top

View user's profile Send private message

Leio
Developer
Developer

Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Mon Mar 11, 2019 3:30 pm    Post subject: Reply with quote

Please try to recompile glib and tracker without LTO and see what happens then. If it works then, we have something to blame and look further; otherwise it’s still a mystery.
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top

View user's profile Send private message

corrmaan
n00b
n00b

Joined: 02 May 2016
Posts: 14

PostPosted: Tue Mar 12, 2019 12:11 pm    Post subject: Reply with quote

I recompiled glib and tracker without LTO, then rebuilt nautilus again, here is it’s new output (a new crash):

Code:
$ gdb -q /usr/bin/nautilus

Reading symbols from /usr/bin/nautilus…Reading symbols from /usr/lib64/debug//usr/bin/nautilus.debug…done.

done.

(gdb) set pagination off

(gdb) run

Starting program: /usr/bin/nautilus

[Thread debugging using libthread_db enabled]

Using host libthread_db library «/lib64/libthread_db.so.1».

[New Thread 0x7ffff2f47700 (LWP 13536)]

[New Thread 0x7ffff2746700 (LWP 13537)]

(nautilus:13532): GVFS-WARNING **: 08:38:15.871: Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.Daemon: The connection is closed (g-io-error-quark, 18)

[New Thread 0x7ffff1f45700 (LWP 13538)]

[New Thread 0x7ffff1744700 (LWP 13539)]

** (nautilus:13532): WARNING **: 08:38:15.872: Error on getting connection: Failed to load SPARQL backend: The connection is closed

(nautilus:13532): GLib-GIO-CRITICAL **: 08:38:15.872: g_dbus_connection_signal_unsubscribe: assertion ‘G_IS_DBUS_CONNECTION (connection)’ failed

(nautilus:13532): GLib-GObject-CRITICAL **: 08:38:15.872: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed

(nautilus:13532): GLib-GObject-CRITICAL **: 08:38:15.872: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed

(nautilus:13532): GLib-GObject-WARNING **: 08:38:15.872: invalid (NULL) pointer instance

(nautilus:13532): GLib-GObject-CRITICAL **: 08:38:15.872: g_signal_connect_data: assertion ‘G_TYPE_CHECK_INSTANCE (instance)’ failed

Failed to register: The connection is closed

Thread 1 «nautilus» received signal SIGTERM, Terminated.

0x00007ffff6f255fb in raise () from /lib64/libpthread.so.0

(gdb) thread apply all backtrace full

Thread 5 (Thread 0x7ffff1744700 (LWP 13539)):

#0  0x00007ffff6e44459 in syscall () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff720697b in g_cond_wait_until () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff71635de in g_async_queue_timeout_pop_unlocked () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff71dd112 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#4  0x00007ffff71dc435 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#5  0x00007ffff6f193e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#6  0x00007ffff6e4a14f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 4 (Thread 0x7ffff1f45700 (LWP 13538)):

#0  0x00007ffff6e44459 in syscall () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff720697b in g_cond_wait_until () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff71635de in g_async_queue_timeout_pop_unlocked () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff71dd112 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#4  0x00007ffff71dc435 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#5  0x00007ffff6f193e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#6  0x00007ffff6e4a14f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 3 (Thread 0x7ffff2746700 (LWP 13537)):

#0  0x00007ffff6e3de33 in poll () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff719faa6 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff71a0072 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff73eee36 in gdbus_shared_thread_func () from /usr/lib64/libgio-2.0.so.0

No symbol table info available.

#4  0x00007ffff71dc435 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#5  0x00007ffff6f193e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#6  0x00007ffff6e4a14f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 2 (Thread 0x7ffff2f47700 (LWP 13536)):

#0  0x00007ffff6e3de33 in poll () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff719faa6 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#2  0x00007ffff719fc23 in glib_worker_main () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#3  0x00007ffff71dc435 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#4  0x00007ffff6f193e3 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#5  0x00007ffff6e4a14f in clone () from /lib64/libc.so.6

No symbol table info available.

Thread 1 (Thread 0x7ffff2f8d940 (LWP 13532)):

#0  0x00007ffff6f255fb in raise () from /lib64/libpthread.so.0

No symbol table info available.

#1  0x00007ffff611a4dd in ffi_call_unix64 () from /usr/lib64/libffi.so.7

No symbol table info available.

#2  0x00007ffff6115fda in ffi_call_int.lto_priv () from /usr/lib64/libffi.so.7

No symbol table info available.

#3  0x00007ffff72a6626 in g_cclosure_marshal_generic_va () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#4  0x00007ffff72a5856 in _g_closure_invoke_va () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#5  0x00007ffff72c45a1 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#6  0x00007ffff72c4b17 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0

No symbol table info available.

#7  0x00007ffff73d5785 in emit_closed_in_idle () from /usr/lib64/libgio-2.0.so.0

No symbol table info available.

#8  0x00007ffff719f6e7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#9  0x00007ffff719fb40 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#10 0x00007ffff719fd4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0

No symbol table info available.

#11 0x00007ffff73b7a1a in g_application_run () from /usr/lib64/libgio-2.0.so.0

No symbol table info available.

#12 0x0000555555599a65 in main (argc=1, argv=0x7fffffffd948) at ../nautilus-3.28.1/src/nautilus-main.c:84

        retval = <optimized out>

        application = 0x555555724140

(gdb) quit

A debugging session is active.

   Inferior 1 [process 13532] will be killed.

Quit anyway? (y or n) y



This seems to have broke most of the DE. I restarted and gdm and NetworkManager wouldn’t even start, the latter spitting out a DBus error. Sorry I don’t have the exact log, this is being posted from a different system.

Back to top

View user's profile Send private message

Leio
Developer
Developer

Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Tue Mar 12, 2019 2:15 pm    Post subject: Reply with quote

hrm; you do have a user dbus session running, right?
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top

View user's profile Send private message

corrmaan
n00b
n00b

Joined: 02 May 2016
Posts: 14

PostPosted: Sat Mar 16, 2019 4:00 pm    Post subject: Reply with quote

Ya, I’m pretty sure. I think I’ll have to try a reinstall on normal amd64 without LTO and gold and see if it works then.
Back to top

View user's profile Send private message

Phoenix591
Guru
Guru

Joined: 17 Sep 2007
Posts: 446

PostPosted: Tue Apr 02, 2019 3:33 pm    Post subject: Reply with quote

I just ran facefirst into the same thing (same warnings and symptoms of it not opening). Nautilus worked few times then stopped working around when I switched to systemd and added the user-session useflags to dbus/bluez, but switching back to openrc and dropping those changes hasn’t fixed it.

EDIT: my backtrace put me on the trail of tracker too and all it needed was to be rebuilt without any form of lto. (and nothing else needed changed when I rebuilt everything without debug info)

Back to top

View user's profile Send private message

ElDavo
n00b
n00b

Joined: 23 Aug 2015
Posts: 18

PostPosted: Fri Apr 05, 2019 8:59 pm    Post subject: LTO is the problem Reply with quote

Hi, the problem should be LTO as I have the exact same problem and I have LTO as well.

So I don’t think the GNOME guys would offer support for this, we should rather tell the gentooLTO guys.
Back to top

View user's profile Send private message

ElDavo
n00b
n00b

Joined: 23 Aug 2015
Posts: 18

PostPosted: Fri Apr 05, 2019 9:31 pm    Post subject: Reply with quote

A couple of interesting facts:

1) Compiling nautilus without LTO does not solve the problem. This implies the problem is somewhere else…

Well yes but actually no:

2) nautilus-3.24.2.1-r2 works fine.

At least this mean we can do a bisect or sort of…

I’ll investigate after a good night o’ sleep :roll:

Back to top

View user's profile Send private message

ElDavo
n00b
n00b

Joined: 23 Aug 2015
Posts: 18

PostPosted: Sun Apr 07, 2019 2:26 pm    Post subject: Reply with quote

Shazam! Found the bad commit. 8)

It’s 16 months old!!

https://gitlab.gnome.org/GNOME/nautilus/commit/a9c446afe262b7989bc17ef1f9ab19931db8dede

OP, would you like to confirm that the issue goes away with commit 0be00303f025ef212e517776c5b92199cc66096c (the previous one)?
Back to top

View user's profile Send private message

ElDavo
n00b
n00b

Joined: 23 Aug 2015
Posts: 18

PostPosted: Sun Apr 07, 2019 8:35 pm    Post subject: Reply with quote

Removing -fno-semantic-interposition from app-misc/tracker fixes the issue.
Back to top

View user's profile Send private message

corrmaan
n00b
n00b

Joined: 02 May 2016
Posts: 14

PostPosted: Mon Apr 08, 2019 3:36 pm    Post subject: Reply with quote

Thanks for digging into this ElDavo, using

Code:
app-misc/tracker *FLAGS-=-fno-semantic-interposition



in my LTO workarounds, then rebuilding tracker then nautilus, did the trick. I didn’t try undoing that commit you mentioned.

I almost got used to not using nautilus anymore and instead browsing directories with bash and opening files from their default apps haha.

Cheers!

Back to top

View user's profile Send private message

Display posts from previous:   

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Понравилась статья? Поделить с друзьями:
  • Error on get eft
  • Error on dynamic playlist parsing перевод
  • Error on database apply 40 nv storage failure
  • Error on creating shaders out of video memory как исправить
  • Error on creating shaders out of video memory mount and blade что делать