Thread: Need help against crash [RESOLVED]

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    5

    Need help against crash [RESOLVED]

    My following C++ program, which needs two input files, is giving segmentation fault when it is compiled with g++ or gcc.

    I am unable to locate the error with gdb, either.
    Program received signal SIGSEGV, Segmentation fault.
    0x7c901278 in _libmsvcrt_a_iname ()

    It does not give the line number where the error is, in the program.

    I have tried out commenting all pieces of code, still the error does not disappear.

    Please help me up with this error, I don't have the will to figure that out right now, at all.
    Last edited by Raman; 04-19-2010 at 02:22 PM.

  2. #2
    Registered User
    Join Date
    Nov 2008
    Posts
    5
    Can someone please delete this message up?
    The problem is that I forgot to give up with the command line arguments at all.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Lame null append cause buffer to crash
    By cmoo in forum C Programming
    Replies: 8
    Last Post: 12-29-2008, 03:27 AM
  2. Hooking Crash?
    By Elysia in forum Windows Programming
    Replies: 9
    Last Post: 03-15-2008, 01:13 PM
  3. Can not debug a crash
    By hannibar in forum Windows Programming
    Replies: 2
    Last Post: 06-30-2007, 10:02 AM
  4. Dynamic array sizing causes crash
    By Mithoric in forum C++ Programming
    Replies: 3
    Last Post: 12-30-2003, 07:46 AM
  5. FYI: asctime(gmtime(&mytime)) = crash!
    By anonytmouse in forum C Programming
    Replies: 2
    Last Post: 09-29-2003, 02:24 AM