SEGV from File Open
Dale Whitfield
dale at 4drealtime.co.za
Fri Feb 29 17:19:07 CET 2008
Hi Scott >@2008.02.29_17:11:30_+0200
> Dale Whitfield wrote:
>
> >Segfault occurs when
> >o Any file is selected in the Files pane of the dialog
> >o Tab to Directories pane
> >o Press Enter on ".." entry
>
> I've seen this before a bunch of times (usually when I'm trying to load
> tags) and have been trying to fix it, or at least work around it. But I
> was unable to repro it consistently. Now I see, thanks!
>
> --
> NEdit Develop mailing list - Develop at nedit.org
> http://www.nedit.org/mailman/listinfo/develop
>
I dug deeper, there's a fix in OM 2.3 bug #1390, which I found after I
worked around it...
You need a test like this in there:
if ((lw->list.selectedPositions != NULL) &&
(lw->list.selectedPositionCount > 0))
I ended up checking out the OM CVS tree and created a patch with
relevant fixes against the 2.3.0 release.
--
Dale
More information about the Develop
mailing list