Bug 232918
Summary: | /usr/sbin/redhat_lsb_trigger.i386 segfaults | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Roy-Magne Mo <rmo> |
Component: | redhat-lsb | Assignee: | Lawrence Lim <llim> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | bloch, jakub, kevin, tmokros, tools-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-05-22 02:58:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Roy-Magne Mo
2007-03-19 14:38:48 UTC
Can you provide some info on the machine? This is a i386 install/machine? Can you try: - Install the redhat-lsb-debuginfo package: rpm -ivh http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/debug/redhat-lsb-debuginfo-3.1-13.i386.rpm - Install 'gdb' if you don't have it already. - Run 'gdb redhat_lsb_trigger.i386' - When it fails do a 'bt' to list a backtrace. Attach that trace here. # rpm -qa redhat-lsb\* redhat-lsb-3.1-13 redhat-lsb-debuginfo-3.1-13 i386 machine (PIII in this case) # gdb redhat_lsb_trigger.i386 GNU gdb Red Hat Linux (6.6-8.fc7rh) 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 "i386-redhat-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/sbin/redhat_lsb_trigger.i386 warning: shared library handler failed to enable breakpoint Program received signal SIGSEGV, Segmentation fault. main () at redhat_lsb_trigger.c:427 427 { (gdb) bt #0 main () at redhat_lsb_trigger.c:427 #1 0x08048235 in __libc_start_main (main=0x804823c <main>, argc=1, argv=0xbfe51954, init=0x8048214 <__libc_csu_init>, fini=0x8048219 <__libc_csu_fini>, rtld_fini=0, stack_end=0xbfe5194c) at redhat_lsb_trigger.c:496 #2 0x08048131 in _start () (gdb) Thanks for the bug report. I've also been seeing this on an x86_64 machine. Make sure redhat_lsb_trigger.c is not compiled with -fstack-protector (which is included in $RPM_OPT_FLAGS), the code in __libc_start_main doesn't set this up. -gcc $RPM_OPT_FLAGS -Os -static -o redhat_lsb_trigger{.%{_target_cpu},.c} -DLSBSOVER='"%{lsbsover}"' \ +gcc $RPM_OPT_FLAGS -fno-stack-protector -Os -static -o redhat_lsb_trigger{.%{_target_cpu},.c} -DLSBSOVER='"%{lsbsover}"' \ -DLDSO='"%{ldso}"' -DLSBLDSO='"/%{_lib}/%{lsbldso}"' -D_GNU_SOURCE should do the trick. Test Result with latest build: redhat-lsb-3.1-14.fc7 ---- root@alamPunjabi i386]# redhat_lsb_trigger.i386 [root@alamPunjabi i386]# --- Not more "Segmentation fault" -- Tested on i386 machine > Test Result with latest build:
> redhat-lsb-3.1-14.fc7
Where is this package available? It doesn't seem to be in rawhide.
Can't reproduce the segfault with redhat-lsb-3.1-14.fc7 |