Opened 13 years ago

Closed 13 years ago

#33614 closed defect (duplicate)

xemacs crashes when you enter font-lock-mode

Reported by: rhstanton Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: xemacs

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Start up the latest xemacs (21.4.22), and execute

M-x font-lock-mode

xemacs almost immediately crashes with a segmentation fault.

In case it's useful, here's the error entry in my console:

Process:         xemacs-21.4.22 [8932]
Path:            /opt/local/bin/xemacs-21.4.22
Identifier:      xemacs-21.4.22
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  ??? [1]

Date/Time:       2012-03-13 15:04:53.087 -0700
OS Version:      Mac OS X 10.7.3 (11D50)
Report Version:  9

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000280000002c

VM Regions Near 0x280000002c:
    MALLOC_LARGE           0000000101800000-0000000102399000 [ 11.6M] rw-/rwx SM=PRV  
--> 
    STACK GUARD            00007fff5bc00000-00007fff5f400000 [ 56.0M] ---/rwx SM=NUL  stack guard for thread 0

Application Specific Information:
objc[8932]: garbage collection is OFF

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff913b982a __kill + 10
1   xemacs                        	0x0000000100035d25 fatal_error_signal + 309
2   libsystem_c.dylib             	0x00007fff8fb10cfa _sigtramp + 26
3   libX11.6.dylib                	0x0000000100555722 XDrawLine + 50
4   xemacs                        	0x000000010015fbdf GaugeExpose + 511
5   libXt.6.dylib                 	0x00000001004ee59d SendExposureEvent + 141
6   libXt.6.dylib                 	0x00000001004ece07 XtDispatchEventToWidget + 1047
7   libXt.6.dylib                 	0x00000001004ed4f8 _XtDefaultDispatcher + 280
8   libXt.6.dylib                 	0x00000001004ed310 XtDispatchEvent + 256
9   libXt.6.dylib                 	0x00000001004f8962 XtAppProcessEvent + 1042
10  xemacs                        	0x00000001001288bd emacs_Xt_event_pending_p + 349
11  xemacs                        	0x0000000100077fda Fdispatch_non_command_events + 122
12  xemacs                        	0x000000010003906f Feval + 1919
13  xemacs                        	0x000000010003f1e3 condition_case_3 + 675
14  xemacs                        	0x0000000100012186 execute_rare_opcode + 230
15  xemacs                        	0x000000010001276b execute_optimized_program + 171
16  xemacs                        	0x000000010000f816 funcall_compiled_function + 486
17  xemacs                        	0x0000000100039c4e Ffuncall + 1038
18  xemacs                        	0x0000000100012932 execute_optimized_program + 626
19  xemacs                        	0x000000010000f816 funcall_compiled_function + 486
20  xemacs                        	0x0000000100039c4e Ffuncall + 1038
21  xemacs                        	0x0000000100012932 execute_optimized_program + 626
22  xemacs                        	0x000000010000f816 funcall_compiled_function + 486
23  xemacs                        	0x0000000100039c4e Ffuncall + 1038
24  xemacs                        	0x0000000100012932 execute_optimized_program + 626
25  xemacs                        	0x000000010000f816 funcall_compiled_function + 486
26  xemacs                        	0x0000000100039c4e Ffuncall + 1038
27  xemacs                        	0x0000000100012932 execute_optimized_program + 626
28  xemacs                        	0x000000010000f816 funcall_compiled_function + 486
29  xemacs                        	0x0000000100039c4e Ffuncall + 1038
30  xemacs                        	0x0000000100012932 execute_optimized_program + 626
31  xemacs                        	0x000000010000f816 funcall_compiled_function + 486
32  xemacs                        	0x0000000100039c4e Ffuncall + 1038
33  xemacs                        	0x0000000100012932 execute_optimized_program + 626
34  xemacs                        	0x000000010000f816 funcall_compiled_function + 486
35  xemacs                        	0x0000000100039c4e Ffuncall + 1038
36  xemacs                        	0x0000000100012932 execute_optimized_program + 626
37  xemacs                        	0x000000010000f816 funcall_compiled_function + 486
38  xemacs                        	0x0000000100039c4e Ffuncall + 1038
39  xemacs                        	0x0000000100012932 execute_optimized_program + 626
40  xemacs                        	0x000000010000f816 funcall_compiled_function + 486
41  xemacs                        	0x0000000100039c4e Ffuncall + 1038
42  xemacs                        	0x000000010001590b Fcall_interactively + 7739
43  xemacs                        	0x000000010003875e Fcommand_execute + 366
44  xemacs                        	0x0000000100039abe Ffuncall + 638
45  xemacs                        	0x0000000100012932 execute_optimized_program + 626
46  xemacs                        	0x000000010000f816 funcall_compiled_function + 486
47  xemacs                        	0x0000000100039c4e Ffuncall + 1038
48  xemacs                        	0x000000010001590b Fcall_interactively + 7739
49  xemacs                        	0x000000010003875e Fcommand_execute + 366
50  xemacs                        	0x000000010007ad77 execute_command_event + 535
51  xemacs                        	0x0000000100077e52 Fdispatch_event + 1074
52  xemacs                        	0x000000010001c0d7 Fcommand_loop_1 + 359
53  xemacs                        	0x000000010003c6c3 condition_case_1 + 419
54  xemacs                        	0x000000010001c23a command_loop_2 + 58
55  xemacs                        	0x000000010003af2b internal_catch + 187
56  xemacs                        	0x000000010001c5f6 initial_command_loop + 374
57  xemacs                        	0x0000000100035827 xemacs_21_4_22_i386_apple_darwin11_3_0 + 5031
58  xemacs                        	0x000000010003593a main + 186
59  xemacs                        	0x0000000100000e54 start + 52

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000000000000b  rcx: 0x00007fff5fbfc6d8  rdx: 0x0000000000000000
  rdi: 0x00000000000022e4  rsi: 0x000000000000000b  rbp: 0x00007fff5fbfc6f0  rsp: 0x00007fff5fbfc6d8
   r8: 0x0000000000000001   r9: 0x0000000000000001  r10: 0x00000001001dc148  r11: 0xffffff80002d8220
  r12: 0x0000000000000002  r13: 0x0000002800000014  r14: 0x000000000060009c  r15: 0x000000000000000a
  rip: 0x00007fff913b982a  rfl: 0x0000000000000206  cr2: 0x000000010e5bd000
Logical CPU: 0

Binary Images:
       0x100000000 -        0x1001b7fff +xemacs (??? - ???) <8F0EF1D2-852A-32EE-B017-A4EC2FCDA8E6> /opt/local/bin/xemacs
       0x100374000 -        0x1003aeff7 +libXaw3d.8.dylib (9.0.0 - compatibility 9.0.0) <055FCE1D-0034-3B09-9DAE-AD0459A5E34D> /opt/local/lib/libXaw3d.8.dylib
       0x1003c7000 -        0x10041efff +libtiff.3.dylib (13.5.0 - compatibility 13.0.0) <71944597-B25A-36F7-8B64-003518533A22> /opt/local/lib/libtiff.3.dylib
       0x10042a000 -        0x100448fff +libpng14.14.dylib (24.0.0 - compatibility 24.0.0) <B9D43985-A2B2-3F6C-A61B-5A29B7FB1495> /opt/local/lib/libpng14.14.dylib
       0x100450000 -        0x100485ff7 +libjpeg.8.dylib (13.0.0 - compatibility 13.0.0) <228AD064-3EE9-3B60-9F81-E21CD9130165> /opt/local/lib/libjpeg.8.dylib
       0x10048c000 -        0x10049dff7 +libz.1.dylib (1.2.6 - compatibility 1.0.0) <7D5C72D0-3BC3-3D79-8636-A82FF39AD49F> /opt/local/lib/libz.1.dylib
       0x1004a1000 -        0x1004a3ff7 +libcompface.0.dylib (1.5.2 - compatibility 1.5.2) <35FA5160-171E-3698-822E-B00CE511B5C6> /opt/local/lib/libcompface.0.dylib
       0x1004b2000 -        0x1004bffff +libXpm.4.dylib (16.0.0 - compatibility 16.0.0) <C94AEA7C-1847-35DF-99D3-2C27731B02A1> /opt/local/lib/libXpm.4.dylib
       0x1004c4000 -        0x1004d6fff +libXmu.6.dylib (9.0.0 - compatibility 9.0.0) <1813EF41-747B-3C50-82DD-4C2D78AD673B> /opt/local/lib/libXmu.6.dylib
       0x1004df000 -        0x100525fff +libXt.6.dylib (7.0.0 - compatibility 7.0.0) <EA7C79BA-9D45-3DE6-B8B8-C54CF825E195> /opt/local/lib/libXt.6.dylib
       0x10053d000 -        0x10054aff7 +libXext.6.dylib (11.0.0 - compatibility 11.0.0) <12752BC2-0B0C-361A-AA07-D687E6FC014A> /opt/local/lib/libXext.6.dylib
       0x100550000 -        0x100663ff7 +libX11.6.dylib (10.0.0 - compatibility 10.0.0) <20809AC6-FB64-308C-A9B5-D5EC59C7B261> /opt/local/lib/libX11.6.dylib
       0x100686000 -        0x10068aff7 +libSM.6.dylib (7.1.0 - compatibility 7.0.0) <6966036C-A59A-347F-A94F-760BC8761441> /opt/local/lib/libSM.6.dylib
       0x10068e000 -        0x10069eff7 +libICE.6.dylib (10.0.0 - compatibility 10.0.0) <B4D5B5D2-64BD-33E2-99E8-0B4D45711AE1> /opt/local/lib/libICE.6.dylib
       0x1006a7000 -        0x1006acff7 +libgdbm.4.dylib (5.0.0 - compatibility 5.0.0) <9B4CEC1C-0258-3D91-AFB4-30B5C64E891A> /opt/local/lib/libgdbm.4.dylib
       0x1006af000 -        0x1006ecff7 +libncurses.5.dylib (5.0.0 - compatibility 5.0.0) <FC512492-CA4D-3C06-B5E6-BB1D19961E8F> /opt/local/lib/libncurses.5.dylib
       0x1006fb000 -        0x100703ff7 +libintl.8.dylib (10.1.0 - compatibility 10.0.0) <CED638C0-E56A-3FB5-B2D5-E9692CEE50B7> /opt/local/lib/libintl.8.dylib
       0x100708000 -        0x10071aff7 +libxcb.1.dylib (3.0.0 - compatibility 3.0.0) <1C3910DF-194A-3256-BFB1-480898E607CA> /opt/local/lib/libxcb.1.dylib
       0x100728000 -        0x100729ff7 +libXau.6.dylib (7.0.0 - compatibility 7.0.0) <ACABCE32-C0C0-3B3F-AE28-E86D88838560> /opt/local/lib/libXau.6.dylib
       0x10072c000 -        0x10072ffff +libXdmcp.6.dylib (7.0.0 - compatibility 7.0.0) <B5E4BC98-46B1-3BF5-AB63-42A21696F9C5> /opt/local/lib/libXdmcp.6.dylib
       0x100732000 -        0x10082aff7 +libiconv.2.dylib (8.1.0 - compatibility 8.0.0) <5E426CF4-4755-31A1-8A3A-6B332E8CF0FC> /opt/local/lib/libiconv.2.dylib
    0x7fff6df5e000 -     0x7fff6df92baf  dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
    0x7fff896cf000 -     0x7fff896fcfe7  libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <7BEBB139-50BB-3112-947A-F4AA168F991C> /usr/lib/libSystem.B.dylib
    0x7fff89752000 -     0x7fff89752fff  libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
    0x7fff89761000 -     0x7fff89768fff  libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <0AB51EE2-E914-358C-AC19-47BC024BDAE7> /usr/lib/system/libcopyfile.dylib
    0x7fff89835000 -     0x7fff89836fff  libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff89e4e000 -     0x7fff89e50fff  libquarantine.dylib (36.2.0 - compatibility 1.0.0) <48656562-FF20-3B55-9F93-407ACA7341C0> /usr/lib/system/libquarantine.dylib
    0x7fff8aa05000 -     0x7fff8aa0bfff  libmacho.dylib (800.0.0 - compatibility 1.0.0) <165514D7-1BFA-38EF-A151-676DCD21FB64> /usr/lib/system/libmacho.dylib
    0x7fff8abbe000 -     0x7fff8abf9fff  libsystem_info.dylib (??? - ???) <35F90252-2AE1-32C5-8D34-782C614D9639> /usr/lib/system/libsystem_info.dylib
    0x7fff8ac16000 -     0x7fff8ac1efff  libsystem_dnssd.dylib (??? - ???) <D0CEBE0E-956F-3CCF-9808-25FDEA42B9AF> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8b17a000 -     0x7fff8b188fff  libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib
    0x7fff8c160000 -     0x7fff8c1d5ff7  libc++.1.dylib (19.0.0 - compatibility 1.0.0) <C0EFFF1B-0FEB-3F99-BE54-506B35B555A9> /usr/lib/libc++.1.dylib
    0x7fff8c49c000 -     0x7fff8c4eafff  libauto.dylib (??? - ???) <D8AC8458-DDD0-3939-8B96-B6CED81613EF> /usr/lib/libauto.dylib
    0x7fff8c4ed000 -     0x7fff8c4f8ff7  libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
    0x7fff8d6a1000 -     0x7fff8d6a6ff7  libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
    0x7fff8d803000 -     0x7fff8d8e7e5f  libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <871E688B-CF57-3BC7-80D6-F6476DFF109B> /usr/lib/libobjc.A.dylib
    0x7fff8e019000 -     0x7fff8e02bff7  libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
    0x7fff8e668000 -     0x7fff8e66eff7  libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
    0x7fff8e676000 -     0x7fff8e67afff  libdyld.dylib (195.6.0 - compatibility 1.0.0) <FFC59565-64BD-3B37-90A4-E2C3A422CFC1> /usr/lib/system/libdyld.dylib
    0x7fff8fa6e000 -     0x7fff8fb4bfef  libsystem_c.dylib (763.12.0 - compatibility 1.0.0) <FF69F06E-0904-3C08-A5EF-536FAFFFDC22> /usr/lib/system/libsystem_c.dylib
    0x7fff8fb4c000 -     0x7fff8fb8eff7  libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <BB770C22-8C57-365A-8716-4A3C36AE7BFB> /usr/lib/system/libcommonCrypto.dylib
    0x7fff913a3000 -     0x7fff913c3fff  libsystem_kernel.dylib (1699.24.23 - compatibility 1.0.0) <80927C55-D4D9-31B6-9CF3-6134FCF1E1CA> /usr/lib/system/libsystem_kernel.dylib
    0x7fff914ca000 -     0x7fff914d3ff7  libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib
    0x7fff91a5f000 -     0x7fff91c33fff  com.apple.CoreFoundation (6.7.1 - 635.19) <57B77925-9065-38C9-A05B-02F4F9ED007C> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff91c34000 -     0x7fff91c39fff  libcache.dylib (47.0.0 - compatibility 1.0.0) <1571C3AB-BCB2-38CD-B3B2-C5FC3F927C6A> /usr/lib/system/libcache.dylib
    0x7fff920f4000 -     0x7fff920f5ff7  libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
    0x7fff92269000 -     0x7fff9246bfff  libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <38CD6ED3-C8E4-3CCD-89AC-9C3198803101> /usr/lib/libicucore.A.dylib
    0x7fff92767000 -     0x7fff92768ff7  libsystem_sandbox.dylib (??? - ???) <5087ADAD-D34D-3844-9D04-AFF93CED3D92> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff94bad000 -     0x7fff94baeff7  libremovefile.dylib (21.1.0 - compatibility 1.0.0) <739E6C83-AA52-3C6C-A680-B37FE2888A04> /usr/lib/system/libremovefile.dylib
    0x7fff94f4b000 -     0x7fff94f4ffff  libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
    0x7fff94f55000 -     0x7fff94f5fff7  liblaunch.dylib (392.36.0 - compatibility 1.0.0) <CB8B5808-80C0-318E-AE12-96CA916442FE> /usr/lib/system/liblaunch.dylib
    0x7fff9590b000 -     0x7fff9597efff  libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
    0x7fff9597f000 -     0x7fff95984fff  libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
    0x7fff95c07000 -     0x7fff95c24fff  libxpc.dylib (77.18.0 - compatibility 1.0.0) <26C05F31-E809-3B47-AF42-1460971E3AC3> /usr/lib/system/libxpc.dylib
    0x7fff963ba000 -     0x7fff963bbfff  libunc.dylib (24.0.0 - compatibility 1.0.0) <337960EE-0A85-3DD0-A760-7134CF4C0AFF> /usr/lib/system/libunc.dylib
    0x7fff96576000 -     0x7fff96577fff  libdnsinfo.dylib (395.10.0 - compatibility 1.0.0) <2301DE05-6950-3AFF-A8A6-DA76D4C079B5> /usr/lib/system/libdnsinfo.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 3059556
    thread_create: 3
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=62.8M resident=24.6M(39%) swapped_out_or_unallocated=38.2M(61%)
Writable regions: Total=35.2M written=8864K(25%) resident=9856K(27%) swapped_out=0K(0%) unallocated=25.6M(73%)
 
REGION TYPE                      VIRTUAL
===========                      =======
MALLOC                             25.6M
MALLOC guard page                    16K
STACK GUARD                        56.0M
Stack                              8192K
VM_ALLOCATE                           4K
__DATA                             2552K
__LINKEDIT                         48.6M
__TEXT                             14.2M
__UNICODE                           544K
shared memory                        12K
===========                      =======
TOTAL                             155.5M

Change History (1)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: stanton@… removed
Description: modified (diff)
Keywords: xemacs crash removed
Port: 21.4.22 removed
Resolution: duplicate
Status: newclosed

It is helpful to use WikiFormatting.

Duplicate of #33088, which shows a workaround you could try.

Note: See TracTickets for help on using tickets.