unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3605: Crash in ns_index_color (nsterm.m:1305)
       [not found] <9ee8c1eb0906180743s4cfa6986ic78af206a15e2ce6@mail.gmail.com>
@ 2009-06-18 14:58 ` David Reitter
  2009-06-18 15:04   ` bug#3606: " Ben Lowery
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: David Reitter @ 2009-06-18 14:58 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: Ben Lowery, Aquamacs Bugs, Adrian Robert


[-- Attachment #1.1: Type: text/plain, Size: 1076 bytes --]

Forwarding a crash report.
nsterm.m:1305, in the given revision, is the line marked:

   {
     int i;
     for (i = 1; i < color_table->avail; i++)
       {
*****        if (color_table->colors[i] && [color_table->colors[i]  
isEqual: color])
           {
             [color_table->colors[i] retain];
             return i;
           }
       }
   }

Btw, why are we managing this table ourselves rather than using an  
appropriate NS class?  It seems like we're defining our own  
ns_color_table structure anyways...

Ben, I wonder if you're using color themes or something else that  
defines a lot of different colors.

- D


Begin forwarded message:

> From: Ben Lowery <blowery@gmail.com>
> Date: June 18, 2009 10:43:00 AM EDT
> To: Development of Aquamacs Emacs <aquamacs-devel@aquamacs.org>
> Subject: [Aquamacs-devel] Crasher in ns_index_color (nsterm.m:1305)
>
> Attached is a crash log for Aquamacs, on
> 3fa42d1a06357f8f65dff161524374f3feaaa3ac
>
> Happened as I was C-x C-f ing to open a file. Happens sporadically,
> and I don't have a good repro case.
>
> -b

[-- Attachment #1.2: aquamacs-crash.txt --]
[-- Type: text/plain, Size: 25333 bytes --]

Process:         Aquamacs [27350]
Path:            /Applications/Aquamacs.app/Contents/MacOS/Aquamacs
Identifier:      org.gnu.AquamacsEmacs
Version:         23 (???)
Code Type:       X86 (Native)
Parent Process:  launchd [380]

Interval Since Last Report:          52776 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  605531 sec
Per-App Crashes Since Last Report:   1

Date/Time:       2009-06-18 10:39:05.626 -0400
OS Version:      Mac OS X 10.5.7 (9J61)
Report Version:  6
Anonymous UUID:  B390CC9E-43EB-401F-8BC5-53FEF67D8BA6

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c5e772ef
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib             	0x9280ee42 __kill + 10
1   org.gnu.AquamacsEmacs         	0x0009245a fatal_error_signal + 314 (emacs.c:404)
2   libSystem.B.dylib             	0x9280d2bb _sigtramp + 43
3   ???                           	0xffffffff 0 + 4294967295
4   libSystem.B.dylib             	0x9288123a raise + 26
5   libSystem.B.dylib             	0x9288d679 abort + 73
6   org.gnu.AquamacsEmacs         	0x0016cfc5 ns_term_shutdown + 117 (nsterm.m:4231)
7   org.gnu.AquamacsEmacs         	0x000924af fatal_error_signal + 399 (emacs.c:389)
8   libSystem.B.dylib             	0x9280d2bb _sigtramp + 43
9   ???                           	0xffffffff 0 + 4294967295
10  org.gnu.AquamacsEmacs         	0x00168c4c ns_index_color + 108 (nsterm.m:1305)
11  org.gnu.AquamacsEmacs         	0x00169e52 ns_defined_color + 114 (nsterm.m:1664)
12  org.gnu.AquamacsEmacs         	0x00087cfc defined_color + 76 (xfaces.c:1288)
13  org.gnu.AquamacsEmacs         	0x0008801e load_color + 62 (xfaces.c:1457)
14  org.gnu.AquamacsEmacs         	0x0008dfca realize_face + 1034 (xfaces.c:1546)
15  org.gnu.AquamacsEmacs         	0x0008ed8d lookup_face + 93 (xfaces.c:4741)
16  org.gnu.AquamacsEmacs         	0x00090592 face_at_buffer_position + 578 (xfaces.c:6434)
17  org.gnu.AquamacsEmacs         	0x0001ada7 handle_face_prop + 103 (xdisp.c:3463)
18  org.gnu.AquamacsEmacs         	0x0001d918 handle_stop + 136 (xdisp.c:3136)
19  org.gnu.AquamacsEmacs         	0x00020ae7 next_element_from_buffer + 599 (xdisp.c:6500)
20  org.gnu.AquamacsEmacs         	0x0001ecfc get_next_display_element + 44 (xdisp.c:5676)
21  org.gnu.AquamacsEmacs         	0x000265f8 move_it_in_display_line_to + 200 (xdisp.c:6753)
22  org.gnu.AquamacsEmacs         	0x00027c6b move_it_to + 683 (xdisp.c:7257)
23  org.gnu.AquamacsEmacs         	0x0002857a resize_mini_window + 682 (xdisp.c:8764)
24  org.gnu.AquamacsEmacs         	0x000367ad redisplay_internal + 3453 (xdisp.c:11551)
25  org.gnu.AquamacsEmacs         	0x0009fc85 read_char + 1813 (keyboard.c:2707)
26  org.gnu.AquamacsEmacs         	0x000a2744 read_key_sequence + 884 (keyboard.c:9465)
27  org.gnu.AquamacsEmacs         	0x000a4c6a command_loop_1 + 570 (keyboard.c:1642)
28  org.gnu.AquamacsEmacs         	0x0010868d internal_condition_case + 253 (eval.c:1512)
29  org.gnu.AquamacsEmacs         	0x00094758 command_loop_2 + 72 (keyboard.c:1360)
30  org.gnu.AquamacsEmacs         	0x0010856c internal_catch + 172 (eval.c:1248)
31  org.gnu.AquamacsEmacs         	0x0009444d command_loop + 77 (keyboard.c:1325)
32  org.gnu.AquamacsEmacs         	0x00094572 recursive_edit_1 + 146 (keyboard.c:953)
33  org.gnu.AquamacsEmacs         	0x000c1c7b read_minibuf + 1739 (minibuf.c:743)
34  org.gnu.AquamacsEmacs         	0x000c2ab5 Fcompleting_read + 421 (minibuf.c:1823)
35  org.gnu.AquamacsEmacs         	0x0010a7e7 Ffuncall + 1143 (eval.c:3076)
36  org.gnu.AquamacsEmacs         	0x00145a4b Fbyte_code + 3835 (bytecode.c:678)
37  org.gnu.AquamacsEmacs         	0x00109b56 Feval + 1062 (eval.c:2386)
38  org.gnu.AquamacsEmacs         	0x0010856c internal_catch + 172 (eval.c:1248)
39  org.gnu.AquamacsEmacs         	0x00146406 Fbyte_code + 6326 (bytecode.c:853)
40  org.gnu.AquamacsEmacs         	0x00109ff1 funcall_lambda + 209 (eval.c:3237)
41  org.gnu.AquamacsEmacs         	0x0010a53b Ffuncall + 459 (eval.c:3102)
42  org.gnu.AquamacsEmacs         	0x00145a4b Fbyte_code + 3835 (bytecode.c:678)
43  org.gnu.AquamacsEmacs         	0x00109ff1 funcall_lambda + 209 (eval.c:3237)
44  org.gnu.AquamacsEmacs         	0x0010a53b Ffuncall + 459 (eval.c:3102)
45  org.gnu.AquamacsEmacs         	0x00145a4b Fbyte_code + 3835 (bytecode.c:678)
46  org.gnu.AquamacsEmacs         	0x00109ff1 funcall_lambda + 209 (eval.c:3237)
47  org.gnu.AquamacsEmacs         	0x0010a53b Ffuncall + 459 (eval.c:3102)
48  org.gnu.AquamacsEmacs         	0x0010c0d3 apply1 + 83 (eval.c:2799)
49  org.gnu.AquamacsEmacs         	0x00105e8e Fcall_interactively + 542 (callint.c:395)
50  org.gnu.AquamacsEmacs         	0x0010a741 Ffuncall + 977 (eval.c:3051)
51  org.gnu.AquamacsEmacs         	0x0010a8f9 call3 + 25 (eval.c:2877)
52  org.gnu.AquamacsEmacs         	0x000a4eb1 command_loop_1 + 1153 (keyboard.c:1909)
53  org.gnu.AquamacsEmacs         	0x0010868d internal_condition_case + 253 (eval.c:1512)
54  org.gnu.AquamacsEmacs         	0x00094758 command_loop_2 + 72 (keyboard.c:1360)
55  org.gnu.AquamacsEmacs         	0x0010856c internal_catch + 172 (eval.c:1248)
56  org.gnu.AquamacsEmacs         	0x0009444d command_loop + 77 (keyboard.c:1325)
57  org.gnu.AquamacsEmacs         	0x00094572 recursive_edit_1 + 146 (keyboard.c:953)
58  org.gnu.AquamacsEmacs         	0x000946f1 Frecursive_edit + 257 (keyboard.c:1016)
59  org.gnu.AquamacsEmacs         	0x0010a7f4 Ffuncall + 1156 (eval.c:3042)
60  org.gnu.AquamacsEmacs         	0x00145a4b Fbyte_code + 3835 (bytecode.c:678)
61  org.gnu.AquamacsEmacs         	0x00109b56 Feval + 1062 (eval.c:2386)
62  org.gnu.AquamacsEmacs         	0x00109eef Fprogn + 63 (eval.c:451)
63  org.gnu.AquamacsEmacs         	0x0004c8ae Fsave_window_excursion + 78 (window.c:6552)
64  org.gnu.AquamacsEmacs         	0x001463ab Fbyte_code + 6235 (bytecode.c:839)
65  org.gnu.AquamacsEmacs         	0x00109ff1 funcall_lambda + 209 (eval.c:3237)
66  org.gnu.AquamacsEmacs         	0x0010a53b Ffuncall + 459 (eval.c:3102)
67  org.gnu.AquamacsEmacs         	0x0010bf55 Fapply + 245 (eval.c:2534)
68  org.gnu.AquamacsEmacs         	0x0010c0ad apply1 + 45 (eval.c:2799)
69  org.gnu.AquamacsEmacs         	0x001092b5 call_debugger + 341 (eval.c:312)
70  org.gnu.AquamacsEmacs         	0x001093d8 maybe_call_debugger + 216 (eval.c:1902)
71  org.gnu.AquamacsEmacs         	0x0010955e find_handler_clause + 174 (eval.c:1966)
72  org.gnu.AquamacsEmacs         	0x0010aa93 Fsignal + 371 (eval.c:1704)
73  org.gnu.AquamacsEmacs         	0x0010ac38 xsignal + 24 (eval.c:1752)
74  org.gnu.AquamacsEmacs         	0x0010b050 error + 0 (eval.c:2018)
75  org.gnu.AquamacsEmacs         	0x000f5c47 Fsymbol_value + 71 (data.c:1127)
76  org.gnu.AquamacsEmacs         	0x001099c1 Feval + 657 (eval.c:2449)
77  org.gnu.AquamacsEmacs         	0x0010a741 Ffuncall + 977 (eval.c:3051)
78  org.gnu.AquamacsEmacs         	0x00145a4b Fbyte_code + 3835 (bytecode.c:678)
79  org.gnu.AquamacsEmacs         	0x00109ff1 funcall_lambda + 209 (eval.c:3237)
80  org.gnu.AquamacsEmacs         	0x0010a53b Ffuncall + 459 (eval.c:3102)
81  org.gnu.AquamacsEmacs         	0x00145a4b Fbyte_code + 3835 (bytecode.c:678)
82  org.gnu.AquamacsEmacs         	0x00109ff1 funcall_lambda + 209 (eval.c:3237)
83  org.gnu.AquamacsEmacs         	0x0010a53b Ffuncall + 459 (eval.c:3102)
84  org.gnu.AquamacsEmacs         	0x00106922 Fcall_interactively + 3250 (callint.c:870)
85  org.gnu.AquamacsEmacs         	0x0010a741 Ffuncall + 977 (eval.c:3051)
86  org.gnu.AquamacsEmacs         	0x0010a8f9 call3 + 25 (eval.c:2877)
87  org.gnu.AquamacsEmacs         	0x000a4eb1 command_loop_1 + 1153 (keyboard.c:1909)
88  org.gnu.AquamacsEmacs         	0x0010868d internal_condition_case + 253 (eval.c:1512)
89  org.gnu.AquamacsEmacs         	0x00094758 command_loop_2 + 72 (keyboard.c:1360)
90  org.gnu.AquamacsEmacs         	0x0010856c internal_catch + 172 (eval.c:1248)
91  org.gnu.AquamacsEmacs         	0x000944ae command_loop + 174 (keyboard.c:1339)
92  org.gnu.AquamacsEmacs         	0x00094572 recursive_edit_1 + 146 (keyboard.c:953)
93  org.gnu.AquamacsEmacs         	0x000946f1 Frecursive_edit + 257 (keyboard.c:1016)
94  org.gnu.AquamacsEmacs         	0x00093035 main + 2885 (emacs.c:1855)
95  org.gnu.AquamacsEmacs         	0x00002bf6 start + 54

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x0009232e  ecx: 0xbfffac9c  edx: 0x9280ee42
  edi: 0x00000006  esi: 0x00000006  ebp: 0xbfffacb8  esp: 0xbfffac9c
   ss: 0x0000001f  efl: 0x00000286  eip: 0x9280ee42   cs: 0x00000007
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x0016cf50

Binary Images:
    0x1000 -   0x1aefeb +org.gnu.AquamacsEmacs 23 (???) <550e7685db98ce0be33a924f97fc8739> /Applications/Aquamacs.app/Contents/MacOS/Aquamacs
  0x406000 -   0x406ff0 +com.google.GearsEnabler ??? (1.0) <20412f1ba06afbcd2c45b57bb0af5e68> /Library/InputManagers/GearsEnabler/GearsEnabler.bundle/Contents/MacOS/GearsEnabler
  0x40b000 -   0x40bffd +com.plaxo.ABPlugin ??? (1.0) <9c6e13cfe880758890968cf29a515465> /Library/InputManagers/PlaxoABAddIn/PlaxoABAddIn.bundle/Contents/MacOS/PlaxoABAddIn
0x161c1000 - 0x163c8fef  com.apple.RawCamera.bundle 2.0.15 (471) <557c94fbd7c15219746393464a79cf87> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x8fe00000 - 0x8fe2db43  dyld 97.1 (???) <100d362e03410f181a34e04e94189ae5> /usr/lib/dyld
0x90003000 - 0x90080feb  com.apple.audio.CoreAudio 3.1.2 (3.1.2) <5a4e6329f8dbca5dcd70924525afd24a> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x90178000 - 0x90186ffd  libz.1.dylib ??? (???) <545ca09467025f77131cfac09d8b9375> /usr/lib/libz.1.dylib
0x9040c000 - 0x9040efff  com.apple.securityhi 3.0 (30817) <020419ad33b8638b174e1a472728a894> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x9040f000 - 0x90416fe9  libgcc_s.1.dylib ??? (???) <28a7cbc3a5ca2982d124668306f422d9> /usr/lib/libgcc_s.1.dylib
0x90469000 - 0x90b09fe3  com.apple.CoreGraphics 1.409.3 (???) <25dceb14af3455b768f56e8765ecf3ca> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x90b0a000 - 0x90b94fe3  com.apple.DesktopServices 1.4.8 (1.4.8) <3065de6531ce839c7cb5b6dd70e03f4f> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x90b95000 - 0x90b99fff  libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x90b9a000 - 0x90c2dfff  com.apple.ink.framework 101.3 (86) <dfa9debcd7537849d228021d1d9c0f63> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x90c3b000 - 0x90eb7fe7  com.apple.Foundation 6.5.8 (677.24) <aa84b0383891378c348ffa4a94853082> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90eb8000 - 0x91389fbe  libGLProgrammability.dylib ??? (???) <7f18294a7bd0b6afe4319f29187fc70d> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x9138a000 - 0x913cbfe7  libRIP.A.dylib ??? (???) <69bd09fcd8d8b235cee7a405290d6818> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x913cc000 - 0x913ccffc  com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x913cd000 - 0x91407fe7  com.apple.coreui 1.2 (62) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x91408000 - 0x9144afef  com.apple.NavigationServices 3.5.2 (163) <91844980804067b07a0b6124310d3f31> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x9144b000 - 0x9149cff7  com.apple.HIServices 1.7.0 (???) <01b690d1f376e400ac873105533e39eb> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x914a3000 - 0x91547fec  com.apple.CFNetwork 438.10 (438.12) <fde64bbb20532794396fb21911ccaa98> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x91548000 - 0x9154fff7  libCGATS.A.dylib ??? (???) <211348279493364e9920adc86484cedd> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x9158d000 - 0x915e7ff7  com.apple.CoreText 2.0.4 (???) <f0b6c1d4f40bd21505097f0255abfead> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x91605000 - 0x9161bfff  com.apple.DictionaryServices 1.0.0 (1.0.0) <7e9ff586b5c9d02b09e2a5527d98524f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x9161c000 - 0x91679ffb  libstdc++.6.dylib ??? (???) <6106b1f2b0b303b06ae476253dbb5f3f> /usr/lib/libstdc++.6.dylib
0x9167a000 - 0x91687fe7  com.apple.opengl 1.5.10 (1.5.10) <5a2813f80c9441170cc1ab8a3dac5038> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x91688000 - 0x91769ff7  libxml2.2.dylib ??? (???) <2f6b294896866822330a8888b7f53b75> /usr/lib/libxml2.2.dylib
0x9199a000 - 0x91aecff3  com.apple.audio.toolbox.AudioToolbox 1.5.2 (1.5.2) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x91aed000 - 0x91b94feb  com.apple.QD 3.11.56 (???) <a94d0f5438b730e88e5efdb233295c52> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x91b95000 - 0x91bc0fe7  libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
0x91bc1000 - 0x91c3bff8  com.apple.print.framework.PrintCore 5.5.4 (245.6) <03d0585059c20cb0bde5e000438c49e1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x91c3c000 - 0x91c40fff  libGIF.dylib ??? (???) <572a32e46e33be1ec041c5ef5b0341ae> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91c41000 - 0x91c46fff  com.apple.CommonPanels 1.2.4 (85) <3b64ef0de184d09c6f99a1a7e77e42be> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x91c47000 - 0x91c57ffc  com.apple.LangAnalysis 1.6.4 (1.6.4) <8b7831b5f74a950a56cf2d22a2d436f6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x925fc000 - 0x9263bfef  libTIFF.dylib ??? (???) <3589442575ac77746ae99ecf724f5f87> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x9263c000 - 0x92703ff2  com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x92794000 - 0x92796ff5  libRadiance.dylib ??? (???) <8a844202fcd65662bb9ab25f08c45a62> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x92797000 - 0x9279ffff  com.apple.DiskArbitration 2.2.1 (2.2.1) <75b0c8d8940a8a27816961dddcac8e0f> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x927a0000 - 0x92907ff3  libSystem.B.dylib ??? (???) <b47c8e6e45aef620730710a732bf1930> /usr/lib/libSystem.B.dylib
0x92908000 - 0x929c2fe3  com.apple.CoreServices.OSServices 227 (227) <30cebcb68b1b571df7d77474e0c31556> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x92b5a000 - 0x92b5affb  com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer
0x92b5b000 - 0x92b88feb  libvDSP.dylib ??? (???) <b232c018ddd040ec4e2c2af632dd497f> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x92b93000 - 0x92c45ffb  libcrypto.0.9.7.dylib ??? (???) <9d714c92872a93dd127ea8556b2c8945> /usr/lib/libcrypto.0.9.7.dylib
0x92c46000 - 0x92c6eff7  com.apple.shortcut 1.0.1 (1.0) <131202e7766e327d02d55c0f5fc44ad7> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x92da8000 - 0x92dd7ff7  libncurses.5.4.dylib ??? (???) <00632d5180ac31e2cd437a1ce9d08562> /usr/lib/libncurses.5.4.dylib
0x92e4b000 - 0x92e54fff  com.apple.speech.recognition.framework 3.7.24 (3.7.24) <6a6518b392d3d41ace3dcea69d6809d9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92e55000 - 0x92e6dff7  com.apple.CoreVideo 1.6.0 (20.0) <dd60118bac9aefaf88d9ab44558f05c4> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x92e6e000 - 0x92e78feb  com.apple.audio.SoundManager 3.9.2 (3.9.2) <caa41909dcb5a18a94bc68cd13999bd5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x92f5e000 - 0x92fddff5  com.apple.SearchKit 1.2.1 (1.2.1) <3140a605db2abf56b237fa156a08b28b> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x92fde000 - 0x92ff3ffb  com.apple.ImageCapture 5.0.2 (5.0.2) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92ff4000 - 0x93080ff7  com.apple.LaunchServices 290.3 (290.6) <bdba267184df88bd5b8e2116ea903872> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x93099000 - 0x930a0ffe  libbsm.dylib ??? (???) <5582985a86ea36504cca31788bccf963> /usr/lib/libbsm.dylib
0x9310b000 - 0x934c9fea  libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x934ca000 - 0x93595fff  com.apple.ColorSync 4.5.1 (4.5.1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x9359b000 - 0x9362eff3  com.apple.ApplicationServices.ATS 3.7 (???) <a535fc4982d3acff6530ec25c402e679> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x9362f000 - 0x9366dfff  libGLImage.dylib ??? (???) <a6425aeb77f4da13212ac75df57b056d> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x9366e000 - 0x93686fff  com.apple.openscripting 1.2.8 (???) <572c7452d7e740e8948a5ad07a99602b> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x93687000 - 0x936a5fff  libresolv.9.dylib ??? (???) <a8018c42930596593ddf27f7c20fe7af> /usr/lib/libresolv.9.dylib
0x936a6000 - 0x93732ff7  com.apple.framework.IOKit 1.5.2 (???) <97b9f9d584f48891377f0481b9104434> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x93733000 - 0x93813fff  libobjc.A.dylib ??? (???) <7b92613fdf804fd9a0a3733a0674c30b> /usr/lib/libobjc.A.dylib
0x947f3000 - 0x94ff1fef  com.apple.AppKit 6.5.7 (949.46) <a80f8cb62f6bdcb3bed3c8675d55881d> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x94ff2000 - 0x9503bfef  com.apple.Metadata 10.5.2 (398.25) <e0572f20350523116f23000676122a8d> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x95041000 - 0x95041ff8  com.apple.Cocoa 6.5 (???) <e9318c93615b27231498bbe585b8da98> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x95042000 - 0x95048fff  com.apple.print.framework.Print 218.0.3 (220.2) <5b7f4ef7c2df36aff9605377775781e4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x95059000 - 0x95090fff  com.apple.SystemConfiguration 1.9.2 (1.9.2) <8b26ebf26a009a098484f1ed01ec499c> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x95091000 - 0x950acffb  libPng.dylib ??? (???) <4780e979d35aa5ec2cea22678836cea5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x950ad000 - 0x95195ff3  com.apple.CoreData 100.2 (186.1) <8fb61e1714a4b8d587ce97605ad32547> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x95204000 - 0x9528bff7  libsqlite3.0.dylib ??? (???) <3334ea5af7a911637413334154bb4100> /usr/lib/libsqlite3.0.dylib
0x9528c000 - 0x9528dffc  libffi.dylib ??? (???) <596e0dbf626b211741cecaa9698f271b> /usr/lib/libffi.dylib
0x9528e000 - 0x9569efef  libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x956ef000 - 0x95822fef  com.apple.CoreFoundation 6.5.6 (476.18) <2d52bab73660117571bd6486dc318f8e> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9582f000 - 0x9582fffd  com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x95840000 - 0x95a11ffb  com.apple.security 5.0.5 (36371) <c13e0bb1acfdcf94be4d3ee118ef190e> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x95a82000 - 0x95aabfff  libcups.2.dylib ??? (???) <1b0435164b9dc6c773d0b1f24701e554> /usr/lib/libcups.2.dylib
0x95aac000 - 0x95ab8ff9  com.apple.helpdata 1.0.1 (14.2) /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x95ac1000 - 0x95ac1fff  com.apple.Carbon 136 (136) <ec1d4184925e652dbe1b9200a5a552ec> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x95ac2000 - 0x95aceffe  libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x95acf000 - 0x95acfffd  com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x95ad0000 - 0x95c16ff7  com.apple.ImageIO.framework 2.0.4 (2.0.4) <6a6623d3d1a7292b5c3763dcd108b55f> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x95c17000 - 0x95ef1ff3  com.apple.CoreServices.CarbonCore 786.11 (786.13) <9e2d85d52e5e2951aa4dd53c48ccc52f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x95ef2000 - 0x95f02fff  com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <06d8fc0307314f8ffc16f206ad3dbf44> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x95f03000 - 0x95f22ffa  libJPEG.dylib ??? (???) <e7eb56555109e23144924cd64aa8daec> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x95f23000 - 0x95f7cff7  libGLU.dylib ??? (???) <a3b9be30100a25a6cd3ad109892f52b7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x95f7d000 - 0x960b6ff7  libicucore.A.dylib ??? (???) <cac059ebdac7d9a63ee0f7a648c9f6cf> /usr/lib/libicucore.A.dylib
0x960b7000 - 0x96134fef  libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x96135000 - 0x96164fe3  com.apple.AE 402.3 (402.3) <b13bfda0ad9314922ee37c0d018d7de9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x96165000 - 0x96165ffd  com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x96248000 - 0x9626cfff  libxslt.1.dylib ??? (???) <0a9778d6368ae668826f446878deb99b> /usr/lib/libxslt.1.dylib
0x9626e000 - 0x9631efff  edu.mit.Kerberos 6.0.13 (6.0.13) <804bd1b3f08fb57396781f012006367c> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x96859000 - 0x9685cfff  com.apple.help 1.1 (36) <175489f8adf287b3ebd259362b0292c0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x9685d000 - 0x9685dffa  com.apple.CoreServices 32 (32) <2760719f7a81e8c2bdfd15b0939abc29> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x96917000 - 0x96922fe7  libCSync.A.dylib ??? (???) <9e3544fe087bb4dc760b7afe0850dd6c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x96923000 - 0x96cc0fef  com.apple.QuartzCore 1.5.8 (1.5.8) <a28fa54346a9f9d5b3bef076a1ee0fcf> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x96f6e000 - 0x96fcaff7  com.apple.htmlrendering 68 (1.1.3) <a9f65fa1c4668dc7c49af5bf7d5287ad> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x96fcb000 - 0x96fcbff8  com.apple.ApplicationServices 34 (34) <e9cd7c823062c4382d89e3c9997f4739> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x96fcc000 - 0x972d4fff  com.apple.HIToolbox 1.5.5 (???) <b17766e3d8800a73f534c41f624f5ac4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0xfffe8000 - 0xfffebfff  libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib


[-- Attachment #1.3: Type: text/plain, Size: 26 bytes --]

> _______________________

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#3606: Crash in ns_index_color (nsterm.m:1305)
  2009-06-18 14:58 ` bug#3605: Crash in ns_index_color (nsterm.m:1305) David Reitter
@ 2009-06-18 15:04   ` Ben Lowery
  2009-09-22 22:54     ` bug#4530: " Adrian Robert
  2009-06-18 18:08   ` bug#3605: " Glenn Morris
  2010-01-31  5:24   ` Chong Yidong
  2 siblings, 1 reply; 8+ messages in thread
From: Ben Lowery @ 2009-06-18 15:04 UTC (permalink / raw)
  To: David Reitter; +Cc: emacs-pretest-bug, Aquamacs Bugs, Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]

Yup, I am using color-theme. I've attached the theme I'm using.

On Thu, Jun 18, 2009 at 10:58 AM, David Reitter<david.reitter@gmail.com> wrote:
> Forwarding a crash report.
> nsterm.m:1305, in the given revision, is the line marked:
>
>  {
>    int i;
>    for (i = 1; i < color_table->avail; i++)
>      {
> *****        if (color_table->colors[i] && [color_table->colors[i] isEqual:
> color])
>          {
>            [color_table->colors[i] retain];
>            return i;
>          }
>      }
>  }
>
> Btw, why are we managing this table ourselves rather than using an
> appropriate NS class?  It seems like we're defining our own ns_color_table
> structure anyways...
>
> Ben, I wonder if you're using color themes or something else that defines a
> lot of different colors.
>
> - D
>
>
> Begin forwarded message:
>
>> From: Ben Lowery <blowery@gmail.com>
>> Date: June 18, 2009 10:43:00 AM EDT
>> To: Development of Aquamacs Emacs <aquamacs-devel@aquamacs.org>
>> Subject: [Aquamacs-devel] Crasher in ns_index_color (nsterm.m:1305)
>>
>> Attached is a crash log for Aquamacs, on
>> 3fa42d1a06357f8f65dff161524374f3feaaa3ac
>>
>> Happened as I was C-x C-f ing to open a file. Happens sporadically,
>> and I don't have a good repro case.
>>
>> -b
>
>> _______________________
>
>

[-- Attachment #2: color-theme-wombat.el --]
[-- Type: application/octet-stream, Size: 2734 bytes --]

;; Wombat color theme for Emacs
;;
;; Defines a color scheme resembling that of the Wombat color theme
;; for Vim by Lars H. Nielsen @ http://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/
;;
;; MIT License Copyright (c) 2009 Ben Lowery <blowery at gmail dot com>
;; Credits due to the excellent Wombat Vim theme
;;
;; All patches welcome

(require 'color-theme)

;;;###autoload
(defun color-theme-wombat ()
  "Color theme by Ben Lowery, based off the Wombat Vim theme by Lars H. Nielsen @ http://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/"
  (interactive)
  (color-theme-install
   '(color-theme-wombat
     ((background-color . "#111111")
      (background-mode . dark)
      (border-color . "black")
      (cursor-color . "SteelBlue")
      (foreground-color . "#f6f3e8"))
     (default ((t (:background "#242424" :foreground "#f6f3e8"))))
     (border-glyph ((t (nil))))
     (buffers-tab ((t (:background "#0C1021" :foreground "#F8F8F8"))))
     (font-lock-builtin-face ((t (:foreground "#f6f3e8"))))
     (font-lock-comment-face ((t (:foreground "#99968b"))))
     (font-lock-constant-face ((t (:foreground "#e5786d"))))
     (font-lock-doc-string-face ((t (:italic t :foreground "#99968b"))))
     (font-lock-function-name-face ((t (:foreground "#cae682"))))
     (font-lock-variable-name-face ((t (:foreground "#8ac6f2"))))
     (font-lock-keyword-face ((t (:foreground "#8ac6f2"))))
     (font-lock-preprocessor-face ((t (:foreground "#e5786d"))))
     (font-lock-reference-face ((t (:foreground "SlateBlue"))))

     (font-lock-regexp-grouping-backslash ((t (:foreground "#E9C062"))))
     (font-lock-regexp-grouping-construct ((t (:foreground "red"))))

     (font-lock-string-face ((t (:foreground "#95e454"))))
     (font-lock-type-face ((t (:foreground "#cae682"))))
     
     (font-lock-warning-face ((t (:bold t :foreground "yellow"))))

     (js2-error-face ((t (:background "red3"))))
     (js2-warning-face ((t (:background "purple3"))))
     (js2-external-variable-face ((t (:foreground "red" :bold t))))
     
     ;;(gui-element ((t (:background "#D4D0C8" :foreground "black"))))
     (region ((t (:background "#435869"))))
     (mode-line ((t (:background "#161616" :foreground "white"))))
     (highlight ((t (:background "#222222"))))
     ;;(highline-face ((t (:background "#777777"))))
     (italic ((t (nil))))
     (left-margin ((t (nil))))
     (show-paren-match ((t (:foreground "goldenrod" :bold t))))
     ;;(text-cursor ((t (:background "yellow" :foreground "black"))))
     (toolbar ((t (nil))))
     ;;(underline ((nil (:underline nil))))
     (org-todo ((t (:foreground "yellow" :bold t))))
     (org-hide ((t (:foreground "#0b0b0b"))))
)))
(provide 'color-theme-wombat)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#3605: Crash in ns_index_color (nsterm.m:1305)
  2009-06-18 14:58 ` bug#3605: Crash in ns_index_color (nsterm.m:1305) David Reitter
  2009-06-18 15:04   ` bug#3606: " Ben Lowery
@ 2009-06-18 18:08   ` Glenn Morris
  2010-01-31  5:24   ` Chong Yidong
  2 siblings, 0 replies; 8+ messages in thread
From: Glenn Morris @ 2009-06-18 18:08 UTC (permalink / raw)
  To: David Reitter; +Cc: 3605

David Reitter wrote:

> Forwarding a crash report.

Please use X-Debbugs-Cc, rather than Cc, when you want to send people
CC copies of a new bug report. Otherwise every reply ends up creating
a new bug.

Also, if you know the problem is NS-specific, it's helpful to put

Package: emacs,ns

as the first line of the body in the initial report.

See admin/notes/bugtracker for more details.


Thanks.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4530: Crash in ns_index_color (nsterm.m:1305)
  2009-06-18 15:04   ` bug#3606: " Ben Lowery
@ 2009-09-22 22:54     ` Adrian Robert
  2009-09-23  1:58       ` bug#4532: " Ben Lowery
  0 siblings, 1 reply; 8+ messages in thread
From: Adrian Robert @ 2009-09-22 22:54 UTC (permalink / raw)
  To: Ben Lowery; +Cc: David Reitter, Aquamacs Bugs, emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

I'm trying to reproduce this in current trunk with the attached  
wombat color theme file and the version of color-theme.el in the  
aquamacs tree.  I load color-theme into a buffer, M-x eval-buffer,  
then load the theme itself, eval it, and finally M-x color-theme- 
wombat.  Then I try to do some file loading, editing, gnus, images,  
etc., but can't reproduce the crash (10.4).  If anyone has found some  
specific steps by now, I can try them.


[-- Attachment #2: color-theme-wombat.el --]
[-- Type: application/octet-stream, Size: 2734 bytes --]

;; Wombat color theme for Emacs
;;
;; Defines a color scheme resembling that of the Wombat color theme
;; for Vim by Lars H. Nielsen @ http://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/
;;
;; MIT License Copyright (c) 2009 Ben Lowery <blowery at gmail dot com>
;; Credits due to the excellent Wombat Vim theme
;;
;; All patches welcome

(require 'color-theme)

;;;###autoload
(defun color-theme-wombat ()
  "Color theme by Ben Lowery, based off the Wombat Vim theme by Lars H. Nielsen @ http://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/"
  (interactive)
  (color-theme-install
   '(color-theme-wombat
     ((background-color . "#111111")
      (background-mode . dark)
      (border-color . "black")
      (cursor-color . "SteelBlue")
      (foreground-color . "#f6f3e8"))
     (default ((t (:background "#242424" :foreground "#f6f3e8"))))
     (border-glyph ((t (nil))))
     (buffers-tab ((t (:background "#0C1021" :foreground "#F8F8F8"))))
     (font-lock-builtin-face ((t (:foreground "#f6f3e8"))))
     (font-lock-comment-face ((t (:foreground "#99968b"))))
     (font-lock-constant-face ((t (:foreground "#e5786d"))))
     (font-lock-doc-string-face ((t (:italic t :foreground "#99968b"))))
     (font-lock-function-name-face ((t (:foreground "#cae682"))))
     (font-lock-variable-name-face ((t (:foreground "#8ac6f2"))))
     (font-lock-keyword-face ((t (:foreground "#8ac6f2"))))
     (font-lock-preprocessor-face ((t (:foreground "#e5786d"))))
     (font-lock-reference-face ((t (:foreground "SlateBlue"))))

     (font-lock-regexp-grouping-backslash ((t (:foreground "#E9C062"))))
     (font-lock-regexp-grouping-construct ((t (:foreground "red"))))

     (font-lock-string-face ((t (:foreground "#95e454"))))
     (font-lock-type-face ((t (:foreground "#cae682"))))
     
     (font-lock-warning-face ((t (:bold t :foreground "yellow"))))

     (js2-error-face ((t (:background "red3"))))
     (js2-warning-face ((t (:background "purple3"))))
     (js2-external-variable-face ((t (:foreground "red" :bold t))))
     
     ;;(gui-element ((t (:background "#D4D0C8" :foreground "black"))))
     (region ((t (:background "#435869"))))
     (mode-line ((t (:background "#161616" :foreground "white"))))
     (highlight ((t (:background "#222222"))))
     ;;(highline-face ((t (:background "#777777"))))
     (italic ((t (nil))))
     (left-margin ((t (nil))))
     (show-paren-match ((t (:foreground "goldenrod" :bold t))))
     ;;(text-cursor ((t (:background "yellow" :foreground "black"))))
     (toolbar ((t (nil))))
     ;;(underline ((nil (:underline nil))))
     (org-todo ((t (:foreground "yellow" :bold t))))
     (org-hide ((t (:foreground "#0b0b0b"))))
)))
(provide 'color-theme-wombat)

[-- Attachment #3: Type: text/plain, Size: 1436 bytes --]





On Jun 18, 2009, at 11:04 AM, Ben Lowery wrote:

> Yup, I am using color-theme. I've attached the theme I'm using.
>
> On Thu, Jun 18, 2009 at 10:58 AM, David  
> Reitter<david.reitter@gmail.com> wrote:
>> Forwarding a crash report.
>> nsterm.m:1305, in the given revision, is the line marked:
>>
>>  {
>>    int i;
>>    for (i = 1; i < color_table->avail; i++)
>>      {
>> *****        if (color_table->colors[i] && [color_table->colors[i]  
>> isEqual:
>> color])
>>          {
>>            [color_table->colors[i] retain];
>>            return i;
>>          }
>>      }
>>  }
>>
>> Btw, why are we managing this table ourselves rather than using an
>> appropriate NS class?  It seems like we're defining our own  
>> ns_color_table
>> structure anyways...
>>
>> Ben, I wonder if you're using color themes or something else that  
>> defines a
>> lot of different colors.
>>
>> - D
>>
>>
>> Begin forwarded message:
>>
>>> From: Ben Lowery <blowery@gmail.com>
>>> Date: June 18, 2009 10:43:00 AM EDT
>>> To: Development of Aquamacs Emacs <aquamacs-devel@aquamacs.org>
>>> Subject: [Aquamacs-devel] Crasher in ns_index_color (nsterm.m:1305)
>>>
>>> Attached is a crash log for Aquamacs, on
>>> 3fa42d1a06357f8f65dff161524374f3feaaa3ac
>>>
>>> Happened as I was C-x C-f ing to open a file. Happens sporadically,
>>> and I don't have a good repro case.
>>>
>>> -b
>>
>>> _______________________
>>
>>
>> <color-theme-wombat.el>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4532: Crash in ns_index_color (nsterm.m:1305)
  2009-09-22 22:54     ` bug#4530: " Adrian Robert
@ 2009-09-23  1:58       ` Ben Lowery
  2009-09-23  4:35         ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Ben Lowery @ 2009-09-23  1:58 UTC (permalink / raw)
  To: Adrian Robert; +Cc: David Reitter, Aquamacs Bugs, emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 2400 bytes --]

I'm still seeing the crash on occasion using emacs trunk as of last week.
Next time I see a crash, I'll send the dump along again. I just updated to
latest trunk a few hours ago, so....
So far I havn't been able to isolate a specific set of steps to repro the
crash. I'm generally fairly deep into some editing, and just moving through
a file when it dies.

-b

On Tue, Sep 22, 2009 at 6:54 PM, Adrian Robert <adrian.b.robert@gmail.com>wrote:

> I'm trying to reproduce this in current trunk with the attached wombat
> color theme file and the version of color-theme.el in the aquamacs tree.  I
> load color-theme into a buffer, M-x eval-buffer, then load the theme itself,
> eval it, and finally M-x color-theme-wombat.  Then I try to do some file
> loading, editing, gnus, images, etc., but can't reproduce the crash (10.4).
>  If anyone has found some specific steps by now, I can try them.
>
>
>
>
>
>
> On Jun 18, 2009, at 11:04 AM, Ben Lowery wrote:
>
>  Yup, I am using color-theme. I've attached the theme I'm using.
>>
>> On Thu, Jun 18, 2009 at 10:58 AM, David Reitter<david.reitter@gmail.com>
>> wrote:
>>
>>> Forwarding a crash report.
>>> nsterm.m:1305, in the given revision, is the line marked:
>>>
>>>  {
>>>   int i;
>>>   for (i = 1; i < color_table->avail; i++)
>>>     {
>>> *****        if (color_table->colors[i] && [color_table->colors[i]
>>> isEqual:
>>> color])
>>>         {
>>>           [color_table->colors[i] retain];
>>>           return i;
>>>         }
>>>     }
>>>  }
>>>
>>> Btw, why are we managing this table ourselves rather than using an
>>> appropriate NS class?  It seems like we're defining our own
>>> ns_color_table
>>> structure anyways...
>>>
>>> Ben, I wonder if you're using color themes or something else that defines
>>> a
>>> lot of different colors.
>>>
>>> - D
>>>
>>>
>>> Begin forwarded message:
>>>
>>>  From: Ben Lowery <blowery@gmail.com>
>>>> Date: June 18, 2009 10:43:00 AM EDT
>>>> To: Development of Aquamacs Emacs <aquamacs-devel@aquamacs.org>
>>>> Subject: [Aquamacs-devel] Crasher in ns_index_color (nsterm.m:1305)
>>>>
>>>> Attached is a crash log for Aquamacs, on
>>>> 3fa42d1a06357f8f65dff161524374f3feaaa3ac
>>>>
>>>> Happened as I was C-x C-f ing to open a file. Happens sporadically,
>>>> and I don't have a good repro case.
>>>>
>>>> -b
>>>>
>>>
>>>  _______________________
>>>>
>>>
>>>
>>> <color-theme-wombat.el>
>>>
>>
>
>

[-- Attachment #2: Type: text/html, Size: 3528 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4532: Crash in ns_index_color (nsterm.m:1305)
  2009-09-23  1:58       ` bug#4532: " Ben Lowery
@ 2009-09-23  4:35         ` Glenn Morris
  2009-09-23  4:40           ` Processed: " Emacs bug Tracking System
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2009-09-23  4:35 UTC (permalink / raw)
  To: Ben Lowery; +Cc: David Reitter, Aquamacs Bugs, Adrian Robert, 4532

reassign 4532 emacs,ns
merge 3605 4532
stop

Please stop cc'ing emacs-pretest-bug at gnu.org, since it creates a new
entry in the bug database every time. Please use
3605 at emacsbugs.donarmstrong.com instead. Thank you.

http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3605





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Processed: Re: bug#4532: Crash in ns_index_color (nsterm.m:1305)
  2009-09-23  4:35         ` Glenn Morris
@ 2009-09-23  4:40           ` Emacs bug Tracking System
  0 siblings, 0 replies; 8+ messages in thread
From: Emacs bug Tracking System @ 2009-09-23  4:40 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Emacs Bugs, ns for {3606, 3605, 4532, 4530}

Processing commands for control@emacsbugs.donarmstrong.com:

> reassign 4532 emacs,ns
Bug #4532 [emacs] Crash in ns_index_color (nsterm.m:1305)
bug reassigned from package 'emacs' to 'emacs,ns'.
Warning: Unknown package 'ns'
Warning: Unknown package 'ns'
Warning: Unknown package 'ns'
Warning: Unknown package 'ns'
Warning: Unknown package 'ns'
> merge 3605 4532
bug#3605: Crash in ns_index_color (nsterm.m:1305)
bug#4532: Crash in ns_index_color (nsterm.m:1305)
bug#3606: Crash in ns_index_color (nsterm.m:1305)
bug#4530: Crash in ns_index_color (nsterm.m:1305)
Warning: Unknown package 'ns'
Warning: Unknown package 'ns'
Warning: Unknown package 'ns'
Warning: Unknown package 'ns'
Merged 3605 3606 4530 4532.

> stop
Stopping processing here.

Please contact me if you need assistance.

Don Armstrong
(administrator, Emacs bugs database)




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#3605: Crash in ns_index_color (nsterm.m:1305)
  2009-06-18 14:58 ` bug#3605: Crash in ns_index_color (nsterm.m:1305) David Reitter
  2009-06-18 15:04   ` bug#3606: " Ben Lowery
  2009-06-18 18:08   ` bug#3605: " Glenn Morris
@ 2010-01-31  5:24   ` Chong Yidong
  2 siblings, 0 replies; 8+ messages in thread
From: Chong Yidong @ 2010-01-31  5:24 UTC (permalink / raw)
  To: Mike; +Cc: 3605

> I spent some more time looking at this, and I think I've found the problem:
>
> ns_defined_color needs to block input around its calls to ns_get_color
> and (at least) ns_index_color.  ns_get_color calls UNBLOCK_INPUT after
> allocating an autorelease NSColor.  Because the outer autorelease pool
> is flushed every time through the event loop, sometimes the color gets
> freed before ns_index_color has a chance to retain it.
>
> As a reliable test case, try loading the color palette from
> http://www.emacswiki.org/cgi-bin/wiki/palette.el

Thanks.  As you suggested, I have checked in a change to nsterm.m to
block input during ns_defined_color.  Could you test if the crash is
gone?






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-01-31  5:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <9ee8c1eb0906180743s4cfa6986ic78af206a15e2ce6@mail.gmail.com>
2009-06-18 14:58 ` bug#3605: Crash in ns_index_color (nsterm.m:1305) David Reitter
2009-06-18 15:04   ` bug#3606: " Ben Lowery
2009-09-22 22:54     ` bug#4530: " Adrian Robert
2009-09-23  1:58       ` bug#4532: " Ben Lowery
2009-09-23  4:35         ` Glenn Morris
2009-09-23  4:40           ` Processed: " Emacs bug Tracking System
2009-06-18 18:08   ` bug#3605: " Glenn Morris
2010-01-31  5:24   ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).