bug#3256: 23.0.93; OSX: "emacsclient -c" kills the daemon

Markus Triska <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
 $ emacs -Q --daemon

 $ emacsclient -c

makes the daemon crash with the appended backtrace. Full version at:

   http://www.logic.at/prolog/daemon.txt

This issue is specific to the daemon. (server-start) in "emacs -Q -nw"
works as expected with emacsclient -c.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x9578d871 in __CFRunLoopFindMode ()
(gdb) bt
#0  0x9578d871 in __CFRunLoopFindMode ()
#1  0x9578f6ac in CFRunLoopAddSource ()
#2  0x96916dd0 in DAApprovalSessionScheduleWithRunLoop ()
#3  0x96da621a in _FSGetDiskArbSession ()
#4  0x96da5f62 in CreateDiskArbDiskForMountPath ()
#5  0x96da4d8e in FSCacheableClient_GetVolumeCachedInfo ()
#6  0x96da46c7 in MountVolume ()
#7  0x96da43c2 in MountInitialVolumes ()
#8  0x96da3fc1 in INIT_FileManager ()
#9  0x96da3e70 in GetRetainedVolFSVCBByVolumeID ()
#10 0x96da260e in PathGetObjectInfo ()
#11 0x96da24d9 in FSPathMakeRefInternal ()
#12 0x96dae0ff in FSPathMakeRef ()
#13 0x00bc2052 in FT_New_Face_From_Resource ()
#14 0x00bc2340 in FT_New_Face ()
#15 0x00f4c21b in _XftLockFile ()
#16 0x00f4cb42 in XftFontOpenInfo ()
#17 0x00f4d816 in XftFontOpenPattern ()
#18 0x001c7913 in xftfont_open (f=0x183b710, entity=25470740, pixel_size=20) at xftfont.c:289
#19 0x00179996 in font_open_entity (f=0x183b710, entity=25470740, pixel_size=20) at font.c:2926
#20 0x0017b687 in font_load_for_lface (f=0x183b710, attrs=0x184a710, spec=25470740) at font.c:3453
#21 0x0017b70f in font_open_by_spec (f=0xf, spec=15) at font.c:3504
#22 0x0017db65 in font_open_by_name (f=0xf, name=0x184a714 "pa\204\001\201\034\203\002\001\027\005\003\321\026\005\003\t") at font.c:3522
#23 0x00013645 in x_set_font (f=0x184a710, arg=42694859, oldval=41943049) at frame.c:3385
#24 0x00010c86 in x_set_frame_parameters (f=0x183b710, alist=22709341) at frame.c:3014
#25 0x000148b3 in x_default_parameter (f=0x183b710, alist=15, prop=42093081, deflt=42694907, xprop=0xf <Address 0xf out of bounds>, xclass=0xf <Address 0xf out of bounds>, type=15) at frame.c:4127
#26 0x000a6da0 in x_default_font_parameter (f=0x183b710, parms=22684845) at xfns.c:3095
#27 0x000a805d in Fx_create_frame (parms=22684845) at xfns.c:3309
#28 0x00165081 in Ffuncall (nargs=2, args=0xbfffd0b0) at eval.c:3051
#29 0x001a036b in Fbyte_code (bytestr=2215915, vector=2215932, maxdepth=5) at bytecode.c:678
#30 0x00164931 in funcall_lambda (fun=2215868, nargs=1, arg_vector=0xbfffd244) at eval.c:3232
#31 0x00164e7b in Ffuncall (nargs=2, args=0xbfffd240) at eval.c:3102
#32 0x001a036b in Fbyte_code (bytestr=2502819, vector=2502836, maxdepth=6) at bytecode.c:678
#33 0x00164931 in funcall_lambda (fun=2502772, nargs=1, arg_vector=0xbfffd3d4) at eval.c:3232
#34 0x00164e7b in Ffuncall (nargs=2, args=0xbfffd3d0) at eval.c:3102
#35 0x001a036b in Fbyte_code (bytestr=2501699, vector=2501716, maxdepth=4) at bytecode.c:678
#36 0x00164931 in funcall_lambda (fun=2501644, nargs=2, arg_vector=0xbfffd554) at eval.c:3232
#37 0x00164e7b in Ffuncall (nargs=3, args=0xbfffd550) at eval.c:3102
#38 0x001a036b in Fbyte_code (bytestr=42603675, vector=25208068, maxdepth=5) at bytecode.c:678
#39 0x00164931 in funcall_lambda (fun=25208308, nargs=3, arg_vector=0xbfffd6e4) at eval.c:3232
#40 0x00164e7b in Ffuncall (nargs=4, args=0xbfffd6e0) at eval.c:3102
#41 0x001a036b in Fbyte_code (bytestr=42600315, vector=25209892, maxdepth=17) at bytecode.c:678
#42 0x00164496 in Feval (form=22588437) at eval.c:2386
#43 0x00166d82 in internal_lisp_condition_case (var=42305513, bodyform=22588437, handlers=22609861) at eval.c:1457
#44 0x001a0d82 in Fbyte_code (bytestr=42600827, vector=25210388, maxdepth=6) at bytecode.c:868
#45 0x00164496 in Feval (form=22553693) at eval.c:2386
#46 0x00162b9c in internal_catch (tag=15, func=0x164070 <Feval>, arg=22553693) at eval.c:1248
#47 0x001a0d26 in Fbyte_code (bytestr=42600891, vector=25203684, maxdepth=2) at bytecode.c:853
#48 0x00164931 in funcall_lambda (fun=25210644, nargs=2, arg_vector=0xbfffdcd4) at eval.c:3232
#49 0x00164e7b in Ffuncall (nargs=3, args=0xbfffdcd0) at eval.c:3102
#50 0x00166895 in Fapply (nargs=2, args=0xbfffdd60) at eval.c:2533
#51 0x001669ed in apply1 (fn=50490753, arg=24857949) at eval.c:2797
#52 0x001a385d in read_process_output_call (fun_and_args=24857877) at process.c:5155
#53 0x00162cd3 in internal_condition_case_1 (bfun=0x1a3840 <read_process_output_call>, arg=24857877, handlers=41982641, hfun=0x1a3860 <read_process_output_error_handler>) at eval.c:1560
#54 0x001a3d80 in read_process_output (proc=25217684, channel=41982641) at process.c:5343
#55 0x001aa287 in wait_reading_process_output (time_limit=0, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=41943049, wait_proc=0x0, just_wait_proc=0) at process.c:4997
#56 0x000fb99c in read_char (commandflag=1, nmaps=2, maps=0xbffff400, prev_event=41943049, used_mouse_menu=0xbffff4f8, end_time=0x0) at keyboard.c:4099
#57 0x000fd9d4 in read_key_sequence (keybuf=0xbffff5b8, bufsize=30, prompt=41943049, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9458
#58 0x000ffefa in command_loop_1 () at keyboard.c:1642
#59 0x00162fbd in internal_condition_case (bfun=0xffcc0 <command_loop_1>, handlers=41982641, hfun=0xf6540 <cmd_error>) at eval.c:1512
#60 0x000ef1e8 in command_loop_2 () at keyboard.c:1359
#61 0x00162b9c in internal_catch (tag=15, func=0xef1a0 <command_loop_2>, arg=41943049) at eval.c:1248
#62 0x000eef3e in command_loop () at keyboard.c:1338
#63 0x000ef002 in recursive_edit_1 () at keyboard.c:953
#64 0x000ef181 in Frecursive_edit () at keyboard.c:1015
#65 0x000edeeb in main (argc=3, argv=0xbffff9c0) at emacs.c:1852

Lisp Backtrace:
"x-create-frame" (0xbfffd0b4)
"x-create-frame-with-faces" (0xbfffd244)
"make-frame" (0xbfffd3d4)
"make-frame-on-display" (0xbfffd554)
"server-create-window-system-frame" (0xbfffd6e4)
"byte-code" (0xbfffd814)
"byte-code" (0xbfffda44)
"server-process-filter" (0xbfffdcd4)


In GNU Emacs 23.0.93.3 (i386-apple-darwin9.6.1, GTK+ Version 2.14.7)
 of 2009-05-11 on mt-imac.local
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.