From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergio Roa Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2922: emacs crashes (freezes) Date: Tue, 07 Apr 2009 16:10:17 +0200 Message-ID: <49DB5EC9.3070508@dfki.de> References: <49DB5818.4050402@dfki.de> Reply-To: Sergio Roa , 2922@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239166583 18990 80.91.229.12 (8 Apr 2009 04:56:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2009 04:56:23 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 08 06:57:35 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LrPqx-000180-92 for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 06:57:35 +0200 Original-Received: from localhost ([127.0.0.1]:40072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrPpZ-0006QV-4N for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 00:56:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrCDW-0005QO-Es for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 10:23:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrCDR-0005Ob-6w for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 10:23:57 -0400 Original-Received: from [199.232.76.173] (port=47520 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrCDR-0005OU-22 for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 10:23:53 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46512) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LrCDP-0003OM-Gm for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 10:23:52 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n37ENmrH018733; Tue, 7 Apr 2009 07:23:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n37EF4uH015957; Tue, 7 Apr 2009 07:15:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Sergio Roa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Apr 2009 14:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2922 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123911342815566 (code B ref -1); Tue, 07 Apr 2009 14:15:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 7 Apr 2009 14:10:28 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n37EAOkR015558 for ; Tue, 7 Apr 2009 07:10:25 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:33849) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LrC0N-000109-Mu for emacs-pretest-bug@gnu.org; Tue, 07 Apr 2009 10:10:23 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LrC0K-0001k3-6p for emacs-pretest-bug@gnu.org; Tue, 07 Apr 2009 10:10:23 -0400 Original-Received: from lnv-106.sb.dfki.de ([134.96.191.147]:52050 helo=smtp.dfki.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LrC0J-0001jj-BI for emacs-pretest-bug@gnu.org; Tue, 07 Apr 2009 10:10:20 -0400 Original-Received: from smtp.dfki.de (localhost [127.0.0.1]) by imss.7 (Postfix) with ESMTP id DD8CE31771 for ; Tue, 7 Apr 2009 16:10:17 +0200 (CEST) Original-Received: from mail.dfki.de (lnv-104.sb.dfki.de [134.96.191.146]) by smtp.dfki.de (Postfix) with ESMTP id C654F31541 for ; Tue, 7 Apr 2009 16:10:17 +0200 (CEST) Original-Received: from pandion.dfki.uni-sb.de (pandion.dfki.uni-sb.de [134.96.187.197]) by mail.dfki.de (Postfix) with ESMTPA id A092C310D3 for ; Tue, 7 Apr 2009 16:10:17 +0200 (CEST) User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) In-Reply-To: <49DB5818.4050402@dfki.de> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 07 Apr 2009 10:23:57 -0400 X-Mailman-Approved-At: Wed, 08 Apr 2009 00:55:38 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26994 gmane.emacs.pretest.bugs:24246 Archived-At: 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 > , handlers=41990897, hfun=0x7fe29 ) 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 > , 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 > , handlers=41990897, hfun=0x7fe29 ) at > eval.c:1484 > #9 0x00079b89 in command_loop_2 () at keyboard.c:1333 > #10 0x000e547b in internal_catch (tag=41988177, func=0x79b45 > , 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: > M-x > r e p o r t = - e m a c s - b u g 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 -------------------------------------------------------------