Since I before had only arm traces here, this is x86:
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: No such file
or directory.
(gdb) bt
#0 __memmove_avx_unaligned_erms () at
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:384
#1 0x00007ffff7eec459 in
OpenSP::Vector<OpenJade_DSSSL::ProcessingMode::Rule*>::erase (p1=<optimized
out>, p2=0x555555fc23a0, this=<optimized out>, this=<optimized out>)
at /usr/include/OpenSP/Vector.cxx:134
#2 0x0000555555c3b378 in ?? ()
#3 0x00007ffff7eede35 in OpenJade_DSSSL::ProcessingMode::addRootRule
(this=<optimized out>, expr=...,
ruleType=OpenJade_DSSSL::ProcessingMode::constructionRule, loc=..., interp=...)
at ProcessingMode.cxx:376
#4 0x00007ffff7ef4ab7 in OpenJade_DSSSL::SchemeParser::doRoot
(this=0x7fffffffe150) at SchemeParser.cxx:484
#5 0x00007ffff7efba28 in OpenJade_DSSSL::SchemeParser::parse
(this=this@entry=0x7fffffffe150) at SchemeParser.cxx:190
#6 0x00007ffff7f00f1f in OpenJade_DSSSL::StyleEngine::parseSpec
(this=this@entry=0x5555556201c0, specParser=..., charset=..., id=..., mgr=...,
defVars=...) at StyleEngine.cxx:166
#7 0x00007ffff7e8a580 in OpenJade_DSSSL::DssslApp::processSysid
(this=0x7fffffffe400, sysid=...) at DssslApp.cxx:138
#8 0x00007ffff7963c7f in OpenSP::EntityApp::processArguments(int, char**) ()
from /usr/lib/libosp.so.5
#9 0x00007ffff795339b in OpenSP::CmdLineApp::run(int, char**) () from
/usr/lib/libosp.so.5
#10 0x000055555557496b in main (argc=16, argv=0x7fffffffeb18) at jade.cxx:206
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to openjade in Ubuntu.
https://bugs.launchpad.net/bugs/1869734
Title:
openjade segfaults on arm (due to gcc optimization)
Status in openjade package in Ubuntu:
Triaged
Status in pgpool2 package in Ubuntu:
New
Bug description:
<Myon> cpaelzer: fun, openjade segfaulting on focal/arm64
<cpaelzer> I beg your pardon for my ignorance of the ecosystem, but how is
this related to postgresql-apt
<cpaelzer> for doc generation?
<Myon> cpaelzer: the postgresql-9.5 and -9.6 builds fail during doc
generation on focal/arm64
<Myon> everything else (other archs, other dists) is fine
<Myon>
https://pgdgbuild.dus.dg-i.net/job/postgresql-9.5-binaries/architecture=arm64,distribution=focal/55/console
<cpaelzer> Myon: only on arm64?
<Myon> only there, yes
<Myon> ./configure && make -C doc/src/sgml all should reproduce it
<cpaelzer> clone and build this branch ?
https://github.com/postgres/postgres/tree/REL9_5_STABLE
<Myon> the crash is in /usr/lib/libostyle.so.1 from libostyle1c2
<cpaelzer> here it is
<cpaelzer> segfault
<Myon> I have this now http://paste.debian.net/1136839/
<cpaelzer> https://paste.ubuntu.com/p/CfzrfWkqzs/
<cpaelzer> well I wanted to get -O0 to see more int he debugger
<cpaelzer> my build worked as well now
<Myon> the -O0 openjade installed doesn't segfault
<cpaelzer> oh so like my -O0 then
<cpaelzer> so maybe we should just always -O0 openjade then?
<cpaelzer> TBH who cares about optimization in that
<cpaelzer> But its usage is mostly build time and not runtime
<Myon> maybe -O0 on arm64 only
<cpaelzer> I'm rebulding -O2 again to recheck if that really is it
<cpaelzer> and then -O1 to check the in between
<cpaelzer> it might "just" need a rebuild
<cpaelzer> -O2 re-build segfault
<cpaelzer> -O1 (for completeness) rebuild ... seems to hang?
<Myon> probably not really relevant
<cpaelzer> agreed, but I want to rebuild -O0 again just to see it builds
and then works
<cpaelzer> -O0 on arm64 really seems to be a good choice
<Myon> I can try if rebuilding makes it fail on sid
<Myon> cpaelzer: recompiling openjade in arm64/sid doesn't make it
segfault
<Myon> so it seems this needs a focal-only fix
<Myon> cpaelzer: the openjade segfault is also present in pgpool2, so
not just in ancient PostgreSQL :(
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjade/+bug/1869734/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp