Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > gdb SIGSEGV

Reply
Thread Tools

gdb SIGSEGV

 
 
Morris Dovey
Guest
Posts: n/a
 
      02-12-2004
Sameer wrote:

> I get this error info when I debug a segmentation fault using
> gdb:
>
> Program received signal SIGSEGV, Segmentation fault 0x42073d65
> in _int_malloc() from /lib/i686/libc.so.6
>
> What to fix this ?


Fix the invalid pointer/subscript.

--
Morris Dovey
West Des Moines, Iowa USA
C links at http://www.iedu.com/c
Read my lips: The apple doesn't fall far from the tree.

 
Reply With Quote
 
 
 
 
Sameer
Guest
Posts: n/a
 
      02-12-2004
Hi,

I get this error info when I debug a segmentation fault using gdb:

Program received signal SIGSEGV, Segmentation fault
0x42073d65 in _int_malloc() from /lib/i686/libc.so.6

What to fix this ?

REgards,
Sameer.


 
Reply With Quote
 
 
 
 
Tom St Denis
Guest
Posts: n/a
 
      02-12-2004

"Sameer" <(E-Mail Removed)> wrote in message
news:c0fkit$16r5l0$(E-Mail Removed)-berlin.de...
> Hi,
>
> I get this error info when I debug a segmentation fault using gdb:
>
> Program received signal SIGSEGV, Segmentation fault
> 0x42073d65 in _int_malloc() from /lib/i686/libc.so.6
>
> What to fix this ?


If you want to get more information about the crash you will most certainly
have to compile your program with debugging options turned on. Look up in
the manual for your compiler on how todo that.

Tom


 
Reply With Quote
 
Mark McIntyre
Guest
Posts: n/a
 
      02-14-2004
On Thu, 12 Feb 2004 16:03:28 +0530, in comp.lang.c , "Sameer"
<(E-Mail Removed)> wrote:

>Hi,
>
>I get this error info when I debug a segmentation fault using gdb:


you mean gdb crashes? This is nothing to do with C.

>Program received signal SIGSEGV, Segmentation fault
>0x42073d65 in _int_malloc() from /lib/i686/libc.so.6
>
>What to fix this ?



--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging with gdb: pystack macro for gdb to show python stack trace Timothy Madden Python 1 09-17-2009 11:47 AM
GDB - no debugging symbols found (GDB Vs GCC?) seba C++ 1 03-22-2007 02:02 PM
Capturing gdb output in pyhton script using gdb -batch -x arguments Surendra Python 0 03-23-2006 02:47 PM
SIGSEGV 11* segmentation violation manoj Java 0 06-25-2004 04:47 PM
SIGSEGV 11 (*) segmentation violation on AIX 5.1 and Java Frank Java 0 08-05-2003 08:54 PM



Advertisments