Bug 107550 - Crash in: SalFrame::SetCallback(vcl::Window *,bool (*)(vcl::Window *,SalEvent,void const *))
Summary: Crash in: SalFrame::SetCallback(vcl::Window *,bool (*)(vcl::Window *,SalEvent...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.6.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: GDI-Limit
  Show dependency treegraph
 
Reported: 2017-05-01 20:36 UTC by Martin Dickey
Modified: 2017-05-31 20:22 UTC (History)
1 user (show)

See Also:
Crash report or crash signature: ["SalFrame::SetCallback(vcl::Window *,bool (*)(vcl::Window *,SalEvent,void const *))"]


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Dickey 2017-05-01 20:36:51 UTC
This bug was filed from the crash reporting server and is br-5d4eec9e-3b60-4895-9ac0-d9e57045dcc3.
=========================================

Crash when trying to finish Recovery.  This has been happening all day, even after restarting Windows 10.  Am currently unable to open any files.
So, I have about four files open for editing, a mix of .txt and .html files.
When I go to open an additional .html file, all file windows disappear.  When I restart LibreOffice, it shows that the files need recovery.  Recovery completes successfully and quickly for all of them.  Then, after hitting Finish, a file window starts to open for one of them, but it never fills in.  LibreOffice crashes.  If I try to restart LibreOffice, either nothing happens, or the same problem occurs. Restarting Windows doesn't help.  One time, the recovery itself was interrupted, leading to lost data.
I will experiment with deleting the recovery data, to see if I can at least prevent the crash and open the files.
Comment 1 Xisco Faulí 2017-05-01 20:47:08 UTC
Hello Martin,

Could you please share the documents that make LibreOffice crash when all of them are opened? it would be really helpful for us as this crash is quite difficult to reproduce.

Regards
Comment 2 Martin Dickey 2017-05-01 21:35:04 UTC
(In reply to Xisco Faulí from comment #1)
> Hello Martin,
> 
> Could you please share the documents that make LibreOffice crash when all of
> them are opened? it would be really helpful for us as this crash is quite
> difficult to reproduce.
> 
> Regards

Let me see if I can get a reliable set of files to repro from.  Although the problem has happened a lot (even occasionally over the years before today), it's never been the exact same set of files.  And I didn't take a screen snapshot to help me remember which ones they were this last time.  Also, an error in my description -- this last time there was one .odt file and several .html, but no .txt file.  So I'll start paying more attention and try to get a true repro scenario.  I'll also start saving the crash reports and linking them to this bug.

Meanwhile, clearing the recovery data worked, at least so that I skip recovery and open files.
Comment 3 Xisco Faulí 2017-05-02 10:57:28 UTC
Hi Martin,
Do you remember if at the time the crash happened you had many fonts installed in your system?
Comment 4 Martin Dickey 2017-05-02 15:07:58 UTC
Just had another crash at the end of recovery:
http://crashreport.libreoffice.org/stats/crash_details/7db2fd62-a0c6-4fda-ab27-b7556483b2ac

A smaller set of files this time in recovery, all .html.  maybe I'm closer to a repro situation.

In any case, to the question about fonts. In the html files, mostly LiberationSerif in use.  But there are some Chinese characters which use the font SimSun, italic.

I don't know how to tell which fonts are in use except by paging through the file and clicking in it to see what shows in the Fonts drop-down.  Maybe there is a better way?
Comment 5 Martin Dickey 2017-05-03 03:33:24 UTC
Just now, while try to repro the situation by repeatedly opening and closing files, I got a dialog box I haven't seen before:

Libre Office 5.2 - Fatal Error
!  Could not create system bitmap
Comment 6 Martin Dickey 2017-05-03 03:38:21 UTC
Just noticed there is a 5.3.2 version of LibreOffice.  Am going to install that before continuing to repro.
Comment 7 Alex Thurgood 2017-05-03 07:35:55 UTC
Not database related, changing module to LibreOffice Writer
Comment 8 Timur 2017-05-03 09:48:57 UTC
This signature ["SalFrame::SetCallback(vcl::Window *,bool (*)(vcl::Window *,SalEvent,void const *))"] was reported many times: http://crashreport.libreoffice.org/stats/crash_details/7db2fd62-a0c6-4fda-ab27-b7556483b2ac.  It's about running out of GDI references.
As noted in some bugs, problems were partially fixed for LO 5.3.1, maybe 5.2.6.
Currently there's this Bug 107550 and Bug 107023 open with the same signature, but no repro steps.
Comment 9 Xisco Faulí 2017-05-03 09:52:23 UTC
We have reproducible steps in bug 106265, but there might be other reasons for this kind of crash as well
Comment 10 Martin Dickey 2017-05-03 15:46:03 UTC
Updated my installation to 5.3.2.  Problem occurs there. too. 
Will continue to try to narrow down repro steps.
Comment 11 Martin Dickey 2017-05-31 20:22:19 UTC
I'm resolving this for now.  Was unable to construct a reliable repro situation.  I have seen the crash only once since upgrading to 5.3.2, but then my usage patterns have also been different, so that might not be relevant.  Will reopen if I can get any more info.