[go: up one dir, main page]

Menu

Artha 1.0.5 released!

This is a maintenance release that fixes linker errors with GCC 9+.

Additionally the optional dependency of libenchant for spelling suggestions has been bumped to libenchant2.so.2.

Autotool scripts have been updated to work with the latest versions of autoconf and automake.
Posted by Sundaram Ramaswamy 2020-07-27
  • Rod J

    Rod J - 2020-07-28

    Thanks so much for the update.

    I've been frustrated trying to get Artha to compile in Manjaro KDE for a while now. Artha is such a useful utility and I've been using it for many years. I have never found anything that is a real replacement for it.

     
    👍
    2

    Last edit: Rod J 2020-07-28
    • Sundaram Ramaswamy

      Thanks for the kind words Rod; glad that Artha is/has been useful to you.

      I'll try to keep it updated to avoid these hassles in future. Feel free to report them; I'll make sure that users are unblocked.

       
  • Atri

    Atri - 2020-08-16

    Hi,
    Thanks for the update. Unfortunately, it seems on my system (openSUSE Tumbleweed) artha crashes upon inserting any search term and hitting enter. See also https://bugzilla.suse.com/show_bug.cgi?id=1174960 where it was initially flagged.

    I don't have a full backtrace yet (waiting for the necessary debuginfo packages to install), but here is a partial trace (from gdb) in case it helps already:

    #0  0x00007f61f7385e63 in fseek () from /lib64/libc.so.6
    #1  0x00007f61f7f1a1c8 in bin_search () from /usr/lib64/libWN.so.3
    #2  0x00007f61f7f1a376 in ?? () from /usr/lib64/libWN.so.3
    #3  0x00007f61f7f1d514 in morphstr () from /usr/lib64/libWN.so.3
    #4  0x00005565b7ecbd0f in wni_request_nyms (search_str=0x5565b9f087e0 "a", response_list=0x5565b7ed3cb8 <results>, additional_request_flags=<optimized out>, 
        advanced_mode=0) at wni.c:1478
    #5  0x00005565b7ecd092 in query_wni (suggestions=0x7ffdc98b7488, lookup_type=WORDNET_INTERFACE_ALL, search_str=0x5565b9e84d10 "a") at gui.c:1668
    #6  button_search_click (button=<optimized out>, user_data=<optimized out>) at gui.c:1668
    #7  0x00007f61f760dfc2 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
    #8  0x00007f61f7620693 in ?? () from /usr/lib64/libgobject-2.0.so.0
    #9  0x00007f61f7626d39 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
    #10 0x00007f61f7626e9f in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
    #11 0x00007f61f79923c6 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
    #12 0x00007f61f7a32fab in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
    #13 0x00007f61f760dfc2 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
    #14 0x00007f61f76200ee in ?? () from /usr/lib64/libgobject-2.0.so.0
    #15 0x00007f61f762660e in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
    #16 0x00007f61f7626e9f in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
    #17 0x00007f61f7b54674 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
    #18 0x00007f61f7a37b7c in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0
    #19 0x00007f61f7a3905b in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
    #20 0x00007f61f78a006f in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
    #21 0x00007f61f75232b7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
    #22 0x00007f61f7523638 in ?? () from /usr/lib64/libglib-2.0.so.0
    #23 0x00007f61f752392b in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
    #24 0x00007f61f7a36d5a in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
    #25 0x00005565b7ec2e93 in main (argc=<optimized out>, argv=<optimized out>) at gui.c:3737
    

    Thanks in advance for any suggestion.

     
  • Atri

    Atri - 2020-08-16

    Full bt here (sorry, I don't see a bug tracker link, so I'm pasting it here):

    Thread 4 (Thread 0x7fe43ffff700 (LWP 8072)):
    #0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
    #1  0x00007fe4471dc0c2 in g_cond_wait_until (cond=cond@entry=0x5653e0d641b8, mutex=mutex@entry=0x5653e0d641b0, end_time=end_time@entry=165964128330) at ../glib/gthread-posix.c:1588
    #2  0x00007fe44715e521 in g_async_queue_pop_intern_unlocked (queue=0x5653e0d641b0, wait=1, end_time=165964128330) at ../glib/gasyncqueue.c:422
    #3  0x00007fe44715eb42 in g_async_queue_timeout_pop (queue=0x5653e0d641b0, timeout=timeout@entry=15000000) at ../glib/gasyncqueue.c:545
    #4  0x00007fe4471b8369 in g_thread_pool_wait_for_new_pool () at ../glib/gthreadpool.c:183
    #5  g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/gthreadpool.c:411
    #6  0x00007fe4471b79de in g_thread_proxy (data=0x5653e0d8e520) at ../glib/gthread.c:807
    #7  0x00007fe446f26eaa in start_thread (arg=<optimized out>) at pthread_create.c:477
    #8  0x00007fe447072aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
    
    Thread 3 (Thread 0x7fe445786700 (LWP 8070)):
    #0  0x00007fe447067fcf in __GI___poll (fds=0x5653e0d74e50, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
    #1  0x00007fe44718e5ce in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x5653e0d74e50, timeout=<optimized out>, context=0x5653e0d76290) at ../glib/gmain.c:4346
    #2  g_main_context_iterate (context=context@entry=0x5653e0d76290, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4042
    #3  0x00007fe44718e6ef in g_main_context_iteration (context=0x5653e0d76290, may_block=may_block@entry=1) at ../glib/gmain.c:4108
    #4  0x00007fe44718e741 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:5996
    #5  0x00007fe4471b79de in g_thread_proxy (data=0x5653e0d77c60) at ../glib/gthread.c:807
    #6  0x00007fe446f26eaa in start_thread (arg=<optimized out>) at pthread_create.c:477
    #7  0x00007fe447072aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
    
    Thread 2 (Thread 0x7fe444f85700 (LWP 8071)):
    #0  0x00007fe447067fcf in __GI___poll (fds=0x5653e0d85a50, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
    #1  0x00007fe44718e5ce in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x5653e0d85a50, timeout=<optimized out>, context=0x5653e0d831c0) at ../glib/gmain.c:4346
    #2  g_main_context_iterate (context=0x5653e0d831c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4042
    #3  0x00007fe44718e92b in g_main_loop_run (loop=0x5653e0d832b0) at ../glib/gmain.c:4241
    #4  0x00007fe4473e3786 in gdbus_shared_thread_func (user_data=0x5653e0d83190) at ../gio/gdbusprivate.c:279
    #5  0x00007fe4471b79de in g_thread_proxy (data=0x5653e0d7d360) at ../glib/gthread.c:807
    #6  0x00007fe446f26eaa in start_thread (arg=<optimized out>) at pthread_create.c:477
    #7  0x00007fe447072aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
    
    Thread 1 (Thread 0x7fe446226a80 (LWP 8066)):
    #0  0x00007fe446ff0e63 in __GI_fseek (fp=fp@entry=0x100000000, offset=offset@entry=0, whence=whence@entry=2) at fseek.c:35
    #1  0x00007fe447b851c8 in bin_search (searchkey=searchkey@entry=0x7fe447bcf2a0 <str> "a", fp=fp@entry=0x100000000) at binsrch.c:49
    #2  0x00007fe447b85376 in exc_lookup (word=word@entry=0x7fe447bcf2a0 <str> "a", pos=pos@entry=4) at morph.c:385
    #3  0x00007fe447b88514 in morphstr (origstr=0x5653e259a450 "a", pos=4) at morph.c:200
    #4  0x00005653e0718d0f in wni_request_nyms (search_str=0x5653e259a450 "a", response_list=0x5653e0720cb8 <results>, additional_request_flags=<optimized out>, advanced_mode=0) at wni.c:1478
    #5  0x00005653e071a092 in query_wni (suggestions=0x7ffedf58a748, lookup_type=WORDNET_INTERFACE_ALL, search_str=0x5653e25cb7c0 "a") at gui.c:1668
    #6  button_search_click (button=<optimized out>, user_data=<optimized out>) at gui.c:1668
    #7  0x00007fe447278fc2 in g_closure_invoke (closure=0x5653e0dd7030, return_value=return_value@entry=0x0, n_param_values=1, param_values=param_values@entry=0x7ffedf58aa50, invocation_hint=invocation_hint@entry=0x7ffedf58a9d0) at ../gobject/gclosure.c:810
    #8  0x00007fe44728b693 in signal_emit_unlocked_R (node=node@entry=0x5653e0ba8240, detail=detail@entry=0, instance=instance@entry=0x5653e0c48b40, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffedf58aa50) at ../gobject/gsignal.c:3742
    #9  0x00007fe447291d39 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffedf58abd0) at ../gobject/gsignal.c:3498
    #10 0x00007fe447291e9f in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3554
    #11 0x00007fe4475fd05e in IA__gtk_button_clicked (button=<optimized out>) at gtkbutton.c:1115
    #12 0x00007fe4475fd322 in gtk_button_finish_activate (button=<optimized out>, do_it=do_it@entry=1) at gtkbutton.c:1790
    #13 0x00007fe4475fd3c6 in gtk_button_key_release (widget=<optimized out>, event=<optimized out>) at gtkbutton.c:1641
    #14 0x00007fe44769dfab in _gtk_marshal_BOOLEAN__BOXED (closure=0x5653e0bf4e00, return_value=0x7ffedf58ae20, n_param_values=<optimized out>, param_values=0x7ffedf58ae80, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gtkmarshalers.c:84
    #15 0x00007fe447278fc2 in g_closure_invoke (closure=closure@entry=0x5653e0bf4e00, return_value=return_value@entry=0x7ffedf58ae20, n_param_values=2, param_values=param_values@entry=0x7ffedf58ae80, invocation_hint=invocation_hint@entry=0x7ffedf58ae00) at ../gobject/gclosure.c:810
    #16 0x00007fe44728b0ee in signal_emit_unlocked_R (node=<optimized out>, detail=detail@entry=0, instance=instance@entry=0x5653e0c48b40, emission_return=emission_return@entry=0x7ffedf58af70, instance_and_params=instance_and_params@entry=0x7ffedf58ae80) at ../gobject/gsignal.c:3780
    #17 0x00007fe44729160e in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffedf58b020) at ../gobject/gsignal.c:3508
    #18 0x00007fe447291e9f in g_signal_emit (instance=instance@entry=0x5653e0c48b40, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3554
    #19 0x00007fe4477bf674 in gtk_widget_event_internal (widget=0x5653e0c48b40, event=0x7fe4340034f0) at gtkwidget.c:5010
    #20 0x00007fe4476a2b7c in IA__gtk_propagate_event (widget=0x5653e0c48b40, event=0x7fe4340034f0) at gtkmain.c:2469
    #21 0x00007fe4476a405b in IA__gtk_main_do_event (event=0x7fe4340034f0) at gtkmain.c:1698
    #22 IA__gtk_main_do_event (event=<optimized out>) at gtkmain.c:1503
    #23 0x00007fe44750b06f in gdk_event_dispatch (source=source@entry=0x5653e0ba7b70, callback=<optimized out>, user_data=<optimized out>) at gdkevents-x11.c:2425
    #24 0x00007fe44718e2b7 in g_main_dispatch (context=0x5653e0ba7c60) at ../glib/gmain.c:3309
    #25 g_main_context_dispatch (context=0x5653e0ba7c60) at ../glib/gmain.c:3974
    #26 0x00007fe44718e638 in g_main_context_iterate (context=0x5653e0ba7c60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4047
    #27 0x00007fe44718e92b in g_main_loop_run (loop=loop@entry=0x5653e0e08770) at ../glib/gmain.c:4241
    #28 0x00007fe4476a1d5a in IA__gtk_main () at gtkmain.c:1270
    #29 0x00005653e070fe93 in main (argc=<optimized out>, argv=<optimized out>) at gui.c:3737
    quit
    
     
    • Sundaram Ramaswamy

      Looking at the callstack, this seems like an issue in libWN.so i.e. libwordnet. Can you try searching for the string 'a' from Wordnet Browser, the GUI front end to WordNet that's supplied along with the library?

       
      • Atri

        Atri - 2020-08-28

        Yes, thanks! Both wn-browser and the command line interface of wordnet crashes upon any attempt to search. Any suggestions as to what may be causing this? Here's a bt:

        Core was generated by `wn a'.
        Program terminated with signal SIGSEGV, Segmentation fault.
        #0  0x00007efc0f33ee63 in __GI_fseek (fp=fp@entry=0x100000000, offset=offset@entry=0, whence=whence@entry=2) at fseek.c:35
        35    _IO_acquire_lock (fp);
        (gdb) thread apply all bt
        
        Thread 1 (LWP 17369):
        #0  0x00007efc0f33ee63 in __GI_fseek (fp=fp@entry=0x100000000, offset=offset@entry=0, whence=whence@entry=2) at fseek.c:35
        #1  0x00007efc0f48d1c8 in bin_search (searchkey=searchkey@entry=0x7efc0f4d72a0 <str> "a", fp=fp@entry=0x100000000) at binsrch.c:49
        #2  0x00007efc0f48d376 in exc_lookup (word=word@entry=0x7efc0f4d72a0 <str> "a", pos=pos@entry=4) at morph.c:385
        #3  0x00007efc0f490514 in morphstr (origstr=0x7fffc45f638b "a", pos=4) at morph.c:200
        #4  0x00005603e62c47b3 in do_is_defined (searchword=0x7fffc45f638b "a") at wn.c:264
        #5  searchwn (av=<optimized out>, ac=2) at wn.c:160
        #6  main (argc=<optimized out>, argv=<optimized out>) at wn.c:149
        
         
        • Atri

          Atri - 2020-08-28

          Actually, never mind, I tracked it down to openSUSE's default flags compiling with link-time-optimization enabled. Disabling it fixed the wn crash. Again, thanks a lot for pointing me in the right direction.

           
          • Sundaram Ramaswamy

            Most welcome, glad that things worked out :)

             
  • Zhang Weiwu

    Zhang Weiwu - 2021-02-14

    I emailed you Sundaram to offer commission on new features (to your yahoo.com email address) can you reply? It was sent 3 months ago with title "offer to sponsor new feature"

     

Log in to post a comment.