Bug#625607: Backtrace…

2011-05-11 Thread Aurelien Jarno
severity 625607 important
thanks

On Thu, May 05, 2011 at 01:23:40AM +0300, Modestas Vainius wrote:
 reassign 625607 libc6 2.13-1
 affects 625607 cmake
 thanks
 
 Hello,
 
 On trečiadienis 04 Gegužė 2011 17:13:44 Didier Raboud wrote:
  Program received signal SIGSEGV, Segmentation fault.
  0xf7b72bc4 in ?? ()
  (gdb) bt
  #0  0xf7b72bc4 in ?? ()
  #1  0xf7fd66c8 in elf_machine_rela (scope=0xf7ff4b98, reloc_mode=value
  optimized out, consider_profiling=0)
  at ../sysdeps/sparc/sparc32/dl-machine.h:402
  #2  elf_dynamic_do_rela (scope=0xf7ff4b98, reloc_mode=value optimized
  out, consider_profiling=0) at do-rel.h:120
  #3  _dl_relocate_object (scope=0xf7ff4b98, reloc_mode=value optimized
  out, consider_profiling=0) at dl-reloc.c:268
  #4  0xf7fcd7c0 in dl_main (phdr=value optimized out, phnum=value
  optimized out, user_entry=value optimized out,
  auxv=value optimized out) at rtld.c:2265
  #5  0xf7fdffa4 in _dl_sysdep_start (start_argptr=value optimized out,
  dl_main=0xf7fcc244 dl_main) at ../elf/dl-sysdep.c:244
  #6  0xf7fcaa60 in _dl_start_final (arg=0xd890, info=0xd5b0) at
  rtld.c:341
  #7  0xf7fcad8c in _dl_start (arg=0xd890) at rtld.c:569
  #8  0xf7fca26c in _start () from /lib/ld-linux.so.2
  #9  0xf7fca26c in _start () from /lib/ld-linux.so.2
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 
 This appears to be a bug in libc6 2.13:
 
 $ /usr/bin/cmake
 Segmentation fault
 

I have workarounded the bug by disabling multiarch support on sparc.
Given that starting with eglibc 2.13-1, libc6-sparcv9b has been removed
in favor of multiarch, it means there isn't any way to get an optimized
sparc libc anymore.

This is something that has to be fixed before releasing wheezy, that's 
why I am keeping this bug open, but with severity important for now.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#625607: Backtrace…

2011-05-04 Thread Didier Raboud
So here's the backtrace, with cmake-dbg installed (its cryptic to me…):

$ gdb cmake 
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 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 sparc-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/cmake...Reading symbols from 
/usr/lib/debug/usr/bin/cmake...done.
done.
(gdb) run
Starting program: /usr/bin/cmake 

Program received signal SIGSEGV, Segmentation fault.
0xf7b72bc4 in ?? ()
(gdb) bt
#0  0xf7b72bc4 in ?? ()
#1  0xf7fd66c8 in elf_machine_rela (scope=0xf7ff4b98, reloc_mode=value 
optimized out, consider_profiling=0)
at ../sysdeps/sparc/sparc32/dl-machine.h:402
#2  elf_dynamic_do_rela (scope=0xf7ff4b98, reloc_mode=value optimized out, 
consider_profiling=0) at do-rel.h:120
#3  _dl_relocate_object (scope=0xf7ff4b98, reloc_mode=value optimized out, 
consider_profiling=0) at dl-reloc.c:268
#4  0xf7fcd7c0 in dl_main (phdr=value optimized out, phnum=value optimized 
out, user_entry=value optimized out, 
auxv=value optimized out) at rtld.c:2265
#5  0xf7fdffa4 in _dl_sysdep_start (start_argptr=value optimized out, 
dl_main=0xf7fcc244 dl_main) at ../elf/dl-sysdep.c:244
#6  0xf7fcaa60 in _dl_start_final (arg=0xd890, info=0xd5b0) at 
rtld.c:341
#7  0xf7fcad8c in _dl_start (arg=0xd890) at rtld.c:569
#8  0xf7fca26c in _start () from /lib/ld-linux.so.2
#9  0xf7fca26c in _start () from /lib/ld-linux.so.2
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

-- 
OdyX


signature.asc
Description: This is a digitally signed message part.


Bug#625607: Backtrace…

2011-05-04 Thread Modestas Vainius
reassign 625607 libc6 2.13-1
affects 625607 cmake
thanks

Hello,

On trečiadienis 04 Gegužė 2011 17:13:44 Didier Raboud wrote:
 Program received signal SIGSEGV, Segmentation fault.
 0xf7b72bc4 in ?? ()
 (gdb) bt
 #0  0xf7b72bc4 in ?? ()
 #1  0xf7fd66c8 in elf_machine_rela (scope=0xf7ff4b98, reloc_mode=value
 optimized out, consider_profiling=0)
 at ../sysdeps/sparc/sparc32/dl-machine.h:402
 #2  elf_dynamic_do_rela (scope=0xf7ff4b98, reloc_mode=value optimized
 out, consider_profiling=0) at do-rel.h:120
 #3  _dl_relocate_object (scope=0xf7ff4b98, reloc_mode=value optimized
 out, consider_profiling=0) at dl-reloc.c:268
 #4  0xf7fcd7c0 in dl_main (phdr=value optimized out, phnum=value
 optimized out, user_entry=value optimized out,
 auxv=value optimized out) at rtld.c:2265
 #5  0xf7fdffa4 in _dl_sysdep_start (start_argptr=value optimized out,
 dl_main=0xf7fcc244 dl_main) at ../elf/dl-sysdep.c:244
 #6  0xf7fcaa60 in _dl_start_final (arg=0xd890, info=0xd5b0) at
 rtld.c:341
 #7  0xf7fcad8c in _dl_start (arg=0xd890) at rtld.c:569
 #8  0xf7fca26c in _start () from /lib/ld-linux.so.2
 #9  0xf7fca26c in _start () from /lib/ld-linux.so.2
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)

This appears to be a bug in libc6 2.13:

$ /usr/bin/cmake
Segmentation fault

$ dpkg -l libc6 cmake | grep ^ii
ii  cmake 2.8.4+dfsg.1-2 a cross-platform, open-source 
make system
ii  libc6 2.13-2 Embedded GNU C Library: Shared 
libraries

$ wget 
http://ftp.de.debian.org/debian/pool/main/e/eglibc/libc6_2.11.2-11_sparc.deb
$ dpkg-deb -x libc6_2.11.2-11_sparc.deb libc-2.11.2

# The latter is needed because libldap-2.4 in sid depends on libc6 2.13
$ wget 
http://ftp.de.debian.org/debian/pool/main/o/openldap/libldap-2.4-2_2.4.23-7_sparc.deb
$ dpkg-deb -x libldap-2.4-2_2.4.23-7_sparc.deb libc-2.11.2

$ LD_LIBRARY_PATH=libc-2.11.2/lib:libc-2.11.2/usr/lib/ 
libc-2.11.2/lib/ld-linux.so.2 /usr/bin/cmake
... works ...

$ LD_LIBRARY_PATH=libc-2.11.2/usr/lib/ libc-2.11.2/lib/ld-linux.so.2 
/usr/bin/cmake
Segmentation fault

-- 
Modestas Vainius mo...@debian.org


signature.asc
Description: This is a digitally signed message part.