Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-20-2004, 04:54 PM   #1
Registered: Aug 2002
Distribution: Debian
Posts: 540

Rep: Reputation: 32
g_thread_init SEGV

Hi, I have a program I wrote in GTK 2.0, it works great. But now I decided I want to add another thread to do a proccess in the background, however when I call g_thread_init(NULL), the programs exits with SEGV? Whats wrong?

I tried looking on google, and someone suggested calling gtk_init before g_thread_init, I tried this but it doesn't make any difference. Please help!
Old 06-20-2004, 05:00 PM   #2
Registered: Aug 2002
Distribution: Debian
Posts: 540

Original Poster
Rep: Reputation: 32
Never mind. I was linking my program to gthread instead of gthread-2.0



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xorg server (fglrx) SEGV calling openGL finidi Linux - Hardware 4 06-29-2005 10:55 AM
GVim, menus, refresh menu and SEGV Weirdofreak Linux - Software 0 11-07-2004 11:10 AM
g++ caused a SEGV! Sweet! The_Nerd Programming 2 06-23-2004 06:39 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration