Hi,

I was looking a bit at this bug again...

Am Dienstag, den 09.02.2010, 10:38 +0100 schrieb Joachim Breitner:
> Am Montag, den 08.02.2010, 19:19 +0100 schrieb Giacomo Mulas:
> > Package: serna
> > Version: 0.svn270-2
> > Severity: important
> > 
> > I am trying to use serna to edit an xml schema. Unfortunately it segfaults
> > on me whenever I try to select the "show markup" option, regardless of the
> > file I have open. Apparently the problem is in libspeller30.so. The schema I
> > am trying to edit is the xsams proposed draft for atomic and molecular data,
> > which can be found at http://www-amdis.iaea.org/xsams/
> 
> Thanks for the bugreport. I can reproduce it with the DocBook example as
> well.
> 
> Dear serna developers, a backtrace is available on
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568910
> but at least I can not see any obvious hints. Also, I did not patch
> anything regarding spelling. Any ideas?

the backtrace indicates that the problem is related to

bool OnlineSpellerImpl::process_fo()
{
    Formatter::TextFo* text_fo = textFoModList_.pop_front();
[..]

which then causes the line
    next_->prev_ = prev_;
in CDListItem::remove() to segfault, probably because next_ is empty.

Adding 
    if (textFoModList_.isEmpty())
        return false;
before pop_front() does _not_ help. Maybe the textFoModList is not
properly initialized?

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to