Fedora Linux Support Community & Resources Center
  #1  
Old 12th June 2009, 06:31 AM
Karmaflute Offline
Registered User
 
Join Date: May 2008
Posts: 96
Debug array bounds errors for C++?

I recently wrote some software where I accidentally ran over the bounds of array which did not crash on my computer bug caused a segment fault on the client's computer immediately (to my embarrassment).

Is there a way to perform bounds checking with a debugger using g++?

I was looking into Valgrind but it doesn't appear to support what I need:
http://en.wikipedia.org/wiki/Valgrind#Limitations
Reply With Quote
Reply

Tags
array, bounds, debug, errors

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeRadius in debug mode + fedora 10 + errors atifshakeel Servers & Networking 4 19th April 2011 05:09 AM
bounds checkers for GCC trandbert Programming & Packaging 3 21st December 2007 12:59 PM
Gnome bug buddy not catching errors even after debug info on clivelong Using Fedora 0 8th November 2007 10:01 AM
Few errors in c++.. can someone debug this for me teishu Programming & Packaging 12 15th February 2007 10:46 PM
intel D945 matrix raid 1 array how do i rebuild array? cow Hardware & Laptops 4 13th April 2006 03:06 PM


Current GMT-time: 00:07 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat