Hi,

What I said above wasn't  completely true.

2009/8/8 Frederico Muñoz <[email protected]>:
> Given the obvious errors I'm getting (...)

The error that was getting was:

$ ./configure --with-ns
...
$ make
(...)
Loading international/mule-cmds...
Loading case-table...
Loading international/characters...
make[1]: *** [bootstrap-emacs] Segmentation fault
make[1]: Leaving directory `/home/fsmunoz/src/GNUstep/apps/emacs-23.1/src'
make: *** [src] Error 2
$

I'm now trying to use same make flags (thanks to David and Deek in
#gnustep for their pointers) to drill down on this a bit more and
better identify the source of the error.


I then used something I read in several lists, which was:

$ ./configure --with-x=no
$ make bootstrap
$ ./configure --with-ns
$ make
$ make install

This actually builds, and creates an Emacs.app in nextstep. So
assuming that this last method is supposed to produce a working binary
a change in the INSTALL instructions could be helpful in the Emacs
documentation.

Anyway, it ends up not working. I'm attaching the backtrace just for
completeness. It's inside GNUstep code, I'm using the cairo backend,
I'll build the other backends again to see if this happens.

Best regards,

Frederico
#0  0x0011f1fa in objc_msg_lookup () from /usr/lib/libobjc.so.2
#1  0x081f880f in ns_retain_object (obj=0x2c00017) at nsterm.m:504
#2  0x08224cc2 in XGetImage (display=0x8989070, pixmap=0x2c00017, x=0, y=0, 
width=64, height=64, plane_mask=4294967295, format=2) at image.c:392
#3  0x00d054a2 in RGetXImage (context=0x8aeafc0, d=46137367, x=0, y=0, 
width=64, height=64) at xutil.c:229
#4  0x00d3241d in -[XGGState(Ops) DPSimage:::::::::::] (self=0x8b192b8, 
_cmd=0xd4bb10, matrix=0x8b19520, pixelsWide=64, pixelsHigh=64, bitsPerSample=8, 
samplesPerPixel=4, bitsPerPixel=32,
    bytesPerRow=256, isPlanar=0 '\0', hasAlpha=1 '\1', colorSpaceName=0x838870, 
data=0xbfffd3e8) at XGGState.m:1710
#5  0x00cf0188 in -[GSContext(NSGraphics) NSDrawBitmap:::::::::::] 
(self=0x8b14490, _cmd=0xd4bae8, rect={origin = {x = 0, y = 0}, size = {width = 
64, height = 64}}, pixelsWide=64,
    pixelsHigh=64, bitsPerSample=8, samplesPerPixel=4, bitsPerPixel=32, 
bytesPerRow=256, isPlanar=0 '\0', hasAlpha=1 '\1', colorSpaceName=0x838870, 
data=0xbfffd3e8) at GSContext.m:884
#6  0x00ceff74 in -[GSContext(Ops) GSDrawImage::] (self=0x8b14490, 
_cmd=0x796160, rect={origin = {x = 0, y = 0}, size = {width = 64, height = 
64}}, imageref=0x8b0c980) at GSContext.m:831
#7  0x0051040a in -[NSBitmapImageRep draw] (self=0x8b0c980, _cmd=0x7cecc8) at 
NSBitmapImageRep.m:1386
#8  0x0059f921 in -[NSImageRep drawInRect:] (self=0x8b0c980, _cmd=0x7cca80, 
aRect={origin = {x = 0, y = 0}, size = {width = 64, height = 64}}) at 
NSImageRep.m:488
#9  0x00598533 in -[NSImage drawRepresentation:inRect:] (self=0x8b0cad0, 
_cmd=0x7cca10, imageRep=0x8b0c980, aRect={origin = {x = 0, y = 0}, size = 
{width = 64, height = 64}}) at NSImage.m:977
#10 0x0059c1a5 in -[NSImage(Private) _doImageCache:] (self=0x8b0cad0, 
_cmd=0x7cc9f0, rep=0x8b128c0) at NSImage.m:1885
#11 0x005973e5 in -[NSImage compositeToPoint:fromRect:operation:] 
(self=0x8b0cad0, _cmd=0x7cc9e0, aPoint={x = 0, y = 0}, aRect={origin = {x = 0, 
y = 0}, size = {width = 64, height = 64}},
    op=NSCompositeSourceOver) at NSImage.m:760
#12 0x005972ee in -[NSImage compositeToPoint:operation:] (self=0x8b0cad0, 
_cmd=0x7a37e0, aPoint={x = 0, y = 0}, op=NSCompositeSourceOver) at NSImage.m:737
#13 0x00535ec9 in -[NSCell drawInteriorWithFrame:inView:] (self=0x8b0cb60, 
_cmd=0x7a37f0, cellFrame={origin = {x = 0, y = 0}, size = {width = 64, height = 
64}}, controlView=0x8b0cba0)
    at NSCell.m:1982
#14 0x00535f9d in -[NSCell drawWithFrame:inView:] (self=0x8b0cb60, 
_cmd=0x78f228, cellFrame={origin = {x = 0, y = 0}, size = {width = 64, height = 
64}}, controlView=0x8b0cba0)
    at NSCell.m:2006
#15 0x004f3792 in -[NSAppIconView drawRect:] (self=0x8b0cba0, _cmd=0x825018, 
rect={origin = {x = 0, y = 0}, size = {width = 64, height = 64}}) at 
NSApplication.m:512
#16 0x00672267 in -[NSView displayRectIgnoringOpacity:inContext:] 
(self=0x8b0cba0, _cmd=0x825008, aRect={origin = {x = 0, y = 0}, size = {width = 
64, height = 64}}, context=0x8aed430)
    at NSView.m:2418
#17 0x0067255f in -[NSView displayRectIgnoringOpacity:inContext:] 
(self=0x8ae8f68, _cmd=0x825008, aRect={origin = {x = 0, y = 0}, size = {width = 
64, height = 64}}, context=0x8aed430)
    at NSView.m:2451
#18 0x00671f5d in -[NSView displayRectIgnoringOpacity:] (self=0x8ae8f68, 
_cmd=0x824ff8, aRect={origin = {x = 0, y = 0}, size = {width = 64, height = 
64}}) at NSView.m:2364
#19 0x00671b7f in -[NSView displayIfNeededInRectIgnoringOpacity:] 
(self=0x8ae8f68, _cmd=0x824fe8, aRect={origin = {x = 0, y = 0}, size = {width = 
64, height = 64}}) at NSView.m:2296
#20 0x00671a02 in -[NSView displayIfNeededInRect:] (self=0x8ae8f68, 
_cmd=0x824fe0, aRect={origin = {x = 0, y = 0}, size = {width = 64, height = 
64}}) at NSView.m:2274
#21 0x006718c4 in -[NSView displayIfNeeded] (self=0x8ae8f68, _cmd=0x82b698) at 
NSView.m:2256
#22 0x006814ce in -[NSWindow orderWindow:relativeTo:] (self=0x8ae2da0, 
_cmd=0x78f1c0, place=NSWindowAbove, otherWin=-1) at NSWindow.m:1689
#23 0x004f328a in -[NSIconWindow orderWindow:relativeTo:] (self=0x8ae2da0, 
_cmd=0x82b668, place=NSWindowAbove, otherWin=-1) at NSApplication.m:434
#24 0x00681225 in -[NSWindow orderFrontRegardless] (self=0x8ae2da0, 
_cmd=0x78f298) at NSWindow.m:1612
#25 0x004fcd88 in -[NSApplication(Private) _appIconInit] (self=0x8971650, 
_cmd=0x78f470) at NSApplication.m:3597
#26 0x004f50f6 in -[NSApplication finishLaunching] (self=0x8971650, 
_cmd=0x78f600) at NSApplication.m:980
#27 0x004f6ef7 in -[NSApplication run] (self=0x8971650, _cmd=0x83a9708) at 
NSApplication.m:1455
#28 0x08205778 in ns_term_init (display_name=140132603) at nsterm.m:3995
#29 0x0820e132 in Fx_open_connection (display=140132603, 
resource_string=138609953, must_succeed=138610001) at nsfns.m:1738
#30 0x081980a5 in Ffuncall (nargs=4, args=0xbfffe180) at eval.c:3051
#31 0x081d3952 in Fbyte_code (bytestr=137453771, vector=137453788, maxdepth=48) 
at bytecode.c:678
#32 0x0819a3db in funcall_lambda (fun=<value optimized out>, nargs=<value 
optimized out>, arg_vector=0xbfffe324) at eval.c:3232
#33 0x08197f9e in Ffuncall (nargs=1, args=0xbfffe320) at eval.c:3091
#34 0x081d3952 in Fbyte_code (bytestr=136995803, vector=136995828, maxdepth=32) 
at bytecode.c:678
#35 0x08199f04 in Feval (form=136995789) at eval.c:2382
#36 0x0819abf4 in internal_lisp_condition_case (var=138899185, 
bodyform=136995789, handlers=136995925) at eval.c:1457
#37 0x081d42d3 in Fbyte_code (bytestr=136994619, vector=136994636, maxdepth=56) 
at bytecode.c:868
#38 0x0819a3db in funcall_lambda (fun=<value optimized out>, nargs=<value 
optimized out>, arg_vector=0xbfffe714) at eval.c:3232
#39 0x08197f9e in Ffuncall (nargs=1, args=0xbfffe710) at eval.c:3091
#40 0x081d3952 in Fbyte_code (bytestr=136991227, vector=136991244, maxdepth=48) 
at bytecode.c:678
#41 0x0819a3db in funcall_lambda (fun=<value optimized out>, nargs=<value 
optimized out>, arg_vector=0xbfffe820) at eval.c:3232
#42 0x0819a634 in apply_lambda (fun=136991204, args=138609953, eval_flag=1) at 
eval.c:3156
#43 0x08199c13 in Feval (form=139478957) at eval.c:2436
#44 0x08126742 in top_level_2 () at keyboard.c:1368
#45 0x08197310 in internal_condition_case (bfun=0x8126720 <top_level_2>, 
handlers=138899185, hfun=0x812b580 <cmd_error>) at eval.c:1512
#46 0x0812b2a4 in top_level_1 () at keyboard.c:1376
#47 0x08197421 in internal_catch (tag=138895209, func=0x812b210 <top_level_1>, 
arg=138609953) at eval.c:1248
#48 0x0812b340 in command_loop () at keyboard.c:1331
#49 0x0812b78e in recursive_edit_1 () at keyboard.c:953
#50 0x0812b8de in Frecursive_edit () at keyboard.c:1015
#51 0x0811f0d0 in main (argc=1, argv=0xbfffefb4) at emacs.c:1852
_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to