Bug 81124

Summary: FILTER: Calc crashes after setting autofilter on column with no content by using the selection dropdown list
Product: LibreOffice Reporter: jonathan lucas <jonathan.lucas>
Component: SpreadsheetAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: critical    
Priority: high CC: suokunlong
Version: 4.2.5.2 release   
Hardware: All   
OS: All   
Whiteboard: BSA
i915 platform: i915 features:
Attachments: dump of "fatal error" from the java vm
test ods file

Description jonathan lucas 2014-07-09 19:07:03 UTC
Created attachment 102493 [details]
dump of "fatal error" from the java vm

Problem description: 
Calc dies after applying the autofilter function by clicking on reverse selection/selction.

Steps to reproduce:
1. fill any cell with some content
2. apply the autofilter function on this cell by clicking "tools" -> "filter" -> "autofilter". 
3. click on the filter, select in the dropdown list "reverse selection" or "no selection" (buttons next to the "all" checkbox)
4. calc dies

Current behavior:
calc dies

Expected behavior:
no reaction expected

run on arch linux latest kernel and stable build of libreoffice. dump of java vm included.
              
Operating System: Linux (Other)
Version: 4.2.5.2 release
Comment 1 Kevin Suo 2014-07-10 10:28:35 UTC
No crash for me with windows XP SP3.
Comment 2 Kevin Suo 2014-07-10 10:37:31 UTC
Reproduced...
Windows XP SP3, libreoffice 4.3.0.2.

To reproduce, there should be no data below the first row. (e.g., type in A1 "test", no data below, apply autofilter, then click the "show only the current term / hide only the current term" button in the autofilter.

Set to new.
Comment 3 Kevin Suo 2014-07-10 10:42:33 UTC
Created attachment 102530 [details]
test ods file

Click the autofilter arrow in column A, then click "show only the current term / hide only the current term" buttons.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.