Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-30-2005, 09:55 AM   #1
Jeon, Chang-Min
LQ Newbie
Registered: Jul 2005
Location: South Korea
Posts: 9

Rep: Reputation: 0
library function was not kiiled.

I used SDL thread library.


I created thread of library function which runs in "while(1)" by using my GUI "start button".


I killed thread by using my GUI "stop button".


Again, I pressed start button. As a result of that program was broken.(in other words "SEGMENT FAULT"

I did know why program was broken through debbuging.

Because the library functions can't delete memory which was allocated by "malloc" function.

I wondering what happened.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gets library function in C reddazz Programming 3 03-27-2005 02:04 AM
Source Function Library dadepfan Linux - General 2 08-22-2004 11:06 PM
what is the function library of the basic graphics library in rethat9.0? zerwolve Red Hat 0 04-29-2004 09:18 PM
Library function to search for files on Linux vtluu Red Hat 3 04-16-2004 01:31 PM
C# using DotGNU, how do I use a library function? exodist Programming 3 02-22-2004 09:41 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:35 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
Open Source Consulting | Domain Registration