Program showing SIG fault when running with gdb

This is a discussion on Program showing SIG fault when running with gdb within the C Programming forums, part of the General Programming Boards category; Hi I am running my program without gdb, it is running fine. But when i am running it with gdb, ...

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    50

    Program showing SIG fault when running with gdb

    Hi

    I am running my program without gdb, it is running fine. But when i am running it with gdb, it is showing segmentation fault. What could be the reason for this?

    Thanks
    Sas

  2. #2
    Registered User
    Join Date
    May 2010
    Location
    Naypyidaw
    Posts
    1,314
    That means you've bug[s] in your code.
    Post relevant code.

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    50
    Then why it is running without gdb, it is running fine? I am making some JNI call.

  4. #4
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Post your code... we're not mind readers!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program not showing up
    By bijan311 in forum Windows Programming
    Replies: 4
    Last Post: 10-08-2010, 07:53 AM
  2. program that prints two tables showing...
    By Cyberman86 in forum C Programming
    Replies: 8
    Last Post: 04-08-2009, 02:55 PM
  3. Program showing splitter
    By Zurswe in forum C++ Programming
    Replies: 1
    Last Post: 01-11-2009, 09:33 AM
  4. A C++ program examples showing Polymorphism, please help.
    By MarkSquall in forum C++ Programming
    Replies: 19
    Last Post: 06-06-2008, 05:41 AM
  5. Replies: 0
    Last Post: 04-27-2003, 03:04 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21