nedit receives SIGABRT when an item from Help menu is selected

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

nedit receives SIGABRT when an item from Help menu is selected

Alessandro DE LAURENZIS-3
Dear ports@ readers,

all in the subject... This is a gdb backtrace after e.g "Getting
Started" (but the same thing happens whichever item I select from Help
menu):

[...]

> $ gdb nedit
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "amd64-unknown-openbsd6.4"...
> (gdb) run
> Starting program: /usr/local/bin/nedit
> UTF8 locale not supported.
>
> Program received signal SIGABRT, Aborted.
> thrkill () at -:3
> 3       -: No such file or directory.
>         in -
> Current language:  auto; currently asm
> (gdb) bt
> #0  thrkill () at -:3
> #1  0x00000eb099ca984c in __stack_smash_handler (func=Variable "func" is not available.
> )
>     at /usr/src/lib/libc/sys/stack_protector.c:79
> #2  0x00000eae83ebe83a in helpCB (menuItem=0xeb0a4e27000,
>     clientData=0xeb0bb7fc000, callData=0x7f7ffffbac90) from /usr/local/bin/nedit
> #3  0x00000eb0d325c535 in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.11.0
> #4  0x00000eb0d805d065 in BtnUp (wid=0xeb0a4e27000, event=0x7f7ffffbb2e8, params=Variable "params" is not available.
> )
>     at PushB.c:2658
> #5  0x00000eb0d329e072 in HandleActions () from /usr/X11R6/lib/libXt.so.11.0
> #6  0x00000eb0d329bbc3 in HandleSimpleState () from /usr/X11R6/lib/libXt.so.11.0
> #7  0x00000eb0d329b483 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.11.0
> #8  0x00000eb0d326d887 in XtDispatchEventToWidget ()
>    from /usr/X11R6/lib/libXt.so.11.0
> #9  0x00000eb0d326e2cd in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.11.0
> #10 0x00000eb0d326dd8a in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.11.0
> #11 0x00000eb0d327ba13 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.11.0
> #12 0x00000eb0d326e7ad in XtAppMainLoop () from /usr/X11R6/lib/libXt.so.11.0
> #13 0x00000eae83ea6459 in main (argc=1, argv=0x7f7ffffbbd78) at nedit.c:760
> (gdb)
[...]

Any hints?

--
Alessandro DE LAURENZIS
[mailto:[hidden email]]
Web: http://www.atlantide.t28.net
LinkedIn: https://www.linkedin.com/in/delaurenzis/

Reply | Threaded
Open this post in threaded view
|

Re: nedit receives SIGABRT when an item from Help menu is selected

Laurence Tratt
On Sat, Feb 09, 2019 at 10:50:31AM +0100, Alessandro DE LAURENZIS wrote:

Hello Alessandro,

> all in the subject... This is a gdb backtrace after e.g "Getting Started"
> (but the same thing happens whichever item I select from Help menu):

The version of Nedit in ports is 5.5, which is about 15 years old [1]. It has
bitrotted badly since and, personally, I abandoned Nedit 5 years ago due to
the increasing number of visible bugs (the one you mention is one I vaguely
remember; but there were several others).

I see from Wikipedia that there is now a 5.6 and maybe a 5.7 release (is [2]
the definitive site? I'm unsure). Maybe the new releases fix some of the
issues, although if ever a project has felt abandoned, it is Nedit :/


Laurie

[1] https://marc.info/?l=openbsd-ports&m=109791544315146&w=2
[2] https://sourceforge.net/p/nedit/git/ci/master/tree/
--
Personal                                             http://tratt.net/laurie/
Software Development Team                                http://soft-dev.org/
   https://github.com/ltratt              http://twitter.com/laurencetratt

Reply | Threaded
Open this post in threaded view
|

Re: nedit receives SIGABRT when an item from Help menu is selected

Alessandro DE LAURENZIS-3
Hello Laurence,

thanks for your feedback.

On 2/10/19 11:01 AM, Laurence Tratt wrote:

> On Sat, Feb 09, 2019 at 10:50:31AM +0100, Alessandro DE LAURENZIS wrote:
>
> Hello Alessandro,
>
>> all in the subject... This is a gdb backtrace after e.g "Getting Started"
>> (but the same thing happens whichever item I select from Help menu):
>
> The version of Nedit in ports is 5.5, which is about 15 years old [1]. It has
> bitrotted badly since and, personally, I abandoned Nedit 5 years ago due to
> the increasing number of visible bugs (the one you mention is one I vaguely
> remember; but there were several others).
>
> I see from Wikipedia that there is now a 5.6 and maybe a 5.7 release (is [2]
> the definitive site? I'm unsure). Maybe the new releases fix some of the
> issues, although if ever a project has felt abandoned, it is Nedit :/
>
>
> Laurie
>
> [1] https://marc.info/?l=openbsd-ports&m=109791544315146&w=2
> [2] https://sourceforge.net/p/nedit/git/ci/master/tree/
>
Yes, I was aware. I discussed privately with Stuart, who suggested to
update the port. I made a first attempt (unified diff in the
attachment), and verified that this bug at least has gone. But it surely
requires deeper review and testing, considering also that I'm not a
nedit user...

--
Alessandro DE LAURENZIS
[mailto:[hidden email]]
Web: http://www.atlantide.t28.net
LinkedIn: https://www.linkedin.com/in/delaurenzis/

nedit.diff (34K) Download Attachment