On Tue, May 22, 2012 at 12:05 AM, chadwick <[email protected]> wrote:
> > > On Tue, May 22, 2012 at 12:17 PM, Javier Pimás <[email protected] > > wrote: > >> Then probably the visualInfo has some problem. The symptom is that >> printOn: (inherited from NBExternalStructure) crashes while trying to show >> the fields. Now try niling the visualInfo visual field with code >> (visualInfo visual:nil) to see if it keeps crashing. > > > I can't - I tried moving self halt to after the creation of visualInfo, > and then self halt is never executed and the image progressively slows as > before, indicating that visualInfo was never initialized. > > What I also neglected to add before was that in visualInfo := > NBXLibVisualInfo fromPointer: it goes into handleFailureIn: nativeCode: > from NBFFICallout cdelc: emitCall: options: in NativeBoostLinux32 and > eventually hangs > > > > >> >> Also, what is the contents of NBXLibVisualInfo class>>#fieldsDesc ? >> > > fieldsDesc > " > self initializeAccessors > " > ^#( > NBXLibVisual "Visual*" visual; > VisualID visualid; > int screen; > uint depth; > int class; > ulong red_mask; > ulong green_mask; > ulong blue_mask; > int colormap_size; > int bits_per_rgb > ) > > this is good news! change "int class" to "int klass" and it'll probably start working. It's creating an accessor named "class", which breaks everything. It's a problem we saw before, I'll have to check because I thought I had uploaded the latest versions of monticello and the configuration. How did you load the code? Cheers! > >> >> You can send me the image via yousendit (I'll may look at it if I get >> some free time). >> > > yes will do that later.. > -- Lic. Javier Pimás Ciudad de Buenos Aires
