emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X 10.2.2 - Need to Recompile


From: Thorbjørn Ravn Andersen
Subject: Re: Mac OS X 10.2.2 - Need to Recompile
Date: Wed, 13 Nov 2002 11:05:04 +0100
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; da-DK; rv:1.1) Gecko/20020826

Steven Tamm wrote:

I just updated to Mac OS X 10.2.2 and the emacs I was using (compiled in 10.2.1) stopped working (similar to the update between 10.1 and 10.2). Recompiling fixed everything, so it's not a huge problem. Seems that there is a new version of libSystem.B included in 10.2.2, which is incompatible.

The error I got was here:

#0  0x90004248 in szone_size ()
#1  0x000b0b0c in xrealloc (block=0x0, size=321) at alloc.c:542
#2 0x00006240 in adjust_frame_message_buffer (f=0x63aec0) at dispnew.c:2435
#3  0x00005c20 in adjust_frame_glyphs (f=0x63aec0) at dispnew.c:2133
#4  0x00005bcc in adjust_frame_glyphs_initially () at dispnew.c:2115
#5  0x0000c6e4 in init_display () at dispnew.c:6537

It occurs on the first call to realloc with a non-empty block. The darwin source is hard to follow at this point as malloc blocks are controlled in objc code.

Does anyone else see this problem?

Yes.  My Emacs did the same.

In gdb with "-nw" the stack trace is as follows:

#0  0x90004248 in szone_size ()
#1  0x000b0e30 in xrealloc (block=0x0, size=481) at alloc.c:542
#2  0x00006240 in adjust_frame_message_buffer (f=0x645ec0) at dispnew.c:2435
#3  0x00005c20 in adjust_frame_glyphs (f=0x645ec0) at dispnew.c:2133
#4  0x00005bcc in adjust_frame_glyphs_initially () at dispnew.c:2115
#5  0x0000c6e4 in init_display () at dispnew.c:6537
#6  0x00061b4c in main (argc=2, argv=0xbffffb98, envp=0x0) at emacs.c:1544
#7 0x000038a8 in _start (argc=50, argv=0x2, envp=0x23b284) at /SourceCache/Csu/Csu-45/crt.c:267
#8  0x00003728 in start ()

Then trying to restart with a file name:

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x90013b70 in large_entry_for_pointer_no_lock ()
(gdb) bt
#0  0x90013b70 in large_entry_for_pointer_no_lock ()
#1  0x90004204 in szone_size ()
#2  0x000b0e30 in xrealloc (block=0x0, size=41) at alloc.c:542
#3  0x00006240 in adjust_frame_message_buffer (f=0x645ec0) at dispnew.c:2435
#4  0x00005c20 in adjust_frame_glyphs (f=0x645ec0) at dispnew.c:2133
#5  0x00005bcc in adjust_frame_glyphs_initially () at dispnew.c:2115
#6  0x00061b4c in main (argc=2, argv=0xbffffb98, envp=0x646) at emacs.c:1544
#7 0x000038a8 in _start (argc=50, argv=0x2, envp=0x23b284) at /SourceCache/Csu/Csu-45/crt.c:267
#8  0x00003728 in start ()

I'll save this binary if you need me to do additional testing.




--
 Thorbjørn Ravn Andersen      Scandiatransplant
                              Skejby Sygehus, indgang 3
 +45 89 49 53 01              DK-8200 Århus N
http://biobase.dk/~tra





reply via email to

[Prev in Thread] Current Thread [Next in Thread]