<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span> changed
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - FILESAVE Crashes when saving remotely when service host is empty"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113834">bug 113834</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Keywords</td>
<td>wantBacktrace
</td>
<td>haveBacktrace
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
<td>serval2412@yahoo.fr
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>ASSIGNED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - FILESAVE Crashes when saving remotely when service host is empty"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113834#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - FILESAVE Crashes when saving remotely when service host is empty"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113834">bug 113834</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>After some investigation, the problem is here:
<a href="https://opengrok.libreoffice.org/xref/core/svtools/source/dialogs/ServerDetailsControls.cxx?r=e3e6f43b#450">https://opengrok.libreoffice.org/xref/core/svtools/source/dialogs/ServerDetailsControls.cxx?r=e3e6f43b#450</a>
449 // Get the Content
450 ::ucbhelper::Content aCnt( sUrl, m_xCmdEnv,
comphelper::getProcessComponentContext() );
451 Sequence<OUString> aProps { "Title" };
try
{
Reference< XResultSet > xResultSet( aCnt.createCursor( aProps ),
UNO_QUERY_THROW );
The call of constructor of Content line 450 throws and since we're not in a
try/catch it triggers an hang.
I don't know why it's ok for Linux and not for Windows. Just for curiosity, I'd
like to know the behavior on Macos.
Anyway I'll submit a patch for review tonight after my daytime job.
I'll just put the quoted lines in the try/catch or perhaps we should just
return if url is empty.</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>