Upon system startup, xprint appears to fail. The following boot.log message is
Jul 15 20:14:23 markhost xprint: /etc/rc5.d/S61xprint: internal error:
alloc: freeing memory outside of block (corrupted?)
However, once started, one can login, either as root, or user and then su, and
start the server manually. Logging out and back in against produces normal
xplsprinters output and the server will produce output.
Workaround: manual start, logout, re-login, check xplsprinters for output.
Build: 009.001, from SRPM on a Red Hat 7.2 system, kernel 2.4.20-28.7, gcc
2.96.3, glibc 2.2.4. The binary from mozdev.org did not work because of a call
to a glibc 2.3 library.
Note that the symlinks had to be created manually. I will be entering a separate
bug for this problem.
Mark Roberts wrote:
> Jul 15 20:14:23 markhost xprint: /etc/rc5.d/S61xprint: internal error:
> alloc: freeing memory outside of block (corrupted?)
Which process (bash, ksh, Xprt etc.) prints this message ? A quick "grep" over
the old Xprint CVS doesn't show any trace of the message so I assume it comes
from an other application (bash ?!) ... ;-(
It's done init at that point, and has switched into a run level, so it's bash
that's running the script. But I'm not able to run ps -ef at that spot in the
sequence, so I can't tell you which processes are running (and as whose
children, if any) when xprint is starting.
Even when the error is logged, the screen prompt reports that xprint started OK.
"Interactive" startup was the same (for run level 5).
The logged error does not occur when starting at run level 3. (no NFS on this
system, so didn't try 2)
I tried changing the symlink target paths from an absolute /etc/init.d/xprint to
../init.d/xprint, on the wild chance that the init script might be parsing
something strangely, but that also fails for a run level 5 startup.
Here's what /var/run/Xprint_servers looks like after the failed start (i.e. it's
[root@markhost root]# less /var/run/Xprint_servers
# Xprint server list
# File is for private use for /etc/rc5.d/S61xprint.
# Do not edit, rely on the content or file format.
Closing WONTFIX because nobody cares about Xprint. Reopen if you plan to address this bug.