From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#18851: 24.4; emacs cannot be started if the current directory has been removed Date: Fri, 12 Jun 2015 11:45:18 -0400 Message-ID: References: <87h9ypiqmm.fsf@xvii.vinc17.org> <8k61f398u4.fsf@fencepost.gnu.org> <20141029012802.GS4400@xvii.vinc17.org> <83y4rz1qmj.fsf@gnu.org> <20141029080939.GT4400@xvii.vinc17.org> <83r3xr0x4u.fsf@gnu.org> <20141029153959.GM5545@ypig.lip.ens-lyon.fr> <83zj45qs5a.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1434123985 23254 80.91.229.3 (12 Jun 2015 15:46:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jun 2015 15:46:25 +0000 (UTC) Cc: vincent@vinc17.net, 18851@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 12 17:46:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z3R9o-0001bX-Ua for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jun 2015 17:46:13 +0200 Original-Received: from localhost ([::1]:52186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3R9o-0000Yr-CX for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jun 2015 11:46:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3R9i-0000V3-O2 for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 11:46:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3R9f-0003Va-77 for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 11:46:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3R9f-0003Uh-46 for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 11:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3R9e-0004gl-Gl for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 11:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jun 2015 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18851 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18851-submit@debbugs.gnu.org id=B18851.143412394317989 (code B ref 18851); Fri, 12 Jun 2015 15:46:02 +0000 Original-Received: (at 18851) by debbugs.gnu.org; 12 Jun 2015 15:45:43 +0000 Original-Received: from localhost ([127.0.0.1]:51973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3R9J-0004fy-3D for submit@debbugs.gnu.org; Fri, 12 Jun 2015 11:45:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60097) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3R9F-0004fj-NW for 18851@debbugs.gnu.org; Fri, 12 Jun 2015 11:45:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3R95-00038x-Uf for 18851@debbugs.gnu.org; Fri, 12 Jun 2015 11:45:32 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:48087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3R8y-00037Q-PU; Fri, 12 Jun 2015 11:45:20 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1Z3R8w-00014e-Jf; Fri, 12 Jun 2015 11:45:18 -0400 X-Spook: Hezbollah Avian Law enforcement Eco terrorism Zachawi Mud X-Ran: uz:zG(\asFvNRm@or(/+mgZ,ojw/`lYI%wa2+lw}W%iBq3\EUd~KY=D.U_]rmIb02R\nCu X-Hue: green X-Attribution: GM In-Reply-To: <83zj45qs5a.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Jun 2015 10:53:37 +0300") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103865 Archived-At: Eli Zaretskii wrote: > It doesn't segfault for me. Can you show a backtrace? Here you go (maybe it's more like 50% than 10%): bt: #0 0x00007ffff12e2c45 in __memcpy_ssse3_back () from /lib64/libc.so.6 #1 0x00007ffff69df80d in SmcSetProperties () from /lib64/libSM.so.6 #2 0x0000000000536f5b in smc_save_yourself_CB (smcConn=0xeae5b0, clientData=0x0, saveType=1, shutdown=0, interactStyle=0, fast=0) at xsmfns.c:262 #3 0x00007ffff69e1c5d in _SmcProcessMessage () from /lib64/libSM.so.6 #4 0x00007ffff67d1b97 in IceProcessMessages () from /lib64/libICE.so.6 #5 0x00000000005367d5 in x_session_check_input (fd=11, data=0x0) at xsmfns.c:110 #6 0x00000000006374ab in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=..., wait_proc=0x0, just_wait_proc=0) at process.c:5087 #7 0x000000000054e66b in kbd_buffer_get_event (kbp=0x7fffffff2fe8, used_mouse_menu=0x7fffffff394f, end_time=0x0) at keyboard.c:3927 #8 0x000000000054ac3e in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffff3500, used_mouse_menu=0x7fffffff394f) at keyboard.c:2200 #9 0x000000000054aea3 in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffff3500, prev_event=..., used_mouse_menu=0x7fffffff394f) at keyboard.c:2265 #10 0x000000000054c421 in read_char (commandflag=1, map=..., prev_event=..., used_mouse_menu=0x7fffffff394f, end_time=0x0) at keyboard.c:2875 #11 0x0000000000558b68 in read_key_sequence (keybuf=0x7fffffff3b20, bufsize=30, prompt=..., dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9159 #12 0x0000000000548d11 in command_loop_1 () at keyboard.c:1407 #13 0x00000000005e229a in internal_condition_case ( bfun=0x5488f2 , handlers=..., hfun=0x5480d7 ) at eval.c:1348 #14 0x00000000005485fa in command_loop_2 (ignore=...) at keyboard.c:1139 #15 0x00000000005e1a2d in internal_catch (tag=..., func=0x5485d1 , arg=...) at eval.c:1108 #16 0x000000000054859a in command_loop () at keyboard.c:1118 #17 0x0000000000547cb2 in recursive_edit_1 () at keyboard.c:728 #18 0x0000000000547e3c in Frecursive_edit () at keyboard.c:799 #19 0x0000000000545c0f in main (argc=2, argv=0x7fffffff3fe8) at emacs.c:1626 bt full: #0 0x00007ffff12e2c45 in __memcpy_ssse3_back () from /lib64/libc.so.6 No symbol table info available. #1 0x00007ffff69df80d in SmcSetProperties () from /lib64/libSM.so.6 No symbol table info available. #2 0x0000000000536f5b in smc_save_yourself_CB (smcConn=0xeae5b0, clientData=0x0, saveType=1, shutdown=0, interactStyle=0, fast=0) at xsmfns.c:262 props = {0x7fffffff2830, 0x7fffffff2850, 0x7fffffff2870, 0x7fffffff2890, 0xeaf100} prop_ptr = {{ name = 0x14d52c0 "CloneCommand", type = 0xd69190 "LISTofARRAY8", num_vals = 1, vals = 0x7fffffff26f0 }, { name = 0xe6ca50 "Program", type = 0x11c4820 "ARRAY8", num_vals = 1, vals = 0x7fffffff2700 }, { name = 0xd537a0 "UserID", type = 0xe6cf10 "ARRAY8", num_vals = 1, vals = 0x7fffffff2710 }, { name = 0xd55160 "RestartCommand", type = 0xdb2390 "LISTofARRAY8", num_vals = 5, vals = 0xe7e640 }, { name = 0x7fffffff28c0 "\020$|\366\377\177", type = 0x4860ff6efdd1c200
, num_vals = -159636464, vals = 0x7ffff7fc6000 }} values = {{ length = 45, value = 0xeaed30 }, { length = 5, value = 0xe647c0 }, { length = 7, value = 0xe61940 }, { length = 15820013, value = 0x1 }, { length = 500000000, value = 0x7ffff7de44c9 }, { length = 0, value = 0x7ffff67c16a8 }, { length = 10, value = 0x5b }, { length = -456570963, value = 0x7ffff7de4ccb }, { length = 499658979, value = 0x7fffffff27b0 }, { length = -159640236, value = 0x7ffff67c2410 }, { length = -55104, value = 0x7fffffff28b0 }, { length = 45, value = 0x5341d }, { length = 0, value = 0x0 }, { length = -134455296, value = 0x406e31 }, { length = -159634424, value = 0x403e10 }, { length = 0, value = 0x10000008f }, { length = 20813427, value = 0x7fffffff2978 }, { length = -54960, value = 0x1 }, { length = 16, value = 0x7fffffff2910 }, { length = -55248, value = 0x4860ff6efdd1c200 }} vp = 0xe7e640 val_idx = 3 vp_idx = 4 props_idx = 4 i = 2 smid_opt = 0xe0e010 "--smid=2d8bff4ea-7fc2-496f-bf2b-dd182557f83d" chdir_opt = 0x0 user_login_name = { i = 18641748 } cwd = 0x0 #3 0x00007ffff69e1c5d in _SmcProcessMessage () from /lib64/libSM.so.6 No symbol table info available. #4 0x00007ffff67d1b97 in IceProcessMessages () from /lib64/libICE.so.6 No symbol table info available. #5 0x00000000005367d5 in x_session_check_input (fd=11, data=0x0) at xsmfns.c:110 ret = 11 #6 0x00000000006374ab in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=..., wait_proc=0x0, just_wait_proc=0) at process.c:5087 d = 0xc5cde8 timeout_reduced_for_timers = true channel = 11 nfds = 2 Available = { fds_bits = {3072, 0 } } Writeok = { fds_bits = {0 } } check_write = true check_delay = 0 no_avail = false xerrno = 11 proc = { i = 0 } timeout = { tv_sec = 0, tv_nsec = 0 } end_time = { tv_sec = 0, tv_nsec = 0 } got_some_input = -1 count = 2 #7 0x000000000054e66b in kbd_buffer_get_event (kbp=0x7fffffff2fe8, used_mouse_menu=0x7fffffff394f, end_time=0x0) at keyboard.c:3927 do_display = true obj = { i = 0 } #8 0x000000000054ac3e in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffff3500, used_mouse_menu=0x7fffffff394f) at keyboard.c:2200 c = { i = 0 } save_jump = {{ __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = { __val = {0 } } }} kb = 0x1dcd6500 #9 0x000000000054aea3 in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffff3500, prev_event=..., used_mouse_menu=0x7fffffff394f) at keyboard.c:2265 nextevt = { i = 13589501 } frame = 0x7fffffff3260 terminal = 0xcf5bfd events = {{ i = 13076624 }, { i = 0 }, { i = 0 }, { i = 140737488302560 }, { i = 5506081 }, { i = 499992607 }, { i = 140737488302624 }, { i = 5560959 }, { i = 13076624 }, { i = 4294967296 }, { i = 0 }, { i = 140737488302624 }, { i = 5506081 }, { i = 0 }, { i = 140737488302672 }, { i = 5587002 }} n = 0 #10 0x000000000054c421 in read_char (commandflag=1, map=..., prev_event=..., used_mouse_menu=0x7fffffff394f, end_time=0x0) at keyboard.c:2875 c = { i = 0 } jmpcount = 2 local_getcjmp = {{ __jmpbuf = {0, -601185235832345470, 19028509, 43008, 0, 0, -601185235687641982, 601184789779639426}, __mask_was_saved = 0, __saved_mask = { __val = {140737488303456, 5506081, 0, 140737488303744, 5643396, 0, 0, 43008, 0, 0, 0, 0, 0, 0, 0, 0} } }} save_jump = {{ __jmpbuf = {17083104, 18474576, 0, 13627136, 20957107, 17083104, 13076624, 0}, __mask_was_saved = 5397952, __saved_mask = { __val = {140737488303248, 13076624, 0, 140737488303456, 140737488303280, 5506081, 0, 140737488303456, 6187899, 0, 2, 0, 6601013, 0, 5506321, 5397952} } }} tem = { i = 774368 } save = { i = 0 } previous_echo_area_message = { i = 0 } also_record = { i = 0 } reread = false gcpro1 = { next = 0xcfef45, var = 0x7020, nvars = 140737488303248 } gcpro2 = { next = 0xc78890 , var = 0xcfef40, nvars = 140737488303072 } polling_stopped_here = true orig_kboard = 0xea8ae0 #11 0x0000000000558b68 in read_key_sequence (keybuf=0x7fffffff3b20, bufsize=30, prompt=..., dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9159 interrupted_kboard = 0xea8ae0 interrupted_frame = 0x12d7830 key = { i = 140737488304528 } used_mouse_menu = false echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 new_binding = { i = 1 } count = 2 t = 0 echo_start = 0 keys_start = 0 current_binding = { i = 17376275 } first_event = { i = 0 } first_unbound = 31 mock_input = 0 fkey = { parent = { i = 17494291 }, map = { i = 17494291 }, start = 0, end = 0 } keytran = { parent = { i = 13581891 }, map = { i = 13581891 }, start = 0, end = 0 } indec = { parent = { i = 17494307 }, map = { i = 17494307 }, start = 0, end = 0 } shift_translated = false delayed_switch_frame = { i = 0 } original_uppercase = { i = 140737488304704 } original_uppercase_position = -1 dummyflag = false starting_buffer = 0xcfef40 fake_prefixed_keys = { i = 0 } gcpro1 = { next = 0xc78890 , var = 0x0, nvars = 13674661 } #12 0x0000000000548d11 in command_loop_1 () at keyboard.c:1407 cmd = { i = 140737488305248 } keybuf = {{ i = 0 }, { i = 4274848 }, { i = 13076624 }, { i = 0 }, { i = 0 }, { i = 140737488304992 }, { i = 5506081 }, { i = 0 }, { i = 140737488305168 }, { i = 6187899 }, { i = 16935731 }, { i = 2 }, { i = 0 }, { i = 12914144 }, { i = 8350928 }, { i = 0 }, { i = 16935731 }, { i = 13104320 }, { i = 10674453 }, { i = 21807312 }, { i = 140737488305168 }, { i = 6186898 }, { i = 3 }, { i = 140737488305136 }, { i = 27696 }, { i = 27696 }, { i = 0 }, { i = 13104320 }, { i = 4274848 }, { i = 0 }} i = 0 prev_modiff = 0 prev_buffer = 0x0 already_adjusted = false #13 0x00000000005e229a in internal_condition_case ( bfun=0x5488f2 , handlers=..., hfun=0x5480d7 ) at eval.c:1348 val = { i = 16935731 } c = 0xe6b410 #14 0x00000000005485fa in command_loop_2 (ignore=...) at keyboard.c:1139 val = { i = 15119072 } #15 0x00000000005e1a2d in internal_catch (tag=..., func=0x5485d1 , arg=...) at eval.c:1108 val = { i = 0 } c = 0xe6b2e0 #16 0x000000000054859a in command_loop () at keyboard.c:1118 No locals. #17 0x0000000000547cb2 in recursive_edit_1 () at keyboard.c:728 count = 1 val = { i = 140737488305600 } #18 0x0000000000547e3c in Frecursive_edit () at keyboard.c:799 count = 0 buffer = { i = 0 } #19 0x0000000000545c0f in main (argc=2, argv=0x7fffffff3fe8) at emacs.c:1626 dummy = { i = 80 } stack_bottom_variable = 0 '\000' do_initial_setlocale = true dumping = false skip_args = 0 rlim = { rlim_cur = 33554432, rlim_max = 18446744073709551615 } no_loadup = false junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 original_pwd = 0x0 A debugging session is active. Inferior 1 [process 6488] will be killed. Quit anyway? (y or n)