strange segmentation fault error!

This is a discussion on strange segmentation fault error! within the Linux Programming forums, part of the Platform Specific Boards category; Hi all, This is my first post to the forum. I encountered a strange bug in my program and would ...

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    2

    strange segmentation fault error!

    Hi all,

    This is my first post to the forum. I encountered a strange bug in my program and would like to seek the expertise of the group.

    I have a window created using GTK/GDK displaying a video stream. On mouse clicking inside the window frame, I am to get the coordinates of the mouse click. All these appear fine. The problem only surfaces after numerous clicks (around >10, sometimes even the 2nd or 3rd clicks), the program terminates with a segmentation fault error.

    On debugging with gdb, the error the cause the segmentation fault was a file called eval.c could not be located. I did not create such a file and a find/search on the system does not show the presence of such a file.

    What could be wrong with the problem?

    Any insights would be greatly appreciated.

    J

  2. #2
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    eval.c I believe is a file from gtk's source code. Now, the fact that this can't be found isn't the actual cause of the segfault. gdb just can't find it to give you the debugging information.
    OS: Linux Mandrake 9.0
    Compiler: gcc-3.2
    Languages: C, C++, Java

    If you go flying back through time and you see somebody else flying forward into the future, it's probably best to avoid eye contact.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 02:07 AM
  2. how do you resolve this error?
    By -EquinoX- in forum C Programming
    Replies: 32
    Last Post: 11-05-2008, 03:35 PM
  3. Errors including <windows.h>
    By jw232 in forum Windows Programming
    Replies: 4
    Last Post: 07-29-2008, 01:29 PM
  4. Connecting to a mysql server and querying problem
    By Diod in forum C++ Programming
    Replies: 8
    Last Post: 02-13-2006, 09:33 AM
  5. Couple C questions :)
    By Divx in forum C Programming
    Replies: 5
    Last Post: 01-28-2003, 12:10 AM

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