[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#806208: src:gegl: FTBFS on sparc64, tools/introspect segfaults



Hi Matteo!

On 11/25/2015 06:35 PM, Matteo F. Vescovi wrote:
> Having a look at [1] seems like sparc64 is out of luck since a looong time ;-)
> 
> Hope to have some spare time to investigate further on the issue.

I have had some time now and according to gdb, it's actually crashing in libbabl:

root@deb4g:~/gegl/docs# GEGL_SWAP=RAM GEGL_PATH=../operations ../tools/operation_reference --json-db > operations.json
+ sed_quote_subst='s|\([`"$\\]\)|\\\1|g'
+ test -n ''
+ case `(set -o) 2>/dev/null` in
+ set -o posix
+ BIN_SH=xpg4
+ export BIN_SH
+ DUALCASE=1
+ export DUALCASE
+ unset CDPATH
+ relink_command='(cd /root/gegl/tools; { test -z "${LIBRARY_PATH+set}" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z
"${COMPILER_PATH+set}" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z "${GCC_EXEC_PREFIX+set}" || unset GCC_EXEC_PREFIX || {
GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z "${LD_RUN_PATH+set}" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; { test -z
"${LD_LIBRARY_PATH+set}" || unset LD_LIBRARY_PATH || { LD_LIBRARY_PATH=; export LD_LIBRARY_PATH; }; };
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin; export PATH; gcc -pthread -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/glib-2.0 -I/usr/lib/sparc64-linux-gnu/glib-2.0/include -I/usr/include/babl-0.1 -g -O3 -Wall -Wdeclaration-after-statement -Wmissing-prototypes
-Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -DG_LOG_DOMAIN=\"GEGL-\"__FILE__ -Wl,--export-dynamic -pthread -pthread -o
$progdir/$file operation_reference.o  ../gegl/.libs/libgegl-0.3.so -lgmodule-2.0 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lbabl-0.1 -lm
-pthread -Wl,-rpath -Wl,/root/gegl/gegl/.libs)'
+ test '' = '%%%MAGIC variable%%%'
+ test '' '!=' '%%%MAGIC variable%%%'
+ file=../tools/operation_reference
+ ECHO='printf %s\n'
+ lt_option_debug=
+ func_parse_lt_options ../tools/operation_reference --json-db
+ lt_script_arg0=../tools/operation_reference
+ shift
+ for lt_opt in '"$@"'
+ case "$lt_opt" in
+ test -n ''
++ printf '%s\n' ../tools/operation_reference
++ /bin/sed 's%/[^/]*$%%'
+ thisdir=../tools
+ test x../tools = x../tools/operation_reference
++ ls -ld ../tools/operation_reference
++ /bin/sed -n 's/.*-> //p'
+ file=
+ test -n ''
+ WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=no
+ test no = yes
++ cd ../tools
++ pwd
+ absdir=/root/gegl/tools
+ test -n /root/gegl/tools
+ thisdir=/root/gegl/tools
+ program=lt-operation_reference
+ progdir=/root/gegl/tools/.libs
+ test '!' -f /root/gegl/tools/.libs/lt-operation_reference
++ ls -1dt /root/gegl/tools/.libs/lt-operation_reference /root/gegl/tools/.libs/../lt-operation_reference
++ /bin/sed 1q
+ file=/root/gegl/tools/.libs/lt-operation_reference
+ test X/root/gegl/tools/.libs/lt-operation_reference '!=' X/root/gegl/tools/.libs/lt-operation_reference
+ test -f /root/gegl/tools/.libs/lt-operation_reference
+ test '' '!=' '%%%MAGIC variable%%%'
+ func_exec_program --json-db
+ case " $* " in
+ func_exec_program_core --json-db
+ test -n ''
+ exec /root/gegl/tools/.libs/lt-operation_reference --json-db
Bus error
root@deb4g:~/gegl/docs# /root/gegl/tools/.libs/lt-operation_reference
Bus error
root@deb4g:~/gegl/docs# gdb /root/gegl/tools/.libs/lt-operation_reference
GNU gdb (Debian 7.10-1+b1) 7.10
Copyright (C) 2015 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 "sparc64-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 /root/gegl/tools/.libs/lt-operation_reference...done.
(gdb) run
Starting program: /root/gegl/tools/.libs/lt-operation_reference
BFD: /usr/lib/debug/.build-id/4a/2be3888dfebbf721816e4df21fa6546ccf8e59.debug: unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/4a/2be3888dfebbf721816e4df21fa6546ccf8e59.debug: unable to initialize decompress status for section .debug_aranges
warning: File "/usr/lib/debug/.build-id/4a/2be3888dfebbf721816e4df21fa6546ccf8e59.debug" has no build-id, file skipped
BFD: /usr/lib/debug/.build-id/32/5145ec18ef1f1729dd9480cb374706fb208225.debug: unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/32/5145ec18ef1f1729dd9480cb374706fb208225.debug: unable to initialize decompress status for section .debug_aranges
warning: File "/usr/lib/debug/.build-id/32/5145ec18ef1f1729dd9480cb374706fb208225.debug" has no build-id, file skipped
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1".
BFD: /usr/lib/debug/.build-id/12/90c8994b140089995829701b1a6e56d9e138f5.debug: unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/12/90c8994b140089995829701b1a6e56d9e138f5.debug: unable to initialize decompress status for section .debug_aranges
warning: File "/usr/lib/debug/.build-id/12/90c8994b140089995829701b1a6e56d9e138f5.debug" has no build-id, file skipped
BFD: /usr/lib/debug/.build-id/ea/f1ec7c9226cc2f30d735d8e298744ade36f849.debug: unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/ea/f1ec7c9226cc2f30d735d8e298744ade36f849.debug: unable to initialize decompress status for section .debug_aranges
warning: File "/usr/lib/debug/.build-id/ea/f1ec7c9226cc2f30d735d8e298744ade36f849.debug" has no build-id, file skipped
BFD: /usr/lib/debug/.build-id/37/abf1afaf9fd93089a3e5597b1d0e83e1059d6c.debug: unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/37/abf1afaf9fd93089a3e5597b1d0e83e1059d6c.debug: unable to initialize decompress status for section .debug_aranges
warning: File "/usr/lib/debug/.build-id/37/abf1afaf9fd93089a3e5597b1d0e83e1059d6c.debug" has no build-id, file skipped
BFD: /usr/lib/debug/.build-id/ed/63d2926f7520f092ee384e19ca24b97dd9a576.debug: unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/ed/63d2926f7520f092ee384e19ca24b97dd9a576.debug: unable to initialize decompress status for section .debug_aranges
warning: File "/usr/lib/debug/.build-id/ed/63d2926f7520f092ee384e19ca24b97dd9a576.debug" has no build-id, file skipped
BFD: /usr/lib/debug/.build-id/70/8834751b774ad0feed74655b3be792703dcea8.debug: unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/70/8834751b774ad0feed74655b3be792703dcea8.debug: unable to initialize decompress status for section .debug_aranges
warning: File "/usr/lib/debug/.build-id/70/8834751b774ad0feed74655b3be792703dcea8.debug" has no build-id, file skipped

Program received signal SIGBUS, Bus error.
0xfff8000101a21378 in ?? () from /usr/lib/sparc64-linux-gnu/babl-0.1/gggl.so
(gdb) bt
#0  0xfff8000101a21378 in ?? () from /usr/lib/sparc64-linux-gnu/babl-0.1/gggl.so
#1  0xfff8000100bc5970 in babl_conversion_process () from /usr/lib/sparc64-linux-gnu/libbabl-0.1.so.0
#2  0xfff8000100bc7868 in babl_process () from /usr/lib/sparc64-linux-gnu/libbabl-0.1.so.0
#3  0xfff8000100bc5d9c in babl_conversion_error () from /usr/lib/sparc64-linux-gnu/libbabl-0.1.so.0
#4  0xfff8000100bc7a58 in ?? () from /usr/lib/sparc64-linux-gnu/libbabl-0.1.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)

I'll do some more testing and re-assign the bug if necessary.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: