Bug 104164 - Crash in: ResMgr::GetStringWithoutHook(rtl::OUString &,unsigned char const *)
Summary: Crash in: ResMgr::GetStringWithoutHook(rtl::OUString &,unsigned char const *)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
: 104218 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-25 14:59 UTC by Hans Gerstenkorn
Modified: 2017-05-05 16:15 UTC (History)
4 users (show)

See Also:
Crash report or crash signature: ["ResMgr::GetStringWithoutHook(rtl::OUString &,unsigned char const *)"]


Attachments
pop up window of the report (14.59 KB, image/png)
2016-11-25 14:59 UTC, Hans Gerstenkorn
Details
LO_database_form (55.76 KB, image/png)
2016-11-29 11:44 UTC, Hans Gerstenkorn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Gerstenkorn 2016-11-25 14:59:29 UTC
Created attachment 129007 [details]
pop up window of the report

This bug was filed from the crash reporting server and is br-3b4c88b4-0f0c-4ae6-869c-6e0447513d5b.
=========================================

1. opened the database
2. opened the quiery "VerbrauchswerteWasserVerbraucher_Engeben_Ändern_v"
then the db said "Program doesnt work properly " and I've to restart

Hi to all specilists, I attached a copy of the database to the bug report No 103926. Please see all comments there. Thank You :-) hans
Comment 1 Robert Großkopf 2016-11-25 17:57:58 UTC
(In reply to Hans Gerstenkorn from comment #0)
> 
> 1. opened the database
> 2. opened the quiery "VerbrauchswerteWasserVerbraucher_Engeben_Ändern_v"
> then the db said "Program doesnt work properly " and I've to restart

Couldn't find the query in the database you have attached for bug 103926.
Comment 2 MM 2016-11-27 16:54:51 UTC
Unconfirmed with v5.2.3.3 under windows 10 x64.
Unconfirmed with v5.2.3.3 under ubuntu 16.04 x64.
Comment 3 Hans Gerstenkorn 2016-11-27 18:15:30 UTC
I'm sorry, it was naturally a form not a quiery  :-)
Comment 4 Alex Thurgood 2016-11-29 11:08:21 UTC
There are 42 pages worth of bug reports of crashing with the same function pointed to on the crash report server, so my guess is that this is a DUP. Some of the earliest reports date back to 5.2.0.x.

In one of the toolbars perhaps ? Quite possibly even in the main toolbar, seeing as the problem happens so often. 

Seems like the StyleBox calls ComboBox::ComboBox(), which calls ComboBox::ImplLoadRes(ResId const &) and thats where things start to go wrong.

No idea who's the expert in this toolbar resource management stuff.
Comment 5 Alex Thurgood 2016-11-29 11:24:55 UTC
A form is mainly a Writer document (with rare exceptions for Calc sheets), but in this case Hans' forms are Writer documents, so whoever is a Writer expert, perhaps ?


@Hans : if you save the form outside of the Base ODB file, and then try to reload it separately into LibreOffice, do you still get a crash with the same error message ?
Comment 6 Alex Thurgood 2016-11-29 11:26:17 UTC
Changed component to Writer as the database form is a Writer document.
Comment 7 Alex Thurgood 2016-11-29 11:29:16 UTC
*** Bug 104218 has been marked as a duplicate of this bug. ***
Comment 8 Hans Gerstenkorn 2016-11-29 11:44:20 UTC
Created attachment 129110 [details]
LO_database_form

There ist no possibility to save as a writer_document ???
Comment 9 Alex Thurgood 2016-11-29 11:49:16 UTC
(In reply to Hans Gerstenkorn from comment #8)
> Created attachment 129110 [details]
> LO_database_form
> 
> There ist no possibility to save as a writer_document ???

Open your ODB.
Open the form.
In the File menu or the dropdown Save button icon, "Save as"
Save the form to a directory on your hard disk with a new name.
Comment 10 Hans Gerstenkorn 2016-11-29 14:41:25 UTC
at first, I didn't open the form, I opend the database and then I tried to save as - like my attached screenshot,
---------------------
now I opened the form with the old LO-Version and saved it as "odt", then reloaded without! crash, it works perfect.
---------------------
By the way, please sea comment 28 from Bug 103926 an You'll see, that all works very good within the new beta-version..... :-)
Comment 11 Michael Stahl (allotropia) 2017-05-05 16:15:30 UTC
this doesn't crash for me on Linux in current master / 5.3 / 5.2 builds.

http://crashreport.libreoffice.org/stats/crash_details/3b4c88b4-0f0c-4ae6-869c-6e0447513d5b

it crashes while loading a resource RID_SVXTBX_STYLE, but in
5.3 that no longer exists and was converted to something else:

commit f60ea9332bf04bae743653298cbce9e48146ca35
Author:     Caolán McNamara <caolanm@redhat.com>
AuthorDate: Fri Oct 7 21:09:28 2016 +0100

    de-src SvxStyleBox_Impl combobox


so since there are no more releases for 5.2 planned i think
we can close it as WFM; please re-open if you can still reproduce
in 5.3.x.