LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   I met an error when I wrote a gtk program (https://www.linuxquestions.org/questions/programming-9/i-met-an-error-when-i-wrote-a-gtk-program-302289/)

icoming 03-16-2005 09:39 AM

I met an error when I wrote a gtk program
 
Currently, I am writing an ftp client.
Now I have almost finished it, but meet an error.
In my program, I will create a new thread with pthread to connect the ftp server. But if the created thread is blocked, the main thread will crash, and show such a message:"(gnome_segv:8219): Gtk-WARNING **: Ignoring the separator setting". And the created thread will run correctly.
I do not know why.
Please help me, this problem has troubled me a long time

Mara 03-16-2005 03:19 PM

Have you read this: http://www.gtk.org/faq/#AEN482 ? The example code should help you.


All times are GMT -5. The time now is 06:08 PM.