gtk_main related error



Hi,

I'm writing a little application for mathematical use (plotting etc.).
The problem I have now is regarding a GTK entry. My plan is to get the 
input, a text-string giving a function (for example: "x*x"), in this gtk 
entry, and then call my routines to evaluate and plot this function.
I know for a fact that my evaluation and plotting routines are working 
correctly, so the error is obviously related to the GTK entry, and the
segmentation fault (signal 11)is triggered by gtk_main

I get the following debugger messages:

#5 0x40460a67 in __libc_start_main () from libc.so.6
#4 0x0804abd4 in main () at mat.c:201
#3 0x40104f5f in gtk_main() from libgtk-x11-2.0.so.0
#2 0x4040558f in g_main_loop_run () from libglib-2.0.so.0
#1 0x40404bdd in g_main_context_dispatch () from libglib-2.0.so.0
#0 0x40403d2e in g_main_context_acquire () from libglib-2.0.so.0

I have followed the gtk entry examples quite punctually.

Any help will be appreciated, and if you need to see the code, please let 
me know, and I'll post it.

Regards,
-- 
Amandip




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]