Re: GTK+ (gdk) crashes on Solaris reading 16bpp pixmaps!!!
- From: Tom Bech <tomb ii uib no>
- To: gtk-list redhat com
- Subject: Re: GTK+ (gdk) crashes on Solaris reading 16bpp pixmaps!!!
- Date: Thu, 24 Sep 1998 09:32:44 +0000
Nwanua Elumeze wrote:
>
> Hi all,
>
> I am writing an app that involves previews:
>
> unfortunately, any time I try to read a 16bpp image on a Solaris box,
> my app barfs.
> It has no problems otherwise.
>
> Is there a way that I can scale back the number of colours in a
> pixmap on the fly _before_ tying to
>
> gdk_pixmap_create_from_xpm(TOPLEVELWINDOW->window,
> &mask, &style->bg[GTK_STATE_NORMAL], filename); ?gtk_widget_push_
>
> I've even tried pushing and popping with gtk_widget_push_foo() and
> gtk_widget_pop_foo() but to no avail.
>
> Everthing is alright on say, my Linux box...
>
> Thanks all,
>
> Nwanua.
>
Hi,
Could you please provide a backtrace of the crash? If you have access to
gdb, this would be 1) "gdb app", 2) "run" 3) <app crashes> 4) "bt" and
5) post the output of this command. I have no problem reading 8, 16, 32 etc.
bpp xpm's on my linux box or the local ultra's (SunOS 5.6).
What version of gtk+/glib are you using?
Regards,
Tom
--
tomb@gimp.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]