DocBook v2
Scott Kostyshak
skostysh at lyx.org
Thu Sep 3 04:51:00 UTC 2020
On Thu, Sep 03, 2020 at 01:24:31AM +0200, Thibaut Cuvelier wrote:
> >> Also, when exporting the Embedded Objects manual there is a SIGSEGV. I
> >> don't remember if this is already known. In case not, I attach a
> >> backtrace.
> >>
> >
> > I was not aware of that.
> >
>
> Actually, I can't reproduce with the latest commit
> (56cff03a88fbca2482a6e0e2928e13d3d21c7faa); it also gives meaningful output
> (not yet valid DocBook, but at least parsable XML). I already saw crashes
> in isspace, I thought it was due to Visual C++'s stdlib, but no (it was
> somewhere else).
>
> I made a change (eeedeb8a20e5bfd062943f794f10814b6c6f78b5). Could you check
> one again on your side? That would be best if we could find what causes
> these issues… I thought the STL was quite reliable!
I still see the crash. Let's first wait to see if others can reproduce.
Perhaps it's something strange on my system.
I pushed a small compilation fix at 94ccc79a. Feel free to squash this into another commit if you prefer.
I see some warnings:
/home/scott/lyxbuilds/docbook/repo/src/output_docbook.cpp:368:6: warning: ‘void lyx::{anonymous}::closeItemTag(lyx::XMLStream&, const lyx::Layout&)’ defined but not used [-Wunused-function]
368 | void closeItemTag(XMLStream & xs, Layout const & lay)
| ^~~~~~~~~~~~
/home/scott/lyxbuilds/docbook/repo/src/output_docbook.cpp:362:6: warning: ‘void lyx::{anonymous}::openItemTag(lyx::XMLStream&, const lyx::Layout&)’ defined but not used [-Wunused-function]
362 | void openItemTag(XMLStream & xs, Layout const & lay)
| ^~~~~~~~~~~
The "check_layout" tests are failing (which from what I understand is
built from Layout::write()). I see a bunch of messages like the
following in the test log:
LyX: Unknown layout tag `DocBookItemWrapperMergeWithPrevious' [around line 35 of file current token: 'DocBookItemWrapperMergeWithPrevious' context: '']
Could not read style Plain Layout.
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200903/bee55115/attachment.asc>
More information about the lyx-devel
mailing list