Wordnet Crashing

Hi,

I’m on OpenMandrivaLX Rome 25.06 with KDE Plasma desktop (minimal install).

I try to install Artha dictionary. While the repo doesn’t have it, I tried to manually download the RPM from OpenSuse repo.

I manage to resolve the dependencies (wordnet, hunspell, aspell-en). However after successful install, on trying to search for a word, it crashes to desktop. So I uninstall it.

Then I try to install wordnet-gui from repo. The same problem. Tried to run it from terminal like this:

$ bash -x $(which wnb)
+ exec true
+ wishwn /usr/bin/wnb

Then this

$ journalctl -xe | grep wn

Oct 15 23:13:24 omdv-01 kernel: wishwn[401738]: segfault at 6b637501 ip 00007fa171692729 sp 00007ffeb107aa90 error 4 in libc.so.6[87729,7fa171633000+164000] likely on CPU 1 (core 1, socket 0)
Oct 15 23:13:24 omdv-01 systemd-coredump[401745]: Process 401738 (wishwn) of user 1001 terminated abnormally with signal 11/SEGV, processing...
Oct 15 23:13:24 omdv-01 systemd-coredump[401746]: Process 401738 (wishwn) of user 1001 dumped core.
                                                  #4  0x00005570d3a4f699 wn_findvalidsearches (/usr/bin/wishwn + 0x2699)
                                                  #17 0x00005570d3a4f44f main (/usr/bin/wishwn + 0x244f)
                                                  #20 0x00005570d3a4f341 _start (/usr/bin/wishwn + 0x2341)
░░ Subject: Process 401738 (wishwn) dumped core
░░ Process 401738 (wishwn) crashed and dumped core.
Oct 15 23:13:24 omdv-01 drkonqi-coredump-launcher[401757]: Unable to find file for pid 401738 expected at "kcrash-metadata/wishwn.a895fd5f78724aca920c47fd3dce2f70.401738.ini"
Oct 15 23:14:23 omdv-01 kernel: wishwn[401765]: segfault at 0 ip 0000000000000000 sp 00007ffd1ce57db8 error 14 likely on CPU 2 (core 2, socket 0)
Oct 15 23:14:23 omdv-01 systemd-coredump[401768]: Process 401765 (wishwn) of user 1001 terminated abnormally with signal 11/SEGV, processing...
Oct 15 23:14:24 omdv-01 systemd-coredump[401769]: Process 401765 (wishwn) of user 1001 dumped core.
░░ Subject: Process 401765 (wishwn) dumped core
░░ Process 401765 (wishwn) crashed and dumped core.
Oct 15 23:14:24 omdv-01 drkonqi-coredump-launcher[401783]: Unable to find file for pid 401765 expected at "kcrash-metadata/wishwn.a895fd5f78724aca920c47fd3dce2f70.401765.ini"
Oct 15 23:15:32 omdv-01 kernel: wishwn[401806]: segfault at 6f6c6c6501 ip 00007ff355692729 sp 00007ffc5d0d89e0 error 4 in libc.so.6[87729,7ff355633000+164000] likely on CPU 2 (core 2, socket 0)
Oct 15 23:15:32 omdv-01 systemd-coredump[401807]: Process 401806 (wishwn) of user 1001 terminated abnormally with signal 11/SEGV, processing...
Oct 15 23:15:33 omdv-01 systemd-coredump[401808]: Process 401806 (wishwn) of user 1001 dumped core.
                                                  #4  0x00005598fec3d699 wn_findvalidsearches (/usr/bin/wishwn + 0x2699)
                                                  #17 0x00005598fec3d44f main (/usr/bin/wishwn + 0x244f)
                                                  #20 0x00005598fec3d341 _start (/usr/bin/wishwn + 0x2341)
░░ Subject: Process 401806 (wishwn) dumped core
░░ Process 401806 (wishwn) crashed and dumped core.
Oct 15 23:15:33 omdv-01 drkonqi-coredump-launcher[401818]: Unable to find file for pid 401806 expected at "kcrash-metadata/wishwn.a895fd5f78724aca920c47fd3dce2f70.401806.ini"
Oct 15 23:16:31 omdv-01 kernel: wishwn[401839]: segfault at 6f6c6c6501 ip 00007fab7ec92729 sp 00007fff908e2940 error 4 in libc.so.6[87729,7fab7ec33000+164000] likely on CPU 4 (core 0, socket 0)
Oct 15 23:16:31 omdv-01 systemd-coredump[401841]: Process 401839 (wishwn) of user 1001 terminated abnormally with signal 11/SEGV, processing...
Oct 15 23:16:31 omdv-01 systemd-coredump[401842]: Process 401839 (wishwn) of user 1001 dumped core.
                                                  #4  0x000055e2523e8699 wn_findvalidsearches (/usr/bin/wishwn + 0x2699)
                                                  #17 0x000055e2523e844f main (/usr/bin/wishwn + 0x244f)
                                                  #20 0x000055e2523e8341 _start (/usr/bin/wishwn + 0x2341)
░░ Subject: Process 401839 (wishwn) dumped core
░░ Process 401839 (wishwn) crashed and dumped core.
Oct 15 23:16:32 omdv-01 drkonqi-coredump-launcher[401853]: Unable to find file for pid 401839 expected at "kcrash-metadata/wishwn.a895fd5f78724aca920c47fd3dce2f70.401839.ini"
Oct 15 23:21:24 omdv-01 kernel: wishwn[401942]: segfault at 6f6c6c6501 ip 00007f16fcd2a729 sp 00007fffb9a3b180 error 4 in libc.so.6[87729,7f16fcccb000+164000] likely on CPU 5 (core 1, socket 0)
Oct 15 23:21:24 omdv-01 systemd-coredump[401946]: Process 401942 (wishwn) of user 1001 terminated abnormally with signal 11/SEGV, processing...
Oct 15 23:21:24 omdv-01 systemd-coredump[401947]: Process 401942 (wishwn) of user 1001 dumped core.
                                                  #4  0x0000555e59124699 wn_findvalidsearches (/usr/bin/wishwn + 0x2699)
                                                  #17 0x0000555e5912444f main (/usr/bin/wishwn + 0x244f)
                                                  #20 0x0000555e59124341 _start (/usr/bin/wishwn + 0x2341)
░░ Subject: Process 401942 (wishwn) dumped core
░░ Process 401942 (wishwn) crashed and dumped core.
Oct 15 23:21:24 omdv-01 drkonqi-coredump-launcher[401957]: Unable to find file for pid 401942 expected at "kcrash-metadata/wishwn.a895fd5f78724aca920c47fd3dce2f70.401942.ini"
Oct 15 23:21:57 omdv-01 kernel: wishwn[401979]: segfault at 6f6c6c6501 ip 00007f2f7d092729 sp 00007ffc6ae9a340 error 4 in libc.so.6[87729,7f2f7d033000+164000] likely on CPU 4 (core 0, socket 0)
Oct 15 23:21:57 omdv-01 systemd-coredump[401980]: Process 401979 (wishwn) of user 1001 terminated abnormally with signal 11/SEGV, processing...
Oct 15 23:21:57 omdv-01 systemd-coredump[401981]: Process 401979 (wishwn) of user 1001 dumped core.
                                                  #4  0x000055b00509e699 wn_findvalidsearches (/usr/bin/wishwn + 0x2699)
                                                  #17 0x000055b00509e44f main (/usr/bin/wishwn + 0x244f)
                                                  #20 0x000055b00509e341 _start (/usr/bin/wishwn + 0x2341)
░░ Subject: Process 401979 (wishwn) dumped core
░░ Process 401979 (wishwn) crashed and dumped core.
Oct 15 23:21:58 omdv-01 drkonqi-coredump-launcher[401989]: Unable to find file for pid 401979 expected at "kcrash-metadata/wishwn.a895fd5f78724aca920c47fd3dce2f70.401979.ini"
Oct 15 23:23:04 omdv-01 kernel: wn[402021]: segfault at 6f6c6c6501 ip 00007f937f313729 sp 00007fff376a7590 error 4 in libc.so.6[87729,7f937f2b4000+164000] likely on CPU 1 (core 1, socket 0)
Oct 15 23:23:04 omdv-01 systemd-coredump[402022]: Process 402021 (wn) of user 1001 terminated abnormally with signal 11/SEGV, processing...
Oct 15 23:23:04 omdv-01 systemd-coredump[402023]: Process 402021 (wn) of user 1001 dumped core.
                                                  #4  0x000056450af6e781 do_is_defined (/usr/bin/wn + 0x4781)
                                                  #5  0x000056450af6e6ce searchwn (/usr/bin/wn + 0x46ce)
                                                  #6  0x000056450af6e13f main (/usr/bin/wn + 0x413f)
                                                  #9  0x000056450af6e011 _start (/usr/bin/wn + 0x4011)
░░ Subject: Process 402021 (wn) dumped core
░░ Process 402021 (wn) crashed and dumped core.
Oct 15 23:23:05 omdv-01 drkonqi-coredump-launcher[402032]: Unable to find file for pid 402021 expected at "kcrash-metadata/wn.a895fd5f78724aca920c47fd3dce2f70.402021.ini"

Also, I try to run the terminal version of wordnet:

$ wn hello

Information available for noun hello
        -hypen          Hypernyms
        -synsn          Synonyms (ordered by estimated frequency)
        -famln          Familiarity & Polysemy Count
        -coorn          Coordinate Terms (sisters)
        -grepn          List of Compound Words
        -over           Overview of Senses

No information available for verb hello

No information available for adj hello

No information available for adv hello
Segmentation fault (core dumped)

Any idea why this happens? Are there any file/dictionary missing/not accessible that causes this?

Additional Info:

If I run this, it doesn’t cause segmentation fault:

$ wn hello -hypen

Synonyms/Hypernyms (Ordered by Estimated Frequency) of noun hello

1 sense of hello                                                        

Sense 1
hello, hullo, hi, howdy, how-do-you-do
       => greeting, salutation
           => acknowledgment, acknowledgement
               => message, content, subject matter, substance
                   => communication
                       => abstraction, abstract entity
                           => entity

The segmentation fault seems to rear it’s head when I do wn <word> without specifying what kind of info to be displayed. However, if the kind of info is listed (-hypen, -synsn, etc), it displayed the info without faulting.

I rebuilt for cooker and rolling repos wordnet to catch up to latest dependencies. Don’t know if this will fix the problem @n1ckla is seeing, The new version is 3.1-6. The rolling version is publishing now and should be available in a few hours or less.

Just for future reference, we don’t suggest or support doing that. If you have done a dnf search, dnf list, or checked on https://abf.openmandriva.org or https://openmandriva.pkgs.org for a package and you don’t see it there, you can make a request in Development > Packages and features requests or on GitHub. You can also see if it’s available in flatpak. All of these are more preferable to using another distro’s RPM’s.

Many of the other distros use older spec file syntax and do not use the features we do. We also use the llvm toolchain which shouldn’t cause issues, but if you are using the devel packages then some may pull in gcc when they really don’t need to.

Some of their dependency and library names are different and they are not using a universal way to check for them (like pkgconfig or cmake). These can cause install errors whether or not we have the dependency.

2 Likes

@ben79:
I’ve updated wordnet to the latest. Seem the problem persists exactly as before. wn still causing segmentation fault if ran with a word without a command (i.e. wn hello) but runs fine if a command/section is given (i.e. wn hello -hypen). This causes any dictionary program that relies on wordnet (i.e. Artha, Wordnet GUI) to crash to desktop as soon as any word is given to search.

@zeroability:

Noted and lesson learned. I’ve tried this approach 3 times. One works flawlessly with Librewolf, one fails miserably with Proton VPN client, one should work (Artha) but there are problems with the underlying official repo package (wordnet).

Proton VPN is available in cooker and will be available in the Rome repos after the next update.

We can start looking into building Artha for our repos, but a formal package request might speed that up. A bug report on github would also be helpful. Most of the devs are too busy to notice all of the discussions on the forum.

We probably need a bug report for wordnet. Y’all want a real developer to try to fix this, and I am a user not a “real” developer. I can do only simple stuff and simple edits to .spec files and so forth.

1 Like

OK. I’m opening an issue/bug report on OpenMandrivaAssociation GitHub, issue #3375.

It’s better to link it. It will link to the thread in the GH Issue automatically when you do that.