From: Glenn Morris <rgm@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: vincent@vinc17.net, 18851@debbugs.gnu.org
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 [thread overview]
Message-ID: <v8eglhaq29.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83zj45qs5a.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Jun 2015 10:53:37 +0300")
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 <command_loop_1>, handlers=..., hfun=0x5480d7 <cmd_error>)
at eval.c:1348
#14 0x00000000005485fa in command_loop_2 (ignore=...) at keyboard.c:1139
#15 0x00000000005e1a2d in internal_catch (tag=...,
func=0x5485d1 <command_loop_2>, 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 <Address 0x4860ff6efdd1c200 out of bounds>,
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 <check_match.9344+89>
},
{
length = 0,
value = 0x7ffff67c16a8
},
{
length = 10,
value = 0x5b
},
{
length = -456570963,
value = 0x7ffff7de4ccb <do_lookup_x+1803>
},
{
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 <fd_callback_info+264>
timeout_reduced_for_timers = true
channel = 11
nfds = 2
Available = {
fds_bits = {3072,
0 <repeats 15 times>}
}
Writeok = {
fds_bits = {0 <repeats 16 times>}
}
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 <repeats 16 times>}
}
}}
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 <lispsym>,
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 <lispsym>,
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 <command_loop_1>, handlers=..., hfun=0x5480d7 <cmd_error>)
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 <command_loop_2>, 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)
next prev parent reply other threads:[~2015-06-12 15:45 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 13:33 bug#18851: 24.4; emacs cannot be started if the current directory has been removed Vincent Lefevre
2014-10-28 21:34 ` Glenn Morris
2014-10-29 1:28 ` Vincent Lefevre
2014-10-29 3:50 ` Eli Zaretskii
2014-10-29 8:09 ` Vincent Lefevre
2014-10-29 12:57 ` Stefan Monnier
2014-10-29 14:27 ` Eli Zaretskii
2014-10-29 15:39 ` Vincent Lefevre
2014-10-29 16:07 ` Eli Zaretskii
2014-10-29 16:44 ` Vincent Lefevre
2014-10-29 16:15 ` Andreas Schwab
2014-10-29 16:51 ` Vincent Lefevre
2014-10-29 17:31 ` Andreas Schwab
2014-10-29 17:45 ` Vincent Lefevre
2014-10-29 18:23 ` Ivan Shmakov
2014-10-29 21:11 ` Andreas Schwab
2014-10-30 0:39 ` Stefan Monnier
2015-06-12 0:39 ` Glenn Morris
2015-06-12 7:53 ` Eli Zaretskii
2015-06-12 15:45 ` Glenn Morris [this message]
2015-06-12 19:31 ` Eli Zaretskii
2015-06-13 1:29 ` Glenn Morris
2015-06-13 7:56 ` Eli Zaretskii
2015-06-13 23:45 ` Glenn Morris
2014-10-29 14:23 ` Eli Zaretskii
2014-10-29 15:39 ` Andreas Schwab
2014-10-29 16:00 ` Eli Zaretskii
2014-10-29 16:05 ` Vincent Lefevre
2014-10-29 16:21 ` Eli Zaretskii
2014-10-29 3:40 ` Eli Zaretskii
2014-10-29 10:57 ` Emacs bugs at the Debian BTS Ivan Shmakov
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=v8eglhaq29.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=18851@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=vincent@vinc17.net \
/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.