#518 Crash during syntax highlighting update

development
closed
nobody
Program (402)
4
2006-08-12
2006-03-29
Nathan Gray
No

NEdit crashed on me while updating the syntax
highlighting. This is a version from CVS of about a
year ago, but I thought I'd report it anyway since not
much has changed. :-( I got a traceback so it's not a
completely lost cause. I don't have time to
investigate it myself right now, but I'll take a look
later if nobody else beats me to it.

**********

NEdit release of Mar 3, 2005

Built on: MacOS X, PowerPC, GNU C
Built at: May 1 2005, 22:58:59
With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
Running Motif: 2.1 [unknown]
Server: The XFree86 Project, Inc 40400000
Visual: 24-bit TrueColor (ID 0x22, Default)
Locale: C

Host Name: golux
Date/Time: 2006-03-28 21:40:42.564 -0800
OS Version: 10.4.5 (Build 8H14)
Report Version: 4

Command: nedit
Path: /usr/local/bin/nedit
Parent: launchd [1]

Version: ??? (???)

PID: 485
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x012fffff

Thread 0 Crashed:
0 nedit 0x00043188 match + 1440 (crt.c:355)
1 nedit 0x00044194 match + 5548 (crt.c:355)
2 nedit 0x00042f24 match + 828 (crt.c:355)
3 nedit 0x00042b98 attempt + 168 (crt.c:355)
4 nedit 0x000425ac ExecRE + 880 (crt.c:355)
5 nedit 0x00065ee0 parseString + 1108
(crt.c:355)
6 nedit 0x00065824 parseBufferRange + 692
(crt.c:355)
7 nedit 0x00065494 incrementalReparse + 180
(crt.c:355)
8 nedit 0x000630b0 SyntaxHighlightModifyCB +
240 (crt.c:355)
9 nedit 0x000607e8 callModifyCBs + 104
(crt.c:355)
10 nedit 0x0005d2cc BufInsert + 120 (crt.c:355)
11 nedit 0x00057cc0 TextDInsert + 60 (crt.c:355)
12 nedit 0x00053d5c simpleInsertAtCursor +
172 (crt.c:355)
13 nedit 0x0004f420 TextInsertAtCursor + 116
(crt.c:355)
14 nedit 0x00050e68 selfInsertAP + 192
(crt.c:355)
15 libXt.6.dylib 0x9bb2c188 HandleActions + 264
16 libXt.6.dylib 0x9bb2c6f4 HandleSimpleState + 544
17 libXt.6.dylib 0x9bb2cd1c _XtTranslateEvent + 144
18 libXt.6.dylib 0x9bb06b9c XtDispatchEventToWidget + 860
19 libXt.6.dylib 0x9bb0756c _XtDefaultDispatcher + 680
20 libXt.6.dylib 0x9bb077b0 XtDispatchEvent + 400
21 nedit 0x000626a4 ServerDispatchEvent + 204
(crt.c:355)
22 nedit 0x00062530 ServerMainLoop + 40
(crt.c:355)
23 nedit 0x00003834 main + 2840 (crt.c:355)
24 nedit 0x00002568 _start + 348 (crt.c:272)
25 nedit 0x00002408 start + 60

Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000000043188 srr1: 0x000000000200d030
vrsave: 0x0000000000000000
cr: 0x44488448 xer: 0x0000000000000004
lr: 0x0000000000044194 ctr: 0x0000000000043164
r0: 0x0000000000043164 r1: 0x00000000bfffd4c0
r2: 0x0000000001300002 r3: 0x0000000000000003
r4: 0x0000000000000000 r5: 0x0000000000000000
r6: 0x0000000001300141 r7: 0x0000000000000000
r8: 0x0000000000000007 r9: 0x0000000000000004
r10: 0x0000000000000007 r11: 0x0000000001300000
r12: 0x0000000090124e80 r13: 0x0000000000000000
r14: 0x000000000000013e r15: 0x000000000000013e
r16: 0x0000000000000000 r17: 0x0000000000000056
r18: 0x0000000000000000 r19: 0x0000000001300000
r20: 0x0000000000530a30 r21: 0x00000000011c495c
r22: 0x0000000000000000 r23: 0x0000000000000008
r24: 0x0000000000000000 r25: 0x0000000000000008
r26: 0x0000000001300008 r27: 0x0000000001300000
r28: 0x0000000000000000 r29: 0x00000000018ab651
r30: 0x00000000018ab654 r31: 0x00000000012fffff

Binary Images Description:
0x1000 - 0x22dfff nedit /usr/local/bin/nedit
0x8fe00000 - 0x8fe54fff dyld 44.2 /usr/lib/dyld
0x90000000 - 0x901b3fff libSystem.B.dylib
/usr/lib/libSystem.B.dylib
0x9020b000 - 0x9020ffff libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib
0x913bc000 - 0x913dcfff libmx.A.dylib
/usr/lib/libmx.A.dylib
0x99ce1000 - 0x99cf0fff libICE.6.dylib
/usr/X11R6/lib/libICE.6.dylib
0x99cf6000 - 0x99cfbfff libSM.6.dylib
/usr/X11R6/lib/libSM.6.dylib
0x9b757000 - 0x9b762fff libXext.6.dylib
/usr/X11R6/lib/libXext.6.dylib
0x9b767000 - 0x9b82ffff libX11.6.dylib
/usr/X11R6/lib/libX11.6.dylib
0x9baf7000 - 0x9bb39fff libXt.6.dylib
/usr/X11R6/lib/libXt.6.dylib
0x9bba2000 - 0x9bba7fff libXp.6.dylib
/usr/X11R6/lib/libXp.6.dylib
0x9bbaa000 - 0x9bbb5fff libXpm.4.dylib
/usr/X11R6/lib/libXpm.4.dylib

Discussion

  • Thorsten Haude

    Thorsten Haude - 2006-08-11

    Logged In: YES
    user_id=119143

    Does this happen with any value for the highlighting
    pattern? With any document?

     
  • Thorsten Haude

    Thorsten Haude - 2006-08-11

    Logged In: YES
    user_id=119143

    Did you build this yourself? If so:

    Linux distributions typically do not handle binary compatability
    well each release. If you built it yourself, and upgraded the
    operating system, then you probably need to rebuild.

    Did you upgrade your Motif libraries to a new version, or switch
    between LessTif to OpenMotif or OSF Motif? The three are not
    necessarily compatabile.

    Did you build it with recent versions of LessTif or OpenMotif?
    Recent version of LessTif are less stable. If you use LessTif at
    all, we recommend you use LessTif 0.93.0, nothing more recent.
    If you use OpenMotif, we recommend OpenMotif 2.1.

    Consider downloading the Linux binary from http://www.nedit.org,
    which is statically linked with OSF Motif. This is far more
    robust because it is statically linked against OSF Motif, and
    immune to operating system or library upgrades that are
    incompatible.

    If not: sometimes system vendors build their own version of NEdit
    with unstable releases of LessTif or OpenMotif. Consider
    reporting the bug to your vendor.

     
  • Thorsten Haude

    Thorsten Haude - 2006-08-11

    Logged In: YES
    user_id=119143

    Ok, the last one is the canned repsonse. I expected
    something like: "Is this homwbrew? Does prebuild run?"

     
  • Eddy De Greef

    Eddy De Greef - 2006-08-11

    Logged In: YES
    user_id=73597

    Did your patterns contain more than one set of curly braces,
    ie. {m,n} constructs? If so, it is possibly a duplicate of
    #153600, which has been fixed recently.

     
  • Nathan Gray

    Nathan Gray - 2006-08-12

    Logged In: YES
    user_id=121553

    My patterns have a single {m,n} construct in them, so I
    don't know if that was the problem.

    In the meantime I've updated to a more recent CVS build so
    it's probably futile to try to track this down. I'm going
    to close it, but feel free to reopen it if you feel there's
    some hope of solving the issue.

     
  • Nathan Gray

    Nathan Gray - 2006-08-12
    • status: open --> closed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks