https://bugs.freedesktop.org/show_bug.cgi?id=76099

          Priority: medium
            Bug ID: 76099
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Segfault in ScColumn::GetNeededSize (probably related
                    to Conditional Formats)
          Severity: major
    Classification: Unclassified
                OS: Linux (All)
          Reporter: james_av...@yahoo.com
          Hardware: x86-64 (AMD64)
            Status: UNCONFIRMED
           Version: 4.3.0.0.alpha0+ Master
         Component: Spreadsheet
           Product: LibreOffice

Created attachment 95686
  --> https://bugs.freedesktop.org/attachment.cgi?id=95686&action=edit
tickers.csv data file needed by the spreadsheet macros

Attached is a .ods spreadsheet which uses Conditional Formats.  After recently
using Conditional Format->Manage to tweak settings, I'm now getting random
crashes (segfaults).  By "random" I mean it happens while executing my Basic
macro code, but not always at the same place.

In fact, inserting "MsgBox" statements to narrow down the statement causing the
crash makes the crash shift to somewhere else (i.e. I put in two MsgBox stmts
and it crashed after the first but before the second; then reloaded and
inserted additional MsgBox stmts inbetween, and now it runs past all of them
and crashes somethere further on).

The "shifting" location of the crash implies memory corruption, e.g. buffer
overrun which causes unrelated code to crash.

This can be reproduced at will (just can't nail down a particular Basic
statement).   I will attach a gdb traceback and also a demo spreadsheet and a
data file needed by the demo.

INSTRUCTIONS FOR REPRODUCING:

1. Download "crasher.ods" and "tickers.csv" files.  Place the tickers.csv file
in /tmp (the path is hard-coded).

2. Open crasher.ods, with macros enabled, and press the dark-yellow "Fresh
Load" button at the top.   It will crash immediately.  (This button runs the
macro Standard.LoadCSV.Reoad_IB_CSV_file but as previouly noted, the location
of the crash shifts when MsgBox statements are inserted)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to