#182 5.3 crash when selecting stats line text

release
closed-duplicate
nobody
Program (402)
5
2003-05-26
2002-07-16
Anonymous
No

In 5.3 for Sparc/Solaris 5.7, when attempting to
re-select a portion of text which has already been
selected in the statistics line, NEdit crashes with
this error:

X Error of failed request: BadMatch (invalid parameter
attributes)
Major opcode of failed request: 1 (X_CreateWindow)
Serial number of failed request: 4894
Current serial number in output stream: 4896

Discussion

  • Scott Tringali

    Scott Tringali - 2002-07-16

    Logged In: YES
    user_id=11321

    Please send us the first 8 lines from "Help > Version", which
    will give us extra information to help us reproduce your problem.

     
  • Nobody/Anonymous

    Logged In: NO

    With the pre-built binary downloaded from nedit.org, the
    version info is:
    NEdit 5.3
    Jun 1, 2002

    Built on: Solaris, Sparc, Forte C
    Built at: Jun 3 2002, 10:34:36
    With Motif: 1002 [@(#)OSF/Motif Version 1.2.2]
    Running Motif: 1002
    Server: Sun Microsystems, Inc. 3610

    With a binary I build myself, the version info is:
    NEdit 5.3
    Jun 1, 2002

    Built on: Solaris, Sparc, Forte C
    Built at: Jul 15 2002, 13:16:32
    With Motif: 2001 [@(#)Motif Version 2.1.0]
    Running Motif: 2001
    Server: Sun Microsystems, Inc. 3610

    The crash happens with both versions.

     
  • Scott Tringali

    Scott Tringali - 2002-07-17

    Logged In: YES
    user_id=11321

    I tried it on this:
    SunOS titan 5.7 Generic sun4u sparc SUNW,Ultra-5_10

    ...but no crash. Would you provide more detailed
    instructions on how to reproduce this? Also send results to
    'appres NEdit' if you can.

     
  • Nobody/Anonymous

    Logged In: NO

    To get a crash (statistics line enabled):
    1) select some text in the statistics line with m1
    2) move mouse cursor to somewhere within selected text
    3) press and hold m1
    4) start dragging mouse right or left --> crash

    BTW, I tried this at home on Linux, and it didn't crash.

    uname -a:
    SunOS galena06 5.7 Generic_106541-20 sun4u sparc
    SUNW,Ultra-60

    appres NEdit:
    *0*ColorPalette: dta02182.dp
    *0*ColorUse: HIGH_COLOR
    *promptDialog.bboard.frame.form.text.columns: 45
    *XmText*FontList: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *XmText*Translations: #override\n\ Ctrl<Key>u:delete-to-start-of-line()\n\ Ctrl<Key>k:delete-to-end-of-line()\n\ Ctrl<Key>a:beginning-of-line()\n\ Ctrl<Key>e:end-of-line()\n\ Ctrl<Key>p:process-up()\n\ Ctrl<Key>b:backward-character()\n\ Ctrl<Key>n:process-down()\n\ Ctrl<Key>f:forward-character()
    *DtEditor*textFontList: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *XmTextField*FontList: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *XmTextField*Translations: #override\n\ Ctrl<Key>u:delete-to-start-of-line()\n\ Ctrl<Key>k:delete-to-end-of-line()\n\ Ctrl<Key>a:beginning-of-line()\n\ Ctrl<Key>e:end-of-line()\n\ Ctrl<Key>b:backward-character()\n\ Ctrl<Key>f:forward-character()
    *DtTerm*shadowThickness: 1
    *DtTooltipDisplay*sensitive: False
    *enableThinThickness: True
    *enableBtn1Transfer: button2_transfer
    *multiClickTime: 500
    *systemFont: -dt-interface
    system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *enableToggleColor: True
    *FontList: -dt-interface
    system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *enableButtonTab: True
    *ttyModes: erase ^H intr ^C kill ^U start ^Q stop ^S
    swtch ^@ susp ^Z
    *enableCDEColorFactors: True
    *HelpColorUse: 1
    *enableToggleVisual: True
    *userFont: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *enableDefaultButton: True
    *Font: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*
    *enableUrlAwareness: True
    *xineramaDefaultFramebuffer: 0
    *enableDragIcon: True
    *FontSet: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*
    *fontGroup: Default
    *textFontList: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *enableEtchedInMenu: True
    *background: #32009700C700
    *foreground: #FFFFFFFFFFFF
    *enableMenuInCascade: True
    *buttonFontList: -dt-interface
    system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *labelFontList: -dt-interface
    system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *enableMultiKeyBindings: True
    *dtEnvMapForRemote:
    DTAPPSEARCHPATH:DTHELPSEARCHPATH:DTDATABASESEARCHPATH:XMICONSEARCHPATH:XMICONBMSEARCHPATH
    *localTerminal: xterm
    *sessionVersion: 3.0

    appres nedit: (I use nedit rather than NEdit for my
    resources)
    *0*ColorPalette: dta02182.dp
    *0*ColorUse: HIGH_COLOR
    *promptDialog.bboard.frame.form.text.columns: 45
    *XmText*FontList: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *XmText*Translations: #override\n\ Ctrl<Key>u:delete-to-start-of-line()\n\ Ctrl<Key>k:delete-to-end-of-line()\n\ Ctrl<Key>a:beginning-of-line()\n\ Ctrl<Key>e:end-of-line()\n\ Ctrl<Key>p:process-up()\n\ Ctrl<Key>b:backward-character()\n\ Ctrl<Key>n:process-down()\n\ Ctrl<Key>f:forward-character()
    *DtEditor*textFontList: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *XmTextField*FontList: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *XmTextField*Translations: #override\n\ Ctrl<Key>u:delete-to-start-of-line()\n\ Ctrl<Key>k:delete-to-end-of-line()\n\ Ctrl<Key>a:beginning-of-line()\n\ Ctrl<Key>e:end-of-line()\n\ Ctrl<Key>b:backward-character()\n\ Ctrl<Key>f:forward-character()
    *DtTerm*shadowThickness: 1
    *DtTooltipDisplay*sensitive: False
    nedit*textHorScrollBar*background: #32009700c700
    nedit*text.Translations: #override \n\ Alt<KeyPress>z: revert-to-saved() \n\ <KeyPress>osfBeginLine: beginning-of-file() \n\ <KeyPress>osfEndLine: end-of-file() \n\ <KeyPress>osfSelect: end-of-file() \n\ Ctrl<KeyPress>osfLeft: beginning-of-line() \n\ Ctrl<KeyPress>osfRight: end-of-line() \n
    nedit*text.background: #7848a075d500
    nedit*text.foreground: white
    nedit*statsForm*background: #9fd79b0cbf00
    nedit*statsForm*foreground: white
    nedit*searchMenu.gotoMatching.accelerator: Shift
    Ctrl<Key>m
    nedit*searchMenu.gotoMatching.acceleratorText: Shift+Ctrl+M
    nedit*preferencesMenu.readOnly.accelerator: Ctrl<Key>m
    nedit*preferencesMenu.readOnly.acceleratorText: Ctrl+M
    nedit*macroListDialog.width: 400
    nedit*textVertScrollBar*background: #32009700c700
    nedit.remapDeleteKey: False
    nedit.printCommand: lp
    nedit.printNameOption:
    nedit*foreground: white
    nedit*background: #e2009c6d835a
    *enableThinThickness: True
    *enableBtn1Transfer: button2_transfer
    *multiClickTime: 500
    *systemFont: -dt-interface
    system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *enableToggleColor: True
    *FontList: -dt-interface
    system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *enableButtonTab: True
    *ttyModes: erase ^H intr ^C kill ^U start ^Q stop ^S
    swtch ^@ susp ^Z
    *enableCDEColorFactors: True
    *HelpColorUse: 1
    *enableToggleVisual: True
    *userFont: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *enableDefaultButton: True
    *Font: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*
    *enableUrlAwareness: True
    *xineramaDefaultFramebuffer: 0
    *enableDragIcon: True
    *FontSet: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*
    *fontGroup: Default
    *textFontList: -dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *enableEtchedInMenu: True
    *background: #32009700C700
    *foreground: #FFFFFFFFFFFF
    *enableMenuInCascade: True
    *buttonFontList: -dt-interface
    system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *labelFontList: -dt-interface
    system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
    *enableMultiKeyBindings: True
    *dtEnvMapForRemote:
    DTAPPSEARCHPATH:DTHELPSEARCHPATH:DTDATABASESEARCHPATH:XMICONSEARCHPATH:XMICONBMSEARCHPATH
    *localTerminal: xterm
    *sessionVersion: 3.0

     
  • Nobody/Anonymous

    Logged In: NO

    I have a similar problem on Linux (SuSE 8.1) that might be
    related:
    NEdit 5.3
    Jun 1, 2002

    Built on: Linux, x86, GNU C
    Built at: Sep 10 2002, 16:55:07
    With Motif: 2002 [@(#)Motif Version 2.2.2]
    Running Motif: 2002
    Server: The XFree86 Project, Inc 40200000

    If I select some text in the stats line and close the window
    with ^w sometimes nedit exits with 'Error: XtPopdown
    requires a subclass of shellWidgetClass'.
    This does not always happen, just often enough to be annoying.
    I 've tried to boil it down to an easily reproducable test
    case. This works for me most of the time:
    - Open an existing file from the cmd line : nedit foo.c &
    - select a filename and press ^Y to open a second file window
    - click into the foo.c window
    - press ^F in the foo.c window and close the find dialogue again
    using the close button from the window decoration.
    ( using KDE 3.0, this might make a difference)
    - select part of the pathname in the stats bar *not*
    starting at the
    first char. (I often edit files located in a subdir which
    has a
    symlink in / )
    - paste the selection into some other window ( i.e. an xterm )
    - move the cursor back to the foo.c window and press ^W

    Bernd Tegge (tegge@repas-aeg.de)

     
  • Scott Tringali

    Scott Tringali - 2003-04-29

    Logged In: YES
    user_id=11321

    I don't think the two are related. OpenMotif 2.2 some
    serious flaws that we have not been able to work around yet.
    As of now, we do not support it with NEdit.

     
  • Eddy De Greef

    Eddy De Greef - 2003-05-26
    • labels: --> Program
    • milestone: --> release
    • status: open --> closed-duplicate
     
  • Eddy De Greef

    Eddy De Greef - 2003-05-26

    Logged In: YES
    user_id=73597

    This is a dup of #526981. I can reproduce it under the same
    circumstances (using a non-default visual). With the
    resources listed below, the selection triggers a drag icon,
    resulting in a crash.
    With the latest CVS version the icon is suppressed and no
    crash occurs.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks