I hope this is the right place to report a bug. SciTE gave me a segfault
when I tried to open one particular file. Upon closer inspection, this
turned out to be caused by the local SciTE.properties. I have it to
import properties from the parent dir, which in turn imports properties
from the parent dir.
dir
|-SciTE.properties
|
\ subdir
|-SciTE.properties
| import ../SciTE
\-subdir
|-SciTE.properties
\ import ../SciTE
I reconfirmed the problem with todays CVS version, GTK build, on linux
(ubuntu Edgy). Looking at the backtrace this seems to be a case of
infinite recursion.
Here is part of it:
#0 PropSetFile::Read (this=0xbf8af408, [EMAIL PROTECTED],
[EMAIL PROTECTED],
imports=0x0, sizeImports=0) at ../src/SciTEProps.cxx:160
#1 0x0807d9f3 in PropSetFile::ReadLine (this=0xbf8af408,
lineBuffer=0xbf0c0008 "import ../SciTE",
ifIsTrue=true, [EMAIL PROTECTED], imports=0x0,
sizeImports=0)
at ../src/SciTEProps.cxx:124
#2 0x0807dc46 in PropSetFile::ReadFromMemory (this=0xbf8af408,
data=0xbf0ceac8 "import ../SciTE",
len=0, [EMAIL PROTECTED], imports=0x0, sizeImports=0)
at ../src/SciTEProps.cxx:154
#3 0x0807dd52 in PropSetFile::Read (this=0xbf8af408, [EMAIL PROTECTED],
[EMAIL PROTECTED], imports=0x0, sizeImports=0) at
../src/SciTEProps.cxx:170
#4 0x0807d9f3 in PropSetFile::ReadLine (this=0xbf8af408,
lineBuffer=0xbf0dd628 "import ../SciTE",
ifIsTrue=true, [EMAIL PROTECTED], imports=0x0,
sizeImports=0)
at ../src/SciTEProps.cxx:124
#5 0x0807dc46 in PropSetFile::ReadFromMemory (this=0xbf8af408,
data=0xbf0ec0e8 "import ../SciTE",
len=0, [EMAIL PROTECTED], imports=0x0, sizeImports=0)
at ../src/SciTEProps.cxx:154
#6 0x0807dd52 in PropSetFile::Read (this=0xbf8af408, [EMAIL PROTECTED],
[EMAIL PROTECTED], imports=0x0, sizeImports=0) at
../src/SciTEProps.cxx:170
#7 0x0807d9f3 in PropSetFile::ReadLine (this=0xbf8af408,
lineBuffer=0xbf0fac48 "import ../SciTE",
ifIsTrue=true, [EMAIL PROTECTED], imports=0x0,
sizeImports=0)
at ../src/SciTEProps.cxx:124
#8 0x0807dc46 in PropSetFile::ReadFromMemory (this=0xbf8af408,
data=0xbf109708 "import ../SciTE",
len=0, [EMAIL PROTECTED], imports=0x0, sizeImports=0)
at ../src/SciTEProps.cxx:154
#9 0x0807dd52 in PropSetFile::Read (this=0xbf8af408, [EMAIL PROTECTED],
[EMAIL PROTECTED], imports=0x0, sizeImports=0) at
../src/SciTEProps.cxx:170
It is easy to work around this problem, but perhaps it might be wise to
add a check to prevent the segfault?
regards,
Martijn van Iersel
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest