Thread: 0x00000001c in ?? ()

  1. #1
    Registered User nepper271's Avatar
    Join Date
    Jan 2008
    Location
    Brazil
    Posts
    50

    0x00000001c in ?? ()

    Hi everyone, sorry bothering you but, suddenly my program said to me:

    Code:
    Program received signal SIGSEGV, Segmentation fault.
    0x0000001c in ?? ()
    I thought it meant 'I need some coffee' but I was wrong.
    Can anybody help me?

    Thank you,
    Nepper271

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    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.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    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.

  4. #4
    Registered User nepper271's Avatar
    Join Date
    Jan 2008
    Location
    Brazil
    Posts
    50
    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.

Popular pages Recent additions subscribe to a feed