Ticket #1468 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Write crashes when saving to ODT

Reported by: tomeu Owned by: uwog
Priority: blocker Milestone: Trial-2
Component: write-activity (abiword) Version:
Keywords: Cc: johnp@…
Action Needed: Verified: no
Deployments affected: Blocked By:
Blocking:

Description

This causes the crash:

self.abiword_canvas.get_content(".odt")

Don't really understand how param_name can be 0x8, but could be some mem getting corrupted.

#0  0xb7c5b593 in strchr () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1  0xb7ae5942 in IA__g_param_spec_pool_lookup (pool=0x811af80, param_name=0x8 <Address 0x8 out of bounds>, owner_type=139929064, walk_ancestors=1) at gparam.c:764
        l = <value optimized out>
        stack_buffer = "�\001\000\000\201V��\210\001\000\000�v\026�X\232\210�N7��P\217M\b(\023\v\b"
        type = <value optimized out>
        pspec = <value optimized out>
        delim = <value optimized out>
        __PRETTY_FUNCTION__ = "IA__g_param_spec_pool_lookup"
#2  0xb7adf791 in IA__g_object_class_find_property (class=0x85726d0, property_name=0x8 <Address 0x8 out of bounds>) at gobject.c:358
        pspec = <value optimized out>
        redirect = <value optimized out>
        __PRETTY_FUNCTION__ = "IA__g_object_class_find_property"
#3  0xb63bf134 in gsf_property_settings_collect_valist () from /usr/lib/libgsf-1.so.114
No symbol table info available.
#4  0xb63d74b4 in gsf_outfile_zip_new () from /usr/lib/libgsf-1.so.114
No symbol table info available.
#5  0xb63d4d2d in gsf_outfile_new_child_varg () from /usr/lib/libgsf-1.so.114
No symbol table info available.
#6  0xb63d4da0 in gsf_outfile_new_child_full () from /usr/lib/libgsf-1.so.114
No symbol table info available.
#7  0xb61485a2 in IE_Exp_OpenDocument::_writeDocument (this=0xbf889b68) at ie_exp_OpenDocument.cpp:88
        mimetype = <value optimized out>
        docData = <snip>
        pAbiDocListener = <value optimized out>
        numericLocale = {mCategory = 1, mOldLocale = 0x85917d0 "en_GB.UTF-8"}
#8  0xb680ad5e in IE_Exp::writeFile (this=0x85696f8, fp=0x85a54a0) at ie_exp.cpp:289
No locals.
#9  0xb6a64a05 in PD_Document::_saveAs (this=0x854e408, output=0x85a54a0, ieft=10, cpy=true, expProps=0x0) at pd_Document.cpp:706
        szFilename = 0x0
        pie = (class IE_Exp *) 0x85696f8
        errorCode = 0
        newFileType = 10
#10 0xb6a54ffb in PD_Document::saveAs (this=0x854e408, output=0x85a54a0, ieft=10, cpy=true, expProps=0x0) at pd_Document.cpp:607
No locals.
#11 0xb6790c70 in abi_widget_get_content (w=0x8244e30, mimetype=0xb6dd63d4 ".odt", iLength=0xbf88a068) at abiwidget.cpp:1024
        sink = (GsfOutputMemory *) 0x85a54a0
        ieft = 10
        pFrame = (class XAP_Frame *) 0x84dfae8
        view = (class FV_View *) 0x8564980
        doc = (class PD_Document *) 0x854e408
        result = -1209338253
        size = 3067302612
        ibytes = (const guint8 *) 0xb7ba2de0 "\005"
        szOut = (gchar *) 0x188a054 <Address 0x188a054 out of bounds>

I'll keep Write saving to .abw in the meantime.

Change History

Changed 2 years ago by jg

  • priority changed from normal to blocker
  • verified unset
  • milestone changed from Untriaged to BTest-4

Changed 2 years ago by uwog

  • status changed from new to closed
  • verified unset
  • resolution set to fixed

Fixed in abiword svn trunk

Changed 2 years ago by blizzard

  • cc johnp@… added
  • status changed from closed to reopened
  • resolution deleted

Has this actually been checked in in such a way as we can consume it in a 406 build?

Changed 2 years ago by uwog

  • status changed from reopened to closed
  • resolution set to fixed

Yes, see the new blocker: http://dev.laptop.org/ticket/1669. Closing this one.

Note: See TracTickets for help on using tickets.