Segmentation fault when looking for a definition. # xfce4-dict ** (xfce4-dict:4592): WARNING **: 18:42:23.962: failed to connecting to org.xfce.Dict, reason was: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.xfce.Dict was not provided by any .service files Segmentation fault xfce4-dict -V xfce4-dict 0.8.1 (Xfce 4.12)
That message is not an error, let alone a segfault. It means xfce4-dict tried to look for a running instance, none was found then it launched a new one. Does it crash after launching? If so, please post the backtrace, you may get one using gdb or coredumptctl (if your distro uses systemd).
The xfce4-dict GUI opens. xfce4-dict -V xfce4-dict 0.8.1 (Xfce 4.12) The same issue on both updated Kali and Manjaro. I have not used coredumpctl if there is more you would like, please instruct me. # .......1.........2.........3.........4.........5.........6.... Search with: Dictionary Server Type a MISSPELLED word, click Find, returns Dictionary Results: No matches could be found for "howll". Spell Checker Results: Suggestions for "howll" (en_US): howl, howls, how ll, how-ll, howl l, Howell, hollow # .......1.........2.........3.........4.........5.........6.... Search with: Dictionary Server Type a CORRECTLY SPELLED word, click Find, crash! sudo coredumpctl list /usr/bin/xfce4-dict TIME PID UID GID SIG COREFILE EXE Mon 2018-10-22 19:11:35 PDT 2783 1000 1000 11 present /usr/bin/xfce4-dict Mon 2018-10-22 19:21:10 PDT 3013 1000 1000 11 present /usr/bin/xfce4-dict Mon 2018-10-22 19:25:46 PDT 3042 1000 1000 11 present /usr/bin/xfce4-dict sudo dmesg | grep xfce4-dict 844:[ 9465.690183] xfce4-dict[2783]: segfault at 0 ip 00007fa2635c097e sp 00007fffd5021438 error 4 in libc-2.27.so[7fa263553000+146000] 848:[10040.548637] xfce4-dict[3013]: segfault at 0 ip 00007f153a9d397e sp 00007ffe6555e918 error 4 in libc-2.27.so[7f153a966000+146000] 851:[10316.446726] xfce4-dict[3042]: segfault at 0 ip 00007f09d63fe97e sp 00007ffea28e4908 error 4 in libc-2.27.so[7f09d6391000+146000] # .......1.........2.........3.........4.........5.........6.... sudo coredumpctl info PID: 2783 (xfce4-dict) UID: 1000 (tech) GID: 1000 (tech) Signal: 11 (SEGV) Timestamp: Mon 2018-10-22 19:11:35 PDT (23min ago) Command Line: xfce4-dict -d howl Executable: /usr/bin/xfce4-dict Control Group: /user.slice/user-1000.slice/session-2.scope Unit: session-2.scope Slice: user-1000.slice Session: 2 Owner UID: 1000 (tech) Boot ID: c5e78199628b4f14970d7aa335154316 Machine ID: 9aaf1d98871e4198882e073acf2f1716 Hostname: toshi Storage: /var/lib/systemd/coredump/core.xfce4-dict.1000.c5e78199628b4f14970d7aa Message: Process 2783 (xfce4-dict) of user 1000 dumped core. Stack trace of thread 2783: #0 0x00007fa2635c097e n/a (libc.so.6) #1 0x0000559692c7c109 n/a (xfce4-dict) #2 0x0000559692c77555 n/a (xfce4-dict) #3 0x0000559692c785ba n/a (xfce4-dict) #4 0x00007fa26375cae8 g_main_context_dispatch (libglib-2.0.so.0) #5 0x00007fa26375ced8 n/a (libglib-2.0.so.0) #6 0x00007fa26375d1d2 g_main_loop_run (libglib-2.0.so.0) #7 0x00007fa263fda295 gtk_main (libgtk-3.so.0) #8 0x0000559692c74c69 n/a (xfce4-dict) #9 0x00007fa263553b17 __libc_start_main (libc.so.6) #10 0x0000559692c74e1a n/a (xfce4-dict) Stack trace of thread 2784: #0 0x00007fa26361e739 __poll (libc.so.6) #1 0x00007fa26375ce46 n/a (libglib-2.0.so.0) #2 0x00007fa26375cf6c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007fa26375cfb1 n/a (libglib-2.0.so.0) #4 0x00007fa263785135 n/a (libglib-2.0.so.0) #5 0x00007fa2636f5f2a start_thread (libpthread.so.0) #6 0x00007fa263628edf __clone (libc.so.6) Stack trace of thread 2788: #0 0x00007fa263623a79 syscall (libc.so.6) #1 0x00007fa2637a375a g_cond_wait_until (libglib-2.0.so.0) #2 0x00007fa26372f061 n/a (libglib-2.0.so.0) #3 0x00007fa263785c12 n/a (libglib-2.0.so.0) #4 0x00007fa263785135 n/a (libglib-2.0.so.0) #5 0x00007fa2636f5f2a start_thread (libpthread.so.0) #6 0x00007fa263628edf __clone (libc.so.6) Stack trace of thread 2785: #0 0x00007fa26361e739 __poll (libc.so.6) #1 0x00007fa26375ce46 n/a (libglib-2.0.so.0) #2 0x00007fa26375d1d2 g_main_loop_run (libglib-2.0.so.0) #3 0x00007fa263b607b6 n/a (libgio-2.0.so.0) #4 0x00007fa263785135 n/a (libglib-2.0.so.0) #5 0x00007fa2636f5f2a start_thread (libpthread.so.0) #6 0x00007fa263628edf __clone (libc.so.6) Stack trace of thread 2787: #0 0x00007fa263623a79 syscall (libc.so.6) #1 0x00007fa2637a375a g_cond_wait_until (libglib-2.0.so.0) #2 0x00007fa26372f061 n/a (libglib-2.0.so.0) #3 0x00007fa263785c12 n/a (libglib-2.0.so.0) #4 0x00007fa263785135 n/a (libglib-2.0.so.0) #5 0x00007fa2636f5f2a start_thread (libpthread.so.0) #6 0x00007fa263628edf __clone (libc.so.6) PID: 3013 (xfce4-dict) UID: 1000 (tech) GID: 1000 (tech) Signal: 11 (SEGV) Timestamp: Mon 2018-10-22 19:21:10 PDT (13min ago) Command Line: xfce4-dict Executable: /usr/bin/xfce4-dict Control Group: /user.slice/user-1000.slice/session-2.scope Unit: session-2.scope Slice: user-1000.slice Session: 2 Owner UID: 1000 (tech) Boot ID: c5e78199628b4f14970d7aa335154316 Machine ID: 9aaf1d98871e4198882e073acf2f1716 Hostname: toshi Storage: /var/lib/systemd/coredump/core.xfce4-dict.1000.c5e78199628b4f14970d7aa Message: Process 3013 (xfce4-dict) of user 1000 dumped core. Stack trace of thread 3013: #0 0x00007f153a9d397e n/a (libc.so.6) #1 0x00005567eb611109 n/a (xfce4-dict) #2 0x00005567eb60c555 n/a (xfce4-dict) #3 0x00005567eb60d5ba n/a (xfce4-dict) #4 0x00007f153ab6fae8 g_main_context_dispatch (libglib-2.0.so.0) #5 0x00007f153ab6fed8 n/a (libglib-2.0.so.0) #6 0x00007f153ab701d2 g_main_loop_run (libglib-2.0.so.0) #7 0x00007f153b3ed295 gtk_main (libgtk-3.so.0) #8 0x00005567eb609c69 n/a (xfce4-dict) #9 0x00007f153a966b17 __libc_start_main (libc.so.6) #10 0x00005567eb609e1a n/a (xfce4-dict) Stack trace of thread 3014: #0 0x00007f153aa31739 __poll (libc.so.6) #1 0x00007f153ab6fe46 n/a (libglib-2.0.so.0) #2 0x00007f153ab6ff6c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f153ab6ffb1 n/a (libglib-2.0.so.0) #4 0x00007f153ab98135 n/a (libglib-2.0.so.0) #5 0x00007f153ab08f2a start_thread (libpthread.so.0) #6 0x00007f153aa3bedf __clone (libc.so.6) Stack trace of thread 3015: #0 0x00007f153aa31739 __poll (libc.so.6) #1 0x00007f153ab6fe46 n/a (libglib-2.0.so.0) #2 0x00007f153ab701d2 g_main_loop_run (libglib-2.0.so.0) #3 0x00007f153af737b6 n/a (libgio-2.0.so.0) #4 0x00007f153ab98135 n/a (libglib-2.0.so.0) #5 0x00007f153ab08f2a start_thread (libpthread.so.0) #6 0x00007f153aa3bedf __clone (libc.so.6) PID: 3042 (xfce4-dict) UID: 1000 (tech) GID: 1000 (tech) Signal: 11 (SEGV) Timestamp: Mon 2018-10-22 19:25:46 PDT (9min ago) Command Line: xfce4-dict Executable: /usr/bin/xfce4-dict Control Group: /user.slice/user-1000.slice/session-2.scope Unit: session-2.scope Slice: user-1000.slice Session: 2 Owner UID: 1000 (tech) Boot ID: c5e78199628b4f14970d7aa335154316 Machine ID: 9aaf1d98871e4198882e073acf2f1716 Hostname: toshi Storage: /var/lib/systemd/coredump/core.xfce4-dict.1000.c5e78199628b4f14970d7aa Message: Process 3042 (xfce4-dict) of user 1000 dumped core. Stack trace of thread 3042: #0 0x00007f09d63fe97e n/a (libc.so.6) #1 0x0000556b3b671109 n/a (xfce4-dict) #2 0x0000556b3b66c555 n/a (xfce4-dict) #3 0x0000556b3b66d5ba n/a (xfce4-dict) #4 0x00007f09d659aae8 g_main_context_dispatch (libglib-2.0.so.0) #5 0x00007f09d659aed8 n/a (libglib-2.0.so.0) #6 0x00007f09d659b1d2 g_main_loop_run (libglib-2.0.so.0) #7 0x00007f09d6e18295 gtk_main (libgtk-3.so.0) #8 0x0000556b3b669c69 n/a (xfce4-dict) #9 0x00007f09d6391b17 __libc_start_main (libc.so.6) #10 0x0000556b3b669e1a n/a (xfce4-dict) Stack trace of thread 3043: #0 0x00007f09d645c739 __poll (libc.so.6) #1 0x00007f09d659ae46 n/a (libglib-2.0.so.0) #2 0x00007f09d659af6c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f09d659afb1 n/a (libglib-2.0.so.0) #4 0x00007f09d65c3135 n/a (libglib-2.0.so.0) #5 0x00007f09d6533f2a start_thread (libpthread.so.0) #6 0x00007f09d6466edf __clone (libc.so.6) Stack trace of thread 3044: #0 0x00007f09d645c739 __poll (libc.so.6) #1 0x00007f09d659ae46 n/a (libglib-2.0.so.0) #2 0x00007f09d659b1d2 g_main_loop_run (libglib-2.0.so.0) #3 0x00007f09d699e7b6 n/a (libgio-2.0.so.0) #4 0x00007f09d65c3135 n/a (libglib-2.0.so.0) #5 0x00007f09d6533f2a start_thread (libpthread.so.0) #6 0x00007f09d6466edf __clone (libc.so.6) # .......1.........2.........3.........4.........5.........6....
More info: xubuntu@xubuntu:~$ xfce4-dict -V xfce4-dict 0.8.0 (Xfce 4.12) This version does not crash. # .......1.........2.........3.........4.........5.........6.... xubuntu@xubuntu:~$ cat /etc/*rel* DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS" NAME="Ubuntu" VERSION="18.04.1 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.1 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic xubuntu@xubuntu:~$ xfce4-dict -V xfce4-dict 0.8.0 (Xfce 4.12) Copyright (c) 2006-2016 Enrico Tröger <enrico@xfce.org> Please report bugs to <http://bugzilla.xfce.org/>. xubuntu@xubuntu:~$ xfce4-dict -d howll ** (xfce4-dict:1859): WARNING **: 04:01:11.343: failed to connecting to org.xfce.Dict, reason was: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.xfce.Dict was not provided by any .service files xubuntu@xubuntu:~$ xfce4-dict -d howl ** (xfce4-dict:1867): WARNING **: 04:01:21.533: failed to connecting to org.xfce.Dict, reason was: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.xfce.Dict was not provided by any .service files
Even more info: xubuntu@xubuntu:~$ xfce4-dict -V xfce4-dict 0.8.1 (Xfce 4.12) This version crashed xubuntu, kali and manjaro. # .......1.........2.........3.........4.........5.........6.... xubuntu@xubuntu:~$ cat /etc/*rel* DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.10 DISTRIB_CODENAME=cosmic DISTRIB_DESCRIPTION="Ubuntu 18.10" NAME="Ubuntu" VERSION="18.10 (Cosmic Cuttlefish)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.10" VERSION_ID="18.10" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=cosmic UBUNTU_CODENAME=cosmic xubuntu@xubuntu:~$ xfce4-dict -V xfce4-dict 0.8.1 (Xfce 4.12) Copyright (c) 2006-2016 Enrico Tröger <enrico@xfce.org> Please report bugs to <http://bugzilla.xfce.org/>. xubuntu@xubuntu:~$ xfce4-dict -d howll ** (xfce4-dict:2228): WARNING **: 03:53:41.913: failed to connecting to org.xfce.Dict, reason was: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.xfce.Dict was not provided by any .service files xubuntu@xubuntu:~$ xfce4-dict -d howl ** (xfce4-dict:2159): WARNING **: 03:52:59.476: failed to connecting to org.xfce.Dict, reason was: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.xfce.Dict was not provided by any .service files Segmentation fault (core dumped)
Which dictionary server are you using? Does it always crash when searching for "howl"?
Yes 'howl' always crashes a search. But, any CORRECTLY SPELLED word will crash version 0.8.1. Prior to your question about the 'dictionary server' I had never opened 'Preferences'. I opened Preference, looked at all the options, closed Preferences, and did another lookup... NO CRASH! I quit xfce4-dict, reopened, lookup several mis-spelled words... no crash. Then lookup several CORRECTLY SPELLED words... no crash! I rebooted the computer and tried again, no crashes! It seems the preference file needs initialization.
After removing ~/.config/xfce4-dict/xfce4-dict.rc I'm able to reproduce the crash. It was introduced by this change: https://git.xfce.org/apps/xfce4-dict/commit/?id=4224d2c30cd6b766c02355ca4729fab2e85b7ced I could replace strcmp by g_strcmp0 (null safe) in dict_prefs_get_web_url_label, but that causes a wrong web search link to be appended to the search result. In the next days I hope to have the time to prepare a proper fix.
Andre Miranda referenced this bugreport in commit a69a9f3e281a04f183f7cf176d6af0ac4dbe32f4 Avoid segfaults (Bug #14786) https://git.xfce.org/apps/xfce4-dict/commit?id=a69a9f3e281a04f183f7cf176d6af0ac4dbe32f4