can't get amd64 squeak install working

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

can't get amd64 squeak install working

Timmy Douglas-3
 

I'm reposting here from the main squeak list because no one there
seems to be able to help me. I am using the latest subversion tree to
build the source but it appears the vm-display-X11 part isn't working
correctly. If I run headless it seems to start without errors but I
have no way of checking anything.

I'm using a standard ubuntu install with gnome 2.18.1..and the default
window manager... whatever that is. metacity?

>> timmy@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>
}



If you need more info just ask and I'll try to get it.
Reply | Threaded
Open this post in threaded view
|

Re: can't get amd64 squeak install working

Martin Kuball
 
Hi Timmy,

did you try to run a different X prog from the shell? Does it work? Maybe
there is an error in the environment?

Besides that I think major opcode 78 has something to do with color maps.
So please provide the output of the prog xdpyinfo.

Martin

Am Thursday 19 July 2007 schrieb Timmy Douglas:

> I'm reposting here from the main squeak list because no one there
> seems to be able to help me. I am using the latest subversion tree to
> build the source but it appears the vm-display-X11 part isn't working
> correctly. If I run headless it seems to start without errors but I
> have no way of checking anything.
>
> I'm using a standard ubuntu install with gnome 2.18.1..and the default
> window manager... whatever that is. metacity?
>
> >> timmy@timmy-desktop:~/src/squeak/seaside-test/squeak-svn-source/platf
> >>orms/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>
> }
>
>
>
> If you need more info just ask and I'll try to get it.


Reply | Threaded
Open this post in threaded view
|

Re: can't get amd64 squeak install working

Timmy Douglas-3
 
Martin Kuball <[hidden email]> writes:

>  
> Hi Timmy,
>
> did you try to run a different X prog from the shell? Does it work? Maybe
> there is an error in the environment?

other X programs seem to work fine.

> Besides that I think major opcode 78 has something to do with color maps.
> So please provide the output of the prog xdpyinfo.

here are all the X errors:

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
X Error: BadColor (invalid Colormap parameter)
  Major opcode of failed request:  1
  Minor opcode of failed request:  0
  Serial number of failed request: 8
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  1
  Minor opcode of failed request:  0
  Serial number of failed request: 9
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 11
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 12
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 13
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 14
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 15
X Error: BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  55
  Minor opcode of failed request:  0
  Serial number of failed request: 16
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 41
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  8
  Minor opcode of failed request:  0
  Serial number of failed request: 42
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  8
  Minor opcode of failed request:  0
  Serial number of failed request: 43
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  2
  Minor opcode of failed request:  0
  Serial number of failed request: 58
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  2
  Minor opcode of failed request:  0
  Serial number of failed request: 71
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  2
  Minor opcode of failed request:  0
  Serial number of failed request: 84
X Error: BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  72
  Minor opcode of failed request:  0
  Serial number of failed request: 86


here is the program output.

name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    70200000
X.Org version: 7.2.0
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x4c00010, revert to PointerRoot
number of extensions:    33
    BIG-REQUESTS
    Composite
    DAMAGE
    DEC-XTRAP
    DPMS
    Extended-Visual-Information
    GLX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    NV-CONTROL
    NV-GLX
    RECORD
    RENDER
    SECURITY
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XAccessControlExtension
    XC-APPGROUP
    XC-MISC
    XFIXES
    XFree86-Bigfont
    XFree86-DGA
    XFree86-Misc
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
    XVideo-MotionCompensation
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    3840x1024 pixels (1147x302 millimeters)
  resolution:    85x86 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x24c
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xfa4033
    KeyPressMask             KeyReleaseMask           EnterWindowMask          
    LeaveWindowMask          KeymapStateMask          StructureNotifyMask      
    SubstructureNotifyMask   SubstructureRedirectMask FocusChangeMask          
    PropertyChangeMask       ColormapChangeMask      
  number of visuals:    81
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x22
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x23
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x24
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x25
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x26
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x27
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x28
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x29
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2a
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2b
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2c
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2d
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2e
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2f
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x30
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x31
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x32
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x33
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x34
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x35
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x36
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x37
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x38
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x39
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3a
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3b
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3c
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3d
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3e
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3f
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x40
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x41
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x42
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x43
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x44
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x45
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x46
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x47
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x48
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x49
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x4a
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x4b
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x4c
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x4d
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x4e
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x4f
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x50
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x51
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x52
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x53
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x54
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x55
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x56
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x57
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x58
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x59
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x5a
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x5b
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x5c
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x5d
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x5e
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x5f
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x60
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x61
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x62
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x63
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x64
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x65
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x66
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x67
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x68
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x69
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x6a
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x6b
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x6c
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x6d
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x6e
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x6f
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x70
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x249
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
Reply | Threaded
Open this post in threaded view
|

Re: can't get amd64 squeak install working

Martin Kuball
 
Everything looks good to me. But I'm not really an X11 expert either. But
since you compiled your on VM you may try the following. Alter the code of
sqUnixX11.c.
1. add a line
        extern int _Xdebug;
   at the beginning.
2. add a line
     _Xdebug = 1;
   at the beginning of function initWindow
 
You can then run a debugger and find the line that's failing.
X otherwise tends to batch things, to improve performance.
Just found this by googling for errors. I haven't tried it. So you have to
experiment a bit.

Martin

Am Thursday 19 July 2007 schrieb Timmy Douglas:

> Martin Kuball <[hidden email]> writes:
> > Hi Timmy,
> >
> > did you try to run a different X prog from the shell? Does it work?
> > Maybe there is an error in the environment?
>
> other X programs seem to work fine.
>
> > Besides that I think major opcode 78 has something to do with color
> > maps. So please provide the output of the prog xdpyinfo.
>
> here are all the X errors:
>
> 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
> X Error: BadColor (invalid Colormap parameter)
>   Major opcode of failed request:  1
>   Minor opcode of failed request:  0
>   Serial number of failed request: 8
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  1
>   Minor opcode of failed request:  0
>   Serial number of failed request: 9
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  18
>   Minor opcode of failed request:  0
>   Serial number of failed request: 11
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  18
>   Minor opcode of failed request:  0
>   Serial number of failed request: 12
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  18
>   Minor opcode of failed request:  0
>   Serial number of failed request: 13
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  18
>   Minor opcode of failed request:  0
>   Serial number of failed request: 14
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  18
>   Minor opcode of failed request:  0
>   Serial number of failed request: 15
> X Error: BadDrawable (invalid Pixmap or Window parameter)
>   Major opcode of failed request:  55
>   Minor opcode of failed request:  0
>   Serial number of failed request: 16
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  18
>   Minor opcode of failed request:  0
>   Serial number of failed request: 41
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  8
>   Minor opcode of failed request:  0
>   Serial number of failed request: 42
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  8
>   Minor opcode of failed request:  0
>   Serial number of failed request: 43
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  2
>   Minor opcode of failed request:  0
>   Serial number of failed request: 58
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  2
>   Minor opcode of failed request:  0
>   Serial number of failed request: 71
> X Error: BadWindow (invalid Window parameter)
>   Major opcode of failed request:  2
>   Minor opcode of failed request:  0
>   Serial number of failed request: 84
> X Error: BadDrawable (invalid Pixmap or Window parameter)
>   Major opcode of failed request:  72
>   Minor opcode of failed request:  0
>   Serial number of failed request: 86
>
>
> here is the program output.
>
> name of display:    :0.0
> version number:    11.0
> vendor string:    The X.Org Foundation
> vendor release number:    70200000
> X.Org version: 7.2.0
> maximum request size:  16777212 bytes
> motion buffer size:  256
> bitmap unit, bit order, padding:    32, LSBFirst, 32
> image byte order:    LSBFirst
> number of supported pixmap formats:    7
> supported pixmap formats:
>     depth 1, bits_per_pixel 1, scanline_pad 32
>     depth 4, bits_per_pixel 8, scanline_pad 32
>     depth 8, bits_per_pixel 8, scanline_pad 32
>     depth 15, bits_per_pixel 16, scanline_pad 32
>     depth 16, bits_per_pixel 16, scanline_pad 32
>     depth 24, bits_per_pixel 32, scanline_pad 32
>     depth 32, bits_per_pixel 32, scanline_pad 32
> keycode range:    minimum 8, maximum 255
> focus:  window 0x4c00010, revert to PointerRoot
> number of extensions:    33
>     BIG-REQUESTS
>     Composite
>     DAMAGE
>     DEC-XTRAP
>     DPMS
>     Extended-Visual-Information
>     GLX
>     MIT-SCREEN-SAVER
>     MIT-SHM
>     MIT-SUNDRY-NONSTANDARD
>     NV-CONTROL
>     NV-GLX
>     RECORD
>     RENDER
>     SECURITY
>     SHAPE
>     SYNC
>     TOG-CUP
>     X-Resource
>     XAccessControlExtension
>     XC-APPGROUP
>     XC-MISC
>     XFIXES
>     XFree86-Bigfont
>     XFree86-DGA
>     XFree86-Misc
>     XFree86-VidModeExtension
>     XINERAMA
>     XInputExtension
>     XKEYBOARD
>     XTEST
>     XVideo
>     XVideo-MotionCompensation
> default screen number:    0
> number of screens:    1
>
> screen #0:
>   dimensions:    3840x1024 pixels (1147x302 millimeters)
>   resolution:    85x86 dots per inch
>   depths (7):    24, 1, 4, 8, 15, 16, 32
>   root window id:    0x24c
>   depth of root window:    24 planes
>   number of colormaps:    minimum 1, maximum 1
>   default colormap:    0x20
>   default number of colormap cells:    256
>   preallocated pixels:    black 0, white 16777215
>   options:    backing-store NO, save-unders NO
>   largest cursor:    64x64
>   current input event mask:    0xfa4033
>     KeyPressMask             KeyReleaseMask           EnterWindowMask
>     LeaveWindowMask          KeymapStateMask        
> StructureNotifyMask SubstructureNotifyMask   SubstructureRedirectMask
> FocusChangeMask PropertyChangeMask       ColormapChangeMask
>   number of visuals:    81
>   default visual id:  0x21
>   visual:
>     visual id:    0x21
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x22
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x23
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x24
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x25
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x26
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x27
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x28
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x29
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x2a
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x2b
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x2c
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x2d
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x2e
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x2f
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x30
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x31
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x32
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x33
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x34
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x35
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x36
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x37
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x38
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x39
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x3a
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x3b
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x3c
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x3d
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x3e
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x3f
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x40
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x41
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x42
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x43
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x44
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x45
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x46
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x47
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x48
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x49
>     class:    TrueColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x4a
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x4b
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x4c
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x4d
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x4e
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x4f
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x50
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x51
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x52
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x53
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x54
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x55
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x56
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x57
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x58
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x59
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x5a
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x5b
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x5c
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x5d
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x5e
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x5f
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x60
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x61
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x62
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x63
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x64
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x65
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x66
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x67
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x68
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x69
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x6a
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x6b
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x6c
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x6d
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x6e
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x6f
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x70
>     class:    DirectColor
>     depth:    24 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>   visual:
>     visual id:    0x249
>     class:    TrueColor
>     depth:    32 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits


Reply | Threaded
Open this post in threaded view
|

Re: can't get amd64 squeak install working

Timmy Douglas-3
 
Martin Kuball <[hidden email]> writes:

> Everything looks good to me. But I'm not really an X11 expert either. But
> since you compiled your on VM you may try the following. Alter the code of
> sqUnixX11.c.
> 1. add a line
> extern int _Xdebug;
>    at the beginning.
> 2. add a line
>      _Xdebug = 1;
>    at the beginning of function initWindow
>  
> You can then run a debugger and find the line that's failing.
> X otherwise tends to batch things, to improve performance.
> Just found this by googling for errors. I haven't tried it. So you have to
> experiment a bit.

good call. The first problem is the XCreateColormap function:

    /* A visual that is not DefaultVisual requires its own color map.
       If visual is PseudoColor, the new color map is made elsewhere. */
    if ((stVisual != DefaultVisual(stDisplay, DefaultScreen(stDisplay))) &&
        (stVisual->class != PseudoColor))
      {
        stColormap= XCreateColormap(stDisplay,
                                    RootWindow(stDisplay, DefaultScreen(stDisplay)),
                                    stVisual,
                                    AllocNone);
        attributes.colormap= stColormap;
        valuemask |= CWColormap;
        parentValuemask |= CWColormap;
      }

1904            stColormap= XCreateColormap(stDisplay,
(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: 9
1908            attributes.colormap= stColormap;
(gdb)
1904            stColormap= XCreateColormap(stDisplay,
(gdb) print stDisplay
$1 = (Display *) 0x736d70
(gdb) print *stDisplay
$2 = <incomplete type>
(gdb) print stVisual
$3 = (Visual *) 0x72e730
(gdb) print *stVisual
$4 = {ext_data = 0x0, visualid = 585, class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255,
  bits_per_rgb = 8, map_entries = 256}


I don't know if I should be suspect or not that those pointers look
like 4-bytes pointers rather than 8-byte ones.



The problem is here:

  /* find the most suitable Visual */
  {
    /* preferred visuals in order of decreasing priority */
    static int trialVisuals[][2]= {
      { 32, TrueColor },
      { 32, DirectColor },
      { 32, StaticColor },
      { 32, PseudoColor },
      { 24, TrueColor },
      { 24, DirectColor },
      { 24, StaticColor },
      { 24, PseudoColor },
      { 16, TrueColor },
      { 16, DirectColor },
      { 16, StaticColor },
      { 16, PseudoColor },
      {  8, PseudoColor },
      {  8, DirectColor },
      {  8, TrueColor },
      {  8, StaticColor },
      {  0, 0 }
    };

    XVisualInfo viz;
    int i;

    for (i= 0; trialVisuals[i][0] != 0; ++i)
      {
#       if 0
        fprintf(stderr, "Trying %d bit %s.\n", trialVisuals[i][0],
                debugVisual(trialVisuals[i][1]));
#       endif
        if (XMatchVisualInfo(stDisplay, DefaultScreen(stDisplay),
                             trialVisuals[i][0], trialVisuals[i][1],
                             &viz) != 0) break;
      }
    if (trialVisuals [i][0] == 0)
      {
# if 0
        fprintf(stderr, "Using default visual.\n");
# endif
        stVisual= DefaultVisual(stDisplay, DefaultScreen(stDisplay));
        stDepth= DefaultDepth(stDisplay, DefaultScreen(stDisplay));
      }
    else
      {
        stVisual= viz.visual;
        stDepth= trialVisuals[i][0];
      }

/************* I ADDED THIS AND IT WORKED!!!!  *********************/
        stVisual= DefaultVisual(stDisplay, DefaultScreen(stDisplay));
        stDepth= DefaultDepth(stDisplay, DefaultScreen(stDisplay));
/******************************************************************/


  }



maybe someone could make this a command line option or look into it?
Reply | Threaded
Open this post in threaded view
|

Re: can't get amd64 squeak install working

Timmy Douglas-3
 
Timmy Douglas <[hidden email]> writes:

>  [snip]

that apparently wasn't the only problem. After I open up the
squeakmap browser to install some stuff:

timmy@timmy-desktop:~/src/squeak/seaside-test$ squeak

Segmentation fault

21987052 [] in >addressForName:timeout:
21987144 [] in >critical:
21986776 >ensure:
21986684 >critical:
21985916 >addressForName:timeout:
21984392 >httpGetDocument:args:accept:request:
21983576 >httpGet:args:accept:request:
21983392 >httpGet:args:accept:
21983300 >httpGet:accept:
21983208 >httpGet:
21982280 [] in >pingServer:
21981728 >on:do:
21981636 >pingServer:
21982188 [] in >findServer
21981544 >do:
21981820 [] in >findServer
21981388 >ensure:
21981296 >showWhile:
21980176 >findServer
21979784 >loadUpdatesFull:
21979692 >loadFull
21979564 >loadUpdates
21980084 [] in >loadUpdates
21979460 >ensure:
21979368 >showWhile:
21979900 [] in >loadUpdates
21979276 >on:do:
21979184 >loadUpdates
21979092 >on:
21714992 >newOn:
21714900 >new
21714808 >open
21714624 >doMenuItem:with:
21714532 [] in >invokeWithEvent:
21714440 >ensure:
21714348 >showWhile:
21714160 >invokeWithEvent:
21714068 >mouseUp:
21713976 >handleMouseUp:
21713844 >sentTo:
21713752 >handleEvent:
21713660 >dispatchDefault:with:
21713568 >dispatchEvent:with:
21713476 >processEvent:using:
21713384 >dispatchDefault:with:
21713276 >dispatchEvent:with:
21713144 >processEvent:using:
21713052 >processEvent:
21712960 >handleFocusEvent:
21712684 [] in >sendFocusEvent:to:clear:
21712776 [] in >becomeActiveDuring:
21712592 >on:do:
21712500 >becomeActiveDuring:
21712316 >sendFocusEvent:to:clear:
21712224 >sendEvent:focus:clear:
21712132 >sendMouseEvent:
21711988 >handleEvent:
21711704 >processEvents
21711796 [] in >doOneCycleNowFor:
21711612 >do:
21711520 >handsDo:
21711428 >doOneCycleNowFor:
21711336 >doOneCycleFor:
21711244 >doOneCycle
10424684 [] in >?
10424868 [] in >?
Aborted (core dumped)

should I open a new thread on this one?
It dies in the same place every time.
Reply | Threaded
Open this post in threaded view
|

Re: can't get amd64 squeak install working

David T. Lewis
 
On Thu, Jul 19, 2007 at 07:26:06PM -0400, Timmy Douglas wrote:

>  
> Timmy Douglas <[hidden email]> writes:
>
> >  [snip]
>
> that apparently wasn't the only problem. After I open up the
> squeakmap browser to install some stuff:
>
> timmy@timmy-desktop:~/src/squeak/seaside-test$ squeak
>
> Segmentation fault
>
> 21987052 [] in >addressForName:timeout:

Most likely you need to apply the fix for Mantis 5688:
  http://bugs.squeak.org/view.php?id=5688

> should I open a new thread on this one?
> It dies in the same place every time.

No, this is a known bug. But if the patch fixes your problem, please
enter a comment in the Mantis bug tracker page to say so. So far, nobody
has reviewed it or added any comments, so it has not been included in
any VMMaker updates.

Dave

Reply | Threaded
Open this post in threaded view
|

Re: can't get amd64 squeak install working

Philippe Marschall
 
2007/7/20, David T. Lewis <[hidden email]>:

>
> On Thu, Jul 19, 2007 at 07:26:06PM -0400, Timmy Douglas wrote:
> >
> > Timmy Douglas <[hidden email]> writes:
> >
> > >  [snip]
> >
> > that apparently wasn't the only problem. After I open up the
> > squeakmap browser to install some stuff:
> >
> > timmy@timmy-desktop:~/src/squeak/seaside-test$ squeak
> >
> > Segmentation fault
> >
> > 21987052 [] in >addressForName:timeout:
>
> Most likely you need to apply the fix for Mantis 5688:
>   http://bugs.squeak.org/view.php?id=5688
>
> > should I open a new thread on this one?
> > It dies in the same place every time.
>
> No, this is a known bug. But if the patch fixes your problem, please
> enter a comment in the Mantis bug tracker page to say so. So far, nobody
> has reviewed it or added any comments, so it has not been included in
> any VMMaker updates.

What made networking work for me was this patch:
http://lists.squeakfoundation.org/pipermail/vm-dev/2007-May/001297.html

Philippe
Reply | Threaded
Open this post in threaded view
|

Re: can't get amd64 squeak install working

Timmy Douglas-3
 
"Philippe Marschall" <[hidden email]> writes:

> 2007/7/20, David T. Lewis <[hidden email]>:
>>
>> On Thu, Jul 19, 2007 at 07:26:06PM -0400, Timmy Douglas wrote:
>> >
>> > Timmy Douglas <[hidden email]> writes:
>> >
>> > >  [snip]
>> >
>> > that apparently wasn't the only problem. After I open up the
>> > squeakmap browser to install some stuff:
>> >
>> > timmy@timmy-desktop:~/src/squeak/seaside-test$ squeak
>> >
>> > Segmentation fault
>> >
>> > 21987052 [] in >addressForName:timeout:
>>
>> Most likely you need to apply the fix for Mantis 5688:
>>   http://bugs.squeak.org/view.php?id=5688
>>
>> > should I open a new thread on this one?
>> > It dies in the same place every time.
>>
>> No, this is a known bug. But if the patch fixes your problem, please
>> enter a comment in the Mantis bug tracker page to say so. So far, nobody
>> has reviewed it or added any comments, so it has not been included in
>> any VMMaker updates.


I couldn't get it to file in on the image I tried it from.

>
> What made networking work for me was this patch:
> http://lists.squeakfoundation.org/pipermail/vm-dev/2007-May/001297.html

yeah I just used that. Everything but the SocketPlugin.c changes were
already in my vm sources so I just added two lines and recompiled and
it worked.


Thanks!