From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jochen Luebbers Newsgroups: gmane.emacs.bugs Subject: Re: Crash of Emacs 22.1 Date: Fri, 29 Feb 2008 09:29:26 +0100 Organization: My Home is my Castle Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1204273809 23047 80.91.229.12 (29 Feb 2008 08:30:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 08:30:09 +0000 (UTC) To: gnu-emacs-bug@moderators.individual.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 29 09:30:34 2008 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 1JV0dP-0008Ps-U6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Feb 2008 09:30:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JV0ct-0005qh-IW for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Feb 2008 03:29:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JV0cY-0005ih-64 for bug-gnu-emacs@gnu.org; Fri, 29 Feb 2008 03:29:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JV0cV-0005iB-7y for bug-gnu-emacs@gnu.org; Fri, 29 Feb 2008 03:29:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JV0cV-0005i8-15 for bug-gnu-emacs@gnu.org; Fri, 29 Feb 2008 03:29:31 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JV0cU-0003wL-AS for bug-gnu-emacs@gnu.org; Fri, 29 Feb 2008 03:29:30 -0500 Original-Received: from moderators.individual.net ([130.133.4.7]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JV0cT-00087K-DC for bug-gnu-emacs@gnu.org; Fri, 29 Feb 2008 03:29:29 -0500 Original-Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by moderators.individual.net (Exim 4.69) for gnu-emacs-bug@moderators.individual.net with esmtp (envelope-from ) id <1JV0cR-0005Zm-TZ>; Fri, 29 Feb 2008 09:29:27 +0100 Original-Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for gnu-emacs-bug@moderators.individual.net with esmtp (envelope-from ) id <1JV0cR-0002bF-Sb>; Fri, 29 Feb 2008 09:29:27 +0100 Original-Received: from curry.zedat.fu-berlin.de ([130.133.1.2]) by relay1.zedat.fu-berlin.de (Exim 4.69) for gnu-emacs-bug@moderators.individual.net with esmtp (envelope-from ) id <1JV0cR-00089u-Ra>; Fri, 29 Feb 2008 09:29:27 +0100 Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.uni-berlin.de with bsmtp id ; Fri, 29 Feb 2008 09:29:27 +0100 (MET) Original-Path: individual.net!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 147 X-Orig-X-Trace: individual.net k5A5BIId8y+bVuBZA/tOUwdL3Pm6yA5NHoVTeq3eDQ8qzEZBiy Cancel-Lock: sha1:ELWrRheBq5RhIEK9uycZalH1Mro= sha1:h8cAKd4Y41msTIG99u1uQG+m8uQ= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Originating-IP: 130.133.1.2 X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:17619 Archived-At: Stefan Monnier wrote: > Not much to go on. The part of the stack trace just before entering the > GC might be a bit more enlightening, although I wouldn't hold my breath. Here it is: #22 0x0816c992 in Fbyte_code (bytestr=136141291, vector=136141308, maxdepth=48) at bytecode.c:724 #23 0x081432fb in funcall_lambda (fun=136141228, nargs=4, arg_vector=0xbff7d2b4) at eval.c:3184 #24 0x08143726 in Ffuncall (nargs=5, args=0xbff7d2b0) at eval.c:3054 #25 0x0816ba71 in Fbyte_code (bytestr=136150731, vector=136150748, maxdepth=48) at bytecode.c:679 #26 0x081432fb in funcall_lambda (fun=136150676, nargs=2, arg_vector=0xbff7d3f4) at eval.c:3184 #27 0x08143726 in Ffuncall (nargs=3, args=0xbff7d3f0) at eval.c:3054 #28 0x0816ba71 in Fbyte_code (bytestr=136150851, vector=136150868, maxdepth=48) at bytecode.c:679 #29 0x081432fb in funcall_lambda (fun=136150788, nargs=3, arg_vector=0xbff7d534) at eval.c:3184 #30 0x08143726 in Ffuncall (nargs=4, args=0xbff7d530) at eval.c:3054 #31 0x0816ba71 in Fbyte_code (bytestr=136154499, vector=136154524, maxdepth=40) at bytecode.c:679 #32 0x08142e9f in Feval (form=136154485) at eval.c:2328 #33 0x08144f61 in internal_lisp_condition_case (var=137386185, bodyform=136154485, handlers=136154605) at eval.c:1426 #34 0x0816be66 in Fbyte_code (bytestr=136154107, vector=136154124, maxdepth=72) at bytecode.c:869 #35 0x081432fb in funcall_lambda (fun=136154068, nargs=1, arg_vector=0xbff7d914) at eval.c:3184 #36 0x08143726 in Ffuncall (nargs=2, args=0xbff7d910) at eval.c:3054 #37 0x08144784 in call1 (fn=137542081, arg1=164329260) at eval.c:2782 #38 0x080cf3e6 in Fx_show_tip (string=164319123, frame=160999692, parms=162084773, timeout=80, dx=40, dy=160) at xfns.c:4951 #39 0x0814381f in Ffuncall (nargs=7, args=0xbff7dad0) at eval.c:3028 #40 0x0816ba71 in Fbyte_code (bytestr=136614139, vector=136614164, maxdepth=56) at bytecode.c:679 #41 0x08142e9f in Feval (form=136614125) at eval.c:2328 #42 0x08144f61 in internal_lisp_condition_case (var=137431641, bodyform=136614125, handlers=136614269) at eval.c:1426 #43 0x0816be66 in Fbyte_code (bytestr=136614051, vector=136614068, maxdepth=24) at bytecode.c:869 #44 0x081432fb in funcall_lambda (fun=136613996, nargs=2, arg_vector=0xbff7de74) at eval.c:3184 #45 0x08143726 in Ffuncall (nargs=3, args=0xbff7de70) at eval.c:3054 #46 0x0816ba71 in Fbyte_code (bytestr=136615547, vector=136615564, maxdepth=24) at bytecode.c:679 #47 0x081432fb in funcall_lambda (fun=136615508, nargs=1, arg_vector=0xbff7e078) at eval.c:3184 #48 0x08143726 in Ffuncall (nargs=2, args=0xbff7e074) at eval.c:3054 #49 0x081448fe in run_hook_with_args (nargs=2, args=0xbff7e074, cond=until_success) at eval.c:2656 #50 0x08143907 in Ffuncall (nargs=3, args=0xbff7e070) at eval.c:2978 #51 0x0816ba71 in Fbyte_code (bytestr=136613811, vector=136613828, maxdepth=24) at bytecode.c:679 #52 0x081432fb in funcall_lambda (fun=136613772, nargs=1, arg_vector=0xbff7e258) at eval.c:3184 #53 0x08143726 in Ffuncall (nargs=2, args=0xbff7e254) at eval.c:3054 #54 0x08144c4d in Fapply (nargs=2, args=0xbff7e254) at eval.c:2485 #55 0x08143907 in Ffuncall (nargs=3, args=0xbff7e250) at eval.c:2978 #56 0x0816ba71 in Fbyte_code (bytestr=136464363, vector=136464388, maxdepth=32) at bytecode.c:679 #57 0x08142e9f in Feval (form=136464349) at eval.c:2328 #58 0x08144f61 in internal_lisp_condition_case (var=137386185, bodyform=136464349, handlers=136464421) at eval.c:1426 #59 0x0816be66 in Fbyte_code (bytestr=136464219, vector=136464236, maxdepth=40) at bytecode.c:869 #60 0x081432fb in funcall_lambda (fun=136464180, nargs=1, arg_vector=0xbff7e614) at eval.c:3184 #61 0x08143726 in Ffuncall (nargs=2, args=0xbff7e610) at eval.c:3054 #62 0x08144784 in call1 (fn=137421609, arg1=164320988) at eval.c:2782 #63 0x080e6139 in timer_check (do_it_now=1) at keyboard.c:4575 #64 0x080e62da in readable_events (flags=1) at keyboard.c:3600 #65 0x080eb67b in get_input_pending (addr=0x82f31d8, flags=1) at keyboard.c:6722 #66 0x080eb74b in detect_input_pending_run_timers (do_display=1) at keyboard.c:10239 #67 0x081722ee in wait_reading_process_output (time_limit=30, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=137386185, wait_proc=0x0, just_wait_proc=0) at process.c:4697 #68 0x08058b2d in sit_for (timeout=240, reading=1, do_display=1) at dispnew.c:6579 #69 0x080ed00d in read_char (commandflag=1, nmaps=2, maps=0xbff7ed90, prev_event=137386185, used_mouse_menu=0xbff7edd8, end_time=0x0) at keyboard.c:2904 #70 0x080ef2bc in read_key_sequence (keybuf=0xbff7eef0, bufsize=30, prompt=137386185, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9135 #71 0x080f0c2d in command_loop_1 () at keyboard.c:1618 #72 0x08141c36 in internal_condition_case (bfun=0x80f0a8c , handlers=137431641, hfun=0x80ea134 ) at eval.c:1481 #73 0x080e4caa in command_loop_2 () at keyboard.c:1329 #74 0x08141915 in internal_catch (tag=137424825, func=0x80e4c8c , arg=137386185) at eval.c:1222 #75 0x080e4ae9 in command_loop () at keyboard.c:1308 #76 0x080e4b84 in recursive_edit_1 () at keyboard.c:1006 #77 0x080e4c4e in Frecursive_edit () at keyboard.c:1067 #78 0x080e4005 in main (argc=1, argv=0xbff7f4f4) at emacs.c:1762 > Fetch the Emacs-22.1 source code, so you can debug better, go to the > emacs/src directory (where there's a .gdbinit file which will provide > some extra commands) and then use `xbacktrace' which will give you > a Lisp-level backtrace (basically a more succint interpretation of > a subset of the C backtrace before the call to the GC). (gdb) xbacktrace "set-face-attribute" (0x96ab091) "face-spec-reset-face" (0x96ab091) "face-spec-set" (0x96ab091) "byte-code" (0x81d8d83) "face-set-after-frame-default" (0x9cb772c) "x-show-tip" (0x9cb4f93) "byte-code" (0x82490fb) "tooltip-show" (0x8543c93) "tooltip-help-tips" (0x83058c9) "run-hook-with-args-until-success" (0x854cfd1) "tooltip-timeout" (0x83058c9) "apply" (0x854d1b1) "byte-code" (0x82247eb) "timer-event-handler" (0x9cb56dc) (gdb) > Also, keep this core dump around, and try to reproduce the problem, > accumulating core dumps and stack backtraces over time, so we may be > able to find some pattern. I'll keep my eyes open. But I'm not sure if there is any chance of reproducing it actively. When I enter my office, I start my PC and open emacs. And the last application closed before shutdown is: emacs. So many things have happened (e.g. reading news) until the moment of the crash. > You may also want to run your Emacs > from within GDB so you'll always get a usable "core". > Also look at the emacs/etc/DEBUG file in the distribution. Finally, > recompile without optimizations so GDB is a bit less confused by > variables that disappeared and things like that. I'll check that. May be I can make some setup with a memory debugger. Regards Jochen -- "Who desire to give up freedom in order to gain security will loose both in the end." (Benjamin Franklin)