LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   segmentation fault with my Gtk Application (http://www.linuxquestions.org/questions/programming-9/segmentation-fault-with-my-gtk-application-49783/)

jaganmolleti 03-14-2003 06:41 AM

segmentation fault with my Gtk Application
 
My Gtk Application most of the times dies giving a segmentation fault at gtk_widget_show(window2).

Debugger gdb, shows the same error as
gtk_window_show() at eval.c: 41.
41 eval.c no such file or directory.

If not at this statement, some other times gbd stops at end of a function showing error at gtk_marshal_NONE_NONE().

Anyone, please lemme know a way to avoid this segmentation fault.

Thanks,
Jagan.

PS:
1. I tried "myapplication --sync" for any error logging, this doesnt help me.
2. Also did MALLOC_CHECK_=2 for that environment variable, havent got any more informatio.

wapcaplet 03-18-2003 12:05 PM

It might help if you posted some of your source code, especially line 41 of eval.c and the code surrounding it :)


All times are GMT -5. The time now is 07:53 PM.