-
September 18th, 2015, 07:37 AM
#16
Re: SIGSEGVs, missing parts of input
What compiler do you use?
Victor Nijegorodov
-
September 20th, 2015, 06:19 AM
#17
Re: SIGSEGVs, missing parts of input
Originally Posted by VictorN
What compiler do you use?
GNU GCC compiler
-
September 20th, 2015, 08:06 AM
#18
Re: SIGSEGVs, missing parts of input
Is it a bugs-free version?
Victor Nijegorodov
-
September 21st, 2015, 04:25 AM
#19
Re: SIGSEGVs, missing parts of input
Originally Posted by VictorN
Is it a bugs-free version?
not sure how to check if it's "bug-free", but I've never had any problems with it.
Here's more info:
gcc (tdm-1) 4.7.1 (year 2012)
-
September 21st, 2015, 05:35 AM
#20
Re: SIGSEGVs, missing parts of input
Originally Posted by Fides Facit Fortis
gcc (tdm-1) 4.7.1 (year 2012)
There were some bugs in earlier gcc std implementations.
About your version you could read https://gcc.gnu.org/gcc-4.7/
Victor Nijegorodov
-
September 23rd, 2015, 07:27 PM
#21
Re: SIGSEGVs, missing parts of input
You must be corrupting memory somewhere (as I think VictorN is suggesting) since even your literal strings are not being outputted correctly.
Example: Your code:
Code:
cout<<"This is the message to send: "<<message<<endl;
Actual output:
message to send: llo my name is George
What happened to the "This is the" part of "This is the message to send"? Only the second part of your literal string (i.e.,"message to send") is being outputted.
Perhaps you are stepping on memory in one of your other threads.
Mike
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|