Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 13338] procps binaries all segfault

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 13338] procps binaries all segfault
  • Date: 19 Dec 2006 14:56:26 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13338





------- Additional Comments From sqweek AT gmail.com 2006-12-19 08:56 -------
Here's mine (no symbols stripped from ld-linux.so, har):

GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db
library
"/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/src/procps-3.2.7/ps/ps
Failed to read a valid object file image from memory.

Program received signal SIGSEGV, Segmentation fault.
set_fast_math () at /usr/src/gcc-4.1.1/gcc/config/i386/crtfastmath.c:97
97 asm volatile ("fxsave %0" : "=m" (fxsave) : "m" (fxsave));
(gdb) bt
#0 set_fast_math () at /usr/src/gcc-4.1.1/gcc/config/i386/crtfastmath.c:97
#1 0xb7f0fcc5 in __do_global_ctors_aux () from proc/libproc-3.2.7.so
#2 0xb7f07004 in _init () from proc/libproc-3.2.7.so
#3 0xb7f32cd5 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#4 0xb7f32e03 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#5 0xb7f2887f in ?? () from /lib/ld-linux.so.2

Looks to me like the dynamic linker is having trouble loading a
libproc-3.2.7.so
compiled with gcc-4.1.1 [on x86], when I rebuild with gcc-3.4.4 it works fine.
I don't know enough about linking to take this further.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page