#124 5.2 segmentation fault on Linux/i386

closed-fixed
Eddy De Greef
Program (402)
5
2002-02-07
2002-01-30
Igor Bukanov
No

To reproduce, do the following steps:

1. Remove all .nedit* files in the home dir to have
clean install

2. Run "xrdb -remove" to have default resources

3. Run "nedit -wrap y.java" from shell where y.java is
attached

4. Go to Preferences->Tabs... and replace 8 by 4 in the
tab spacing field

Then after clicking OK you will see at the bottom of
the window an additional empty line with an additional
'}'. Now after starting to select the text via
Shift-down, when selection moves to this "additional
region", nedit crashes (in most of the cases, in the
rest cases it takes longer time to play with selection,
but I always managed to crash it at the end)

Note that steps 1-2 may be unnecessary, but they
provide a reference pint to reproduce.

Here is nedit -version output:
NEdit Version 5.2
October 2001

Built on: Linux, x86, GNU C
Built at: Oct 25 2001, 10:08:38
With Motif: 2001 [@(#)Motif Version 2.1.30]
Running Motif: 2001
Server: The XFree86 Project, Inc 40100000

Discussion

  • Igor Bukanov
    Igor Bukanov
    2002-01-30

    Test case for the crash

     
    Attachments
  • Scott Tringali
    Scott Tringali
    2002-01-30

    Logged In: YES
    user_id=11321

    I can't get this to happen with my Linux. What version of
    Linux (distro, please) are you running? GUI environment?

     
  • Igor Bukanov
    Igor Bukanov
    2002-02-01

    Logged In: YES
    user_id=443392

    I was able to reproduce it either with RedHat 7.2, XFree
    4.03, KDE 2.0 beta or with RedHat 7.0, XFree 4.03, KDE 1.4.
    Actually after
    nedit -wrap y.java
    when I change tabs from 8 to 4 it starts to show garbage and
    then crash on a selection from keyboard with rather wide set
    of settings.

     
  • Igor Bukanov
    Igor Bukanov
    2002-02-01

    Logged In: YES
    user_id=443392

    I was able to reproduce it either with RedHat 7.2, XFree
    4.03, KDE 2.0 beta or with RedHat 7.0, XFree 4.03, KDE 1.4.
    Actually after
    nedit -wrap y.java
    when I change tabs from 8 to 4 it starts to show garbage and
    then crash on a selection from keyboard with rather wide set
    of settings.

     
  • Igor Bukanov
    Igor Bukanov
    2002-02-01

    Logged In: YES
    user_id=443392

    I was able to reproduce it either with RedHat 7.2, XFree
    4.03, KDE 2.0 beta or with RedHat 7.0, XFree 4.03, KDE 1.4.
    Actually after
    nedit -wrap y.java
    when I change tabs from 8 to 4 it starts to show garbage and
    then crash on a selection from keyboard with rather wide set
    of settings.

     
  • Eddy De Greef
    Eddy De Greef
    2002-02-05

    Logged In: YES
    user_id=73597

    I've reproduced it both on Linux and HPUX.
    I'll investigate it.

     
  • Eddy De Greef
    Eddy De Greef
    2002-02-05

    Logged In: YES
    user_id=73597

    I've committed a fix. The problem was very similar to
    bug #485415 and the solution for that one was easily
    extended to cover this one too.

     
  • Alexander Mai
    Alexander Mai
    2002-02-07

    • assigned_to: nobody --> edg
    • status: open --> closed-fixed