After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 311567 - Filtering stops when blank cells are reached
Filtering stops when blank cells are reached
Status: RESOLVED DUPLICATE of bug 599064
Product: Gnumeric
Classification: Applications
Component: Analytics
1.5.x
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-07-26 09:46 UTC by Uri David Akavia
Modified: 2009-12-28 16:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
File demonstrating filtering (1.89 KB, application/x-gnumeric)
2008-03-04 16:07 UTC, Uri David Akavia
Details

Description Uri David Akavia 2005-07-26 09:46:53 UTC
Distribution: Debian testing/unstable
Package: Gnumeric
Severity: normal
Version: GNOME2.10.1 1.5.x
Gnome-Distributor: Debian
Synopsis: Gnumeric Crashed when attempting to filter a list in place
Bugzilla-Product: Gnumeric
Bugzilla-Component: Analytics
Bugzilla-Version: 1.5.x
BugBuddy-GnomeVersion: 2.0 (2.8.1)
Description:
Description of the crash:
I had a list containing multiple values and empty lines (can send later
if necessary).
I chose advanced filter of the entire A collumn, and inputed collumn A
as the criteria range.
I marked the checkbox "use unique items only" and instructed the output
to be in a new sheet.
Gnumeric crashed.


Debugging Information:

Backtrace was generated from '/usr/bin/gnumeric'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1223697536 (LWP 18195)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb761d53e in __waitpid_nocancel () from /lib/tls/libpthread.so.0

Thread 1 (Thread -1223697536 (LWP 18195))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 find_rows_that_match
  • #4 advanced_filter
  • #5 dialog_about
  • #6 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #11 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 _gtk_button_paint
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #19 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 _gtk_button_paint
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #27 gtk_widget_send_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #28 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #31 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #32 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #33 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #34 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #35 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #36 main
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0




------- Bug moved to this database by unknown@gnome.bugs 2005-07-26 09:46 UTC -------

Comment 1 Andreas J. Guelzow 2005-07-26 13:17:42 UTC
line 1738 in value.c tries:
t1 = cell->value
since cell was obtained from a call to 
sheet_cell_get
it may be NULL, and in this case is.
Comment 2 Morten Welinder 2005-07-27 17:10:20 UTC
I added a band-aid to prevent that particular crash.
Comment 3 Uri David Akavia 2006-01-01 10:37:02 UTC
Gnumeric 1.6 doesn't Crash.
However, it doesn't filter correctly.
A1 contained data, A2:A3 were blank, A4 contained data.

The new sheet contained only the data in A1.

It seemed that Gnumeric gave up when it reached the blank cells.

I'm leaving it open, since it doesn't work correctly (but doesn't crash).
Comment 4 Jon Kåre Hellan 2006-10-23 19:02:56 UTC
Retitling - open bugs with crash in the title should preferably be crashers
Comment 5 Jody Goldberg 2008-03-04 00:53:50 UTC
Uri: that sounds suspiciously like it copied the column header and discarded the remaining data.   Can you supply a sample file ?
Comment 6 Uri David Akavia 2008-03-04 16:07:21 UTC
Created attachment 106557 [details]
File demonstrating filtering

Hi.

I tried it with the current version of Gnumeric (1.8.1), and it didn't happen the way I remembered.
This version copied the header, and filtered out the rest correctly (or almost correctly).

I see two problems with the way it is currently filtering:
1) It maintains the distinction between header and data. Why is this necessary, or not an option? Not all lists have headers.
2) It sometimes included empty spaces and sometimes didn't. I don't understand the logic, but I'm assuming there is one - if there is, could it be made clearer?

I'm attaching a file that includes data (in sheets 1 & 2) and the filtered version (filtered 1 & 2). This file demonstrates the use of header, and the fact that sometimes empty spaces were considered, sometimes not.
Comment 7 Andreas J. Guelzow 2009-12-28 16:16:27 UTC
IN your last attachment, I see 2 sheets that contain a data column each, one empty sheet and two filtered output sheets. Where is the criteria tht you were using to create the filtered output?
Comment 8 Andreas J. Guelzow 2009-12-28 16:23:20 UTC
Note regarding (1): the advanced filter is primarily criteria driven, and for criteria headers are required to identify the columns.
Comment 9 Andreas J. Guelzow 2009-12-28 16:23:49 UTC

*** This bug has been marked as a duplicate of bug 599064 ***