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 749907 - Assertion while sorting
Assertion while sorting
Status: RESOLVED DUPLICATE of bug 751922
Product: Gnumeric
Classification: Applications
Component: Main System
1.12.x
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2015-05-26 14:10 UTC by Ingo Saitz
Modified: 2015-07-17 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ingo Saitz 2015-05-26 14:10:00 UTC
Gnumeric closed down on me while sorting some data. The only reason I could find was this line in .xsession-errors:

ERROR:value.c:1363:value_compare_real: code should not be reached

Which left me pondering if this case rally could not be reached. value_compare_real() might be called with 2 different cells, which both contain VALUE_EMPTY as type, so the trivial case in line 1345 would not apply.

I had multiple files open and was running gnumeric for some time, also used the same sorting settings at least once ago successfully and some others also regularily, so I don't know how to reproduce this in a reliable way.

(All line numbers are from git tag GNUMERIC_1_12_22)
Comment 1 Morten Welinder 2015-05-26 17:22:29 UTC
value_new_empty returns a singleton, so the trivial case would apply.
Comment 2 Andreas J. Guelzow 2015-07-17 13:22:32 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed in the code repository.

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