Archive Page 2 of 312



libgd2 memory corruption

*** glibc detected *** /usr/lib/cgi-bin/gd.fcgi: malloc(): memory corruption: 0x09332530 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7bdee56]
/lib/i686/cmov/libc.so.6(__libc_malloc+0x95)[0xb7be05a5]
/usr/lib/libgd.so.2(gdMalloc+0x1d)[0xb7cf17dd]
/usr/lib/libgd.so.2(gdCacheCreate+0x1e)[0xb7cef32e]
/usr/lib/libgd.so.2(gdImageStringFTEx+0x9e)[0xb7cef82e]
/usr/lib/libgd.so.2(gdImageStringFT+0x5d)[0xb7cf0edd]
/usr/lib/cgi-bin/gd.fcgi[0x80490ef]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7b83775]
/usr/lib/cgi-bin/gd.fcgi[0x8048b91]
======= Memory map: ========

Rethinking My Ikiwiki Setup

Time to rethink my ikiwiki setup:

ikiwiki: [NeoCarz Wiki] failed to get lock

No problem though, I’m using Subversion to store the ikiwiki data. For unrelated reasons, I happen to be using NFS to store the subversion repositories.

cc: error trying to exec ‘cc1plus’: execvp: No such file or directory




I’m trying to install encode::detect on debian, but got this error:

cc: error trying to exec 'cc1plus': execvp: No such file or directory

This fixed it:

apt-get install g++

Ssh Error: PTY allocation request failed on channel 0

Whoops! After cleaning up some virtual machines, I went too aggressive on some normal machines and removed some necessary stuff. I think I’ll be able to fix this though, as I’m still able to issue commands via ssh.

I reinstalled and re-enabled udev but I was still having problems, so I did this:

ssh example.com "sudo bash -i"
echo "none /dev/pts devpts defaults 0 0" >> /etc/fstab
mount -a

Then I was able to login again.