* Crash when using scroll bar in Carbon port (keyboard.c:3010)
@ 2008-01-03 19:39 David Reitter
2008-01-03 20:18 ` David Reitter
0 siblings, 1 reply; 12+ messages in thread
From: David Reitter @ 2008-01-03 19:39 UTC (permalink / raw)
To: Bug-Gnu-Emacs; +Cc: Hank Stevens
I've been getting reports of crashes both with an October-2007 build
and with a more recent CVS build of Carbon Emacs (plus patches), which
happen when the users scrolls around a buffer with the scroll bar. I
can't reproduce this.
Details as provided by Hank Stevens are below, including a stack trace.
- David
Hi folks,
I have never gotten a crash with either 1.2 or 1.3rc1 using Ctrl-s to
jump around my documents. It only happens when I use the scroll bar.
Thank you!
Hank
Process: Aquamacs Emacs [3291]
Path: /Applications/Aquamacs Emacs.app/Contents/MacOS/
Aquamacs Emacs
Identifier: org.gnu.AquamacsEmacs
Version: Aquamacs 1.2, GNU Emacs 22 (1.2a)
Code Type: X86 (Native)
Parent Process: launchd [71]
Date/Time: 2008-01-03 14:17:36.648 -0500
OS Version: Mac OS X 10.5.1 (9B18)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000007065531c
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0x919f447a __kill + 10
1 org.gnu.AquamacsEmacs 0x000771ca fatal_error_signal + 152
(emacs.c:399)
2 libSystem.B.dylib 0x919f297b _sigtramp + 43
3 ??? 0xffffffff 0 + 4294967295
4 org.gnu.AquamacsEmacs 0x00083e41 read_char + 4950
(keyboard.c:3010)
5 org.gnu.AquamacsEmacs 0x0008503d read_key_sequence + 2118
(keyboard.c:9156)
6 org.gnu.AquamacsEmacs 0x0008685c command_loop_1 + 494
(keyboard.c:1624)
7 org.gnu.AquamacsEmacs 0x000e498e internal_condition_case
+ 245 (eval.c:1483)
8 org.gnu.AquamacsEmacs 0x00078fd9 command_loop_2 + 68
(keyboard.c:1334)
9 org.gnu.AquamacsEmacs 0x000e487f internal_catch + 171
(eval.c:1223)
10 org.gnu.AquamacsEmacs 0x00078db3 command_loop + 170
(keyboard.c:1313)
11 org.gnu.AquamacsEmacs 0x00078e67 recursive_edit_1 + 140
(keyboard.c:1010)
12 org.gnu.AquamacsEmacs 0x00078f56 Frecursive_edit + 139
(keyboard.c:1072)
13 org.gnu.AquamacsEmacs 0x0007813b main + 2311 (emacs.c:1772)
14 org.gnu.AquamacsEmacs 0x00002206 _start + 228 (crt.c:272)
15 org.gnu.AquamacsEmacs 0x00002121 start + 41
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x0007713f ecx: 0xbfffef8c edx: 0x919f447a
edi: 0x02800409 esi: 0x0000000b ebp: 0xbfffefa8 esp: 0xbfffef8c
ss: 0x0000001f efl: 0x00000286 eip: 0x919f447a cs: 0x00000007
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x000ae33c
Binary Images:
0x1000 - 0x178fef +org.gnu.AquamacsEmacs Aquamacs 1.2, GNU Emacs
22 (1.2a) /Applications/Aquamacs Emacs.app/Contents/MacOS/Aquamacs Emacs
0x16c07000 - 0x16cedff7 com.apple.RawCamera.bundle 2.0 (2.0) /System/
Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x8fe00000 - 0x8fe2d883 dyld 95.3 (???)
<3896c718b33f3e065e199a659baf1a2b> /usr/lib/dyld
0x90003000 - 0x9005fff7 com.apple.htmlrendering 68 (1.1.3)
<fe87a9dede38db00e6c8949942c6bd4f> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/
Versions/A/HTMLRendering
0x90155000 - 0x90160ff9 com.apple.helpdata 1.0 (14) /System/Library/
PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x90161000 - 0x90167fff com.apple.print.framework.Print 218 (220)
<c35172175abbe554ddadd9b6401351fa> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x90168000 - 0x90170fff com.apple.DiskArbitration 2.2 (2.2)
<1551b2af557fdf6f368f93e093933852> /System/Library/Frameworks/
DiskArbitration.framework/Versions/A/DiskArbitration
0x90171000 - 0x90181fff com.apple.speech.synthesis.framework 3.6.59
(3.6.59) <4ffef145fad3d4d787e0c33eab26b336> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x90192000 - 0x90248fe3 com.apple.CoreServices.OSServices 210.2
(210.2) <4ed69f07fc0f211ab32d1ee96e281fc2> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/OSServices.framework/
Versions/A/OSServices
0x90249000 - 0x904c2fe7 com.apple.Foundation 6.5.1 (677.1)
<85ac18c7cd454378db6122bea0c00965> /System/Library/Frameworks/
Foundation.framework/Versions/C/Foundation
0x90a65000 - 0x90ae1feb com.apple.audio.CoreAudio 3.1.0 (3.1)
<483e0d3879d52ba9ac10b4bcfb0728d6> /System/Library/Frameworks/
CoreAudio.framework/Versions/A/CoreAudio
0x90d4b000 - 0x90d61fe7 com.apple.CoreVideo 1.5.0 (1.5.0)
<c7569b68e54114da815e9c55299fe3a4> /System/Library/Frameworks/
CoreVideo.framework/Versions/A/CoreVideo
0x90d62000 - 0x90d62ffc com.apple.audio.units.AudioUnit 1.5 (1.5) /
System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x90f13000 - 0x90f3dfef libauto.dylib ??? (???)
<d468bc4a8a69343f1748c293db1b57fb> /usr/lib/libauto.dylib
0x90f78000 - 0x90f97ffa libJPEG.dylib ??? (???)
<0dd7e9d7fb22174b78205a944144f9c3> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libJPEG.dylib
0x90fa0000 - 0x90fa7fe9 libgcc_s.1.dylib ??? (???)
<a9ab135a5f81f6e345527df87f51bfc9> /usr/lib/libgcc_s.1.dylib
0x90fa8000 - 0x91058fff edu.mit.Kerberos 6.0.11 (6.0.11)
<33c25789baedcd70a7e24881775dd9ad> /System/Library/Frameworks/
Kerberos.framework/Versions/A/Kerberos
0x91059000 - 0x91059ffd com.apple.vecLib 3.4 (vecLib 3.4) /System/
Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x9108c000 - 0x910cefef com.apple.NavigationServices 3.5.1 (161)
<cc6bd78eabf1e2e7166914e9f12f5850> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/
Versions/A/NavigationServices
0x910cf000 - 0x910d1ff5 libRadiance.dylib ??? (???)
<b9e04afa91e4b597a00797d67a7268fb> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libRadiance.dylib
0x910e5000 - 0x910f9ff3 com.apple.ImageCapture 4.0 (5.0.0) /System/
Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
ImageCapture.framework/Versions/A/ImageCapture
0x910fa000 - 0x918f4fef com.apple.AppKit 6.5 (949)
<b7c57a0df7821668815329f17698d7ba> /System/Library/Frameworks/
AppKit.framework/Versions/C/AppKit
0x918f5000 - 0x918fefff com.apple.speech.recognition.framework 3.7.24
(3.7.24) <d3180f9edbd9a5e6f283d6156aa3c602> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/
Versions/A/SpeechRecognition
0x91944000 - 0x91985fe7 libRIP.A.dylib ??? (???)
<8aa8d17b338ebde48df7f01a8dc28eac> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x91986000 - 0x91ae0fe3 libSystem.B.dylib ??? (???)
<08d9ec2f36455fc197b9b44adf62f304> /usr/lib/libSystem.B.dylib
0x91ae7000 - 0x91af4fe7 com.apple.opengl 1.5.5 (1.5.5)
<aa08b52d2a84b44dc6ee5d544a53fe8a> /System/Library/Frameworks/
OpenGL.framework/Versions/A/OpenGL
0x91af5000 - 0x91fc1ffe libGLProgrammability.dylib ??? (???)
<e8bc0af671427cf2b6279a035805a086> /System/Library/Frameworks/
OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x920c4000 - 0x920f3fe3 com.apple.AE 402 (402)
<994ba8e884aefe7bf1fc5987df099e7b> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x920f4000 - 0x920f9fff com.apple.CommonPanels 1.2.4 (85)
<ea0665f57cd267609466ed8b2b20e893> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/
A/CommonPanels
0x920fa000 - 0x92101ff7 libCGATS.A.dylib ??? (???)
<dd3161e6653fa6400b9ef9c144309fa5> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x92150000 - 0x921d7ff7 libsqlite3.0.dylib ??? (???)
<273efcb717e89c21207c851d7d33fda4> /usr/lib/libsqlite3.0.dylib
0x921d8000 - 0x921d8ffd com.apple.Accelerate 1.4 (Accelerate 1.4) /
System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x921d9000 - 0x92263fff com.apple.framework.IOKit 1.5.1 (???)
<5176a7383151a19c962334009fef2c6d> /System/Library/Frameworks/
IOKit.framework/Versions/A/IOKit
0x92264000 - 0x9256afff com.apple.HIToolbox 1.5.0 (???)
<baa49e74751bc3c4738509ba8cc512b1> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/
HIToolbox
0x92588000 - 0x9264fff2 com.apple.vImage 3.0 (3.0) /System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/
Versions/A/vImage
0x92650000 - 0x92734ffb com.apple.CoreData 100 (185)
<a4e63784275e25e62f57e75e0af0b94d> /System/Library/Frameworks/
CoreData.framework/Versions/A/CoreData
0x92735000 - 0x9287aff7 com.apple.ImageIO.framework 2.0.0 (2.0.0)
<d6bf5dfae212dce267c2f6e50b2f23c6> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/ImageIO
0x928b0000 - 0x929d4fe3 com.apple.audio.toolbox.AudioToolbox 1.5
(1.5) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/
AudioToolbox
0x929d5000 - 0x92d93fea libLAPACK.dylib ??? (???) /System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
Versions/A/libLAPACK.dylib
0x92f76000 - 0x93025fff com.apple.DesktopServices 1.4.3 (1.4.3)
<66d5ed56111c43d234e235d365d02469> /System/Library/PrivateFrameworks/
DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x9304b000 - 0x930c5ff8 com.apple.print.framework.PrintCore 5.5 (245)
<9441d178f4b430cf92b67bf346646693> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
PrintCore.framework/Versions/A/PrintCore
0x930d8000 - 0x93157ff5 com.apple.SearchKit 1.2.0 (1.2.0)
<277b460da86bc222785159fe77e2e2ed> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/
Versions/A/SearchKit
0x93346000 - 0x93478fe7 com.apple.CoreFoundation 6.5 (476)
<8bfebc0dbad6fc33bea0fa00a1b9ec37> /System/Library/Frameworks/
CoreFoundation.framework/Versions/A/CoreFoundation
0x93479000 - 0x93479ffb com.apple.installserver.framework 1.0 (8) /
System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/
InstallServer
0x9347a000 - 0x9347dfff com.apple.help 1.1 (36)
<b507b08e484cb89033e9cf23062d77de> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x9347e000 - 0x9347effd com.apple.Accelerate.vecLib 3.4 (vecLib 3.4) /
System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/vecLib
0x94301000 - 0x94711fef libBLAS.dylib ??? (???) /System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
Versions/A/libBLAS.dylib
0x9478e000 - 0x947acfff libresolv.9.dylib ??? (???)
<8538164a282c147c3543550ae49d4bd4> /usr/lib/libresolv.9.dylib
0x947ad000 - 0x947b4ffe libbsm.dylib ??? (???)
<d25c63378a5029648ffd4b4669be31bf> /usr/lib/libbsm.dylib
0x947b5000 - 0x94805ff7 com.apple.HIServices 1.6.0 (???)
<d74aa73e4cfd30a08fb169198a8d2539> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
HIServices.framework/Versions/A/HIServices
0x94806000 - 0x948e5fff libobjc.A.dylib ??? (???)
<5eda47fec2d0e7853b3506aa1fd2dafa> /usr/lib/libobjc.A.dylib
0x948e6000 - 0x948fefff com.apple.openscripting 1.2.6 (???)
<b8e553df643f2aec68fa968b3b459b2b> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/
Versions/A/OpenScripting
0x948ff000 - 0x9490bff5 libGL.dylib ??? (???) /System/Library/
Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x9490c000 - 0x949b3fff com.apple.QD 3.11.50 (???)
<e2f71720ae1dad06a8883ac80775b21a> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/QD.framework/
Versions/A/QD
0x949b4000 - 0x94a28fef libvMisc.dylib ??? (???) /System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
Versions/A/libvMisc.dylib
0x94a2e000 - 0x94dc4ff7 com.apple.QuartzCore 1.5.1 (1.5.1)
<deb61cbeb3f734a1b2f4669f6268b9de> /System/Library/Frameworks/
QuartzCore.framework/Versions/A/QuartzCore
0x94dc5000 - 0x94dfbfff com.apple.SystemConfiguration 1.9.0 (1.9.0)
<d78573acfd26322c0324e51b171f016c> /System/Library/Frameworks/
SystemConfiguration.framework/Versions/A/SystemConfiguration
0x94dfc000 - 0x94e29feb libvDSP.dylib ??? (???)
<a26683d121ee0f96df9a9d0bfca36049> /System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/
libvDSP.dylib
0x94e2a000 - 0x94e40fff com.apple.DictionaryServices 1.0.0 (1.0.0)
<ad0aa0252e3323d182e17f50defe56fc> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/
DictionaryServices.framework/Versions/A/DictionaryServices
0x94e41000 - 0x94e4fffd libz.1.dylib ??? (???)
<5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x94e50000 - 0x94eaaff7 com.apple.CoreText 2.0.0 (???)
<7fa39cd5bc847615ec02e7c7a37c0508> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/
Versions/A/CoreText
0x94eab000 - 0x94edaff7 libncurses.5.4.dylib ??? (???)
<3b2ac2ca8190942b6b81d2a7012ea859> /usr/lib/libncurses.5.4.dylib
0x94edb000 - 0x94f38ffb libstdc++.6.dylib ??? (???)
<04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x94f39000 - 0x94f3bfff com.apple.securityhi 3.0 (30817)
<dbe328cd62d603a952a4226342711e8b> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/
SecurityHI
0x94f3c000 - 0x94f60fff libxslt.1.dylib ??? (???)
<4933ddc7f6618743197aadc85b33b5ab> /usr/lib/libxslt.1.dylib
0x94f61000 - 0x94fbafff libGLU.dylib ??? (???) /System/Library/
Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x9516e000 - 0x95178feb com.apple.audio.SoundManager 3.9.2 (3.9.2)
<0f2ba6e891d3761212cf5a5e6134d683> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/
A/CarbonSound
0x952b0000 - 0x952b0ff8 com.apple.ApplicationServices 34 (34)
<8f910fa65f01d401ad8d04cc933cf887> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/ApplicationServices
0x952b1000 - 0x9537cfff com.apple.ColorSync 4.5.0 (4.5.0) /System/
Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
ColorSync.framework/Versions/A/ColorSync
0x953ba000 - 0x953e2ff7 com.apple.shortcut 1 (1.0)
<057783867138902b52bc0941fedb74d1> /System/Library/PrivateFrameworks/
Shortcut.framework/Versions/A/Shortcut
0x953e3000 - 0x9551bff7 libicucore.A.dylib ??? (???)
<afcea652ff2ec36885b2c81c57d06d4c> /usr/lib/libicucore.A.dylib
0x9551c000 - 0x9551cffa com.apple.CoreServices 32 (32)
<2fcc8f3bd5bbfc000b476cad8e6a3dd2> /System/Library/Frameworks/
CoreServices.framework/Versions/A/CoreServices
0x955e9000 - 0x955eaffc libffi.dylib ??? (???)
<a3b573eb950ca583290f7b2b4c486d09> /usr/lib/libffi.dylib
0x955eb000 - 0x95625ff7 com.apple.coreui 0.1 (60) /System/Library/
PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x9565d000 - 0x95661fff libGIF.dylib ??? (???)
<b8f61e346fa243a7138910bed3dcdb6b> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libGIF.dylib
0x95662000 - 0x956a1fef libTIFF.dylib ??? (???)
<76301b3506f310fb454b58897c8d0a9f> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libTIFF.dylib
0x956a2000 - 0x956dfff7 libGLImage.dylib ??? (???)
<202d73e6a4688fc06ff11b71910c2ce7> /System/Library/Frameworks/
OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x956e0000 - 0x95773fff com.apple.ink.framework 101.3 (86)
<bf3fa8927b4b8baae92381a976fd2079> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x95774000 - 0x95774fff com.apple.Carbon 136 (136)
<9961570a497d79f13b8ea159826af42d> /System/Library/Frameworks/
Carbon.framework/Versions/A/Carbon
0x95775000 - 0x95856ff7 libxml2.2.dylib ??? (???)
<450ec38b57fb46013847cce851001a2f> /usr/lib/libxml2.2.dylib
0x95890000 - 0x95b69fe7 com.apple.CoreServices.CarbonCore 783 (783)
<fe663a790344f1c5bac1645f68c7c661> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/
Versions/A/CarbonCore
0x95bd7000 - 0x95c63ff7 com.apple.LaunchServices 284 (284)
<0fb50a7a6fd38875f727fc2592a496e4> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/
Versions/A/LaunchServices
0x95dbb000 - 0x95f84fef com.apple.security 5.0.1 (32736)
<8c9eda0fcc1d8a571543025ac900715f> /System/Library/Frameworks/
Security.framework/Versions/A/Security
0x95f85000 - 0x9661cfff com.apple.CoreGraphics 1.351.0 (???)
<fc69a86d38421778ad5675b82c9c7da7> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/CoreGraphics
0x9661d000 - 0x9661efef libmathCommon.A.dylib ??? (???) /usr/lib/
system/libmathCommon.A.dylib
0x9661f000 - 0x9662fffc com.apple.LangAnalysis 1.6.4 (1.6.4)
<cbeb17ab39f28351fe2ab5b82bf465bc> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
LangAnalysis.framework/Versions/A/LangAnalysis
0x9663c000 - 0x966eeffb libcrypto.0.9.7.dylib ??? (???)
<330b0e48e67faffc8c22dfc069ca7a47> /usr/lib/libcrypto.0.9.7.dylib
0x966ef000 - 0x96734fef com.apple.Metadata 10.5.0 (398)
<96d857e02d199e768919047b28ec95b3> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/Metadata.framework/
Versions/A/Metadata
0x96769000 - 0x96784ffb libPng.dylib ??? (???)
<85ca18172d7a4b5a5be3574e4e879880> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libPng.dylib
0x96785000 - 0x96790fe7 libCSync.A.dylib ??? (???)
<482d16ba55f91a5dc05f78cc9db707a7> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x96791000 - 0x96aa2fe2 com.apple.QuickTime 7.3.1 (7.3.1)
<697ff9cc466d4388840c3b733af9c6d7> /System/Library/Frameworks/
QuickTime.framework/Versions/A/QuickTime
0x96b09000 - 0x96b9bff3 com.apple.ApplicationServices.ATS 3.0 (???)
<d994740916f7aa6495a3372def0e7b61> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/
Versions/A/ATS
0x96c7d000 - 0x96cf4fe3 com.apple.CFNetwork 220 (220)
<0ae8fbcbadcb9bd8d673aa4531c0fcfc> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/
Versions/A/CFNetwork
0x96cf5000 - 0x96d1cfff libcups.2.dylib ??? (???)
<6b61eb99e6f5dd2d66cd224e9f82427d> /usr/lib/libcups.2.dylib
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/
libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/
libSystem.B.dylib
SYSTEM
Model: MacPro1,1, BootROM MP11.005D.B00, 4 processors, Dual-Core Intel
Xeon, 3 GHz, 3 GB
Graphics: kHW_NVidiaGeForce7300GTItem, NVIDIA GeForce 7300 GT,
spdisplays_pcie_device, 256 MB
Memory Module: DIMM Riser A/DIMM 1, 512 MB, DDR2 FB-DIMM, 667 MHz
Memory Module: DIMM Riser A/DIMM 2, 512 MB, DDR2 FB-DIMM, 667 MHz
Memory Module: DIMM Riser B/DIMM 1, 1 GB, DDR2 FB-DIMM, 667 MHz
Memory Module: DIMM Riser B/DIMM 2, 1 GB, DDR2 FB-DIMM, 667 MHz
Network Service: Ethernet 2, Ethernet, en1
PCI Card: NVIDIA GeForce 7300 GT, display, Slot-1
Serial ATA Device: ST3250820AS P, 232.89 GB
Parallel ATA Device: OPTIARC DVD RW AD-7170A
USB Device: Hub in Apple Extended USB Keyboard, Mitsumi Electric,
full_speed, 500 mA
USB Device: Apple Optical USB Mouse, Mitsumi Electric, low_speed, 100 mA
USB Device: Apple Extended USB Keyboard, Mitsumi Electric, full_speed,
250 mA
USB Device: hp LaserJet 1300, Hewlett-Packard, full_speed, 500 mA
FireWire Device: built-in_hub, unknown_value, unknown_speed
I seem to get crashes whenever I ask Aquamacs to move quickly around
the buffer.
Here is what the Console.app reported on my MacPro.
1/2/08 12:31:16 PM com.apple.launchd[71]
([0x0-0x2b02b].org.gnu.AquamacsEmacs[380]) Exited abnormally:
Segmentation fault
Should I try the nightly build?
I got this out of the console, and it might be more helpful (?).
Hank
1/2/08 12:54:31 PM [0x0-0x44044].org.gnu.AquamacsEmacs[803] The
process has forked and you cannot use this CoreFoundation
functionality safely. You MUST exec().
1/2/08 12:54:31 PM [0x0-0x44044].org.gnu.AquamacsEmacs[803] Break on
__THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
() to debug.
1/2/08 12:54:31 PM [0x0-0x44044].org.gnu.AquamacsEmacs[803] The
process has forked and you cannot use this CoreFoundation
functionality safely. You MUST exec().
1/2/08 12:54:31 PM [0x0-0x44044].org.gnu.AquamacsEmacs[803] Break on
__THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
() to debug.
1/2/08 12:54:31 PM [0x0-0x44044].org.gnu.AquamacsEmacs[803] The
process has forked and you cannot use this CoreFoundation
functionality safely. You MUST exec().
1/2/08 12:54:31 PM [0x0-0x44044].org.gnu.AquamacsEmacs[803] Break on
__THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
() to debug.
In GNU Emacs 22.1.50.1 (i386-apple-darwin8.10.1, Carbon Version 1.6.0)
of 2007-10-02 on plume.sr.unh.edu - Aquamacs Distribution 1.2a
Windowing system distributor `Apple Inc.', version 10.5.1
configured using `configure '--without-x' '--prefix=/usr/local''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: iso-8859-1
default-enable-multibyte-characters: t
Major mode: PDFLaTeX/F
Minor modes in effect:
reftex-mode: t
TeX-fold-mode: t
TeX-PDF-mode: t
shell-dirtrack-mode: t
smart-frame-positioning-mode: t
aquamacs-styles-mode: t
recentf-mode: t
encoded-kbd-mode: t
osx-key-mode: t
longlines-mode: t
show-paren-mode: t
delete-selection-mode: t
pc-selection-mode: t
cua-mode: t
tooltip-mode: t
mac-input-method-mode: t
tool-bar-mode: 0
mouse-wheel-mode: t
use-hard-newlines: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
transient-mark-mode: t
Recent input:
<down-mouse-1> <mouse-1> C-s . 4 5 <down-mouse-1> <mouse-1>
A-s <menu-bar> <help-menu> <report-emacs-bug>
Recent messages:
Applying style hooks... done
Sorting environment...
Removing duplicates... done
noweb-font-lock mode: use `M-x noweb-font-lock-describe-mode' for more
info
noweb mode: use `M-x noweb-describe-mode' for further information
Setting up syntax table
Applying style hooks... done
Mark saved where search started
(No changes need to be saved)
Loading emacsbug...done
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
2008-01-03 19:39 Crash when using scroll bar in Carbon port (keyboard.c:3010) David Reitter
@ 2008-01-03 20:18 ` David Reitter
2008-01-03 20:25 ` Dan Nicolaescu
[not found] ` <mailman.5668.1199392066.18990.bug-gnu-emacs@gnu.org>
0 siblings, 2 replies; 12+ messages in thread
From: David Reitter @ 2008-01-03 20:18 UTC (permalink / raw)
To: Bug-Gnu-Emacs; +Cc: Hank Stevens
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
Further to my message below, I have reproduced the bug by loading the
attached file, making the frame small and scrolling back and forth
with the scrollbar. The two stack traces looks different, though.
The mode-line reads PDFLaTeX/F Ref BCite ll Noweb NWFL for this file.
The problem appears to be related to Noweb Mode, which seems to come
with R-mode. It switches back and forth between LaTeX-mode (from
AUCTeX), fundamental-mode and ESS-mode. (Problem is only reproducible
is noweb-mode is on.)
Secondly, changing the major mode triggers a few things in `aquamacs-
styles-mode': different faces and frame parameters are applied to the
frame that displays a window with that buffer. But of course that
shouldn't crash Emacs...
[-- Attachment #2: trial.Rnw --]
[-- Type: application/octet-stream, Size: 160 bytes --]
\documentclass{article}
\SweaveOpts{eval=true, echo=true}
%
\begin{document}
type stuff here.
Switch to R
<<>>=
2+2
@
Switch back to latex.
\end{document}
[-- Attachment #3: Type: text/plain, Size: 5539 bytes --]
Process: Aquamacs Emacs [3138]
Path: /Applications/Aquamacs Emacs.app/Contents/MacOS/
Aquamacs Emacs
Identifier: org.gnu.AquamacsEmacs
Version: Aquamacs 1.2CVS, GNU Emacs 22 (1.2a)
Code Type: X86 (Native)
Parent Process: launchd [107]
Date/Time: 2008-01-03 20:05:46.982 +0000
OS Version: Mac OS X 10.5.1 (9B18)
Report Version: 6
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0x94a7d47a __kill + 10
1 org.gnu.AquamacsEmacs 0x000775fb fatal_error_signal + 152
(emacs.c:399)
2 libSystem.B.dylib 0x94a7b97b _sigtramp + 43
3 ??? 0xffffffff 0 + 4294967295
4 libSystem.B.dylib 0x94af4782 raise + 26
5 libSystem.B.dylib 0x94b03d3f abort + 73
6 org.gnu.AquamacsEmacs 0x000d1fb3 wrong_type_argument + 28
(data.c:121)
7 org.gnu.AquamacsEmacs 0x0000ca9a do_switch_frame + 125
(frame.c:647)
8 org.gnu.AquamacsEmacs 0x0000cd18 Fhandle_switch_frame +
84 (frame.c:778)
9 org.gnu.AquamacsEmacs 0x000e6bcd Ffuncall + 958 (eval.c:
2998)
10 org.gnu.AquamacsEmacs 0x000e3c4b Fcall_interactively +
5844 (callint.c:862)
11 org.gnu.AquamacsEmacs 0x0007ead5 Fcommand_execute + 270
(keyboard.c:10065)
12 org.gnu.AquamacsEmacs 0x00086e82 command_loop_1 + 970
(keyboard.c:1879)
13 org.gnu.AquamacsEmacs 0x000e4e22 internal_condition_case
+ 245 (eval.c:1483)
14 org.gnu.AquamacsEmacs 0x0007940d command_loop_2 + 68
(keyboard.c:1334)
15 org.gnu.AquamacsEmacs 0x000e4d13 internal_catch + 171
(eval.c:1223)
16 org.gnu.AquamacsEmacs 0x000791e7 command_loop + 170
(keyboard.c:1313)
17 org.gnu.AquamacsEmacs 0x0007929b recursive_edit_1 + 140
(keyboard.c:1010)
18 org.gnu.AquamacsEmacs 0x0007938a Frecursive_edit + 139
(keyboard.c:1072)
19 org.gnu.AquamacsEmacs 0x0007856c main + 2311 (emacs.c:1772)
20 org.gnu.AquamacsEmacs 0x00002146 _start + 228 (crt.c:272)
21 org.gnu.AquamacsEmacs 0x00002061 start + 41
Thread 1:
0 libSystem.B.dylib 0x94a5ef5a select$DARWIN_EXTSN + 10
1 libSystem.B.dylib 0x94a40075 _pthread_start + 321
2 libSystem.B.dylib 0x94a3ff32 thread_start + 34
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00077570 ecx: 0xbffff03c edx: 0x94a7d47a
edi: 0x02826819 esi: 0x00000006 ebp: 0xbffff058 esp: 0xbffff03c
ss: 0x0000001f efl: 0x00000282 eip: 0x94a7d47a cs: 0x00000007
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x0c36d000
second crash:
Process: Aquamacs Emacs [3697]
Path: /Applications/Aquamacs Emacs.app/Contents/MacOS/
Aquamacs Emacs
Identifier: org.gnu.AquamacsEmacs
Version: Aquamacs 1.2CVS, GNU Emacs 22 (1.2a)
Code Type: X86 (Native)
Parent Process: launchd [107]
Date/Time: 2008-01-03 20:10:06.132 +0000
OS Version: Mac OS X 10.5.1 (9B18)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0x94a7d47a __kill + 10
1 org.gnu.AquamacsEmacs 0x000775fb fatal_error_signal + 152
(emacs.c:399)
2 libSystem.B.dylib 0x94a7b97b _sigtramp + 43
3 ??? 0xffffffff 0 + 4294967295
4 org.gnu.AquamacsEmacs 0x0008428b read_char + 4950
(keyboard.c:3010)
5 org.gnu.AquamacsEmacs 0x00085487 read_key_sequence + 2118
(keyboard.c:9164)
6 org.gnu.AquamacsEmacs 0x00086ca6 command_loop_1 + 494
(keyboard.c:1624)
7 org.gnu.AquamacsEmacs 0x000e4e22 internal_condition_case
+ 245 (eval.c:1483)
8 org.gnu.AquamacsEmacs 0x0007940d command_loop_2 + 68
(keyboard.c:1334)
9 org.gnu.AquamacsEmacs 0x000e4d13 internal_catch + 171
(eval.c:1223)
10 org.gnu.AquamacsEmacs 0x000791e7 command_loop + 170
(keyboard.c:1313)
11 org.gnu.AquamacsEmacs 0x0007929b recursive_edit_1 + 140
(keyboard.c:1010)
12 org.gnu.AquamacsEmacs 0x0007938a Frecursive_edit + 139
(keyboard.c:1072)
13 org.gnu.AquamacsEmacs 0x0007856c main + 2311 (emacs.c:1772)
14 org.gnu.AquamacsEmacs 0x00002146 _start + 228 (crt.c:272)
15 org.gnu.AquamacsEmacs 0x00002061 start + 41
Thread 1:
0 libSystem.B.dylib 0x94a5ef5a select$DARWIN_EXTSN + 10
1 libSystem.B.dylib 0x94a40075 _pthread_start + 321
2 libSystem.B.dylib 0x94a3ff32 thread_start + 34
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00077570 ecx: 0xbfffefbc edx: 0x94a7d47a
edi: 0x02800409 esi: 0x0000000a ebp: 0xbfffefd8 esp: 0xbfffefbc
ss: 0x0000001f efl: 0x00000286 eip: 0x94a7d47a cs: 0x00000007
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000000
On 3 Jan 2008, at 19:39, David Reitter wrote:
> I've been getting reports of crashes both with an October-2007 build
> and with a more recent CVS build of Carbon Emacs (plus patches),
> which happen when the users scrolls around a buffer with the scroll
> bar. I can't reproduce this.
>
> Details as provided by Hank Stevens are below, including a stack
> trace.
>
> - David
>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
2008-01-03 20:18 ` David Reitter
@ 2008-01-03 20:25 ` Dan Nicolaescu
[not found] ` <mailman.5668.1199392066.18990.bug-gnu-emacs@gnu.org>
1 sibling, 0 replies; 12+ messages in thread
From: Dan Nicolaescu @ 2008-01-03 20:25 UTC (permalink / raw)
To: David Reitter; +Cc: Bug-Gnu-Emacs, Hank Stevens
David Reitter <david.reitter@gmail.com> writes:
> Further to my message below, I have reproduced the bug by loading the
> attached file, making the frame small and scrolling back and forth
> with the scrollbar. The two stack traces looks different, though.
>
> The mode-line reads PDFLaTeX/F Ref BCite ll Noweb NWFL for this file.
>
> The problem appears to be related to Noweb Mode, which seems to come
> with R-mode. It switches back and forth between LaTeX-mode (from
> AUCTeX), fundamental-mode and ESS-mode. (Problem is only reproducible
> is noweb-mode is on.)
>
> Secondly, changing the major mode triggers a few things in `aquamacs-
> styles-mode': different faces and frame parameters are applied to the
> frame that displays a window with that buffer. But of course that
> shouldn't crash Emacs...
Unfortunately the Carbon port is currently unsupported in the CVS HEAD
branch and it is known not to work.
Non-developers should not try to use it. You are probably more qualified
that most people to try to debug the problem...
^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <mailman.5668.1199392066.18990.bug-gnu-emacs@gnu.org>]
* Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
[not found] ` <mailman.5668.1199392066.18990.bug-gnu-emacs@gnu.org>
@ 2008-01-04 12:53 ` Ted Zlatanov
2008-01-04 14:20 ` David Reitter
0 siblings, 1 reply; 12+ messages in thread
From: Ted Zlatanov @ 2008-01-04 12:53 UTC (permalink / raw)
To: bug-gnu-emacs
On Thu, 03 Jan 2008 12:25:00 -0800 Dan Nicolaescu <dann@ics.uci.edu> wrote:
DN> David Reitter <david.reitter@gmail.com> writes:
>> Further to my message below, I have reproduced the bug by loading the
>> attached file, making the frame small and scrolling back and forth
>> with the scrollbar. The two stack traces looks different, though.
>>
>> The mode-line reads PDFLaTeX/F Ref BCite ll Noweb NWFL for this file.
>>
>> The problem appears to be related to Noweb Mode, which seems to come
>> with R-mode. It switches back and forth between LaTeX-mode (from
>> AUCTeX), fundamental-mode and ESS-mode. (Problem is only reproducible
>> is noweb-mode is on.)
>>
>> Secondly, changing the major mode triggers a few things in `aquamacs-
>> styles-mode': different faces and frame parameters are applied to the
>> frame that displays a window with that buffer. But of course that
>> shouldn't crash Emacs...
DN> Unfortunately the Carbon port is currently unsupported in the CVS HEAD
DN> branch and it is known not to work.
DN> Non-developers should not try to use it. You are probably more qualified
DN> that most people to try to debug the problem...
I think Aquamacs is not the Emacs carbon port in CVS (it's an older
snapshot, modified in some ways), so unless the bug report is reporting
the wrong Emacs version, it should go to the Aquamacs maintainers.
Ted
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
2008-01-04 12:53 ` Ted Zlatanov
@ 2008-01-04 14:20 ` David Reitter
2008-01-04 18:02 ` Dan Nicolaescu
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: David Reitter @ 2008-01-04 14:20 UTC (permalink / raw)
To: Ted Zlatanov; +Cc: bug-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1539 bytes --]
On 4 Jan 2008, at 12:53, Ted Zlatanov wrote:
> On Thu, 03 Jan 2008 12:25:00 -0800 Dan Nicolaescu <dann@ics.uci.edu>
> wrote:
>
> DN> David Reitter <david.reitter@gmail.com> writes:
>>> Secondly, changing the major mode triggers a few things in
>>> `aquamacs-
>>> styles-mode': different faces and frame parameters are applied to
>>> the
>>> frame that displays a window with that buffer. But of course that
>>> shouldn't crash Emacs...
>
> DN> Unfortunately the Carbon port is currently unsupported in the
> CVS HEAD
> DN> branch and it is known not to work.
> DN> Non-developers should not try to use it. You are probably more
> qualified
> DN> that most people to try to debug the problem...
>
> I think Aquamacs is not the Emacs carbon port in CVS (it's an older
> snapshot, modified in some ways), so unless the bug report is
> reporting
> the wrong Emacs version, it should go to the Aquamacs maintainers.
a) this problem occurs with a 22 branch build, and according to the OP
the problem has been occurring with different builds since October.
See also:
> In GNU Emacs 22.1.50.1 (i386-apple-darwin8.10.1, Carbon Version
1.6.0)
> of 2007-10-02 on plume.sr.unh.edu - Aquamacs Distribution 1.2a
b) I am the Aquamacs maintainer and the bug (like most bugs in our
distribution) has been reported to me.
If people have problems identifying the bug from the stack trace, then
I'd be happy to answer more specific questions, of course.
Unfortunately I'm not set up to debug C level code in the Emacs core.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
2008-01-04 14:20 ` David Reitter
@ 2008-01-04 18:02 ` Dan Nicolaescu
2008-01-05 17:36 ` David Reitter
2008-01-07 9:30 ` YAMAMOTO Mitsuharu
[not found] ` <mailman.5815.1199698265.18990.bug-gnu-emacs@gnu.org>
2 siblings, 1 reply; 12+ messages in thread
From: Dan Nicolaescu @ 2008-01-04 18:02 UTC (permalink / raw)
To: David Reitter; +Cc: Ted Zlatanov, bug-gnu-emacs
David Reitter <david.reitter@gmail.com> writes:
> On 4 Jan 2008, at 12:53, Ted Zlatanov wrote:
>
> > On Thu, 03 Jan 2008 12:25:00 -0800 Dan Nicolaescu <dann@ics.uci.edu>
> > wrote:
> >
> > DN> David Reitter <david.reitter@gmail.com> writes:
> >>> Secondly, changing the major mode triggers a few things in
> >>> aquamacs-
> >>> styles-mode': different faces and frame parameters are applied to
> >>> the
> >>> frame that displays a window with that buffer. But of course that
> >>> shouldn't crash Emacs...
> >
> > DN> Unfortunately the Carbon port is currently unsupported in the
> > CVS HEAD
> > DN> branch and it is known not to work.
> > DN> Non-developers should not try to use it. You are probably more
> > qualified
> > DN> that most people to try to debug the problem...
> >
> > I think Aquamacs is not the Emacs carbon port in CVS (it's an older
> > snapshot, modified in some ways), so unless the bug report is
> > reporting
> > the wrong Emacs version, it should go to the Aquamacs maintainers.
>
>
> a) this problem occurs with a 22 branch build, and according to the OP
> the problem has been occurring with different builds since October.
> See also:
Well, you said "aquamacs", which is not based on the EMACS_22_BASE
branch. EMACS_22_BASE is the only branch in CVS where Carbon is
supported.
If the bug occurs indeed on that branch I suggest you CC the Carbon
maintainer, he might want to take a look. And AFAICT nobody else does
any development on mac...
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
2008-01-04 18:02 ` Dan Nicolaescu
@ 2008-01-05 17:36 ` David Reitter
2008-01-06 1:14 ` Dan Nicolaescu
0 siblings, 1 reply; 12+ messages in thread
From: David Reitter @ 2008-01-05 17:36 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: Ted Zlatanov, bug-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
On 1/4/08, Dan Nicolaescu <dann@ics.uci.edu> wrote:
>
> Well, you said "aquamacs", which is not based on the EMACS_22_BASE
> branch. EMACS_22_BASE is the only branch in CVS where Carbon is
> supported.
What else is Aquamacs based on in your opinion?
IMHO, Aquamacs is based on snapshots of EMACS_22_BASE and we also provide
nightly builds. And that is well known among the Carbon manitainers and
we've been reporting bugs here quite successfully since its inception.
So lets do something more productive than having this discussion.
[-- Attachment #2: Type: text/html, Size: 1043 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
2008-01-05 17:36 ` David Reitter
@ 2008-01-06 1:14 ` Dan Nicolaescu
0 siblings, 0 replies; 12+ messages in thread
From: Dan Nicolaescu @ 2008-01-06 1:14 UTC (permalink / raw)
To: David Reitter; +Cc: Ted Zlatanov, bug-gnu-emacs
"David Reitter" <david.reitter@gmail.com> writes:
> On 1/4/08, Dan Nicolaescu <dann@ics.uci.edu > wrote:
>
> Well, you said "aquamacs", which is not based on the EMACS_22_BASE
> branch. EMACS_22_BASE is the only branch in CVS where Carbon is
> supported.
>
>
> What else is Aquamacs based on in your opinion?
Sorry, I though Aquamacs was the same the Aqua(?) port, which is based on
the unicode-2 branch.
We get complains all the time that the Carbon port is not functional in
HEAD and unicode-2.
Again, you probably want to talk to the Carbon maintainer, nobody else
does any work on the mac port the EMACS_22_BASE branch.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
2008-01-04 14:20 ` David Reitter
2008-01-04 18:02 ` Dan Nicolaescu
@ 2008-01-07 9:30 ` YAMAMOTO Mitsuharu
[not found] ` <mailman.5815.1199698265.18990.bug-gnu-emacs@gnu.org>
2 siblings, 0 replies; 12+ messages in thread
From: YAMAMOTO Mitsuharu @ 2008-01-07 9:30 UTC (permalink / raw)
To: David Reitter; +Cc: bug-gnu-emacs, Hank Stevens
>>>>> On Fri, 4 Jan 2008 14:20:18 +0000, David Reitter <david.reitter@gmail.com> said:
> a) this problem occurs with a 22 branch build, and according to the
> OP the problem has been occurring with different builds since
> October. See also:
Does this mean the problem also occurs with the (unmodified) Carbon
port of Emacs 22? (Note that Aquamacs Emacs and Carbon Emacs Package
have some modifications in common, so even if the problem happens on
both of them, that does not necessarily imply that it is a bug in
Carbon Emacs. Changes to the event handling part can easily break
things as you can see in the multi-tty merger.)
If so, could you describe the concrete step-by-step procedure to
reproduce the problem? For example, `scrolls around a buffer with the
scroll bar' in the original report is not sufficiently concrete
because there are multiple ways to scroll the window using the scroll
bar (i.e., dragging the thumb, clicking above or below the thumb,
clicking arrows).
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <mailman.5815.1199698265.18990.bug-gnu-emacs@gnu.org>]
* Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
[not found] ` <mailman.5815.1199698265.18990.bug-gnu-emacs@gnu.org>
@ 2008-01-13 15:41 ` David Reitter
2008-01-14 3:23 ` YAMAMOTO Mitsuharu
0 siblings, 1 reply; 12+ messages in thread
From: David Reitter @ 2008-01-13 15:41 UTC (permalink / raw)
To: bug-gnu-emacs; +Cc: HStevens
On Jan 7, 9:30 am, YAMAMOTO Mitsuharu <mituh...@math.s.chiba-u.ac.jp>
wrote:
> Does this mean the problem also occurs with the (unmodified) Carbon
> port of Emacs 22?
Probably not, given that the bug seems to depend on frame parameters
being modified in after-change-major-mode-hook, as is done by
`aquamacs-styles-mode'.
> (Note thatAquamacsEmacs and Carbon Emacs Package
> have some modifications in common, so even if the problem happens on
> both of them, that does not necessarily imply that it is a bug in
> Carbon Emacs.
Likewise, if the bug has only been reproduced in one of them, it
doesn't mean that it is a bug in these distributions. It's a crash,
and pure ELisp code should never crash Emacs. Of course it could be a
bug in one of the patches to the C core.
This one is a bit difficult to home in on. Chances are there is a
problem with the code that sets the frame's parameters (but that
shouldn't lead to a crash).
> If so, could you describe the concrete step-by-step procedure to
> reproduce the problem? For example, `scrolls around a buffer with the
> scroll bar' in the original report is not sufficiently concrete
> because there are multiple ways to scroll the window using the scroll
> bar (i.e., dragging the thumb, clicking above or below the thumb,
> clicking arrows).
It was enough to visit the .Rnw file (as added below in this e-mail),
resize the frame so that there is a vertical scroll bar and one can
scroll around, and then drag the thumb back and forth.
The OP has since added that scrolling with the mouse wheel alone, with
the scroll bar hidden, avoids the bug.
I found that scrolling with the keys or the mouse wheel generally
avoids reproduce the bug, and clicking above and below the thumb
doesn't bring it up either. It's only if you drag it (keep dragging up
and down).
- David
===
Hank Stevens wrote:
Hi folks,
I reported previously crashes when I used the scrollbar to move
quickly around .Rnw documents that include both LaTeX and R code. Of
course the problem didn't arise if I never used the scrollbar, but
that prevented me from moving quickly through long files. My work
around has been to hide the scrollbar (to prevent old habits) and to
rely on the mouse "wheel" in the new Mac mouse. It works very
nicely.
I suppose there must also be a quick keystroke that would allow me
to
page through a long file, but I don't know it but would like to know
what it is.
Thanks for all your efforts,
Hank
---
test.Rnw:
\documentclass{article}
\SweaveOpts{eval=true, echo=true}
%
\begin{document}
type stuff here.
Switch to R
<<>>=
2+2
@
Switch back to latex.
\end{document}
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
2008-01-13 15:41 ` David Reitter
@ 2008-01-14 3:23 ` YAMAMOTO Mitsuharu
0 siblings, 0 replies; 12+ messages in thread
From: YAMAMOTO Mitsuharu @ 2008-01-14 3:23 UTC (permalink / raw)
To: mituharu; +Cc: bug-gnu-emacs, HStevens
>>>>> On Sun, 13 Jan 2008 07:41:03 -0800 (PST), David Reitter <david.reitter@gmail.com> said:
> It was enough to visit the .Rnw file (as added below in this
> e-mail), resize the frame so that there is a vertical scroll bar and
> one can scroll around, and then drag the thumb back and forth.
As a general note, please add some information about third-party
packages if they are necessary for reproducing the problem on the
standard Emacs distribution, because this is a list for bug reports
about Emacs. Anyway, I tried ess-5.3.6 with the Carbon port, but
could not reproduce the problem.
This is just a random guess, but could you try the following patch and
see if the situation changes?
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
Index: src/macterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/macterm.c,v
retrieving revision 1.214.2.12
diff -c -p -r1.214.2.12 macterm.c
*** src/macterm.c 8 Jan 2008 04:29:56 -0000 1.214.2.12
--- src/macterm.c 14 Jan 2008 03:03:41 -0000
*************** void
*** 5581,5588 ****
x_scroll_bar_clear (f)
FRAME_PTR f;
{
! XTcondemn_scroll_bars (f);
! XTjudge_scroll_bars (f);
}
\f
--- 5581,5600 ----
x_scroll_bar_clear (f)
FRAME_PTR f;
{
! Lisp_Object bar;
!
! /* We can have scroll bars even if this is 0,
! if we just turned off scroll bar mode.
! But in that case we should not clear them. */
! if (FRAME_HAS_VERTICAL_SCROLL_BARS (f))
! {
! #if USE_CG_DRAWING
! mac_prepare_for_quickdraw (f);
! #endif
! for (bar = FRAME_SCROLL_BARS (f); VECTORP (bar);
! bar = XSCROLL_BAR (bar)->next)
! Draw1Control (SCROLL_BAR_CONTROL_HANDLE (XSCROLL_BAR (bar)));
! }
}
\f
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
@ 2008-01-15 10:54 David Reitter
0 siblings, 0 replies; 12+ messages in thread
From: David Reitter @ 2008-01-15 10:54 UTC (permalink / raw)
To: YAMAMOTO Mitsuharu, Hank Stevens, Bug-Gnu-Emacs
> This is just a random guess, but could you try the following patch and
> see if the situation changes?
Your random guess was good, thanks.
I can't reproduce the problem with the patch applied.
Note, however, that I wasn't explicitly turning off scroll-bar-mode
after the mode change (unless the particular major modes did something
like that). Did perhaps something in XTcondemn_scroll_bars or
XTjudge_scroll_bars cause the crash? And the stack trace doesn't
point to that at all...
Hank, can you please try the latest Aquamacs build from http://aquamacs.org/nightlies.shtml
and tell us whether the problem is fixed for you?
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-01-15 10:54 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-03 19:39 Crash when using scroll bar in Carbon port (keyboard.c:3010) David Reitter
2008-01-03 20:18 ` David Reitter
2008-01-03 20:25 ` Dan Nicolaescu
[not found] ` <mailman.5668.1199392066.18990.bug-gnu-emacs@gnu.org>
2008-01-04 12:53 ` Ted Zlatanov
2008-01-04 14:20 ` David Reitter
2008-01-04 18:02 ` Dan Nicolaescu
2008-01-05 17:36 ` David Reitter
2008-01-06 1:14 ` Dan Nicolaescu
2008-01-07 9:30 ` YAMAMOTO Mitsuharu
[not found] ` <mailman.5815.1199698265.18990.bug-gnu-emacs@gnu.org>
2008-01-13 15:41 ` David Reitter
2008-01-14 3:23 ` YAMAMOTO Mitsuharu
-- strict thread matches above, loose matches on Subject: below --
2008-01-15 10:54 David Reitter
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).