bugGNUstep - Bugs: bug #41274, Art backend don't work on x86_64

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #41274: Art backend don't work on x86_64

Submitted by:  Eugeny A. Rostovtsev <howarm>
Submitted on:  Sun 19 Jan 2014 07:22:52 AM UTC  
 
Category: BackendSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Closed

Tue 21 Jan 2014 02:35:29 AM UTC, comment #2:

cairo backend work fine, Thanks.

Eugeny A. Rostovtsev <howarm>
Sun 19 Jan 2014 10:47:03 AM UTC, comment #1:

First off, please remember that the ART backend has been deprecated in favour of the cairo backend. We still support it, but no further development is to be expected here.

The specific problem you got was caused by the type specific dispatch that your compiler supports. When the interface of the DPSImage::::: method was change I did forget to update the implementation in art. This should be fixed now in SVN. Please give it a try and report back.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Sun 19 Jan 2014 07:22:52 AM UTC, original submission:

On i586 it's all ok.

I have:
make: r36938
base: r37064
gui: r37078
back: r37066

$ GMines
GMines: Uncaught exception NSInvalidArgumentException, reason: [ARTGState-DPSimage:::::::::::] should be overridden by subclass
zsh: abort GMines

$ gdb GMines
GNU gdb (GDB) 7.5.0.20121002-alt4 (ALT Linux)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-alt-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/GMines...Missing separate debuginfo for /usr/bin/GMines
Try to install the hash file /usr/lib/debug/.build-id/cd/14f89e36a1a2c595445a61cf0a75628d8d6473.debug
(no debugging symbols found)...done.
(gdb) run
[...]
/usr/bin/GMines: Uncaught exception NSInvalidArgumentException, reason: [ARTGState-DPSimage:::::::::::] should be overridden by subclass

Program received signal SIGABRT, Aborted.
0x00007ffff65bc2a5 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);

(gdb) bt
#0 0x00007ffff65bc2a5 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff65bd728 in __GI_abort () at abort.c:90
#2 0x00007ffff6fa4c78 in _terminate () at NSException.m:754
#3 _NSFoundationUncaughtExceptionHandler (exception=<optimized out>) at NSException.m:778
#4 callUncaughtHandler (value=<optimized out>) at NSException.m:798
#5 0x00007ffff6b5dbc9 in objc_exception_throw (object=object@entry=0x171db60)
at /usr/src/debug/gnustep-objc2-1.7.0/eh_personality.c:185
#6 0x00007ffff6fa4929 in -[NSException raise] (self=0x171db60, _cmd=<optimized out>)
at NSException.m:970
#7 0x00007ffff7731b27 in -[NSApplication runModalForWindow:] (self=0x9c7270,
_cmd=0x7ffff7c5fa30 <_OBJC_SELECTOR_TABLE+1616>, theWindow=0xf28d20)
at NSApplication.m:1787
#8 0x00007ffff77199f8 in -[GSAlertPanel runModal] (self=0xf28d20,
_cmd=0x7ffff7c5fc80 <_OBJC_SELECTOR_TABLE+2208>) at NSAlert.m:814
#9 0x00007ffff771e1f8 in GSRunExceptionPanel (title=0xf225e0, exception=0xf104c0,
defaultButton=0xf1be00, alternateButton=0x0, otherButton=0xf1c540) at NSAlert.m:2108
#10 0x00007ffff772c6bc in _NSAppKitUncaughtExceptionHandler (exception=0xf104c0)
at NSApplication.m:136
#11 0x00007ffff6fa4b42 in callUncaughtHandler (value=0xf104c0) at NSException.m:786
#12 0x00007ffff6b5dbc9 in objc_exception_throw (object=object@entry=0xf104c0)
at /usr/src/debug/gnustep-objc2-1.7.0/eh_personality.c:185
#13 0x00007ffff6fa4929 in -[NSException raise] (self=0xf104c0, _cmd=<optimized out>)
at NSException.m:970
#14 0x00007ffff6fa4d9d in +[NSException raise:format:] (
self=0x7ffff7478740 <_OBJC_Class_NSException>, _cmd=<optimized out>,
name=0x7ffff74787b0 <_OBJC_INSTANCE_4>, format=0x7ffff7523980 <_OBJC_INSTANCE_8>)
at NSException.m:838
#15 0x00007ffff70e9353 in -[NSObject(GNUstepBase) subclassResponsibility:] (self=0xf089d0,
_cmd=<optimized out>, aSel=<optimized out>) at NSObject+GNUstepBase.m:125
#16 0x00007fffeec97903 in -[GSGState(Ops) DPSimage:::::::::::] (self=0xf089d0,
---Type <return> to continue, or q <return> to quit---
_cmd=0x7fffeef26cb0 <_OBJC_SELECTOR_TABLE+2224>, matrix=0xf0bf70, pixelsWide=64,
pixelsHigh=64, bitsPerSample=8, samplesPerPixel=3, bitsPerPixel=24, bytesPerRow=192,
isPlanar=0 '\000', hasAlpha=0 '\000',
colorSpaceName=0x7ffff7d93140 <_OBJC_INSTANCE_72>, data=0x7fffffffc420)
at GSGState.m:1150
#17 0x00007fffeec9055f in -[GSContext(NSGraphics) NSDrawBitmap:::::::::::] (self=0xf079b0,
_cmd=0x7fffeef26c60 <_OBJC_SELECTOR_TABLE+2144>, rect=..., pixelsWide=64,
pixelsHigh=64, bitsPerSample=8, samplesPerPixel=3, bitsPerPixel=24, bytesPerRow=192,
isPlanar=0 '\000', hasAlpha=0 '\000',
colorSpaceName=0x7ffff7d93140 <_OBJC_INSTANCE_72>, data=0x7fffffffc420)
at GSContext.m:961
#18 0x00007fffeec90263 in -[GSContext(Ops) GSDrawImage::] (self=0xf079b0,
_cmd=0x7ffff7c755c0 <_OBJC_SELECTOR_TABLE+896>, rect=..., imageref=0xef33e0)
at GSContext.m:906
#19 0x00007ffff77517c0 in -[NSBitmapImageRep draw] (self=0xef33e0,
_cmd=0x7ffff7cd5010 <_OBJC_SELECTOR_TABLE+2416>) at NSBitmapImageRep.m:1388
#20 0x00007ffff77f2dd4 in -[NSImageRep drawInRect:] (self=0xef33e0,
_cmd=0x7ffff7cd50e0 <_OBJC_SELECTOR_TABLE+2624>, aRect=...) at NSImageRep.m:545
#21 0x00007ffff77f464e in -[NSImageRep guiDrawInRect:fromRect:operation:fraction:] (
self=0xef33e0, _cmd=0x7ffff7cd5210 <_OBJC_SELECTOR_TABLE+2928>, dstRect=...,
srcRect=..., op=2, delta=1) at NSImageRep.m:778
#22 0x00007ffff77f4d8f in -[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:] (self=0xef33e0, _cmd=0x7ffff7cd1150 <_OBJC_SELECTOR_TABLE+3024>, dstRect=...,
srcRect=..., op=2, delta=1, respectFlipped=1 '\001', hints=0x0) at NSImageRep.m:871
#23 0x00007ffff77e91cb in -[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:] (self=0xef1640, _cmd=0x7ffff7c8af60 <_OBJC_SELECTOR_TABLE+2144>, dstRect=...,
srcRect=..., op=2, delta=1, respectFlipped=1 '\001', hints=0x0) at NSImage.m:921
#24 0x00007ffff777b7c1 in -[NSCell drawInteriorWithFrame:inView:] (self=0xef1750,
_cmd=0x7ffff7c8af80 <_OBJC_SELECTOR_TABLE+2176>, cellFrame=..., controlView=0xef2f90)
at NSCell.m:2045
#25 0x00007ffff777b8ad in -[NSCell drawWithFrame:inView:] (self=0xef1750,
---Type <return> to continue, or q <return> to quit---
_cmd=0x7ffff7c69aa0 <_OBJC_SELECTOR_TABLE+2496>, cellFrame=..., controlView=0xef2f90)
at NSCell.m:2069
#26 0x00007ffff772dbda in -[NSAppIconView drawRect:] (self=0xef2f90,
_cmd=0x7ffff7d72c20 <_OBJC_SELECTOR_TABLE+4224>, rect=...) at NSApplication.m:569
#27 0x00007ffff790bfcd in -[NSView displayRectIgnoringOpacity:inContext:] (self=0xef2f90,
_cmd=0x7ffff7d72c00 <_OBJC_SELECTOR_TABLE+4192>, aRect=..., context=0xdef4c0)
at NSView.m:2570
#28 0x00007ffff790c285 in -[NSView displayRectIgnoringOpacity:inContext:] (self=0xde1bb0,
_cmd=0x7ffff7d72c00 <_OBJC_SELECTOR_TABLE+4192>, aRect=..., context=0xdef4c0)
at NSView.m:2604
#29 0x00007ffff790bc37 in -[NSView displayRectIgnoringOpacity:] (self=0xde1bb0,
_cmd=0x7ffff7d72be0 <_OBJC_SELECTOR_TABLE+4160>, aRect=...) at NSView.m:2519
#30 0x00007ffff790b812 in -[NSView displayIfNeededInRectIgnoringOpacity:] (self=0xde1bb0,
_cmd=0x7ffff7d72bc0 <_OBJC_SELECTOR_TABLE+4128>, aRect=...) at NSView.m:2450
#31 0x00007ffff790b676 in -[NSView displayIfNeededInRect:] (self=0xde1bb0,
_cmd=0x7ffff7d72bb0 <_OBJC_SELECTOR_TABLE+4112>, aRect=...) at NSView.m:2428
#32 0x00007ffff790b541 in -[NSView displayIfNeeded] (self=0xde1bb0,
_cmd=0x7ffff7d7dcc0 <_OBJC_SELECTOR_TABLE+4928>) at NSView.m:2410
#33 0x00007ffff791ddca in -[NSWindow orderWindow:relativeTo:] (self=0xdcf480,
_cmd=0x7ffff7c699a0 <_OBJC_SELECTOR_TABLE+2240>, place=NSWindowAbove, otherWin=-1)
at NSWindow.m:1826
#34 0x00007ffff772d4f8 in -[NSIconWindow orderWindow:relativeTo:] (self=0xdcf480,
_cmd=0x7ffff7d7dc30 <_OBJC_SELECTOR_TABLE+4784>, place=NSWindowAbove, otherWin=-1)
at NSApplication.m:448
#35 0x00007ffff791da4b in -[NSWindow orderFrontRegardless] (self=0xdcf480,
_cmd=0x7ffff7c69b70 <_OBJC_SELECTOR_TABLE+2704>) at NSWindow.m:1735
#36 0x00007ffff7736ce7 in -[NSApplication(Private) _appIconInit] (self=0x9c7270,
_cmd=0x7ffff7c69e80 <_OBJC_SELECTOR_TABLE+3488>) at NSApplication.m:3818
#37 0x00007ffff772f10c in -[NSApplication _init] (self=0x9c7270,
_cmd=0x7ffff7c69ea0 <_OBJC_SELECTOR_TABLE+3520>) at NSApplication.m:926
#38 0x00007ffff7063ec5 in -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:w---Type <return> to continue, or q <return> to quit---
ithObject:waitUntilDone:modes:] (self=0x9c7270, _cmd=<optimized out>,
aSelector=0x7ffff7c69ea0 <_OBJC_SELECTOR_TABLE+3520>, anObject=0x9c7270,
aFlag=<optimized out>, anArray=0x9fcfd0) at NSThread.m:1204
#39 0x00007ffff772f245 in -[NSApplication init] (self=0x9c7270,
_cmd=0x7ffff7c69980 <_OBJC_SELECTOR_TABLE+2208>) at NSApplication.m:982
#40 0x00007ffff772ed5d in +[NSApplication sharedApplication] (
self=0x7ffff7c68be0 <_OBJC_Class_NSApplication>, _cmd=0x60a6c0) at NSApplication.m:852
#41 0x00000000004043bd in main ()

(gdb) q

$ strace -ff GMines - see attachment

Eugeny A. Rostovtsev <howarm>

 

Attached Files
file #30307:  straceGMines added by howarm (471KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by howarm (Submitted the item)
  • -unavailable- added by howarm (strace -ff GMines)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Jan 2014 08:05:16 AM UTCFredKieferStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Sun 19 Jan 2014 10:47:03 AM UTCFredKieferCategoryGui/AppKit=>Backend
      StatusNone=>Ready For Test
      Assigned toNone=>FredKiefer
      Open/ClosedOpen=>In Test
      SummaryDon\'t work on x86_64=>Art backend don't work on x86_64
    Sun 19 Jan 2014 07:22:52 AM UTChowarmAttached File-=>Added straceGMines, #30307
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1