GNU bug report logs - #7723
Process list gone wild

Previous Next

Packages: emacs, w32;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Fri, 24 Dec 2010 10:09:02 UTC

Severity: normal

Tags: moreinfo

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 7723 <at> debbugs.gnu.org
Subject: bug#7723: Process list gone wild
Date: Sat, 25 Dec 2010 14:33:03 +0200
> From: Lennart Borgman <lennart.borgman <at> gmail.com>
> Date: Fri, 24 Dec 2010 13:17:40 +0100
> Cc: 7723 <at> debbugs.gnu.org
> 
> I think the problem is missing error handling in the C code.

Maybe.  But with the information you presented, I cannot see what
error handling is needed and where.  The error message probably comes
from one of the calls to `insert' made by list-processes, but it's not
clear which one.  The offending value, viz.:

  ("c:/emacs/EmacsW32/nxhtml/etc/wds/DesktopSearch.rb" "c:/" "journey")

looks like the command-line arguments of some process, is that right?
If so, there's a loop in list_processes_1, a subroutine of
list-processes, that should have walked this list inserting its
elements one by one.  Unless you provide more information from the C
level, I cannot figure out why did that fail and what to o to fix
that.

If you can reproduce this, put a breakpoint inside list_processes_1,
and see which of the calls to Finsert signals the error and why.




This bug report was last modified 13 years and 315 days ago.

Previous Next


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