"SIGSEGV, Segmentation fault" in X11CairoTextRender::getSurfaceOffset
Giuseppe Castagno
giuseppe.castagno at acca-esse.eu
Wed Nov 25 01:47:41 PST 2015
Hi all,
On Ubuntu 14.04 64bit, I get the following on master b630ec5, when LO
starts, paints empty main screen and then stops.
Started when I rebased yesterday evening.
IIRC yesterday morning was ok.
b630ec5
Configured with:
$ cat autogen.lastrun
--enable-debug
Detailed info follows:
Program received signal SIGSEGV, Segmentation fault.
0x00007fffdbc447dc in X11CairoTextRender::clipRegion (this=0x14957c0,
cr=0x1042c40) at
/srv5/git/LO/lo-gerrit/vcl/unx/generic/gdi/x11cairotextrender.cxx:100
100 pClipRegion->rects[i].y2 -
pClipRegion->rects[i].y1);
source:
void X11CairoTextRender::clipRegion(cairo_t* cr)
{
Region pClipRegion = mrParent.mpClipRegion;
if( pClipRegion && !XEmptyRegion( pClipRegion ) )
{
for (long i = 0; i < pClipRegion->numRects; ++i)
{
cairo_rectangle(cr,
pClipRegion->rects[i].x1,
pClipRegion->rects[i].y1,
pClipRegion->rects[i].x2 - pClipRegion->rects[i].x1,
>>>>>> pClipRegion->rects[i].y2 - pClipRegion->rects[i].y1);
}
cairo_clip(cr);
}
}
backtrace:
#0 0x00007fffdbc447dc in X11CairoTextRender::clipRegion
(this=0x14957c0, cr=0x1042c40) at
/srv5/git/LO/lo-gerrit/vcl/unx/generic/gdi/x11cairotextrender.cxx:100
#1 0x00007ffff0477307 in CairoTextRender::DrawServerFontLayout
(this=0x14957c0, rLayout=...) at
/srv5/git/LO/lo-gerrit/vcl/unx/generic/gdi/cairotextrender.cxx:222
#2 0x00007fffdbc5567d in X11SalGraphics::DrawServerFontLayout
(this=0x14955f0, rLayout=...) at
/srv5/git/LO/lo-gerrit/vcl/unx/generic/gdi/salgdi3.cxx:92
#3 0x00007ffff03febec in ServerFontLayout::DrawText (this=0x115a100,
rSalGraphics=...) at
/srv5/git/LO/lo-gerrit/vcl/generic/glyphs/gcach_layout.cxx:45
#4 0x00007ffff00fb2a4 in OutputDevice::ImplDrawTextDirect
(this=0x15d8e40, rSalLayout=..., bTextLines=false, flags=0) at
/srv5/git/LO/lo-gerrit/vcl/source/outdev/text.cxx:335
#5 0x00007ffff00fc016 in OutputDevice::ImplDrawText (this=0x15d8e40,
rSalLayout=...) at /srv5/git/LO/lo-gerrit/vcl/source/outdev/text.cxx:492
#6 0x00007ffff00fde98 in OutputDevice::DrawText (this=0x15d8e40,
rStartPt=Point = {...}, rStr="Welcome to LibreOfficeDev.", nIndex=0,
nLen=26, pVector=0x0, pDisplayText=0x0) at
/srv5/git/LO/lo-gerrit/vcl/source/outdev/text.cxx:920
#7 0x00007ffff3abe4f1 in RecentDocsView::Paint (this=0x15d8e40,
rRenderContext=..., aRect=Rectangle = {...}) at
/srv5/git/LO/lo-gerrit/sfx2/source/control/recentdocsview.cxx:291
#8 0x00007fffefe7b03e in PaintHelper::DoPaint (this=0x7fffffffcc00,
pRegion=0x0) at /srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:306
#9 0x00007fffefe7c3db in vcl::Window::ImplCallPaint (this=0x15d8e40,
pRegion=0x0, nPaintFlags=62) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:607
#10 0x00007fffefe7bede in PaintHelper::~PaintHelper
(this=0x7fffffffcd40, __in_chrg=<optimized out>) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:545
#11 0x00007fffefe7c403 in vcl::Window::ImplCallPaint (this=0x15d81b0,
pRegion=0x0, nPaintFlags=62) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:609
#12 0x00007fffefe7bede in PaintHelper::~PaintHelper
(this=0x7fffffffce80, __in_chrg=<optimized out>) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:545
#13 0x00007fffefe7c403 in vcl::Window::ImplCallPaint (this=0x1569a70,
pRegion=0x0, nPaintFlags=62) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:609
#14 0x00007fffefe7bede in PaintHelper::~PaintHelper
(this=0x7fffffffcfc0, __in_chrg=<optimized out>) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:545
#15 0x00007fffefe7c403 in vcl::Window::ImplCallPaint (this=0x14b3c60,
pRegion=0x0, nPaintFlags=62) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:609
#16 0x00007fffefe7bede in PaintHelper::~PaintHelper
(this=0x7fffffffd100, __in_chrg=<optimized out>) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:545
#17 0x00007fffefe7c403 in vcl::Window::ImplCallPaint (this=0x138b600,
pRegion=0x11a1700, nPaintFlags=62) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:609
#18 0x00007fffefe7bede in PaintHelper::~PaintHelper
(this=0x7fffffffd240, __in_chrg=<optimized out>) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:545
#19 0x00007fffefe7c403 in vcl::Window::ImplCallPaint (this=0x138bef0,
pRegion=0x0, nPaintFlags=60) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:609
#20 0x00007fffefe7c4fd in vcl::Window::ImplCallOverlapPaint
(this=0x138bef0) at /srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:629
#21 0x00007fffefe7c6db in vcl::Window::ImplHandlePaintHdl
(this=0x138bef0) at /srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:659
#22 0x00007fffefe7c5af in vcl::Window::LinkStubImplHandlePaintHdl
(instance=0x138bef0, data=0x13a0530) at
/srv5/git/LO/lo-gerrit/vcl/source/window/paint.cxx:639
#23 0x00007fffefe81e9d in Link<Idle*, void>::Call (this=0x13a0550,
data=0x13a0530) at /srv5/git/LO/lo-gerrit/include/tools/link.hxx:84
#24 0x00007ffff0301979 in Idle::Invoke (this=0x13a0530) at
/srv5/git/LO/lo-gerrit/vcl/source/app/idle.cxx:24
#25 0x00007ffff0304714 in ImplSchedulerData::Invoke (this=0x134e550) at
/srv5/git/LO/lo-gerrit/vcl/source/app/scheduler.cxx:40
#26 0x00007ffff0304aaf in Scheduler::ProcessTaskScheduling
(bTimerOnly=false) at
/srv5/git/LO/lo-gerrit/vcl/source/app/scheduler.cxx:167
#27 0x00007ffff03218bf in ImplYield (i_bWait=false, i_bAllEvents=false,
nReleased=0) at /srv5/git/LO/lo-gerrit/vcl/source/app/svapp.cxx:513
#28 0x00007ffff031e012 in Application::Yield () at
/srv5/git/LO/lo-gerrit/vcl/source/app/svapp.cxx:527
#29 0x00007ffff031df6e in Application::Execute () at
/srv5/git/LO/lo-gerrit/vcl/source/app/svapp.cxx:471
#30 0x00007ffff7839f99 in desktop::Desktop::DoExecute () at
/srv5/git/LO/lo-gerrit/desktop/source/app/app.cxx:1284
#31 0x00007ffff783b081 in desktop::Desktop::Main (this=0x7fffffffd980)
at /srv5/git/LO/lo-gerrit/desktop/source/app/app.cxx:1609
#32 0x00007ffff03262f6 in ImplSVMain () at
/srv5/git/LO/lo-gerrit/vcl/source/app/svmain.cxx:169
#33 0x00007ffff0326415 in SVMain () at
/srv5/git/LO/lo-gerrit/vcl/source/app/svmain.cxx:206
#34 0x00007ffff787998e in soffice_main () at
/srv5/git/LO/lo-gerrit/desktop/source/app/sofficemain.cxx:96
#35 0x00000000004006fb in sal_main () at
/srv5/git/LO/lo-gerrit/desktop/source/app/main.c:48
#36 main (argc=<optimized out>, argv=<optimized out>) at
/srv5/git/LO/lo-gerrit/desktop/source/app/main.c:47
--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
More information about the LibreOffice
mailing list