Re: Update-menus hanging during dselect / apt-get
After receiving your request to run your test program to try to catch
the update-menu's bug, and having the symptom happen again to me here
this evening, here's some more information about the update-menu's bug
for your reference.
- Had the symptom happen again.
- Was able to run the killtest program you wrote.
- Had an interesting error output from it when I ran a new copy of RXVT
with killtest running in the background in X.
- System is 2.0.36 with 2.1.2-0pre2 libc6
- Both libstdc++2.9 2.91.61-1 and libstdc++2.9 2.91.61-2 appear to be
loaded at the same time?
(Is this odd to you? In dselect, they both show as installed, and the
shows that it's up-to-date...)
- Menu version 2.1.2-3
- Hardware: AMD K6-2 350/96MB RAM (in case it matters...)
Here's the output of dselect/apt when it hung this time. This time I
was REMOVING packages:
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
knews inewsinn slrn uudeview
0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 1375kB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 47056 files and directories currently installed.)
Removing inewsinn ...
Removing knews ...
Update-menus: further output (if any) will appear in
update-menus, debugging Bug#42051. ERROR: second kill returns 0!, i=0
See also http://joostje.op.het.net/menu/index.htmlupdate-menus,
debugging bug #42051. Parent got SIGUSR2! Please reportSee also
Removing slrn ...
dpkg - warning: while removing slrn, directory `/etc/news' not empty so
dpkg - warning: while removing slrn, directory `/var/lib/slrn' not empty
so not removed.
--- HUNG HERE --- HIT CTRL-C HERE ---
dpkg: error processing slrn (--remove):
subprocess post-removal script killed by signal (Interrupt)
/var/lib/dpkg/info/slrn.postinst: /usr/sbin/slrnconfig: No such file or
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
E: Sub-process exited unexpectedly
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall
Press enter to continue.
installation script returned error exit status 100.
Press RETURN to continue.
So it continued and started the removal of slrn and then hung during
that, not right at the place where your signals should have been
Here's the results of your killtest program:
- Normal operation (nothing else running), everything okay.
- Loading a copy of RXVT while "killtest" was running produced:
/killtest: error in loading shared libraries: /lib/ld-linux.so.2:
undefined symbol: _dl_init_next, version GLIBC_2.0
Don't know what that means, but maybe it helps? The message came out
and then the dots continued normally...
Hope this new data helps you!
Nate Duehr - email@example.com