openjade crashes while compiling pgpool docs

Bug #1938843 reported by Tatsuo Ishii
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pgpool2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

VERSION="20.04.2 LTS (Focal Fossa)"
openjade: 1.4devel1-21.3ubuntu1

While compiling Pgpool-II (https://pgpool.net) SGML documents, openjade crashes.

t-ishii$ LANG=C make
/usr/bin/mkdir -p html
openjade -wall -wno-unused-param -wno-empty -wfully-tagged -c /usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog -d stylesheet.dsl -t sgml -i output-html -V html-index pgpool.sgml
make: *** [Makefile:528: HTML.index] Segmentation fault (core dumped)

This happens on current Pgpool-II master branch or other stable releases. Also please note that openjade works fine on Ubuntu 18 and CentOS 7, 8.

Here is a backtrace:

(gdb) run -wall -wno-unused-param -wno-empty -wfully-tagged -c /usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog -d stylesheet.dsl -t sgml -i output-html -V html-index pgpool.sgml
Starting program: /usr/bin/openjade -wall -wno-unused-param -wno-empty -wfully-tagged -c /usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog -d stylesheet.dsl -t sgml -i output-html -V html-index pgpool.sgml
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
__memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:384
384 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: そのようなファイルやディレクトリはありません.
(gdb) bt
#0 __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:384
#1 0x00007ffff7ecf919 in ?? () from /lib/libostyle.so.1
#2 0x0000555555d54108 in ?? ()
#3 0x00007ffff7ed150d in OpenJade_DSSSL::ProcessingMode::addRootRule(OpenSP::Owner<OpenJade_DSSSL::Expression>&, OpenJade_DSSSL::ProcessingMode::RuleType, OpenSP::Location const&, OpenJade_DSSSL::Interpreter&) ()
   from /lib/libostyle.so.1
#4 0x00007ffff7ed88af in OpenJade_DSSSL::SchemeParser::doRoot() () from /lib/libostyle.so.1
#5 0x00007ffff7ee0150 in OpenJade_DSSSL::SchemeParser::parse() () from /lib/libostyle.so.1
#6 0x00007ffff7ee5dbf in OpenJade_DSSSL::StyleEngine::parseSpec(OpenSP::SgmlParser&, OpenSP::CharsetInfo const&, OpenSP::String<unsigned int> const&, OpenSP::Messenger&, OpenSP::Vector<OpenSP::String<unsigned int> > const&)
    () from /lib/libostyle.so.1
#7 0x00007ffff7e670b0 in OpenJade_DSSSL::DssslApp::processSysid(OpenSP::String<unsigned int> const&) ()
   from /lib/libostyle.so.1
#8 0x00007ffff7b43727 in OpenSP::EntityApp::processArguments(int, char**) () from /lib/libosp.so.5
#9 0x00007ffff7b33f62 in OpenSP::CmdLineApp::run(int, char**) () from /lib/libosp.so.5
#10 0x0000555555574f52 in ?? ()
#11 0x00007ffff76760b3 in __libc_start_main (main=0x555555574f10, argc=16, argv=0x7fffffffe4a8,
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe498)
    at ../csu/libc-start.c:308
#12 0x00005555555766ce in ?? ()
(gdb)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.