[Bugs] #380 UNSP: etoys: not starting up (segfault)

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Thu Feb 19 06:55:45 EST 2009


#380: etoys: not starting up (segfault)
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  bert                       
        Type:  defect                     |         Status:  assigned                   
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  EToys                      |        Version:  Git as of bugdate          
    Severity:  Major                      |     Resolution:                             
    Keywords:                             |   Distribution:  Ubuntu                     
Status_field:  Unconfimed                 |  
------------------------------------------+---------------------------------
Changes (by bert):

 * cc: etoys-notify at lists.laptop.org (added)
  * status:  new => assigned


Comment:

 Looks like a 64 bit problem. Could you try applying this fix in sugar-
 jhbuild/source/squeak?

 {{{
 Index: platforms/unix/vm-display-X11/sqUnixX11.c
 ===================================================================
 --- platforms/unix/vm-display-X11/sqUnixX11.c   (revision 1965)
 +++ platforms/unix/vm-display-X11/sqUnixX11.c   (working copy)
 @@ -3944,7 +3944,7 @@
    if (!(major > 0 || minor >= 5))
      return 0;

 -  image= XCreateImage(stDisplay, DefaultVisual(stDisplay,
 DefaultScreen(stDisplay)), 32, ZPixmap, 0, (char *)cursorBitsIndex,
 extentX, extentY, 32, 0);
 +  image= XCreateImage(stDisplay, DefaultVisual(stDisplay,
 DefaultScreen(stDisplay)), 32, ZPixmap, 0, (char
 *)pointerForOop(cursorBitsIndex), extentX, extentY, 32, 0);
    pixmap= XCreatePixmap (stDisplay, DefaultRootWindow(stDisplay),
 extentX, extentY, 32);
    gc= XCreateGC(stDisplay, pixmap, 0, 0);
    XPutImage(stDisplay, pixmap, gc, image, 0, 0, 0, 0, extentX, extentY);
 }}}

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/380#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list