public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* SegFault
@ 2009-01-08 14:59 Kolpur Srinivasa Chary
  2009-01-08 15:00 ` SegFault Tom St Denis
  0 siblings, 1 reply; 11+ messages in thread
From: Kolpur Srinivasa Chary @ 2009-01-08 14:59 UTC (permalink / raw)
  To: gcc-help

Hi,

I got segmentation fault when I compiled a program with gcc, so I have
run the executable file to gdb.
When I tried running the program through gdb, it displayed the following message

Program received signal SIGSEGV, Segmentation fault.
0x08048ccb in main ()

But why is it not telling me the line number at which segfault
occured? Please help me regarding this issue.

Regards,
cnu

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <9ab7eeeb0812090635ndc60ecfl5fe2e3bcd25e20ef@mail.gmail.com>]
* segfault
@ 2008-12-09 13:59 Leonardo Santagostini
  2008-12-09 14:22 ` segfault Tom St Denis
  2008-12-09 14:26 ` segfault John (Eljay) Love-Jensen
  0 siblings, 2 replies; 11+ messages in thread
From: Leonardo Santagostini @ 2008-12-09 13:59 UTC (permalink / raw)
  To: gcc-help

Hello all

I have the following problem:

kernel: RGPVISAServer[15121]: segfault at 0000000000000000 rip
000000394dd2a089 rsp 0000000048c089f0 error 4

Im using

Linux localhost 2.6.9-67.ELsmp #1 SMP Fri Nov 16 12:49:06 EST 2007
x86_64 x86_64 x86_64 GNU/Linux

with

gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

CentOS release 4.6 (Final)

on a dual quad core with 3 Gb RAM

Anybody can give me a clue about this ?

Im compiling from a make with these lines inside makefile:

COMPILER=gcc -g -Wall -O3 -I/usr/include/libxml2/
LIBS=-lpq -lpthread -lssl -lcrypto -lxml2

Maybe i must compile without optimization ??

Thanks
-- 
Saludos.-
Leonardo Santagostini

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

end of thread, other threads:[~2009-01-08 15:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-08 14:59 SegFault Kolpur Srinivasa Chary
2009-01-08 15:00 ` SegFault Tom St Denis
2009-01-08 15:03   ` SegFault Kolpur Srinivasa Chary
     [not found]     ` <496616C3.6090802@ellipticsemi.com>
2009-01-08 15:19       ` SegFault Kolpur Srinivasa Chary
2009-01-08 15:27         ` SegFault Sven Eschenberg
     [not found] <9ab7eeeb0812090635ndc60ecfl5fe2e3bcd25e20ef@mail.gmail.com>
     [not found] ` <C563E3CB.36815%eljay@adobe.com>
2008-12-09 15:15   ` segfault Leonardo Santagostini
2008-12-09 17:04     ` segfault John Fine
2008-12-09 19:15       ` segfault Leonardo Santagostini
  -- strict thread matches above, loose matches on Subject: below --
2008-12-09 13:59 segfault Leonardo Santagostini
2008-12-09 14:22 ` segfault Tom St Denis
2008-12-09 14:26 ` segfault John (Eljay) Love-Jensen

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).