Bug 96663 - Crash with the api getFontDescriptors under LO5 x64, Windows
Summary: Crash with the api getFontDescriptors under LO5 x64, Windows
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.0.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks:
 
Reported: 2015-12-22 07:26 UTC by Dorange-Pattoret Didier
Modified: 2017-01-26 11:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A file to test (10.76 KB, application/vnd.oasis.opendocument.text)
2015-12-22 07:26 UTC, Dorange-Pattoret Didier
Details
Backtrace of crash on Windows, LibO 5.0.4 64-bit (9.90 KB, text/plain)
2015-12-27 13:01 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dorange-Pattoret Didier 2015-12-22 07:26:57 UTC
Created attachment 121492 [details]
A file to test

I get a crash, using the API getfontDescriptors under LO5 x64 Windows.

Try this code :

Sub EssaiFontDescriptor
	oWindow = ThisComponent.getCurrentController().getFrame().getContainerWindow()
  	oDescript = oWindow.getFontDescriptors
 	s = ""
	For i = LBound(oDescript) to UBound(oDescript)
    	s = s & oDescript(i).Name & chr(13)
    Next
    Print s
End Sub

Is there a way trough API to known if LO is x64 or 32 ?


Thank's for all.
Comment 1 Buovjaga 2015-12-27 13:01:32 UTC
Created attachment 121565 [details]
Backtrace of crash on Windows, LibO 5.0.4 64-bit

Win 7 Pro 64-bit, Version: 5.0.4.2 (x64)
Build ID: 2b9802c1994aa0b7dc6079e128979269cf95bc78
Locale: fi-FI (fi_FI)
Comment 2 Buovjaga 2015-12-27 13:03:41 UTC
NOTE: I don't get the crash on 5.1.0.1 64-bit.

Setting to NEW in any case.
Comment 3 Dorange-Pattoret Didier 2015-12-29 08:53:41 UTC
Soory,
But I get the crash with LO Version: 5.0.1.1 (x64) (french)
Comment 4 QA Administrators 2017-01-03 19:55:13 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2017-01-26 11:09:35 UTC
(In reply to Buovjaga from comment #2)
> NOTE: I don't get the crash on 5.1.0.1 64-bit.
> 
> Setting to NEW in any case.

It doesn't crash in master either. Closing.

Win 7 Pro 64-bit Version: 5.4.0.0.alpha0+
Build ID: 1c27286b9d5331634c073cd3e327bd941e61bbb6
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2017-01-23_03:24:17
Locale: fi-FI (fi_FI); Calc: group