Bug#860702: pcl: FTBFS on i386: segmentation fault

Jochen Sprickerhof jspricke at debian.org
Fri Apr 21 12:29:04 UTC 2017


Hi,

* Lucas Nussbaum <lucas at debian.org> [2017-04-21 11:27]:
> I did the archive rebuild that resulted in this bug on a machine with a
> jessie kernel. I did another rebuild on a machine with a stretch
> kernel, and this failure disappeared.

I found the same, segfault on barriere.d.o (Kernel 3.16.0-4-amd64),
working on my PC (Kernel 4.9.0-2-amd64). The other difference between
these two is that barriere has 8G of memory and mine has 32G. So it
could be that we simply run out of memory. This is why we compile with
doxygen on the buildd only on amd64 (it's only needed for arch all
packages). See #780582.

> My best guess is that this has something to do with a stack overflow,
> in a way similar to #750593 (see
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750593#157 and #797530
> (fixed in stretch, not jessie).

For reference, here is a backtrace from barriere:

$ gdb ~/doxygen-1.8.13/b/bin/doxygen core
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/jspricke/doxygen-1.8.13/b/bin/doxygen...done.
[New LWP 7513]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `/home/jspricke/doxygen-1.8.13/b/bin/doxygen /home/jspricke/pcl-1.8.0+dfsg1/buil'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xf6d5bfc6 in SearchIndex::write (this=0xf8e6a608, fileName=0xecf9b320 "/home/jspricke/pcl-1.8.0+dfsg1/build/doc/doxygen/html/search/search.idx") at /home/jspricke/doxygen-1.8.13/src/searchindex.cpp:305
305           indexOffsets[i]=0;
(gdb) bt
#0  0xf6d5bfc6 in SearchIndex::write (this=0xf8e6a608, fileName=0xecf9b320 "/home/jspricke/pcl-1.8.0+dfsg1/build/doc/doxygen/html/search/search.idx") at /home/jspricke/doxygen-1.8.13/src/searchindex.cpp:305
#1  0xf6bc8be4 in generateOutput () at /home/jspricke/doxygen-1.8.13/src/doxygen.cpp:11626
#2  0xf6b91419 in main (argc=2, argv=0xfff4d2f4) at /home/jspricke/doxygen-1.8.13/src/main.cpp:38
(gdb) p i
$1 = 10226
(gdb) p *indexOffsets at i
$2 = {0 <repeats 8302 times>, 262148, 0 <repeats 178 times>, 262159, 0 <repeats 254 times>, 262183, 0 <repeats 12 times>, 262197, 262218, 0, 262270, 0 <repeats 11 times>, 262279, 0 <repeats 30 times>, 262288, 0, 0, 0, 262300, 0, 262309,
  262714, 262746, 263116, 263301, 263461, 263579, 263741, 264067, 0, 264283, 264323, 264586, 265019, 265127, 265251, 0, 265534, 266011, 266382, 266419, 266488, 266531, 266571, 266580, 266602, 0 <repeats 492 times>, 266611, 0, 266621,
  0 <repeats 904 times>}

Cheers Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170421/6b071479/attachment.sig>


More information about the debian-science-maintainers mailing list