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 519319 - Allocation crash in maybe_convert()
Allocation crash in maybe_convert()
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export other
git master
Other All
: Normal critical
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-02-28 16:13 UTC by sum1
Modified: 2008-02-28 21:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fuzzed anova-2w-wrep.gnumeric (2.56 KB, application/x-gnumeric)
2008-02-28 16:14 UTC, sum1
Details

Description sum1 2008-02-28 16:13:12 UTC
Version: r16414
OS: Ubuntu Gutsy

The upcoming sample is a fuzzed version of anova-2w-wrep.gnumeric.

Steps to reproduce:
- Load the upcoming attachment in Gnumeric to trigger a crash

Backtrace:

(gdb) f
  • #0 maybe_convert
    at xml-io.c line 2488
  • #0 maybe_convert
    at xml-io.c line 2488
  • #1 xml_probe
    at xml-io.c line 2626
  • #2 go_file_opener_probe_real
    at file.c line 69
  • #3 go_file_opener_probe
    at file.c line 269
  • #4 wb_view_new_from_input
    at workbook-view.c line 1176
  • #5 wb_view_new_from_uri
    at workbook-view.c line 1264
  • #6 main
    at main-application.c line 417

GLib-ERROR **: /build/buildd/glib2.0-2.14.1/glib/gmem.c:172: failed to allocate 4294967295 bytes
aborting...

Program received signal SIGABRT, Aborted.
Comment 1 sum1 2008-02-28 16:14:30 UTC
Created attachment 106168 [details]
fuzzed anova-2w-wrep.gnumeric
Comment 2 Morten Welinder 2008-02-28 20:23:56 UTC
That's really just an out-of-memory which gtk+ does not allow us to
handle in general.  Here, however, I can probably cook up something.
Comment 3 Morten Welinder 2008-02-28 21:58:25 UTC
Done.