public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/12648] New: fixincl segfaults when run with -v
@ 2003-10-16 19:02 eddie at omegaware dot com
  2003-10-16 19:04 ` [Bug other/12648] " eddie at omegaware dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: eddie at omegaware dot com @ 2003-10-16 19:02 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12648

           Summary: fixincl segfaults when run with -v
           Product: gcc
           Version: 3.2.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: eddie at omegaware dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-redhat-linux
  GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux

fixincl segfaults after being built..
I've traced it down to line 207..

the function run_shell returns successfully and returns the string,
"fixincl version 1.1". and the program segfaults when the exit/strcmp is run.

*aside* What exactly is the SEPARATE_FIX_PROC for?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/12648] fixincl segfaults when run with -v
  2003-10-16 19:02 [Bug other/12648] New: fixincl segfaults when run with -v eddie at omegaware dot com
@ 2003-10-16 19:04 ` eddie at omegaware dot com
  2003-10-16 21:43 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: eddie at omegaware dot com @ 2003-10-16 19:04 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12648



------- Additional Comments From eddie at omegaware dot com  2003-10-16 19:04 -------
backtrace..
#0  0x4207af79 in chunk_free () from /lib/i686/libc.so.6
#1  0x4207ad24 in free () from /lib/i686/libc.so.6
#2  0x4211599d in __deregister_frame () from /lib/i686/libc.so.6
#3  0x421167da in _fini () from /lib/i686/libc.so.6
#4  0x4000bbd2 in _dl_fini () from /lib/ld-linux.so.2
#5  0x4202bc5b in exit () from /lib/i686/libc.so.6
#6  0x0804966a in do_version () at ../../../gcc/fixinc/fixincl.c:209
#7  0x080496dd in initialize (argc=2, argv=0xbffff554) at
../../../gcc/fixinc/fixincl.c:243
#8  0x08049464 in main (argc=2, argv=0xbffff554) at
../../../gcc/fixinc/fixincl.c:120
#9  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/12648] fixincl segfaults when run with -v
  2003-10-16 19:02 [Bug other/12648] New: fixincl segfaults when run with -v eddie at omegaware dot com
  2003-10-16 19:04 ` [Bug other/12648] " eddie at omegaware dot com
@ 2003-10-16 21:43 ` pinskia at gcc dot gnu dot org
  2003-10-16 23:03 ` eddie at omegaware dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-16 21:43 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12648


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-16 21:43 -------
This looks like a libc problem and not a GCC problem.
What glibc are you using?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/12648] fixincl segfaults when run with -v
  2003-10-16 19:02 [Bug other/12648] New: fixincl segfaults when run with -v eddie at omegaware dot com
  2003-10-16 19:04 ` [Bug other/12648] " eddie at omegaware dot com
  2003-10-16 21:43 ` pinskia at gcc dot gnu dot org
@ 2003-10-16 23:03 ` eddie at omegaware dot com
  2003-10-17  0:01 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: eddie at omegaware dot com @ 2003-10-16 23:03 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12648



------- Additional Comments From eddie at omegaware dot com  2003-10-16 23:03 -------
RedHat 7.3.

glibc 2.2.5-43
binutils 2.11.93.0.2-12 (from the RH 7.3 GCC 3.1 "channel")

I downloaded the SRC rpm for RH 7.3 compile of GCC 3.1 and it compiles fine past
that point..
the GCC 3.2.2 src tarball I am using is from the RH 9 src rpm. which there is
only one patch they apply which is for sparc related issues..

>From the buildreports page on the gcc site several people have compiled GCC 3.2
on an identicle system to mine.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/12648] fixincl segfaults when run with -v
  2003-10-16 19:02 [Bug other/12648] New: fixincl segfaults when run with -v eddie at omegaware dot com
                   ` (2 preceding siblings ...)
  2003-10-16 23:03 ` eddie at omegaware dot com
@ 2003-10-17  0:01 ` pinskia at gcc dot gnu dot org
  2003-10-17  2:27 ` eddie at omegaware dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-17  0:01 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12648


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-17 00:01 -------
Must be a memory problem but since this works for every one else, this must be your bug some 
where.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/12648] fixincl segfaults when run with -v
  2003-10-16 19:02 [Bug other/12648] New: fixincl segfaults when run with -v eddie at omegaware dot com
                   ` (3 preceding siblings ...)
  2003-10-17  0:01 ` pinskia at gcc dot gnu dot org
@ 2003-10-17  2:27 ` eddie at omegaware dot com
  2003-10-17  2:48 ` eddie at omegaware dot com
  2003-10-17  3:07 ` eddie at omegaware dot com
  6 siblings, 0 replies; 8+ messages in thread
From: eddie at omegaware dot com @ 2003-10-17  2:27 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12648


eddie at omegaware dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |


------- Additional Comments From eddie at omegaware dot com  2003-10-17 02:27 -------
How can it be a memory problem?? As the memory in my system is perfectly fine..
andeverything else works perfectly..

it is recreatable everytime no matter how I configure the thing..and it works
fine with GCC 3.1, but not with GCC 3.2.2..

Is there any thing you can suggest to try and track down what might be causing
this problem.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/12648] fixincl segfaults when run with -v
  2003-10-16 19:02 [Bug other/12648] New: fixincl segfaults when run with -v eddie at omegaware dot com
                   ` (4 preceding siblings ...)
  2003-10-17  2:27 ` eddie at omegaware dot com
@ 2003-10-17  2:48 ` eddie at omegaware dot com
  2003-10-17  3:07 ` eddie at omegaware dot com
  6 siblings, 0 replies; 8+ messages in thread
From: eddie at omegaware dot com @ 2003-10-17  2:48 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12648



------- Additional Comments From eddie at omegaware dot com  2003-10-17 02:48 -------
I just tried compiling on another RH 7.3 system which is a stock RH 7.3 with
updates and the same thing happens.. frustrating.. D/Ling gcc3.2.3 and gcc 3.3
and seeing if they work


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/12648] fixincl segfaults when run with -v
  2003-10-16 19:02 [Bug other/12648] New: fixincl segfaults when run with -v eddie at omegaware dot com
                   ` (5 preceding siblings ...)
  2003-10-17  2:48 ` eddie at omegaware dot com
@ 2003-10-17  3:07 ` eddie at omegaware dot com
  6 siblings, 0 replies; 8+ messages in thread
From: eddie at omegaware dot com @ 2003-10-17  3:07 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12648


eddie at omegaware dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From eddie at omegaware dot com  2003-10-17 03:07 -------
Downloading 3.2.3 fixed the problem..
3.2.3 does not give me the segfault


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-10-17  3:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16 19:02 [Bug other/12648] New: fixincl segfaults when run with -v eddie at omegaware dot com
2003-10-16 19:04 ` [Bug other/12648] " eddie at omegaware dot com
2003-10-16 21:43 ` pinskia at gcc dot gnu dot org
2003-10-16 23:03 ` eddie at omegaware dot com
2003-10-17  0:01 ` pinskia at gcc dot gnu dot org
2003-10-17  2:27 ` eddie at omegaware dot com
2003-10-17  2:48 ` eddie at omegaware dot com
2003-10-17  3:07 ` eddie at omegaware dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).