GNU bug report logs -
#34094
27.0.50; (wrong-type-argument stringp (require . elec-pair)) with describe-function (and other commands)
Previous Next
Reported by: Tassilo Horn <tsdh <at> gnu.org>
Date: Wed, 16 Jan 2019 07:43:01 UTC
Severity: normal
Tags: moreinfo
Merged with 34178
Found in version 27.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
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> >> Starting program: /home/horn/Repos/el/emacs/src/emacs
>>> >> [Thread debugging using libthread_db enabled]
>>> >> Using host libthread_db library "/usr/lib/libthread_db.so.1".
>>> >> [New Thread 0x7fffeea70700 (LWP 25211)]
>>> >> [Detaching after vfork from child process 25212]
>>> >> [New Thread 0x7fffee22d700 (LWP 25213)]
>>> >> [New Thread 0x7fffed2b2700 (LWP 25214)]
>>> >> [Detaching after vfork from child process 25215]
>>> >> [Detaching after vfork from child process 25216]
>>> >> [Detaching after vfork from child process 25217]
>>> >> [Detaching after vfork from child process 25218]
>>> >> [Detaching after vfork from child process 25219]
>>> >
>>> > Any idea what are all those vforks about? Is this something caused
>>> > by your init files?
>>>
>>> I don't get them with run -Q, so I guess it's something in my init
>>> file. When I try again, now I only get 21 vforks instead of the 132
>>> I've had before.
>>>
>>> If I were keen to know what's the cause, how would I find out?
>>
>> If your customizations cause a lot of processes to be launched at
>> startup, then the above is expected. Otherwise, I'd suggest to look
>> for some code which might launch such processes which you didn't
>> intend.
>
> I temporarily added
>
> (advice-add 'call-process :before #'debug)
> (advice-add 'start-process :before #'debug)
>
> to my ~/.emacs and restarted, and there are several packages which
> invoke external commands at startup, e.g., Magit trying to figure out
> the defaults I've set in my ~/.gitconfig. So that seems to be expected.
IMHO, every time a package does this, it's a bug. Launching programs is
way too expensive to do on every startup. Packages should be caching the
results of system introspection somehow.
This bug report was last modified 3 years and 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.