[Libreoffice-bugs] [Bug 113284] Crash opening index dialog
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Oct 20 20:03:05 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=113284
--- Comment #4 from Jan-Marek Glogowski <glogow at fbihome.de> ---
Created attachment 137167
--> https://bugs.documentfoundation.org/attachment.cgi?id=137167&action=edit
Exception throw bt from SwOneExampleFrame::LinkStubTimeoutHdl
(In reply to Julien Nabet from comment #3)
> Jan-Marek: noticing this part in bt:
> #1 0x00007ffff73cb42a in __GI_abort () at abort.c:89
> #2 0x00007fffec7079d0 in Scheduler::ProcessTaskScheduling() () at
> /home/julien/lo/libreoffice/vcl/source/app/scheduler.cxx:445
> #3 0x00007fffec706b59 in Scheduler::CallbackTaskScheduling() () at
> /home/julien/lo/libreoffice/vcl/source/app/scheduler.cxx:262
That's the general try … catch (...) … abort(), when a task throws an
exception. Nothing I can do here, except:
(gdb) f 2
#2 0x00002aaab618bafb in Scheduler::ProcessSingleTask (nTime=1508527162299,
pLastDataPtr=0x0) at
/home/glg/Development/libreoffice/dbgutil-clang/vcl/source/app/scheduler.cxx:458
458 abort();
(gdb) p *pTask
$2 = (Idle) {
<Timer> = {
<Task> = {
_vptr$Task = 0x2aaab6c11440 <vtable for Idle+16>,
mpSchedulerData = 0x6e3ac90,
mpDebugName = 0x2aaad5988604 "sw uibase SwOneExampleFrame Loaded",
mePriority = TaskPriority::HIGH_IDLE,
mbActive = false,
mbStatic = false
},
members of Timer:
maInvokeHandler = {
function_ = 0x2aaad580e430 <SwOneExampleFrame::LinkStubTimeoutHdl(void*,
Timer*)>,
instance_ = 0x6e5f910
},
mnTimeout = 0,
mbAuto = false
}, <No data fields>}
So we know which tasks crashs LO, but the exception can come from any code in
this task. So we actually want to find the throw point:
make debugrun gb_DBGARGS="~/Documents/tdf#113284/niqqudless.odt"
(gdb) r
wait until document is loaded, then CTRL+C
(gdb) set pagination off
(gdb) catch throw
(gdb) command 1
>bt
>c
>end
(gdb) set logging redirect on
(gdb) set logging on
(gdb) c
Generate crash in LO.
wait until GDB is back
(gdb) q
Open gdb.txt. The last throw is the problem. See attachment.
Probably it's easier to use the rr debugger?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171020/392ece11/attachment.html>
More information about the Libreoffice-bugs
mailing list