Can't run squeak under amd64 ubuntu

David T. Lewis lewis at mail.msen.com
Thu Jul 19 00:46:15 UTC 2007


Timmy,

Sorry, I don't have a clue as to what's causing this. The only other thing
that I might suggest, since it's giving you an error on an xlib call, would
be to try running under some different window manager and see if the symptoms
change. Just a shot in the dark, but that's about all I can think of.

Dave


On Tue, Jul 17, 2007 at 08:57:15PM -0400, Timmy Douglas wrote:
> "David T. Lewis" <lewis at mail.msen.com> writes:
> 
> > On Sun, Jul 15, 2007 at 07:44:25PM -0400, Timmy Douglas wrote:
> >
> >> timmy at timmy-desktop:~/src/squeak/seaside-test/squeak-svn-source/platforms/unix/bld$ ./squeak ../../../../Squeak3
> >> 0alpha.7121.image 
> >> X Error: BadValue (integer parameter out of range for operation)
> >>   Major opcode of failed request:  78
> >>   Minor opcode of failed request:  0
> >>   Serial number of failed request: 7
> >
> > Sorry, I don't know what is causing this.
> 
> XInternAtoms might be.
> 
> BadValue: Some numeric value falls outside the range of values
> accepted by the request. Unless a specific range is specified for an
> argument, the full range defined by the argument's type is
> accepted. Any argument defined as a set of alternatives can generate
> this error.
> 
> 
> (gdb) 
> 2036      XInternAtoms(stDisplay, selectionAtomNames, SELECTION_ATOM_COUNT, False, selectionAtoms);
> (gdb) 
> 
> Breakpoint 3, xError (dpy=0x736d70, evt=0x7fff40a13940)
>     at /home/timmy/src/squeak/seaside-test/squeak-svn-source/platforms/unix/vm-display-X11/sqUnixX11.c:1753
> 1753    {
> (gdb) 
> 1755      XGetErrorText(dpy, evt->error_code, buf, sizeof(buf));
> (gdb) 
> 1753    {
> (gdb) 
> 1755      XGetErrorText(dpy, evt->error_code, buf, sizeof(buf));
> (gdb) 
> 1756      fprintf(stderr,
> (gdb) 
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  78
>   Minor opcode of failed request:  0
>   Serial number of failed request: 7
> 1766    }
> (gdb) print selectionAtoms
> $21 = {18446744073709551599, 18446744073709551562, 18446744073709551589, 18446744073709551571, 
>   18446744073709551586, 18446744073709551606, 18446744073709551563, 18446744073709551600}
> 
> 
> then I get a lot of Xerrors printed before it resumes execution. My
> gdb doesn't seem to support threads beceause 'info threads' is blank.
> here is another run:
> 
> Breakpoint 5, initWindow (displayName=<value optimized out>)
>     at /home/timmy/src/squeak/seaside-test/squeak-svn-source/platforms/unix/vm-display-X11/sqUnixX11.c:2036
> 2036      XInternAtoms(stDisplay, selectionAtomNames, SELECTION_ATOM_COUNT, False, selectionAtoms);
> (gdb) print stDisplay
> $23 = (Display *) 0x736d70
> (gdb) print *stDisplay
> $24 = <incomplete type>
> (gdb) print selectionAtomNames
> $25 = {0x2b32917b67ec "CLIPBOARD", 0x2b32917b67f6 "CUT_BUFFER0", 0x2b32917b6802 "TARGETS", 
>   0x2b32917b680a "MULTIPLE", 0x2b32917b6813 "UTF8_STRING", 0x2b32917b681f "COMPOUND_TEXT", 
>   0x2b32917b682d "TIMESTAMP", 0x2b32917b6837 "SQUEAK_SELECTION"}
> (gdb) print SELECTION_ATOM_COUNT
> No symbol "SELECTION_ATOM_COUNT" in current context. (This is 8)
> (gdb) print False
> No symbol "False" in current context.
> (gdb) print selection
> selection           selectionAtomNames  selectionAtoms      
> (gdb) print selectionAtoms
> $26 = {0, 0, 0, 0, 0, 0, 0, 0}
> (gdb) ptype Display 
> type = struct _XDisplay {
>     <incomplete type>
> }
> 
> 
> 
> Does that help at all?



More information about the Squeak-dev mailing list