Go to Post Many people here in the CD fora know 'someone' on the inside. They aren't out there somewhere, they are here among us and they won't give an inch regarding the clues. It's very cool. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 02-16-2016, 05:31 AM
codedr codedr is offline
Registered User
FRC #0537
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Wisconsin
Posts: 68
codedr will become famous soon enoughcodedr will become famous soon enough
Re: Can anyone figure out what is wrong?

It looks like your program or some other function (perhaps on your behalf) is calling strstr() to find a substring in a larger string. Are your processing strings in your code?

If you are, I would guess that some assumption you've made about the string always having that value is not true, or your code is not finding the ending condition and is continuing past the end of the string searching for the value.

Are you able to get a full traceback of the stack when the failure occurs?

I would try and find out what the last thing you are doing in your code before it crashes.
Using printf() or logging to narrow the location down might help.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:19 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi