<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash opening index dialog"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113284#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash opening index dialog"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113284">bug 113284</a>
              from <span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span></b>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=137167" name="attach_137167" title="Exception throw bt from SwOneExampleFrame::LinkStubTimeoutHdl">attachment 137167</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=137167&action=edit" title="Exception throw bt from SwOneExampleFrame::LinkStubTimeoutHdl">[details]</a></span>
Exception throw bt from SwOneExampleFrame::LinkStubTimeoutHdl

(In reply to Julien Nabet from <a href="show_bug.cgi?id=113284#c3">comment #3</a>)
<span class="quote">> 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</span >

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
<span class="quote">>bt
>c
>end</span >
(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?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>