AggPas demo crash on 64bit
Original Reporter info from Mantis: pch
-
Reporter name: Patrick Chevalley
Original Reporter info from Mantis: pch
- Reporter name: Patrick Chevalley
Description:
Both AggPas demo crash on Linux 64bit / Gtk2.
If work fine if compiled for 32bit.
Using fixes_0_9_30 branch at revision 29112
See gdb trace below.
Additional information:
Program received signal SIGSEGV, Segmentation fault.
0x00000000007ad31c in QSORT_CELLS (START=0x7ffff7faf410, NUM=2) at ../src/agg_rasterizer_scanline_aa.pas:611
611 while cell_aa_ptr_ptr(ptrcomp(j ) + 1 * 4 )^^.x < j^.x do
(gdb) bt
#0 0x00000000007ad31c in QSORT_CELLS (START=0x7ffff7faf410, NUM=2) at ../src/agg_rasterizer_scanline_aa.pas:611
#1 0x00000000007ad85d in SORT_CELLS (this=...) at ../src/agg_rasterizer_scanline_aa.pas:792
#2 0x00000000007aecd2 in REWIND_SCANLINES (this=...) at ../src/agg_rasterizer_scanline_aa.pas:1570
#3 0x00000000007d29c0 in RENDER_SCANLINES (RAS=0x7ffff7f711a0, SL=0x7ffff7f71170, REN=0x7ffff7f710d8)
at ../src/agg_render_scanlines.pas:62
#4 0x0000000000791cde in AGG2DRENDERER_RENDER (this=0x7ffff7f70b90, RENBASE=0x7ffff7f71038,
RENSOLID=0x7ffff7f710d8, FILLCOLOR_=true, USEFONT=false) at ../src/agg_fpimage.pas:3129
#5 0x000000000078a099 in RENDER (this=0x7ffff7f70b90, FILLCOLOR_=true, USEFONT=false)
at ../src/agg_fpimage.pas:1092
#6 0x000000000078d552 in AGGDRAWPATH (this=0x7ffff7f70b90, FLAG=AGG_FILLONLY, USEFONT=false)
at ../src/agg_fpimage.pas:1835
#7 0x000000000078b4a8 in DOELLIPSEFILL (this=0x7ffff7f70b90, BOUNDS=...) at ../src/agg_fpimage.pas:1365
#8 0x00000000005a5425 in FPCANVAS_TFPCUSTOMCANVAS_$__DOELLIPSEANDFILL$TRECT ()
Mantis conversion info:
- Mantis ID: 18585
- Version: 0.9.29 (SVN)
- Fixed in revision: 29164 (#d72997d2)