Re: Statusbar questions...
- From: Kilobug <le-mig_g epita fr>
- To: durkin+gtkad matter net
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Statusbar questions...
- Date: Tue, 10 Apr 2001 13:14:13 GMT
Hi friends.
Hi
I have a few questions about statusbars. Firstly, is it really necessary to
get a context id?
I use arbitrary context ids too (1 or 42) and it works fine.
[...] In other words, it's broked only when not being run through gdb. This
is what is often referred to as abnormal behavior. Is there a way of
assessing whose fault this is (ie, gtk's side of things, or mine)?
I think it's your fault, because they are only very few bugs in GTK (at least
in the 1.2 branch, I don't know for the 1.3). The most common reason for those
kind of problems is that somewhere in your code your write in a wrong memory
area (overflow, g_malloc() missing, ...). So I advise you using Electric-Fence
and see if you seg fault somewhere.
To install it on Debian: "apt-get install electric-fence", on RedHat/Mdk go
to rpmfind.net and look for efence or electric-fence.
To use it: add -lefence on your Makefile and read the man page (man libefence)
Bye
--
** Gael Le Mignot, Ing2 EPITA, Coder of The Kilobug Team **
Home Mail : kilobug freesurf fr Work Mail : le-mig_g epita fr
GSM : 06.71.47.18.22 (in France) ICQ UIN : 7299959
"Software is like sex: it's better when it's free.", Linus Torvalds
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]