* bug#2272: 23.0.90; process-send-region errors when sending large amounts of data @ 2009-02-10 20:12 ` Tassilo Horn 2009-02-10 22:33 ` Andreas Schwab 2009-02-11 2:35 ` bug#2272: marked as done (23.0.90; process-send-region errors when sending large amounts of data) Emacs bug Tracking System 0 siblings, 2 replies; 3+ messages in thread From: Tassilo Horn @ 2009-02-10 20:12 UTC (permalink / raw) To: emacs-pretest-bug; +Cc: David Engster [-- Attachment #1: Type: text/plain, Size: 3234 bytes --] Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Since some time my Gnus regularly errors when trying to upload a sent message with attachments to my sent mail folder on my local Dovecot IMAP server. First I've thought it was dovecot's fault, but now I was able to reproduce the error with stock emacs. Here's the recipe: 1. emacs -Q 2. goto *scratch* and insert --8<---------------cut here---------------start------------->8--- (progn (setq proctest (start-process "cat" (get-buffer-create "cat") "/bin/cat")) (with-temp-buffer (dotimes (dummy 999999) (insert (concat (number-to-string (random)) (number-to-string (random)) (number-to-string (random)) (number-to-string (random)) "\n"))) (process-send-region proctest (point-min) (point-max))) (delete-process proctest)) --8<---------------cut here---------------end--------------->8--- 3. eval it. ==> Eventually, after some seconds, I get this error: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (file-error "writing to process" "bad address" #<process cat>) process-send-region(#<process cat> 1 75145901) (progn (dotimes (dummy 999999) (insert ...)) (process-send-region proctest (point-min) (point-max))) (unwind-protect (progn (dotimes ... ...) (process-send-region proctest ... ...)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ... ...) (and ... ...))) (with-current-buffer temp-buffer (unwind-protect (progn ... ...) (and ... ...))) (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect ... ...))) (with-temp-buffer (dotimes (dummy 999999) (insert ...)) (process-send-region proctest (point-min) (point-max))) (progn (setq proctest (start-process "cat" ... "/bin/cat")) (with-temp-buffer (dotimes ... ...) (process-send-region proctest ... ...)) (delete-process proctest)) eval((progn (setq proctest (start-process "cat" ... "/bin/cat")) (with-temp-buffer (dotimes ... ...) (process-send-region proctest ... ...)) (delete-process proctest))) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) --8<---------------cut here---------------end--------------->8--- I can reproduce this bug reliable using a very recent CVS checkout GNU Emacs 23.0.90.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7) of 2009-02-10 on thinkpad and also with an older emacs 23 snapshot: GNU Emacs 23.0.60.1 (i486-pc-linux-gnu) of 2008-03-19 on vernadsky, modified by Debian David (in the Cc) was also able to reproduce the bug with the recipe above, although for him the error doesn't occur each time he evals the code. He uses emacs 23 on MacOS X. I tried Emacs 22.3, but there the snippet from above works fine. Maybe bug #471 is related. http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=471 The full backtrace using gdb is attached. [-- Attachment #2: bt full --] [-- Type: text/plain, Size: 24981 bytes --] % gdb /usr/bin/emacs-23 GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... (gdb) run Starting program: /usr/bin/emacs-23 [Thread debugging using libthread_db enabled] [New Thread 0x7f6dceea0740 (LWP 30225)] Program exited normally. (gdb) run -Q Starting program: /usr/bin/emacs-23 -Q [Thread debugging using libthread_db enabled] [New Thread 0x7f5bf44a8740 (LWP 30339)] bt full ^Z Program received signal SIGTSTP, Stopped (user). [Switching to Thread 0x7f5bf44a8740 (LWP 30339)] 0x00007f5beed68a43 in __select_nocancel () from /lib/libc.so.6 (gdb) bt full #0 0x00007f5beed68a43 in __select_nocancel () from /lib/libc.so.6 No symbol table info available. #1 0x0000000000587e23 in select_wrapper (n=8, rfd=0x7ffffc4dea60, wfd=0x0, xfd=0xffffffffffffffff, tmo=0x7ffffc4de9c0) at process.c:4452 No locals. #2 0x000000000058a4f8 in wait_reading_process_output (time_limit=0, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=10942865, wait_proc=0x0, just_wait_proc=0) at process.c:4813 timeout_reduced_for_timers = 1 channel = 499208 nfds = 0 Available = {fds_bits = {192, 0 <repeats 15 times>}} Connecting = {fds_bits = {0 <repeats 16 times>}} check_connect = 0 check_delay = 0 no_avail = 1 xerrno = 11 proc = 0 timeout = {tv_sec = 0, tv_usec = 464795} end_time = {tv_sec = 0, tv_usec = 0} wait_channel = -1 got_some_input = 1 #3 0x00000000004f1490 in read_char (commandflag=1, nmaps=2, maps=0x7ffffc4dee90, prev_event=10942865, used_mouse_menu=0x7ffffc4def24, ---Type <return> to continue, or q <return> to quit--- end_time=0x0) at keyboard.c:4078 kb = (KBOARD *) 0x1050ad0 c = 10942865 local_getcjmp = {{__jmpbuf = {27548000, 434231885643251220, 10942865, 10942865, 10942865, 22303524, -434233413954044396, 434231258797833748}, __mask_was_saved = 0, __saved_mask = {__val = {1, 1, 4611686018427389952, 4611686018427404288, 13031141, 11019472, 13441569, 0, 1, 4611686018427404288, 5514875, 13441569, 13441569, 13029504, 5515153, 13029520}}}} save_jump = {{__jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 16 times>}}}} key_already_recorded = 0 tem = 10942865 save = 30 previous_echo_area_message = 10942865 also_record = 10942865 reread = 0 polling_stopped_here = <value optimized out> orig_kboard = (struct kboard *) 0x1050ad0 #4 0x00000000004f2fe8 in read_key_sequence (keybuf=0x7ffffc4df050, bufsize=30, prompt=10942865, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9415 interrupted_kboard = (KBOARD *) 0x1050ad0 key = 4611686018427404288 ---Type <return> to continue, or q <return> to quit--- used_mouse_menu = 0 echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 local_first_binding = 0 from_string = 10942865 count = 73 t = 0 echo_start = 0 keys_start = 0 nmaps = 2 nmaps_allocated = 2 defs = (Lisp_Object * volatile) 0x7ffffc4dee70 submaps = (Lisp_Object * volatile) 0x7ffffc4dee90 orig_local_map = 12224677 orig_keymap = 10942865 localized_local_map = 0 first_binding = 0 first_unbound = 31 mock_input = 0 fkey = {parent = 16655525, map = 16655525, start = 0, end = 0} keytran = {parent = 10935061, map = 10935061, start = 0, end = 0} indec = {parent = 16655541, map = 16655541, start = 0, end = 0} shift_translated = 0 ---Type <return> to continue, or q <return> to quit--- delayed_switch_frame = 10942865 original_uppercase = 434228829526556180 original_uppercase_position = -1 starting_buffer = (struct buffer *) 0x186e170 fake_prefixed_keys = 10942865 #5 0x00000000004f491e in command_loop_1 () at keyboard.c:1640 cmd = <value optimized out> lose = 27548000 nonundocount = 0 keybuf = {0 <repeats 18 times>, 8318816, 4938079, 0, 0, 0, 0, 21474836498, 0, 10942865, 10942865, 10942865, 10942865} i = 27548000 prev_modiff = 0 prev_buffer = (struct buffer *) 0x0 already_adjusted = 0 #6 0x00000000005504f5 in internal_condition_case ( bfun=0x4f4616 <command_loop_1>, handlers=11030017, hfun=0x4edc07 <cmd_error>) at eval.c:1511 val = <value optimized out> c = {tag = 10942865, val = 10942865, next = 0x7ffffc4df310, gcpro = 0x0, jmp = {{__jmpbuf = {27548000, 434228829526556180, 27550240, 1, 4611686018427389952, 4611686018427404288, -434233414704824812, 434231447406902804}, __mask_was_saved = 0, __saved_mask = {__val = { 21831232, 21831232, 140032851868047, 21831256, 140737426354912, ---Type <return> to continue, or q <return> to quit--- 140737426354864, 140737426354880, 140737426354896, 140737426354848, 140737426354936, 9838, 0, 140032792643805, 0, 0, 21839920}}}}, backlist = 0x7ffffc4df4b0, handlerlist = 0x7ffffc4e0bc0, lisp_eval_depth = 15, pdlcount = 73, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x7ffffc4df550} h = {handler = 11030017, var = 10942865, chosen_clause = 23086960, tag = 0x7ffffc4df1d0, next = 0x7ffffc4e0bc0} #7 0x00000000004ed1af in command_loop_2 () at keyboard.c:1357 val = -514 #8 0x00000000005505e2 in internal_catch (tag=<value optimized out>, func=0x4ed195 <command_loop_2>, arg=10942865) at eval.c:1247 c = {tag = 11161793, val = 10942865, next = 0x7ffffc4e0bf0, gcpro = 0x0, jmp = {{__jmpbuf = {27548000, 434228829526556180, 27550240, 1, 4611686018427389952, 4611686018427404288, -434233414755156460, 434231447428398612}, __mask_was_saved = 0, __saved_mask = {__val = { 11355386, 11363408, 11355384, 25616752, 11363409, 10942865, 5517284, 0, 4299450280, 10942913, 11363408, 11363409, 10942865, 1, 11355384, 4611686018427404288}}}}, backlist = 0x7ffffc4df4b0, handlerlist = 0x7ffffc4e0bc0, lisp_eval_depth = 15, pdlcount = 73, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x7ffffc4df550} #9 0x00000000004eda1b in command_loop () at keyboard.c:1322 val = -514 #10 0x00000000004eddc8 in recursive_edit_1 () at keyboard.c:951 ---Type <return> to continue, or q <return> to quit--- val = <value optimized out> #11 0x00000000004edf0f in Frecursive_edit () at keyboard.c:1013 buffer = 10942865 #12 0x0000000000550f33 in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4df510) at eval.c:3041 fun = 8 original_fun = 11010689 funcar = <value optimized out> numargs = 0 val = <value optimized out> backtrace = {next = 0x7ffffc4df630, function = 0x7ffffc4df510, args = 0x7ffffc4df518, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7ffffc4df518 i = -1 #13 0x0000000000583434 in Fbyte_code (bytestr=<value optimized out>, vector=0, maxdepth=<value optimized out>) at bytecode.c:678 count = 65 op = 0 stack = {pc = 0x185d945 "\210+Ù\207", top = 0x7ffffc4df510, bottom = 0x7ffffc4df510, byte_string = 13577731, byte_string_start = 0x185d8d0 "Æ\020\t@Ç=\203!", constants = 13421476, next = 0x7ffffc4df7d0} top = (Lisp_Object *) 0x7ffffc4df510 result = <value optimized out> ---Type <return> to continue, or q <return> to quit--- #14 0x000000000055290a in Feval (form=<value optimized out>) at eval.c:2381 numargs = <value optimized out> args_left = 10942865 i = 3 maxargs = 3 argvals = {13577731, 13421476, 32, 5308804, 10942865, 25692256, 15541280, 2} fun = <value optimized out> val = <value optimized out> original_fun = 11202609 original_args = 11990037 funcar = <value optimized out> backtrace = {next = 0x7ffffc4df8f0, function = 0x7ffffc4df658, args = 0x7ffffc4df5f0, nargs = 3, evalargs = 1 '\001', debug_on_exit = 0 '\0'} #15 0x0000000000552d31 in Fprogn (args=<value optimized out>) at eval.c:449 val = 0 #16 0x0000000000453cc9 in Fsave_window_excursion (args=11981477) at window.c:6528 val = <value optimized out> #17 0x0000000000583bad in Fbyte_code (bytestr=<value optimized out>, vector=0, maxdepth=<value optimized out>) at bytecode.c:839 count = 17 op = -62002592 ---Type <return> to continue, or q <return> to quit--- stack = { pc = 0x185d72e "\210.\024\0162\024\0161\025\0160\026\023\016/\026\024\016.\026\025\016-\026\026\016,\026\027\016+\026\030\016*\026\031\016)\026\032\016(\026\033\016'\026\034\016&\026\035\016%\026\036\016$\026\037\016#\020\016\"\026 \0166\026>\t.\033\207", top = 0x7ffffc4df6d0, bottom = 0x7ffffc4df6d0, byte_string = 17032899, byte_string_start = 0x185d678 "\b\203\006", constants = 26931700, next = 0x7ffffc4e0430} top = (Lisp_Object *) 0x7ffffc4df6d0 result = <value optimized out> #18 0x0000000000552fd5 in funcall_lambda (fun=11170660, nargs=2, arg_vector=0x7ffffc4df958) at eval.c:3231 val = <value optimized out> syms_left = <value optimized out> next = <value optimized out> i = 2 optional = 0 rest = 1 #19 0x00000000005510af in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4df950) at eval.c:3090 fun = 8 original_fun = 11163249 funcar = <value optimized out> numargs = 2 val = <value optimized out> ---Type <return> to continue, or q <return> to quit--- backtrace = {next = 0x7ffffc4dfc50, function = 0x7ffffc4df950, args = 0x7ffffc4df958, nargs = 2, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7ffffc4df958 i = <value optimized out> #20 0x00000000005524bd in Fapply (nargs=2, args=0x7ffffc4df9d0) at eval.c:2532 ret_ungc_val = -514 i = <value optimized out> numargs = <value optimized out> spread_arg = 10942865 funcall_args = (Lisp_Object *) 0x7ffffc4df950 fun = <value optimized out> #21 0x000000000055250d in apply1 (fn=11163249, arg=<value optimized out>) at eval.c:2793 args = {11163249, 16697973} #22 0x0000000000550893 in call_debugger (arg=16697973) at eval.c:306 debug_while_redisplaying = <value optimized out> val = <value optimized out> #23 0x0000000000550a0f in maybe_call_debugger (conditions=10933136, sig=11847712, data=<value optimized out>) at eval.c:1901 combined_data = 16701717 #24 0x0000000000550b1a in find_handler_clause (handlers=11030017, conditions=10933141, sig=11045873, data=16701765) at eval.c:1961 h = <value optimized out> tem = <value optimized out> ---Type <return> to continue, or q <return> to quit--- debugger_called = <value optimized out> debugger_considered = 0 #25 0x00000000005513e5 in Fsignal (error_symbol=11045873, data=16701765) at eval.c:1700 clause = 16701781 allhandlers = (struct handler *) 0x7ffffc4e0bc0 conditions = 10933141 string = -514 real_error_symbol = 11045873 bp = <value optimized out> #26 0x00000000005514f4 in xsignal (error_symbol=8, data=140737426352736) at eval.c:1750 No locals. #27 0x0000000000517201 in report_file_error ( string=0x5c59ee "writing to process", data=16701845) at fileio.c:282 errstring = <value optimized out> errorno = <value optimized out> str = <value optimized out> #28 0x000000000058b8ec in send_process (proc=26151460, buf=0x7f5c01a47a8e <Address 0x7f5c01a47a8e out of bounds>, len=75137693, object=26926196) at process.c:5768 outfd = <value optimized out> this = 75137693 p = (struct Lisp_Process *) 0x18f0a20 ---Type <return> to continue, or q <return> to quit--- rv = -1 coding = <value optimized out> old_sigpipe = (void (* volatile)()) 0x4962bf <x_connection_signal> #29 0x000000000058c469 in Fprocess_send_region (process=<value optimized out>, start=8, end=601167208) at process.c:5819 proc = 26151460 start1 = 1 end1 = 75145901 #30 0x000000000055290a in Feval (form=<value optimized out>) at eval.c:2381 numargs = <value optimized out> args_left = 10942865 i = 3 maxargs = 3 argvals = {26151460, 8, 601167208, 4362076160, 12475696, 12884901896, 140737426357544, 4294967296} fun = <value optimized out> val = <value optimized out> original_fun = 11273185 original_args = 16820261 funcar = <value optimized out> backtrace = {next = 0x7ffffc4dfd30, function = 0x7ffffc4dfc78, args = 0x7ffffc4dfc10, nargs = 3, evalargs = 1 '\001', debug_on_exit = 0 '\0'} #31 0x0000000000552d31 in Fprogn (args=<value optimized out>) at eval.c:449 ---Type <return> to continue, or q <return> to quit--- val = 0 #32 0x000000000055277f in Feval (form=<value optimized out>) at eval.c:2322 numargs = 0 args_left = 16818085 i = <value optimized out> maxargs = <value optimized out> argvals = {26926192, 16770229, 25660512, 11307633, 10942865, 1, 1, 5514875} fun = <value optimized out> val = <value optimized out> original_fun = 11163969 original_args = 16818085 funcar = <value optimized out> backtrace = {next = 0x7ffffc4dfe20, function = 0x7ffffc4dfd58, args = 0x7ffffc4dfd50, nargs = -1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} #33 0x0000000000553156 in Funwind_protect (args=16817605) at eval.c:1353 val = <value optimized out> #34 0x000000000055277f in Feval (form=<value optimized out>) at eval.c:2322 numargs = 0 args_left = 16817605 i = <value optimized out> maxargs = <value optimized out> argvals = {26926196, 5582827, 140737426357936, 8595715124, 140737426358008, 8473876, 11725264, 11724944} ---Type <return> to continue, or q <return> to quit--- fun = <value optimized out> val = <value optimized out> original_fun = 11165841 original_args = 16817605 funcar = <value optimized out> backtrace = {next = 0x7ffffc4dff20, function = 0x7ffffc4dfe48, args = 0x7ffffc4dfe40, nargs = -1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} #35 0x0000000000552d31 in Fprogn (args=<value optimized out>) at eval.c:449 val = 0 #36 0x0000000000546985 in Fsave_current_buffer (args=16816965) at editfns.c:1023 val = <value optimized out> #37 0x000000000055277f in Feval (form=<value optimized out>) at eval.c:2322 numargs = 0 args_left = 16816965 i = <value optimized out> maxargs = <value optimized out> argvals = {140737426358096, 5579965, 8473876, 25518225, 16817541, 16817477, 140737426358096, 5579563} fun = <value optimized out> val = <value optimized out> original_fun = 11239201 original_args = 16816965 funcar = <value optimized out> ---Type <return> to continue, or q <return> to quit--- backtrace = {next = 0x7ffffc4dfff0, function = 0x7ffffc4dff48, args = 0x7ffffc4dff40, nargs = -1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} #38 0x0000000000552afa in Feval (form=<value optimized out>) at eval.c:2433 fun = <value optimized out> val = <value optimized out> original_fun = 11762129 original_args = 16817477 funcar = <value optimized out> backtrace = {next = 0x7ffffc4e0140, function = 0x7ffffc4e0018, args = 0x7ffffc4e0010, nargs = -1, evalargs = 1 '\001', debug_on_exit = 0 '\0'} #39 0x0000000000552d31 in Fprogn (args=<value optimized out>) at eval.c:449 val = 0 #40 0x000000000055389f in Flet (args=16817317) at eval.c:1089 temps = (Lisp_Object *) 0x7ffffc4e0070 tem = 26926196 elt = <value optimized out> varlist = <value optimized out> argnum = 1 #41 0x000000000055277f in Feval (form=<value optimized out>) at eval.c:2322 numargs = 0 args_left = 16817317 i = <value optimized out> maxargs = <value optimized out> ---Type <return> to continue, or q <return> to quit--- argvals = {140737426358640, 5579965, 8477196, 16789669, 16820293, 16820357, 140737426358640, 5579563} fun = <value optimized out> val = <value optimized out> original_fun = 11165553 original_args = 16817317 funcar = <value optimized out> backtrace = {next = 0x7ffffc4e0210, function = 0x7ffffc4e0168, args = 0x7ffffc4e0160, nargs = -1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} #42 0x0000000000552afa in Feval (form=<value optimized out>) at eval.c:2433 fun = <value optimized out> val = <value optimized out> original_fun = 11762801 original_args = 16820357 funcar = <value optimized out> backtrace = {next = 0x7ffffc4e02f0, function = 0x7ffffc4e0238, args = 0x7ffffc4e0230, nargs = -1, evalargs = 1 '\001', debug_on_exit = 0 '\0'} #43 0x0000000000552d31 in Fprogn (args=<value optimized out>) at eval.c:449 val = 0 #44 0x000000000055277f in Feval (form=<value optimized out>) at eval.c:2322 numargs = 0 args_left = 16789797 i = <value optimized out> ---Type <return> to continue, or q <return> to quit--- maxargs = <value optimized out> argvals = {140737426358896, 9614400, 140737426359264, 0, 1, 0, 4611686018427404288, 5582827} fun = <value optimized out> val = <value optimized out> original_fun = 11163969 original_args = 16789797 funcar = <value optimized out> backtrace = {next = 0x7ffffc4e0390, function = 0x7ffffc4e0318, args = 0x7ffffc4e0310, nargs = -1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} #45 0x0000000000550f4c in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4e03f8) at eval.c:3044 fun = <value optimized out> original_fun = 11166081 funcar = <value optimized out> numargs = 1 val = <value optimized out> backtrace = {next = 0x7ffffc4e0550, function = 0x7ffffc4e03f8, args = 0x7ffffc4e0400, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7ffffc4e0400 i = -1 #46 0x0000000000583434 in Fbyte_code (bytestr=<value optimized out>, vector=0, maxdepth=<value optimized out>) at bytecode.c:678 count = 8 ---Type <return> to continue, or q <return> to quit--- op = 0 stack = {pc = 0x991915 "!)\207", top = 0x7ffffc4e0400, bottom = 0x7ffffc4e03f0, byte_string = 9615147, byte_string_start = 0x991906 "\b\203\b", constants = 9615180, next = 0x7ffffc4e05f0} top = (Lisp_Object *) 0x7ffffc4e03f8 result = <value optimized out> #47 0x0000000000552fd5 in funcall_lambda (fun=9615076, nargs=1, arg_vector=0x7ffffc4e05b8) at eval.c:3231 val = <value optimized out> syms_left = <value optimized out> next = <value optimized out> i = 1 optional = 0 rest = 0 #48 0x00000000005510af in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4e05b0) at eval.c:3090 fun = 8 original_fun = 16875553 funcar = <value optimized out> numargs = 1 val = <value optimized out> backtrace = {next = 0x7ffffc4e0710, function = 0x7ffffc4e05b0, args = 0x7ffffc4e05b8, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} ---Type <return> to continue, or q <return> to quit--- internal_args = (Lisp_Object *) 0x7ffffc4e05b8 i = <value optimized out> #49 0x0000000000583434 in Fbyte_code (bytestr=<value optimized out>, vector=16875601, maxdepth=<value optimized out>) at bytecode.c:678 count = 6 op = 0 stack = {pc = 0x991879 "\v)B\211\034A\n=\204\033", top = 0x7ffffc4e05b8, bottom = 0x7ffffc4e05b0, byte_string = 9615643, byte_string_start = 0x99186c "\b\204\b", constants = 9615676, next = 0x0} top = (Lisp_Object *) 0x7ffffc4e05b0 result = <value optimized out> #50 0x0000000000552fd5 in funcall_lambda (fun=9615564, nargs=1, arg_vector=0x7ffffc4e07c8) at eval.c:3231 val = <value optimized out> syms_left = <value optimized out> next = <value optimized out> i = 1 optional = 0 rest = 0 #51 0x00000000005510af in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4e07c0) at eval.c:3090 fun = 8 original_fun = 11636193 funcar = <value optimized out> ---Type <return> to continue, or q <return> to quit--- numargs = 1 val = <value optimized out> backtrace = {next = 0x7ffffc4e0990, function = 0x7ffffc4e07c0, args = 0x7ffffc4e07c8, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7ffffc4e07c8 i = <value optimized out> #52 0x000000000054ef28 in Fcall_interactively (function=11636193, record_flag=10942865, keys=11009892) at callint.c:870 val = <value optimized out> args = (Lisp_Object *) 0x7ffffc4e07c0 visargs = (Lisp_Object *) 0x7ffffc4e07a0 specs = <value optimized out> filter_specs = <value optimized out> teml = <value optimized out> up_event = 10942865 enable = 1 speccount = 3 next_event = 2 prefix_arg = 10942865 string = (unsigned char *) 0x2 <Address 0x2 out of bounds> tem = (unsigned char *) 0x2 <Address 0x2 out of bounds> varies = (int *) 0x7ffffc4e0780 i = 2 j = 1 ---Type <return> to continue, or q <return> to quit--- foo = -514 prompt1 = '\0' <repeats 99 times> tem1 = <value optimized out> arg_from_tty = 0 key_count = 2 record_then_fail = 0 save_this_command = 11636193 save_last_command = 16912737 save_this_original_command = 11636193 save_real_this_command = 11636193 #53 0x0000000000550f89 in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4e09f0) at eval.c:3050 fun = <value optimized out> original_fun = 11204145 funcar = <value optimized out> numargs = 3 val = <value optimized out> backtrace = {next = 0x0, function = 0x7ffffc4e09f0, args = 0x7ffffc4e09f8, nargs = 3, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7ffffc4e09f8 i = -1 #54 0x000000000055125f in call3 (fn=<value optimized out>, arg1=<value optimized out>, arg2=0, arg3=-1) at eval.c:2870 ret_ungc_val = -514 ---Type <return> to continue, or q <return> to quit--- args = {11204145, 11636193, 10942865, 10942865} #55 0x00000000004e8644 in Fcommand_execute (cmd=11636193, record_flag=10942865, keys=10942865, special=<value optimized out>) at keyboard.c:10404 final = 9615564 tem = -514 prefixarg = 10942865 #56 0x00000000004f56dd in command_loop_1 () at keyboard.c:1899 cmd = <value optimized out> lose = <value optimized out> nonundocount = 0 keybuf = {192, 40, 8854932, 8854928, 4611686018427389952, 4611686018427404288, 0, 140737426363016, 140737426361216, 5581412, 140032824973604, 140028818751511, 44108294, 140737426361072, 140737426361416, 140032824978344, 0, 140032917289520, 140032917323776, 4234767, 140032825029248, 4215080, 0, 140737426361160, 140737426360928, 0, 10942865, 12730369, 2822930839, 11724944} i = <value optimized out> prev_modiff = 28 prev_buffer = (struct buffer *) 0xa796d0 already_adjusted = 0 #57 0x00000000005504f5 in internal_condition_case ( bfun=0x4f4616 <command_loop_1>, handlers=11030017, hfun=0x4edc07 <cmd_error>) at eval.c:1511 ---Type <return> to continue, or q <return> to quit--- val = <value optimized out> c = {tag = 10942865, val = 10942865, next = 0x7ffffc4e0d30, gcpro = 0x0, jmp = {{__jmpbuf = {11724944, 434231212656688660, 11724976, -1, 0, 140737426363016, -434233402159661548, 434231447406902804}, __mask_was_saved = 0, __saved_mask = {__val = {8303256, 11724976, 18446744073709551615, 0, 140737426363016, 0, 140032915358873, 1, 0, 1, 0, 140032825000832, 11724944, 11724944, 140032915383202, 0}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0} h = {handler = 11030017, var = 10942865, chosen_clause = 140032917512192, tag = 0x7ffffc4e0bf0, next = 0x0} #58 0x00000000004ed1af in command_loop_2 () at keyboard.c:1357 val = -514 #59 0x00000000005505e2 in internal_catch (tag=<value optimized out>, func=0x4ed195 <command_loop_2>, arg=10942865) at eval.c:1247 c = {tag = 11011409, val = 10942865, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {11724944, 434231212656688660, 11724976, -1, 0, 140737426363016, -434233402209993196, 434231447428398612}, __mask_was_saved = 0, __saved_mask = {__val = {11355386, 11363408, 11355384, 10983120, 11363409, 10942865, 5517284, 0, 4294967440, 10942913, 11363408, 11363409, 10942865, 18446744073709551615, 11355384, 140737426363016}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0} ---Type <return> to continue, or q <return> to quit--- #60 0x00000000004eda5e in command_loop () at keyboard.c:1336 No locals. #61 0x00000000004eddc8 in recursive_edit_1 () at keyboard.c:951 val = <value optimized out> #62 0x00000000004edf0f in Frecursive_edit () at keyboard.c:1013 buffer = 10942865 #63 0x00000000004e47f2 in main (argc=2, argv=0x7ffffc4e1288) at emacs.c:1852 dummy = 4294969293 stack_bottom_variable = 0 '\0' do_initial_setlocale = 1 skip_args = 0 rlim = {rlim_cur = 8720000, rlim_max = 18446744073709551615} no_loadup = 0 junk = 0x0 dname_arg = 0x0 [-- Attachment #3: Type: text/plain, Size: 2769 bytes --] If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.90/etc/DEBUG for instructions. In GNU Emacs 23.0.90.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7) of 2009-02-10 on thinkpad Windowing system distributor `The X.Org Foundation', version 11.0.10503000 configured using `configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-g -ggdb -O1 -pipe' 'LDFLAGS='' 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_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t rcirc-track-minor-mode: t recentf-mode: t window-number-meta-mode: t window-number-mode: t savehist-mode: t exec-abbrev-cmd-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: <down-mouse-1> <mouse-1> M-x g <return> <return> <down-mouse-1> <mouse-1> M-x C-. t t s s <return> M-x r e b <retu rn> Recent messages: 20090210T204917.550> Opening nntp server on Uni... 20090210T204917.551> Opening nntp server on Uni...done 20090210T204917.670> No new newsgroups 20090210T204917.676> Checking new news... 20090210T204917.924> Opening nnml server on archive... 20090210T204917.926> Opening nnml server on archive...done 20090210T204917.942> Opening nnml server on archive... 20090210T204917.944> Opening nnml server on archive...done 20090210T204917.949> Checking new news...done smtp server is now set to mail.messagingengine.com. ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#2272: 23.0.90; process-send-region errors when sending large amounts of data 2009-02-10 20:12 ` bug#2272: 23.0.90; process-send-region errors when sending large amounts of data Tassilo Horn @ 2009-02-10 22:33 ` Andreas Schwab 2009-02-11 2:35 ` bug#2272: marked as done (23.0.90; process-send-region errors when sending large amounts of data) Emacs bug Tracking System 1 sibling, 0 replies; 3+ messages in thread From: Andreas Schwab @ 2009-02-10 22:33 UTC (permalink / raw) To: Tassilo Horn; +Cc: David Engster, 2272 Tassilo Horn <tassilo@member.fsf.org> writes: > Debugger entered--Lisp error: (file-error "writing to process" "bad address" #<process cat>) I've checked in a fix. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#2272: marked as done (23.0.90; process-send-region errors when sending large amounts of data) 2009-02-10 20:12 ` bug#2272: 23.0.90; process-send-region errors when sending large amounts of data Tassilo Horn 2009-02-10 22:33 ` Andreas Schwab @ 2009-02-11 2:35 ` Emacs bug Tracking System 1 sibling, 0 replies; 3+ messages in thread From: Emacs bug Tracking System @ 2009-02-11 2:35 UTC (permalink / raw) To: Chong Yidong [-- Attachment #1: Type: text/plain, Size: 936 bytes --] Your message dated Tue, 10 Feb 2009 21:29:14 -0500 with message-id <87vdrhbtad.fsf@cyd.mit.edu> and subject line Re: bug#2272: 23.0.90; process-send-region errors when sending large amounts of data has caused the Emacs bug report #2272, regarding 23.0.90; process-send-region errors when sending large amounts of data to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) -- 2272: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2272 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems [-- Attachment #2: Type: message/rfc822, Size: 34822 bytes --] [-- Attachment #2.1.1: Type: text/plain, Size: 3234 bytes --] Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Since some time my Gnus regularly errors when trying to upload a sent message with attachments to my sent mail folder on my local Dovecot IMAP server. First I've thought it was dovecot's fault, but now I was able to reproduce the error with stock emacs. Here's the recipe: 1. emacs -Q 2. goto *scratch* and insert --8<---------------cut here---------------start------------->8--- (progn (setq proctest (start-process "cat" (get-buffer-create "cat") "/bin/cat")) (with-temp-buffer (dotimes (dummy 999999) (insert (concat (number-to-string (random)) (number-to-string (random)) (number-to-string (random)) (number-to-string (random)) "\n"))) (process-send-region proctest (point-min) (point-max))) (delete-process proctest)) --8<---------------cut here---------------end--------------->8--- 3. eval it. ==> Eventually, after some seconds, I get this error: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (file-error "writing to process" "bad address" #<process cat>) process-send-region(#<process cat> 1 75145901) (progn (dotimes (dummy 999999) (insert ...)) (process-send-region proctest (point-min) (point-max))) (unwind-protect (progn (dotimes ... ...) (process-send-region proctest ... ...)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ... ...) (and ... ...))) (with-current-buffer temp-buffer (unwind-protect (progn ... ...) (and ... ...))) (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect ... ...))) (with-temp-buffer (dotimes (dummy 999999) (insert ...)) (process-send-region proctest (point-min) (point-max))) (progn (setq proctest (start-process "cat" ... "/bin/cat")) (with-temp-buffer (dotimes ... ...) (process-send-region proctest ... ...)) (delete-process proctest)) eval((progn (setq proctest (start-process "cat" ... "/bin/cat")) (with-temp-buffer (dotimes ... ...) (process-send-region proctest ... ...)) (delete-process proctest))) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) --8<---------------cut here---------------end--------------->8--- I can reproduce this bug reliable using a very recent CVS checkout GNU Emacs 23.0.90.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7) of 2009-02-10 on thinkpad and also with an older emacs 23 snapshot: GNU Emacs 23.0.60.1 (i486-pc-linux-gnu) of 2008-03-19 on vernadsky, modified by Debian David (in the Cc) was also able to reproduce the bug with the recipe above, although for him the error doesn't occur each time he evals the code. He uses emacs 23 on MacOS X. I tried Emacs 22.3, but there the snippet from above works fine. Maybe bug #471 is related. http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=471 The full backtrace using gdb is attached. [-- Attachment #2.1.2: bt full --] [-- Type: text/plain, Size: 24981 bytes --] % gdb /usr/bin/emacs-23 GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... (gdb) run Starting program: /usr/bin/emacs-23 [Thread debugging using libthread_db enabled] [New Thread 0x7f6dceea0740 (LWP 30225)] Program exited normally. (gdb) run -Q Starting program: /usr/bin/emacs-23 -Q [Thread debugging using libthread_db enabled] [New Thread 0x7f5bf44a8740 (LWP 30339)] bt full ^Z Program received signal SIGTSTP, Stopped (user). [Switching to Thread 0x7f5bf44a8740 (LWP 30339)] 0x00007f5beed68a43 in __select_nocancel () from /lib/libc.so.6 (gdb) bt full #0 0x00007f5beed68a43 in __select_nocancel () from /lib/libc.so.6 No symbol table info available. #1 0x0000000000587e23 in select_wrapper (n=8, rfd=0x7ffffc4dea60, wfd=0x0, xfd=0xffffffffffffffff, tmo=0x7ffffc4de9c0) at process.c:4452 No locals. #2 0x000000000058a4f8 in wait_reading_process_output (time_limit=0, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=10942865, wait_proc=0x0, just_wait_proc=0) at process.c:4813 timeout_reduced_for_timers = 1 channel = 499208 nfds = 0 Available = {fds_bits = {192, 0 <repeats 15 times>}} Connecting = {fds_bits = {0 <repeats 16 times>}} check_connect = 0 check_delay = 0 no_avail = 1 xerrno = 11 proc = 0 timeout = {tv_sec = 0, tv_usec = 464795} end_time = {tv_sec = 0, tv_usec = 0} wait_channel = -1 got_some_input = 1 #3 0x00000000004f1490 in read_char (commandflag=1, nmaps=2, maps=0x7ffffc4dee90, prev_event=10942865, used_mouse_menu=0x7ffffc4def24, ---Type <return> to continue, or q <return> to quit--- end_time=0x0) at keyboard.c:4078 kb = (KBOARD *) 0x1050ad0 c = 10942865 local_getcjmp = {{__jmpbuf = {27548000, 434231885643251220, 10942865, 10942865, 10942865, 22303524, -434233413954044396, 434231258797833748}, __mask_was_saved = 0, __saved_mask = {__val = {1, 1, 4611686018427389952, 4611686018427404288, 13031141, 11019472, 13441569, 0, 1, 4611686018427404288, 5514875, 13441569, 13441569, 13029504, 5515153, 13029520}}}} save_jump = {{__jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 16 times>}}}} key_already_recorded = 0 tem = 10942865 save = 30 previous_echo_area_message = 10942865 also_record = 10942865 reread = 0 polling_stopped_here = <value optimized out> orig_kboard = (struct kboard *) 0x1050ad0 #4 0x00000000004f2fe8 in read_key_sequence (keybuf=0x7ffffc4df050, bufsize=30, prompt=10942865, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9415 interrupted_kboard = (KBOARD *) 0x1050ad0 key = 4611686018427404288 ---Type <return> to continue, or q <return> to quit--- used_mouse_menu = 0 echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 local_first_binding = 0 from_string = 10942865 count = 73 t = 0 echo_start = 0 keys_start = 0 nmaps = 2 nmaps_allocated = 2 defs = (Lisp_Object * volatile) 0x7ffffc4dee70 submaps = (Lisp_Object * volatile) 0x7ffffc4dee90 orig_local_map = 12224677 orig_keymap = 10942865 localized_local_map = 0 first_binding = 0 first_unbound = 31 mock_input = 0 fkey = {parent = 16655525, map = 16655525, start = 0, end = 0} keytran = {parent = 10935061, map = 10935061, start = 0, end = 0} indec = {parent = 16655541, map = 16655541, start = 0, end = 0} shift_translated = 0 ---Type <return> to continue, or q <return> to quit--- delayed_switch_frame = 10942865 original_uppercase = 434228829526556180 original_uppercase_position = -1 starting_buffer = (struct buffer *) 0x186e170 fake_prefixed_keys = 10942865 #5 0x00000000004f491e in command_loop_1 () at keyboard.c:1640 cmd = <value optimized out> lose = 27548000 nonundocount = 0 keybuf = {0 <repeats 18 times>, 8318816, 4938079, 0, 0, 0, 0, 21474836498, 0, 10942865, 10942865, 10942865, 10942865} i = 27548000 prev_modiff = 0 prev_buffer = (struct buffer *) 0x0 already_adjusted = 0 #6 0x00000000005504f5 in internal_condition_case ( bfun=0x4f4616 <command_loop_1>, handlers=11030017, hfun=0x4edc07 <cmd_error>) at eval.c:1511 val = <value optimized out> c = {tag = 10942865, val = 10942865, next = 0x7ffffc4df310, gcpro = 0x0, jmp = {{__jmpbuf = {27548000, 434228829526556180, 27550240, 1, 4611686018427389952, 4611686018427404288, -434233414704824812, 434231447406902804}, __mask_was_saved = 0, __saved_mask = {__val = { 21831232, 21831232, 140032851868047, 21831256, 140737426354912, ---Type <return> to continue, or q <return> to quit--- 140737426354864, 140737426354880, 140737426354896, 140737426354848, 140737426354936, 9838, 0, 140032792643805, 0, 0, 21839920}}}}, backlist = 0x7ffffc4df4b0, handlerlist = 0x7ffffc4e0bc0, lisp_eval_depth = 15, pdlcount = 73, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x7ffffc4df550} h = {handler = 11030017, var = 10942865, chosen_clause = 23086960, tag = 0x7ffffc4df1d0, next = 0x7ffffc4e0bc0} #7 0x00000000004ed1af in command_loop_2 () at keyboard.c:1357 val = -514 #8 0x00000000005505e2 in internal_catch (tag=<value optimized out>, func=0x4ed195 <command_loop_2>, arg=10942865) at eval.c:1247 c = {tag = 11161793, val = 10942865, next = 0x7ffffc4e0bf0, gcpro = 0x0, jmp = {{__jmpbuf = {27548000, 434228829526556180, 27550240, 1, 4611686018427389952, 4611686018427404288, -434233414755156460, 434231447428398612}, __mask_was_saved = 0, __saved_mask = {__val = { 11355386, 11363408, 11355384, 25616752, 11363409, 10942865, 5517284, 0, 4299450280, 10942913, 11363408, 11363409, 10942865, 1, 11355384, 4611686018427404288}}}}, backlist = 0x7ffffc4df4b0, handlerlist = 0x7ffffc4e0bc0, lisp_eval_depth = 15, pdlcount = 73, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x7ffffc4df550} #9 0x00000000004eda1b in command_loop () at keyboard.c:1322 val = -514 #10 0x00000000004eddc8 in recursive_edit_1 () at keyboard.c:951 ---Type <return> to continue, or q <return> to quit--- val = <value optimized out> #11 0x00000000004edf0f in Frecursive_edit () at keyboard.c:1013 buffer = 10942865 #12 0x0000000000550f33 in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4df510) at eval.c:3041 fun = 8 original_fun = 11010689 funcar = <value optimized out> numargs = 0 val = <value optimized out> backtrace = {next = 0x7ffffc4df630, function = 0x7ffffc4df510, args = 0x7ffffc4df518, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7ffffc4df518 i = -1 #13 0x0000000000583434 in Fbyte_code (bytestr=<value optimized out>, vector=0, maxdepth=<value optimized out>) at bytecode.c:678 count = 65 op = 0 stack = {pc = 0x185d945 "\210+Ù\207", top = 0x7ffffc4df510, bottom = 0x7ffffc4df510, byte_string = 13577731, byte_string_start = 0x185d8d0 "Æ\020\t@Ç=\203!", constants = 13421476, next = 0x7ffffc4df7d0} top = (Lisp_Object *) 0x7ffffc4df510 result = <value optimized out> ---Type <return> to continue, or q <return> to quit--- #14 0x000000000055290a in Feval (form=<value optimized out>) at eval.c:2381 numargs = <value optimized out> args_left = 10942865 i = 3 maxargs = 3 argvals = {13577731, 13421476, 32, 5308804, 10942865, 25692256, 15541280, 2} fun = <value optimized out> val = <value optimized out> original_fun = 11202609 original_args = 11990037 funcar = <value optimized out> backtrace = {next = 0x7ffffc4df8f0, function = 0x7ffffc4df658, args = 0x7ffffc4df5f0, nargs = 3, evalargs = 1 '\001', debug_on_exit = 0 '\0'} #15 0x0000000000552d31 in Fprogn (args=<value optimized out>) at eval.c:449 val = 0 #16 0x0000000000453cc9 in Fsave_window_excursion (args=11981477) at window.c:6528 val = <value optimized out> #17 0x0000000000583bad in Fbyte_code (bytestr=<value optimized out>, vector=0, maxdepth=<value optimized out>) at bytecode.c:839 count = 17 op = -62002592 ---Type <return> to continue, or q <return> to quit--- stack = { pc = 0x185d72e "\210.\024\0162\024\0161\025\0160\026\023\016/\026\024\016.\026\025\016-\026\026\016,\026\027\016+\026\030\016*\026\031\016)\026\032\016(\026\033\016'\026\034\016&\026\035\016%\026\036\016$\026\037\016#\020\016\"\026 \0166\026>\t.\033\207", top = 0x7ffffc4df6d0, bottom = 0x7ffffc4df6d0, byte_string = 17032899, byte_string_start = 0x185d678 "\b\203\006", constants = 26931700, next = 0x7ffffc4e0430} top = (Lisp_Object *) 0x7ffffc4df6d0 result = <value optimized out> #18 0x0000000000552fd5 in funcall_lambda (fun=11170660, nargs=2, arg_vector=0x7ffffc4df958) at eval.c:3231 val = <value optimized out> syms_left = <value optimized out> next = <value optimized out> i = 2 optional = 0 rest = 1 #19 0x00000000005510af in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4df950) at eval.c:3090 fun = 8 original_fun = 11163249 funcar = <value optimized out> numargs = 2 val = <value optimized out> ---Type <return> to continue, or q <return> to quit--- backtrace = {next = 0x7ffffc4dfc50, function = 0x7ffffc4df950, args = 0x7ffffc4df958, nargs = 2, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7ffffc4df958 i = <value optimized out> #20 0x00000000005524bd in Fapply (nargs=2, args=0x7ffffc4df9d0) at eval.c:2532 ret_ungc_val = -514 i = <value optimized out> numargs = <value optimized out> spread_arg = 10942865 funcall_args = (Lisp_Object *) 0x7ffffc4df950 fun = <value optimized out> #21 0x000000000055250d in apply1 (fn=11163249, arg=<value optimized out>) at eval.c:2793 args = {11163249, 16697973} #22 0x0000000000550893 in call_debugger (arg=16697973) at eval.c:306 debug_while_redisplaying = <value optimized out> val = <value optimized out> #23 0x0000000000550a0f in maybe_call_debugger (conditions=10933136, sig=11847712, data=<value optimized out>) at eval.c:1901 combined_data = 16701717 #24 0x0000000000550b1a in find_handler_clause (handlers=11030017, conditions=10933141, sig=11045873, data=16701765) at eval.c:1961 h = <value optimized out> tem = <value optimized out> ---Type <return> to continue, or q <return> to quit--- debugger_called = <value optimized out> debugger_considered = 0 #25 0x00000000005513e5 in Fsignal (error_symbol=11045873, data=16701765) at eval.c:1700 clause = 16701781 allhandlers = (struct handler *) 0x7ffffc4e0bc0 conditions = 10933141 string = -514 real_error_symbol = 11045873 bp = <value optimized out> #26 0x00000000005514f4 in xsignal (error_symbol=8, data=140737426352736) at eval.c:1750 No locals. #27 0x0000000000517201 in report_file_error ( string=0x5c59ee "writing to process", data=16701845) at fileio.c:282 errstring = <value optimized out> errorno = <value optimized out> str = <value optimized out> #28 0x000000000058b8ec in send_process (proc=26151460, buf=0x7f5c01a47a8e <Address 0x7f5c01a47a8e out of bounds>, len=75137693, object=26926196) at process.c:5768 outfd = <value optimized out> this = 75137693 p = (struct Lisp_Process *) 0x18f0a20 ---Type <return> to continue, or q <return> to quit--- rv = -1 coding = <value optimized out> old_sigpipe = (void (* volatile)()) 0x4962bf <x_connection_signal> #29 0x000000000058c469 in Fprocess_send_region (process=<value optimized out>, start=8, end=601167208) at process.c:5819 proc = 26151460 start1 = 1 end1 = 75145901 #30 0x000000000055290a in Feval (form=<value optimized out>) at eval.c:2381 numargs = <value optimized out> args_left = 10942865 i = 3 maxargs = 3 argvals = {26151460, 8, 601167208, 4362076160, 12475696, 12884901896, 140737426357544, 4294967296} fun = <value optimized out> val = <value optimized out> original_fun = 11273185 original_args = 16820261 funcar = <value optimized out> backtrace = {next = 0x7ffffc4dfd30, function = 0x7ffffc4dfc78, args = 0x7ffffc4dfc10, nargs = 3, evalargs = 1 '\001', debug_on_exit = 0 '\0'} #31 0x0000000000552d31 in Fprogn (args=<value optimized out>) at eval.c:449 ---Type <return> to continue, or q <return> to quit--- val = 0 #32 0x000000000055277f in Feval (form=<value optimized out>) at eval.c:2322 numargs = 0 args_left = 16818085 i = <value optimized out> maxargs = <value optimized out> argvals = {26926192, 16770229, 25660512, 11307633, 10942865, 1, 1, 5514875} fun = <value optimized out> val = <value optimized out> original_fun = 11163969 original_args = 16818085 funcar = <value optimized out> backtrace = {next = 0x7ffffc4dfe20, function = 0x7ffffc4dfd58, args = 0x7ffffc4dfd50, nargs = -1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} #33 0x0000000000553156 in Funwind_protect (args=16817605) at eval.c:1353 val = <value optimized out> #34 0x000000000055277f in Feval (form=<value optimized out>) at eval.c:2322 numargs = 0 args_left = 16817605 i = <value optimized out> maxargs = <value optimized out> argvals = {26926196, 5582827, 140737426357936, 8595715124, 140737426358008, 8473876, 11725264, 11724944} ---Type <return> to continue, or q <return> to quit--- fun = <value optimized out> val = <value optimized out> original_fun = 11165841 original_args = 16817605 funcar = <value optimized out> backtrace = {next = 0x7ffffc4dff20, function = 0x7ffffc4dfe48, args = 0x7ffffc4dfe40, nargs = -1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} #35 0x0000000000552d31 in Fprogn (args=<value optimized out>) at eval.c:449 val = 0 #36 0x0000000000546985 in Fsave_current_buffer (args=16816965) at editfns.c:1023 val = <value optimized out> #37 0x000000000055277f in Feval (form=<value optimized out>) at eval.c:2322 numargs = 0 args_left = 16816965 i = <value optimized out> maxargs = <value optimized out> argvals = {140737426358096, 5579965, 8473876, 25518225, 16817541, 16817477, 140737426358096, 5579563} fun = <value optimized out> val = <value optimized out> original_fun = 11239201 original_args = 16816965 funcar = <value optimized out> ---Type <return> to continue, or q <return> to quit--- backtrace = {next = 0x7ffffc4dfff0, function = 0x7ffffc4dff48, args = 0x7ffffc4dff40, nargs = -1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} #38 0x0000000000552afa in Feval (form=<value optimized out>) at eval.c:2433 fun = <value optimized out> val = <value optimized out> original_fun = 11762129 original_args = 16817477 funcar = <value optimized out> backtrace = {next = 0x7ffffc4e0140, function = 0x7ffffc4e0018, args = 0x7ffffc4e0010, nargs = -1, evalargs = 1 '\001', debug_on_exit = 0 '\0'} #39 0x0000000000552d31 in Fprogn (args=<value optimized out>) at eval.c:449 val = 0 #40 0x000000000055389f in Flet (args=16817317) at eval.c:1089 temps = (Lisp_Object *) 0x7ffffc4e0070 tem = 26926196 elt = <value optimized out> varlist = <value optimized out> argnum = 1 #41 0x000000000055277f in Feval (form=<value optimized out>) at eval.c:2322 numargs = 0 args_left = 16817317 i = <value optimized out> maxargs = <value optimized out> ---Type <return> to continue, or q <return> to quit--- argvals = {140737426358640, 5579965, 8477196, 16789669, 16820293, 16820357, 140737426358640, 5579563} fun = <value optimized out> val = <value optimized out> original_fun = 11165553 original_args = 16817317 funcar = <value optimized out> backtrace = {next = 0x7ffffc4e0210, function = 0x7ffffc4e0168, args = 0x7ffffc4e0160, nargs = -1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} #42 0x0000000000552afa in Feval (form=<value optimized out>) at eval.c:2433 fun = <value optimized out> val = <value optimized out> original_fun = 11762801 original_args = 16820357 funcar = <value optimized out> backtrace = {next = 0x7ffffc4e02f0, function = 0x7ffffc4e0238, args = 0x7ffffc4e0230, nargs = -1, evalargs = 1 '\001', debug_on_exit = 0 '\0'} #43 0x0000000000552d31 in Fprogn (args=<value optimized out>) at eval.c:449 val = 0 #44 0x000000000055277f in Feval (form=<value optimized out>) at eval.c:2322 numargs = 0 args_left = 16789797 i = <value optimized out> ---Type <return> to continue, or q <return> to quit--- maxargs = <value optimized out> argvals = {140737426358896, 9614400, 140737426359264, 0, 1, 0, 4611686018427404288, 5582827} fun = <value optimized out> val = <value optimized out> original_fun = 11163969 original_args = 16789797 funcar = <value optimized out> backtrace = {next = 0x7ffffc4e0390, function = 0x7ffffc4e0318, args = 0x7ffffc4e0310, nargs = -1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} #45 0x0000000000550f4c in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4e03f8) at eval.c:3044 fun = <value optimized out> original_fun = 11166081 funcar = <value optimized out> numargs = 1 val = <value optimized out> backtrace = {next = 0x7ffffc4e0550, function = 0x7ffffc4e03f8, args = 0x7ffffc4e0400, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7ffffc4e0400 i = -1 #46 0x0000000000583434 in Fbyte_code (bytestr=<value optimized out>, vector=0, maxdepth=<value optimized out>) at bytecode.c:678 count = 8 ---Type <return> to continue, or q <return> to quit--- op = 0 stack = {pc = 0x991915 "!)\207", top = 0x7ffffc4e0400, bottom = 0x7ffffc4e03f0, byte_string = 9615147, byte_string_start = 0x991906 "\b\203\b", constants = 9615180, next = 0x7ffffc4e05f0} top = (Lisp_Object *) 0x7ffffc4e03f8 result = <value optimized out> #47 0x0000000000552fd5 in funcall_lambda (fun=9615076, nargs=1, arg_vector=0x7ffffc4e05b8) at eval.c:3231 val = <value optimized out> syms_left = <value optimized out> next = <value optimized out> i = 1 optional = 0 rest = 0 #48 0x00000000005510af in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4e05b0) at eval.c:3090 fun = 8 original_fun = 16875553 funcar = <value optimized out> numargs = 1 val = <value optimized out> backtrace = {next = 0x7ffffc4e0710, function = 0x7ffffc4e05b0, args = 0x7ffffc4e05b8, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} ---Type <return> to continue, or q <return> to quit--- internal_args = (Lisp_Object *) 0x7ffffc4e05b8 i = <value optimized out> #49 0x0000000000583434 in Fbyte_code (bytestr=<value optimized out>, vector=16875601, maxdepth=<value optimized out>) at bytecode.c:678 count = 6 op = 0 stack = {pc = 0x991879 "\v)B\211\034A\n=\204\033", top = 0x7ffffc4e05b8, bottom = 0x7ffffc4e05b0, byte_string = 9615643, byte_string_start = 0x99186c "\b\204\b", constants = 9615676, next = 0x0} top = (Lisp_Object *) 0x7ffffc4e05b0 result = <value optimized out> #50 0x0000000000552fd5 in funcall_lambda (fun=9615564, nargs=1, arg_vector=0x7ffffc4e07c8) at eval.c:3231 val = <value optimized out> syms_left = <value optimized out> next = <value optimized out> i = 1 optional = 0 rest = 0 #51 0x00000000005510af in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4e07c0) at eval.c:3090 fun = 8 original_fun = 11636193 funcar = <value optimized out> ---Type <return> to continue, or q <return> to quit--- numargs = 1 val = <value optimized out> backtrace = {next = 0x7ffffc4e0990, function = 0x7ffffc4e07c0, args = 0x7ffffc4e07c8, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7ffffc4e07c8 i = <value optimized out> #52 0x000000000054ef28 in Fcall_interactively (function=11636193, record_flag=10942865, keys=11009892) at callint.c:870 val = <value optimized out> args = (Lisp_Object *) 0x7ffffc4e07c0 visargs = (Lisp_Object *) 0x7ffffc4e07a0 specs = <value optimized out> filter_specs = <value optimized out> teml = <value optimized out> up_event = 10942865 enable = 1 speccount = 3 next_event = 2 prefix_arg = 10942865 string = (unsigned char *) 0x2 <Address 0x2 out of bounds> tem = (unsigned char *) 0x2 <Address 0x2 out of bounds> varies = (int *) 0x7ffffc4e0780 i = 2 j = 1 ---Type <return> to continue, or q <return> to quit--- foo = -514 prompt1 = '\0' <repeats 99 times> tem1 = <value optimized out> arg_from_tty = 0 key_count = 2 record_then_fail = 0 save_this_command = 11636193 save_last_command = 16912737 save_this_original_command = 11636193 save_real_this_command = 11636193 #53 0x0000000000550f89 in Ffuncall (nargs=<value optimized out>, args=0x7ffffc4e09f0) at eval.c:3050 fun = <value optimized out> original_fun = 11204145 funcar = <value optimized out> numargs = 3 val = <value optimized out> backtrace = {next = 0x0, function = 0x7ffffc4e09f0, args = 0x7ffffc4e09f8, nargs = 3, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7ffffc4e09f8 i = -1 #54 0x000000000055125f in call3 (fn=<value optimized out>, arg1=<value optimized out>, arg2=0, arg3=-1) at eval.c:2870 ret_ungc_val = -514 ---Type <return> to continue, or q <return> to quit--- args = {11204145, 11636193, 10942865, 10942865} #55 0x00000000004e8644 in Fcommand_execute (cmd=11636193, record_flag=10942865, keys=10942865, special=<value optimized out>) at keyboard.c:10404 final = 9615564 tem = -514 prefixarg = 10942865 #56 0x00000000004f56dd in command_loop_1 () at keyboard.c:1899 cmd = <value optimized out> lose = <value optimized out> nonundocount = 0 keybuf = {192, 40, 8854932, 8854928, 4611686018427389952, 4611686018427404288, 0, 140737426363016, 140737426361216, 5581412, 140032824973604, 140028818751511, 44108294, 140737426361072, 140737426361416, 140032824978344, 0, 140032917289520, 140032917323776, 4234767, 140032825029248, 4215080, 0, 140737426361160, 140737426360928, 0, 10942865, 12730369, 2822930839, 11724944} i = <value optimized out> prev_modiff = 28 prev_buffer = (struct buffer *) 0xa796d0 already_adjusted = 0 #57 0x00000000005504f5 in internal_condition_case ( bfun=0x4f4616 <command_loop_1>, handlers=11030017, hfun=0x4edc07 <cmd_error>) at eval.c:1511 ---Type <return> to continue, or q <return> to quit--- val = <value optimized out> c = {tag = 10942865, val = 10942865, next = 0x7ffffc4e0d30, gcpro = 0x0, jmp = {{__jmpbuf = {11724944, 434231212656688660, 11724976, -1, 0, 140737426363016, -434233402159661548, 434231447406902804}, __mask_was_saved = 0, __saved_mask = {__val = {8303256, 11724976, 18446744073709551615, 0, 140737426363016, 0, 140032915358873, 1, 0, 1, 0, 140032825000832, 11724944, 11724944, 140032915383202, 0}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0} h = {handler = 11030017, var = 10942865, chosen_clause = 140032917512192, tag = 0x7ffffc4e0bf0, next = 0x0} #58 0x00000000004ed1af in command_loop_2 () at keyboard.c:1357 val = -514 #59 0x00000000005505e2 in internal_catch (tag=<value optimized out>, func=0x4ed195 <command_loop_2>, arg=10942865) at eval.c:1247 c = {tag = 11011409, val = 10942865, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {11724944, 434231212656688660, 11724976, -1, 0, 140737426363016, -434233402209993196, 434231447428398612}, __mask_was_saved = 0, __saved_mask = {__val = {11355386, 11363408, 11355384, 10983120, 11363409, 10942865, 5517284, 0, 4294967440, 10942913, 11363408, 11363409, 10942865, 18446744073709551615, 11355384, 140737426363016}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0} ---Type <return> to continue, or q <return> to quit--- #60 0x00000000004eda5e in command_loop () at keyboard.c:1336 No locals. #61 0x00000000004eddc8 in recursive_edit_1 () at keyboard.c:951 val = <value optimized out> #62 0x00000000004edf0f in Frecursive_edit () at keyboard.c:1013 buffer = 10942865 #63 0x00000000004e47f2 in main (argc=2, argv=0x7ffffc4e1288) at emacs.c:1852 dummy = 4294969293 stack_bottom_variable = 0 '\0' do_initial_setlocale = 1 skip_args = 0 rlim = {rlim_cur = 8720000, rlim_max = 18446744073709551615} no_loadup = 0 junk = 0x0 dname_arg = 0x0 [-- Attachment #2.1.3: Type: text/plain, Size: 2769 bytes --] If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.90/etc/DEBUG for instructions. In GNU Emacs 23.0.90.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7) of 2009-02-10 on thinkpad Windowing system distributor `The X.Org Foundation', version 11.0.10503000 configured using `configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-g -ggdb -O1 -pipe' 'LDFLAGS='' 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_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t rcirc-track-minor-mode: t recentf-mode: t window-number-meta-mode: t window-number-mode: t savehist-mode: t exec-abbrev-cmd-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: <down-mouse-1> <mouse-1> M-x g <return> <return> <down-mouse-1> <mouse-1> M-x C-. t t s s <return> M-x r e b <retu rn> Recent messages: 20090210T204917.550> Opening nntp server on Uni... 20090210T204917.551> Opening nntp server on Uni...done 20090210T204917.670> No new newsgroups 20090210T204917.676> Checking new news... 20090210T204917.924> Opening nnml server on archive... 20090210T204917.926> Opening nnml server on archive...done 20090210T204917.942> Opening nnml server on archive... 20090210T204917.944> Opening nnml server on archive...done 20090210T204917.949> Checking new news...done smtp server is now set to mail.messagingengine.com. [-- Attachment #3: Type: message/rfc822, Size: 1190 bytes --] From: Chong Yidong <cyd@stupidchicken.com> To: Andreas Schwab <schwab@suse.de> Cc: 2272-done@emacsbugs.donarmstrong.com Subject: Re: bug#2272: 23.0.90; process-send-region errors when sending large amounts of data Date: Tue, 10 Feb 2009 21:29:14 -0500 Message-ID: <87vdrhbtad.fsf@cyd.mit.edu> Andreas Schwab <schwab@suse.de> wrote: > I've checked in a fix. That was quick. Thank you. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-11 2:35 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <87vdrhbtad.fsf@cyd.mit.edu> 2009-02-10 20:12 ` bug#2272: 23.0.90; process-send-region errors when sending large amounts of data Tassilo Horn 2009-02-10 22:33 ` Andreas Schwab 2009-02-11 2:35 ` bug#2272: marked as done (23.0.90; process-send-region errors when sending large amounts of data) Emacs bug Tracking System
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).