Re: gdk caveats with 32-bit emulation under 64-bit kernel/processor



<dlehman redhat com> writes: 
>  I have a working gtk package (RH 7.1's version)which I can run on a 
> 32-bit ppc platform, but when I try to run gnomeish apps using the 
> same packages on a 64-bit ppc with support for 32-bit apps enabled in 
> the kernel, I get Gdk-ERROR: Bad Access from any/all apps using gdk 
> routines. 
> 
> I seem to have isolated the problem down to apps which use any 
> gdk-pixbuf/icon related routines, but I realize the problem may lay down 
> in X somewhere.
> 
> I'm running XFree86-4.0.3, gtk+-1.2.8.
> 
> Any ideas on problem areas w.r.t. gdk pixbuf manipulation in a 32-bit 
> emulation (or 64-bit) environment?

The issue probably has to do with shared memory X images, which gdk
pixbuf uses to copy image data to/from the X server.

The thing to do is run your GTK app in gdb with the --sync command
line option, this will cause the BadAccess to be reported
synchronously, then the backtrace should be helpful. May need to build
GTK with debug symbols.

Send us the backtrace with --sync, and we can probably see the issue
pretty quickly.

Havoc



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