Hi all,
now that I have CVS commit access I hoped to finally commit something,
but unfortunately me hit a bug which I can't nail down. So this is a
RFH to find this bug, or at least to confirm this.
The patch to trigger this bug on my system is really trivial and is
attached as 'bug'.
If I run this on my system I get this:
$ NEDIT_HOME=$PWD ./source/nedit -version
RestoreNEditPrefs: 0x77dbe0
RestoreNEditPrefs: "$list_dialog_button"
NEdit: Parse error in user defined menu item, end not expected
NEdit release of Feb 26, 2008
Built on: Linux, x86-64, GNU C
Built at: Feb 26 2008, 11:10:09
With Motif: 2.3.0 [@(#)Motif Version 2.3.0]
Running Motif: 2.3 [unknown]
Server: The X.Org Foundation 10300000
Visual: 16-bit TrueColor (ID 0x23, Default)
Locale: en_US.UTF-8
You can also try this inside the gdb (most output emmited):
$ NEDIT_HOME=$PWD gdb ./source/nedit
(gdb) break RestoreNEditPrefs
(gdb) run
(gdb) step
(gdb) step
RestoreNEditPrefs: 0x77dbe0
(gdb) watch *(char **) 0x77dbe0
(gdb) c
Continuing.
Hardware watchpoint 2: *(char **) 7855072
Old value = 0x0
New value = 0x89d920 ""
stringToPref (
string=0x511c58 "spell:Alt+B:s:EX:\n cat>spellTmp; xterm -e
ispell -x spellTmp; cat spellTmp; rm spellTmp\n wc::w:ED:\nwc | awk
'{print $1 \" lines, \" $2 \" words, \" $3 \" characters\"}'\n
sort::o:EX:\nsort\nnumber lin"..., rsrcDescrip=0x760ab8) at
prefFile.c:362
362 strcpy(*(char **)rsrcDescrip->valueAddr, string);
(gdb) c
Continuing.
Hardware watchpoint 2: *(char **) 7855072
Old value = 0x89d920 "spell:Alt+B:s:EX:\n cat>spellTmp; xterm -e
ispell -x spellTmp; cat spellTmp; rm spellTmp\n wc::w:ED:\nwc | awk
'{print $1 \" lines, \" $2 \" words, \" $3 \" characters\"}'\n
sort::o:EX:\nsort\nnumber lin"...
New value = 0x89d900 "$list_dialog_button"
stringToPref (string=0x511bd1 "True", rsrcDescrip=0x761f48) at prefFile.c:330
330 XtFree(cleanStr);
(gdb) c
Continuing.
RestoreNEditPrefs: "$list_dialog_button"
NEdit: Parse error in user defined menu item, end not expected
Hardware watchpoint 2: *(char **) 7855072
Old value = 0x89d900 ""
New value = 0x0
translatePrefFormats (convertOld=0, fileVer=0) at preferences.c:1371
1371 if (TempStringPrefs.macroCmds != NULL) {
(gdb) c
So, I hope someone can confirm this, and help in debugging this.
Thanks
Bert
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop