On 13.04.2013 07:12, Germán A. Arias wrote:
El jue, 11-04-2013 a las 19:50 +0200, Georg Fleischmann escribió:
Hi Fred,
I finally tested Cenon 4 with the latest GNUstep packages (gui 0.23.1, base
1.24.4) on SUSE 12.3, 64 bit.
Cenon compiles and runs with your fixes applied. I also added a few more
improvements.
All imports including DXF work, and I didn't get a crash.
The Cairo backend seems to have an issue with the drawing area of rotated text,
which is only partly displayed. The Art backend displays rotated text correctly.
I tested with German language too. This gives me a warning for the strings file
(only) and wrong umlauts. I don't convert special characters from UTF-8 to \U
notation yet.
Apart from the strings file UTF-8 works: Interface files (nib, xib) and Cenon
documents show correct umlauts.
A new source package of Cenon 4.0.2 is available at www.Cenon.info.
This should be a portability problem in GNUstep, because Cenon still
crash on my machine. I get (Cenon 4.0.2, GCC 4.6.3 and GNUstep SVN):
(gdb) backtrace
#0 0x00132416 in __kernel_vsyscall ()
#1 0x00af31df in raise () from /lib/i386-linux-gnu/libc.so.6
#2 0x00af6825 in abort () from /lib/i386-linux-gnu/libc.so.6
#3 0x00a67efc in _objc_abort ()
from /usr/lib/i386-linux-gnu/libobjc.so.3
#4 0x00a67952 in objc_sizeof_type ()
from /usr/lib/i386-linux-gnu/libobjc.so.3
#5 0x00a67e30 in objc_promoted_size ()
from /usr/lib/i386-linux-gnu/libobjc.so.3
#6 0x0074abb8 in -[NSMethodSignature _initWithObjCTypes:]
(self=0x8a16fc4,
_cmd=0x9e3b58, t=0x9b00c0 "@\005\233") at NSMethodSignature.m:437
#7 0x0074aa2c in +[NSMethodSignature signatureWithObjCTypes:]
(self=0x9e3be0,
_cmd=0xa23b80, t=0x9b00c0 "@\005\233") at NSMethodSignature.m:461
#8 0x0082944b in gs_objc_msg_forward2 (receiver=0x84fa47c,
sel=0x5a5218)
at GSFFIInvocation.m:163
#9 0x00a6e413 in objc_msg_lookup ()
from /usr/lib/i386-linux-gnu/libobjc.so.3
#10 0x00221843 in -[NSBox(Private) calcSizesAllowingNegative:] (
self=0xbfffd450, _cmd=0x89da48c, aFlag=24 '\030') at NSBox.m:789
#11 0x00000000 in ?? ()
(gdb)
I would expect that this issue isn't related to Cenon. The line in NSBox
that causes this is:
NSSize borderSize = [theme sizeForBorderType: _border_type];
I would expect that it is the specific theme you are using that is
causing the problem. Most likely the theme still uses a wrong signature
for the sizeForBorderType: method and the runtime detects this and tries
to do some magic in the background, but falls over its own feet for what
ever reason. I would suggest to recompile the theme and fix any compiler
warnings you see in that process.
As for the runtime issue, somebody has to come up with an idea what the
signature "@\005\233" is supposed to mean and why it crashes the runtime.
Hope this helps,
Fred
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev