Re: Re: Application termination at some point



Dear Yeti,

I know the bug is in my code and i want to fix that. I am new to linux programming and hence i am learning things now. I don't want you to fix the bug. What i all want to please let me know the ways that i can find the bug in my code. I can find the way to fix the bug but it will take some time. Thats you i have posted the problem in the forum.



Thanks & Regards
Sundaram. D
On Nov 17, 2009 4:41pm, David NeÄas <yeti physics muni cz> wrote:
On Tue, Nov 17, 2009 at 10:47:39AM +0000, ds sundar gmail com wrote:

> I run my test application with -g option and i am getting the following

> error message. I not able to fix the issue with the available

> information. Am i doing things correctly or not? Is this the one you want

> me to do?

>

> Please help me...



Please run it under valgrind as suggested.



Please note that the bug most likley isn't in Gtk+ but in your code and

that this thread has *nothing* to do with Gtk+ at all (well, not

counting my G_SLICE=always-malloc advice).



Also please note that there is no magic tool or compiler option that

would locate bugs (source code analysis tools exist, mostly commercial,

but even they can find only certain classes of problems). Otherwise all

programs would be bug-free...



So, at the end, someone who understands the code has to determine the

root cause of the problem and correct it. If you cannot understand the

code you will not be able to fix the bug, there's no point continuing,

I'm sorry.



Yeti





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