all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sergio Roa <sergio.roa@dfki.de>
To: emacs-pretest-bug@gnu.org
Subject: bug#2922: emacs crashes (freezes)
Date: Tue, 07 Apr 2009 16:10:17 +0200	[thread overview]
Message-ID: <49DB5EC9.3070508@dfki.de> (raw)
In-Reply-To: <49DB5818.4050402@dfki.de>

I found that the source of the problem is the lock file for Samba 
directories:

A link in the client "aliena.dfki"

.#prueba.xml -> sergio@pandion.dfki.uni-sb.de.10144

is created and not deleted (in the server "pandion.dfki") after emacs 
quit. Therefore after the second and subsequent editions of the file 
emacs freezes.


Sergio Roa wrote:
> When editing  a file  (for second time)  which is in a directory mounted 
> from a  Samba server, gnu emacs (both Aquamacs and Carbon Emacs in 
> MacOS) freezes when some edition is performed.
> 
> *gdb output:*
> 
> (gdb) run
> Starting program: /Applications/Aquamacs 
> Emacs.app/Contents/MacOS/Aquamacs Emacs
> Reading symbols for shared libraries 
> +++++................................................................................ 
> done
> 2009-04-07 15:26:30.287 Aquamacs Emacs[13701:813] *** CFMessagePort: 
> bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 
> 0x1e03, name = 'org.gnu.AquamacsEmacs.ServiceProvider'
> See /usr/include/servers/bootstrap_defs.h for the error codes.
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries ... done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries . don
> 
> 
> *bt full output:*
> 
> (gdb) bt full
> #0  0x910f09b6 in unlink ()
> No symbol table info available.
> #1  0x0009c88b in current_lock_owner (owner=0xbffff0a0, 
> lfname=0xbffff030 "/Volumes/sergio/nnl_ndim-2.0/samples/.#prueba.xml") 
> at filelock.c:518
>     len = 10144
>     ret = 10144
>     local_owner = 0
>     colon = 0x910f09b6 "s\016?"
>     lfinfo = 0x16a24cd0 "sergio@pandion.dfki.uni-sb.de.10144"
>     bufsize = 379735277
> #2  0x0009c9de in lock_file (fn=29900979) at filelock.c:556
>     locker = 0
>     attack = 0
>     encoded_fn = -1861285450
>     lock_info = {
>   user = 0x16a7d720 "sergio",
>   host = 0x16a80580 "pandion.dfki.uni-sb.de",
>   pid = 10144,
>   boot_time = 0
> }
> #3  0x0009eabe in prepare_to_modify_buffer (start=349, end=349, 
> preserve_ptr=0x0) at insdel.c:2090
>     base_buffer = (struct buffer *) 0x910f09b6
> #4  0x0009f0b3 in insert_1_both (string=0xbffff21c "s?\a", nchars=1, 
> nbytes=1, inherit=1, prepare=1, before_markers=0) at insdel.c:993
>     string = (const unsigned char *) 0xbffff21c "s?\a"
>     nchars = 1
>     nbytes = 1
>     inherit = 1
>     prepare = 1
>     before_markers = 0
> #5  0x000a05cc in insert_and_inherit (string=0xbffff21c "s?\a", 
> nbytes=1) at insdel.c:771
>     nbytes = 1
>     len = 1
>     opoint = 1
> #6  0x000b42ab in internal_self_insert (c=115, noautofill=0) at cmds.c:516
>     hairy = 1
>     tem = 0
>     synt = Swhitespace
>     overwrite = 41944073
>     string = 1
>     len = 1
>     str = "s?\a"
>     chars_to_delete = 0
>     spaces_to_insert = 0
>     c = 115
> #7  0x00087f34 in command_loop_1 () at keyboard.c:1843
>     c = 115
>     value = -1861285450
>     cmd = 1
>     lose = 22024152
>     nonundocount = 1
>     keybuf = {920, 48, -1073744996, 43692189, -1073745144, 462822, 250, 
> 41979977, 7408544, -1880941380, 693413, 4528, -1073745112, 462891, 
> 1555410, 5, 6356, -1880940780, 144, 7408544, -1073744984, 475267, 
> -1073745012, 0, -1073745076, -1073745264, 0, 5832704, 41944073, 42321681}
>     i = 1
>     prev_modiff = 449
>     prev_buffer = (struct buffer *) 0x16a46430
>     already_adjusted = 0
> #8  0x000e558a in internal_condition_case (bfun=0x87220 
> <command_loop_1>, handlers=41990897, hfun=0x7fe29 <cmd_error>) at 
> eval.c:1484
>     val = -1861285450
>     c = {
>   tag = 41944073,
>   val = 41944073,
>   next = 0xbffff48c,
>   gcpro = 0x0,
>   jmp = {-1073806465, -1880940780, 8106, 939174, 41944073, 41944073, 
> 3842464, 3828432, -1073744856, -1073745040, 31, 658, 939310, 980680727, 
> 3801119, 3801119, -1073807360, -1073807305},
>   backlist = 0x0,
>   handlerlist = 0x0,
>   lisp_eval_depth = 0,
>   pdlcount = 2,
>   poll_suppress_count = 0,
>   interrupt_input_blocked = 0,
>   byte_stack = 0x0
> }
>     h = {
>   handler = 41990897,
>   var = 41944073,
>   chosen_clause = 0,
>   tag = 0xbffff388,
>   next = 0x0
> }
> #9  0x00079b89 in command_loop_2 () at keyboard.c:1333
>     val = 0
> #10 0x000e547b in internal_catch (tag=41988177, func=0x79b45 
> <command_loop_2>, arg=41944073) at eval.c:1224
>     c = {
>   tag = 41988177,
>   val = 41944073,
>   next = 0x0,
>   gcpro = 0x0,
>   jmp = {852863, -1880937764, 8106, 938975, 868256, 42128098, 3850880, 
> 3828432, -1073744632, -1073744784, 42074143, 658, 939118, -1756692457, 
> -1073807329, -1073807329, 41943040, 42074167},
>   backlist = 0x0,
>   handlerlist = 0x0,
>   lisp_eval_depth = 0,
>   pdlcount = 2,
>   poll_suppress_count = 0,
>   interrupt_input_blocked = 0,
>   byte_stack = 0x0
> }
>     tag = 0
> #11 0x00079963 in command_loop () at keyboard.c:1312
>     val = 0
> #12 0x00079a17 in recursive_edit_1 () at keyboard.c:1010
>     val = 0
> #13 0x00079b06 in Frecursive_edit () at keyboard.c:1071
>     buffer = -1861285450
> #14 0x00078ce8 in main (argc=1, argv=0xbffff6e4) at emacs.c:1770
>     dummy = 1460424
>     stack_bottom_variable = -112 '?'
>     do_initial_setlocale = 1
>     skip_args = 0
>     rlim = {
>   rlim_cur = 8388608,
>   rlim_max = 67104768
> }
>     no_loadup = 0
>     junk = 0x0
> 
> 
> *backtrace output:*
> 
> (gdb) backtrace
> #0  0x910f09b6 in unlink ()
> #1  0x0009c88b in current_lock_owner (owner=0xbffff0a0, 
> lfname=0xbffff030 "/Volumes/sergio/nnl_ndim-2.0/samples/.#prueba.xml") 
> at filelock.c:518
> #2  0x0009c9de in lock_file (fn=29900979) at filelock.c:556
> #3  0x0009eabe in prepare_to_modify_buffer (start=349, end=349, 
> preserve_ptr=0x0) at insdel.c:2090
> #4  0x0009f0b3 in insert_1_both (string=0xbffff21c "s?\a", nchars=1, 
> nbytes=1, inherit=1, prepare=1, before_markers=0) at insdel.c:993
> #5  0x000a05cc in insert_and_inherit (string=0xbffff21c "s?\a", 
> nbytes=1) at insdel.c:771
> #6  0x000b42ab in internal_self_insert (c=115, noautofill=0) at cmds.c:516
> #7  0x00087f34 in command_loop_1 () at keyboard.c:1843
> #8  0x000e558a in internal_condition_case (bfun=0x87220 
> <command_loop_1>, handlers=41990897, hfun=0x7fe29 <cmd_error>) at 
> eval.c:1484
> #9  0x00079b89 in command_loop_2 () at keyboard.c:1333
> #10 0x000e547b in internal_catch (tag=41988177, func=0x79b45 
> <command_loop_2>, arg=41944073) at eval.c:1224
> #11 0x00079963 in command_loop () at keyboard.c:1312
> #12 0x00079a17 in recursive_edit_1 () at keyboard.c:1010
> #13 0x00079b06 in Frecursive_edit () at keyboard.c:1071
> #14 0x00078ce8 in main (argc=1, argv=0xbffff6e4) at emacs.c:1770
> 
> 
> In GNU Emacs 22.1.91.2 (i386-apple-darwin8.11.1, Carbon Version 1.6.0)
>  of 2008-02-23 on plume.sr.unh.edu
> Windowing system distributor `Apple Inc.', version 10.5.6
> configured using `configure  '--without-x' '--prefix=/usr/local''
> 
> Important settings:
>   value of $LC_ALL: en_US
>   value of $LC_COLLATE: nil
>   value of $LC_CTYPE: UTF-8
>   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: Lisp Interaction
> 
> Minor modes in effect:
>   encoded-kbd-mode: t
>   tooltip-mode: t
>   mac-input-method-mode: t
>   tool-bar-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   unify-8859-on-encoding-mode: t
>   utf-translate-cjk-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
> 
> Recent input:
> <help-echo> <down-mouse-1> <mouse-1> <backspace> M-x
> r e p o r t = <backspace> - e m a c s - b u g <ret
> urn>
> 
> Recent messages:
> ("/Applications/Aquamacs Emacs.app/Contents/MacOS/Aquamacs Emacs" "-Q")
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Loading encoded-kb...done
> Loading emacsbug...done
> 


-- 
Sergio Roa
http://www.dfki.de/~sroa
-------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
* Geschaeftsfuehrung: Prof. Dr. Wolfgang Wahlster (Vors.)
                       Dr. Walter Olthoff
* Vorsitzender des Aufsichtsrats:Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
-------------------------------------------------------------






  reply	other threads:[~2009-04-07 14:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <FF01ED20-EEBC-419E-A09D-6EEC62B5A259@gmail.com>
2009-04-07 13:41 ` bug#2920: emacs crashes (freezes) Sergio Roa
2009-04-07 14:10   ` Sergio Roa [this message]
2009-05-31 14:55     ` bug#2922: marked as done (emacs crashes (freezes)) Emacs bug Tracking System
2009-05-31 14:55   ` bug#2920: " Emacs bug Tracking System
     [not found]   ` <handler.2920.D2920.124378164318522.notifdone@emacsbugs.donarmstrong.com>
2009-06-01 10:47     ` bug#2920: closed by Adrian Robert <adrian.b.robert@gmail.com> () Sergio Roa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49DB5EC9.3070508@dfki.de \
    --to=sergio.roa@dfki.de \
    --cc=2922@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.