<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - exception at app.cxx:2060"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=109262">109262</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>exception at app.cxx:2060
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0.0.0.alpha0+ Master
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>BASIC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lo_bugs@iseries-guru.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=134775" name="attach_134775" title="example spreadsheet">attachment 134775</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=134775&action=edit" title="example spreadsheet">[details]</a></span>
example spreadsheet
STR
---
( 1) Set your macro security level (Tools > Options > LibreOfficeDev >
Security > "Macro Security") to Medium.
( 2) Optionally download attached test3.ods to /tmp/ and skip ahead to
step (10).
( 3) Create new empty spreadsheet.
( 4) Take menu options Tools > Macros > "Organize Macros" >
"LibreOfficeDev Basic...". Program presents window
"LibreOfficeDev Macros".
( 5) In pane "Macro From", click "Untitled 1" and then click <New>.
Program presents dialog "New Module" with default Name "Module 1".
( 6) In dialog "New Macro", click <OK>. Program displays window
"Untitled 1.Standard - LibreOfficeDev Basic 6.0". In source pane
observe line 3 "Sub Main" and line 5 "End Sub".
( 7) File > Close. Program returns focus to window "Untitled 1 -
LibreOfficeDev Calc 6.0".
( 8) Save the spreadsheet as /tmp/test3.ods.
( 9) Close LibreOffice.
(10) Run LibreOffice from the command line with parameters
--script-cat /tmp/test3.ods
Expected: I am not sure, as I have never actually seen output
from this option.
Observed: Terminal output includes
UNO exception during client open:
Application Error
Fatal exception: Signal 6
followed by a stack trace.
Note that the behaviour of Writer is exactly parallel to Calc.
I observe this on debian-stretch with daily Linux dbgutil bibisect
repository version 2017-07-21 and in a local build of commit 4b7b93be
(2017-07-05).
Experimentation in gdb shows that the message comes from
desktop/source/app/app.cxx:2074; the try block starts at line 2045. A
`step` command at line 2060 -- "OpenClients(); -- transfers control
directly to the catch block. The exception then is
$1 = (const com::sun::star::uno::Exception &) @0x555558c7d510:
{ Message = ""
, Context = uno::Reference to
(basic::SfxScriptLibrary *) 0x555558c7a9b0
}
Funnily enough, an attempt to backtrace from the catch block displays
two stack frames, and then gdb pegs one CPU.
Further work in the daily dbgutil bibisect repository shows that the
exception entered LibreOffice at about the same time as parameter
--script-cat, somewhere in the day before commit
2017-06-10: source-hash-076ed447f694239d5c67adee528ea6e471d909ff</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>