Hi everyone, sorry bothering you but, suddenly my program said to me:
I thought it meant 'I need some coffee' but I was wrong.Code:Program received signal SIGSEGV, Segmentation fault. 0x0000001c in ?? ()
Can anybody help me?
Thank you,
Nepper271
This is a discussion on 0x00000001c in ?? () within the C++ Programming forums, part of the General Programming Boards category; Hi everyone, sorry bothering you but, suddenly my program said to me: Code: Program received signal SIGSEGV, Segmentation fault. 0x0000001c ...
Hi everyone, sorry bothering you but, suddenly my program said to me:
I thought it meant 'I need some coffee' but I was wrong.Code:Program received signal SIGSEGV, Segmentation fault. 0x0000001c in ?? ()
Can anybody help me?
Thank you,
Nepper271
You got a segmentation fault. Probably a bad pointer somewhere.
If you can't debug it, then posting the code will help others help you track it down.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
It looks like a "stack crash", because the 0x0000001C indicates that's where the code attempted to return to - which is not a valid address. Most likely, you have overflowed a local variable array, and overwritten your return address with "rubbish", and then the processor will jump to this "rubbish" address.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Thank you, it really was a returning problem. I was making an assignment from a return to a uninitialized pointer. Problem solved.
Thank you,
Nepper271.