Re: [code] [textadept] segfault on Arch Linux using textadept-curses binary from foicica.com

From: Carlos Franke <carlos_franke.att.posteo.de>
Date: Tue, 17 Mar 2015 22:36:17 +0100

Hi Mitchell,

> Please try the latest nightly that I compiled just now for x86_64. It
> uses ncurses 5.9.

I did. First I noticed that the unpacked directory is called
"textadept_NIGHTLY_2015-03-16.x86_64", even though we have the 17th.
But its mtime dates shortly before your last email, so it is probably
the right one. (Just mentioning this, in case there might have been a
mixup.)

> If this does not work, then I think the issue is related to your
> system's version of ncurses.

Sadly, it doesn't. The backtrace is practically identical to the one
before (see below).

Are you saying there is a bug in Arch's ncurses-5.9 package, or in
ncurses 5.9 itself? Or is it just that the binaries from foicica.com
not compatible with ncurses 5.9?

Carlos

(gdb) bt
#0 0x00000000004d8ba8 in SurfaceImpl::AlphaRectangle (this=0x8d2d50,
rc=..., cornerSize=1, fill=..., alphaFill=100, outline=...,
     alphaOutline=50, flags=0) at scintilla/term/ScintillaTerm.cxx:339
#1 0x00000000004a6d9f in Indicator::Draw (this=0x89db70,
surface=0x8d2d50, rc=..., rcLine=..., drawState=Indicator::drawNormal,
value=1)
     at scintilla/src/Indicator.cxx:131
#2 0x000000000049d3a7 in DrawIndicator (indicNum=6, startPos=1,
endPos=11, surface=0x8d2d50, vsDraw=..., ll=0xb003d0, xStart=6,
rcLine=...,
     subLine=0, drawState=Indicator::drawNormal, value=1) at
scintilla/src/EditView.cxx:951
#3 0x000000000049d5ed in DrawIndicators (surface=0x8d2d50, model=...,
vsDraw=..., ll=0xb003d0, line=0, xStart=6, rcLine=..., subLine=0,
     lineEnd=11, under=false, hoverIndicatorPos=-1) at
scintilla/src/EditView.cxx:976
#4 0x00000000004a1b8a in EditView::DrawLine (this=0x89e368,
surface=0x8d2d50, model=..., vsDraw=..., ll=0xb003d0, line=0,
lineVisible=0,
     xStart=6, rcLine=..., subLine=0, phase=drawAll) at
scintilla/src/EditView.cxx:1709
#5 0x00000000004a2814 in EditView::PaintText (this=0x89e368,
surfaceWindow=0x8d2d50, model=..., rcArea=..., rcClient=..., vsDraw=...)
     at scintilla/src/EditView.cxx:1860
#6 0x0000000000478b17 in Editor::Paint (this=0x89ce90,
surfaceWindow=0x8d2d50, rcArea=...) at scintilla/src/Editor.cxx:1683
#7 0x00000000004dc20d in ScintillaTerm::Refresh (this=0x89ce90) at
scintilla/term/ScintillaTerm.cxx:1175
#8 0x00000000004d813d in scintilla_refresh (sci=0x89ce90) at
scintilla/term/ScintillaTerm.cxx:1394
#9 0x00000000004e2ef4 in pane_refresh (pane=0xb4dcd0) at
textadept.c:417
#10 0x00000000004e2ed2 in pane_refresh (pane=0x8d31d0) at
textadept.c:416
#11 0x00000000004e9f2e in main (argc=1, argv=0x7fffffffe248) at
textadept.c:2563
#12 0x00007ffff6dc5800 in __libc_start_main () from /usr/lib/libc.so.6
#13 0x00000000004529c9 in ?? ()
#14 0x00007fffffffe238 in ?? ()
#15 0x000000000000001c in ?? ()
#16 0x0000000000000001 in ?? ()
#17 0x00007fffffffe4fa in ?? ()
#18 0x0000000000000000 in ?? ()

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 17 Mar 2015 - 17:36:17 EDT

This archive was generated by hypermail 2.2.0 : Wed 18 Mar 2015 - 06:41:20 EDT