in abiword-plugins/wp/impexp/kword/xp/ie_imp_KWord_1.cpp:592 :
replacing
m_ParaProps[m_ParaProps.size()-2] = 0;
with :
if (pVal)
m_ParaProps[m_ParaProps.size()-2] = 0;
resolves the crash.
It would be realy better if a plugin couldn't crash abiword !
Thanks for your responses.
Yann Le Doaré.
Le vendredi 23 juin 2006 à 11:52 +0200, J.M. Maurer a écrit :
> On Fri, 2006-06-23 at 11:42 +0000, Yann Le Doaré wrote:
> > Hi,
> >
> > I am the LinuxConsole (http://linuxconsole.org) developer, a 'modular'
> > distro.
> > I like abiword, because it is fast, and use few memory so I decided to
> > use it as main word processing program.
> >
> > My distro is made to work with or without gnome/kde (icewm is the main
> > window manager).
> >
> > I have 2 questions :
> >
> > - While creating a document, abiword 2.2.7 crashed, I wanted to restore
> > the draft (a .abw that was auto-saved before the crash), but abiword
> > 2.2.7 and 2.4.4 makes a SIGSEGV "0xb66961e4 in
> > IE_Imp_KWord_1::startElement (this=0x8a2b918, name=0x8a2b1c6
> > "PARAGRAPH", atts=0xbfd535a0) at ie_imp_KWord_1.cpp:592" if kde modules
> > are not enabled. Is it an abiword bug ?
>
> AFAIK, the ie_imp_KWord_1.cpp importer does not need any KDE modules, so
> I expect that this is just a bug in the KWord importer which can't
> handle a (possibly corrupt) document
>
> > - I want to build 2.4.4 release without gnome deps, but it seems than
> > 2.4 depends on libgnomeprintui-2.2. and cannot be build without it. is
> > it right ?
>
> Correct, libgnomeprint is always needed. Note that it only depends on
> gnomecanvas, which itself depends on nothing GNOMEy. So you don't need
> to pull in the complete gnome stack for abiword.
>
> Marc
>
Received on Sun Jun 25 11:02:08 2006
This archive was generated by hypermail 2.1.8 : Sun Jun 25 2006 - 11:02:09 CEST