[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnome-devel-list
Subject:    Re: seg fault on setting GdkColor before gtk_main()
From:       Havoc Pennington <rhp () zirx ! pair ! com>
Date:       1999-07-11 13:13:18
Message-ID: Pine.BSF.4.10.9907110911540.14704-100000 () zirx ! pair ! com
[Download RAW message or body]


On Sat, 10 Jul 1999 br0ke@math.smsu.edu wrote:
> I'm going to guess there is something done when gtk_main() is just starting
> that makes it safe for my loaded color declarations :/
>

I can't think of anything that could possibly do this. Before gtk_init(),
maybe - but not before gtk_main().
 
> 
> It segfaults when I click on the menubar in gnome, and when I actually try
> to click something on teh gtk+ only version. gdb says it's strncmp(), but I've
> tried commenting out all my strncmp()s and it still fails :/ is this a stupid
> memory allocation mistake? it's driving me buggy :) not that I was sane to
> start with...
> 

It's probably just a memory corruption bug in your program, or perhaps
some misunderstanding of the API. Could be a Gkt bug though.

Havoc

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic