[Aquamacs-devel] lock files cause Aquamacs to hang
David Reitter
david.reitter at gmail.com
Tue Oct 27 23:58:57 UTC 2009
Hey Pete,
it sounds to me like there's a problem with the file system (since the
rm command doesn't work), and the hang just follows from that.
Of course, unlink() might not be guaranteed to work properly. I don't
see any loops in lock_file() (filelock.c), but I wouldn't be surprised
if something's waiting for the file to go away (and unlink()ing
repeatedly).
- David
On Oct 25, 2009, at 1:47 PM, Pete Siemsen wrote:
> David,
>
> With gdb on "2.0preview2", here's the backtrace:
>
> (gdb) bt
> #0 0x94d5da76 in unlink ()
> #1 0x000f864f in current_lock_owner ()
> #2 0x000f86e7 in lock_if_free ()
> #3 0x000f8926 in lock_file ()
> #4 0x000fe2ad in prepare_to_modify_buffer ()
> #5 0x000fd6be in del_range_1 ()
> #6 0x000fd625 in del_range ()
> #7 0x00116dfa in Fdelete_char ()
> #8 0x00169c15 in Ffuncall ()
> #9 0x00164532 in Fcall_interactively ()
> #10 0x00169c48 in Ffuncall ()
> #11 0x00169704 in call3 ()
> #12 0x000daa38 in Fcommand_execute ()
> #13 0x000c9e31 in command_loop_1 ()
> #14 0x00167030 in internal_condition_case ()
> #15 0x000c7ca2 in command_loop_2 ()
> #16 0x001669c1 in internal_catch ()
> #17 0x000c7c2b in command_loop ()
> #18 0x000c71ff in recursive_edit_1 ()
> #19 0x000c7408 in Frecursive_edit ()
> #20 0x000c5710 in main ()
> (gdb)
>
>
> Yes, it also occurs with 1.9. Using 1.9, here's the top part of a
> dump after a Force Quit:
>
> Date/Time: 2009-10-21 08:49:09 -0600
> OS Version: 10.5.8 (Build 9L30)
> Architecture: i386
> Report Version: 4
>
> Command: Aquamacs
> Path: /Applications/Aquamacs Emacs.app/Contents/MacOS/
> Aquamacs Emacs
> Version: Aquamacs 1.9, GNU Emacs 22 (1.9)
> Parent: launchd [125]
>
> PID: 4883
> Event: hang
> Time: 8.02s
> Steps: 48
>
>
> Process: Aquamacs Emacs [4883]
> Path: /Applications/Aquamacs Emacs.app/Contents/MacOS/
> Aquamacs Emacs
>
> ADDRESS BINARY
> 00001000 /Applications/Aquamacs Emacs.app/Contents/MacOS/
> Aquamacs Emacs
> 01781000 /System/Library/PrivateFrameworks/
> URLMount.framework/URLMount
> 020eb000 /System/Library/CoreServices/RawCamera.bundle/
> Contents/MacOS/RawCamera
> 02464000 /System/Library/Filesystems/URLMount/smb.URLMounter/
> Contents/MacOS/smb
>
> Thread id: 8f16998
> User stack:
> 48 _prepare_to_modify_buffer + 383 (in Aquamacs Emacs) [0xc525a]
> 27 ___unlink + 10 (in libSystem.B.dylib) [0x94d5da76]
> 11 ___symlink + 10 (in libSystem.B.dylib) [0x94d9879e]
> 10 ___readlink + 10 (in libSystem.B.dylib) [0x94d55a0e]
> Kernel stack:
> 48 _unix_syscall + 572 [0x3e3a7f]
> 27 _unlink + 113 [0x1e55b1]
> 27 _undelete + 665 [0x1e5403]
> 16 _VNOP_REMOVE + 119 [0x1f5c53]
> 16 com.apple.filesystems.smbfs (1.4.6) + 69064 [0x5b3bcdc8]
> 16 com.apple.filesystems.smbfs (1.4.6) + 68698
> [0x5b3bcc5a]
> 15 com.apple.filesystems.smbfs (1.4.6) + 34555
> [0x5b3b46fb]
> 15 com.apple.filesystems.smbfs (1.4.6) + 125137
> [0x5b3ca8d1]
> 15 com.apple.filesystems.smbfs (1.4.6) + 124651
> [0x5b3ca6eb]
> 15 com.apple.filesystems.smbfs (1.4.6) + 122984
> [0x5b3ca068]
> _______________________________________________
> Aquamacs-devel mailing list
> Aquamacs-devel at aquamacs.org
> http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-devel
More information about the Aquamacs-devel
mailing list