Bug 85257 - Crash when trying to view tables
Summary: Crash when trying to view tables
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha0+ Master
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, regression
Depends on:
Blocks:
 
Reported: 2014-10-20 20:11 UTC by Julien Nabet
Modified: 2014-10-20 20:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
bt (9.21 KB, text/plain)
2014-10-20 20:11 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Nabet 2014-10-20 20:11:41 UTC
Created attachment 108135 [details]
bt

On pc Debian x86-64 with master sources updated yesterday, I had a crash when trying to view tables on Base.

Steps to reproduce:
1) Open file from https://bugs.freedesktop.org/attachment.cgi?id=84180
2) Click Tables
=> crash.
Comment 1 Julien Nabet 2014-10-20 20:32:16 UTC
Noel: I wonder if this commit could be the problem:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=06562c678410e425de629109ce92933c2d89a8f6
convert SV_BMP_ constants to enum
Change-Id: I46cb7f649fa44d8967e0e7da03583157d2706f05 Reviewed-on: https://gerrit.libreoffice.org/12018 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> 

Indeed, aBmps is declared now like this:
std::vector<Image> aBmps;

instead of:
Image aBmps[24];
Comment 2 Julien Nabet 2014-10-20 20:34:27 UTC
Silly me, it's already fixed thanks to Caolan with http://cgit.freedesktop.org/libreoffice/core/commit/?id=9bdca0019bd3781f15e542becca5537fac2e0a9d

Thank you Caolan! :-)