GNU bug report logs - #40323
28.0.50; error in process filter: Invalid search bound (wrong side of point)

Previous Next

Package: emacs;

Reported by: Jacob Lagares Pozo <jlagarespo <at> iebesalu.cat>

Date: Mon, 30 Mar 2020 11:11:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jacob Lagares Pozo <jlagarespo <at> iebesalu.cat>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 40323 <at> debbugs.gnu.org
Subject: bug#40323: 28.0.50; error in process filter: Invalid search bound (wrong side of point)
Date: Mon, 20 Apr 2020 12:07:18 +0200
[Message part 1 (text/plain, inline)]
OK, I replaced the old function and now it outputs this:

|======================================================================
1 -> (comint-output-filter #<process slack> "[04/20/20, 12:00:53:017] 
info: Store: FOREGROUND_APP
")(:comint-pmark nil)
| 2 -> (set-marker #<marker at 34155 in *slack*> 34261)(:comint-pmark 
(#<marker at 34155 in *slack*> . #<marker at 34261 in *slack*>))
| 2 <- set-marker: #<marker at 34261 in *slack*>(:comint-pmark (#<marker 
at 34261 in *slack*> . #<marker at 34261 in *slack*>))
| 2 -> (set-marker #<marker at 34261 in *slack*> 34316)(:comint-pmark 
(#<marker at 34261 in *slack*> . #<marker at 34261 in *slack*>))
| 2 <- set-marker: #<marker at 34316 in *slack*>(:comint-pmark (#<marker 
at 34261 in *slack*> . #<marker at 34316 in *slack*>))
| 2 -> (ansi-color-process-output "[04/20/20, 12:00:53:017] info: Store: 
FOREGROUND_APP
")(:comint-pmark (#<marker at 34261 in *slack*> . #<marker at 34316 in 
*slack*>))
| 2 <- ansi-color-process-output: nil(:comint-pmark (#<marker at 34261 
in *slack*> . #<marker at 34316 in *slack*>))
| 2 -> (set-marker #<marker (moves after insertion) at 34316 in *slack*> 
34316)(:comint-pmark (#<marker at 34261 in *slack*> . #<marker at 34316 
in *slack*>))
| 2 <- set-marker: #<marker (moves after insertion) at 34316 in 
*slack*>(:comint-pmark (#<marker at 34261 in *slack*> . #<marker at 
34316 in *slack*>))
1 <- comint-output-filter: #<marker (moves after insertion) at 34316 in 
*slack*>(:comint-pmark nil)
|

I should probably make a simple program that prints a bunch of stuff and 
then hangs, so I can have predictable and reproducible output, that 
might help.

So what do you exactly mean by that the process is ending normally?

Jacob

On 2020-04-19 14:57, Noam Postavsky wrote:
> Jacob Lagares Pozo <jlagarespo <at> iebesalu.cat> writes:
>
>> OK, not sure if this is what we want, but this is an example output
>> that looks interesting.
>>
>> If needed I'll dump the whole thing to a file, compress, it and post
>> it here.
>> *slack*<4>>(:comint-pmark #<marker at 238675 in *slack*<4>>)
>> 1 <- comint-output-filter: #<marker (moves after insertion) at 238675
>> in *slack*<4>>(:comint-pmark nil)
> I think this just shows the process ending normally.  And I made a
> mistake in the tracing function, better to see both markers, as in:
>
>      (defun bug-40323-get-comint-output-marker ()
>        (list :comint-pmark
>              (and (markerp comint-last-output-start)
>                   (eq (marker-buffer comint-last-output-start)
>                       (current-buffer))
>                   (cons
>                    comint-last-output-start
>                    (process-mark (get-buffer-process (current-buffer)))))))
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 37 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.