$ valgrind ./invalid_free
valgrind: Fatal error at startup: a function redirection
valgrind: which is mandatory for this platform-tool combination
valgrind: cannot be set up. Details of the redirection are:
valgrind:
valgrind: A must-be-redirected function
valgrind: whose name matches the pattern: strlen
valgrind: in an object with soname matching: ld.so.1
valgrind: was not found whilst processing
valgrind: symbols from the object with soname: ld.so.1
valgrind:
valgrind: Possible fix: install glibc's debuginfo package on this machine.
valgrind:
valgrind: Cannot continue -- exiting now. Sorry.
$ aptitude install libc-dbg
2009-04-07
Valgrind for PowerPC on Debian
Posted by
Clark J. Wang
-
9:51 PM
0
comments
Labels: *nix, C/CPP, Debian/Ubuntu, Utils
2009-02-14
2009-01-16
2009-01-15
Jabber.no out of service?
周一开始 gtalk 不能登录 msn 了, 这几天也不行, 难道 jabber.no 报废了?
Posted by
Display Name
-
9:52 AM
0
comments
2009-01-14
Mac version of Picasa is only for Intel-based machines?
很兴奋 google 终于推出了 mac 版的 picasa, 刚下载了一个, 结果不能运行, 上网一查原来只支持 intel 版的 mac, 可怜俺的 ibook g4, 伤心 :(
Posted by
Clark J. Wang
-
9:18 PM
0
comments
[Tiger] port install git-core +svn
To use git-svn, run sudo port install git-core +svn.
Posted by
Clark J. Wang
-
8:55 PM
0
comments
Labels: Apple, Version Control
2008-12-16
How to Change the Ephemeral Port Range
Linux allows you to view and change the ephemeral port range by simply using the file /proc/sys/net/ipv4/ip_local_port_range. For example, this shows the default configuration on a kernel 2.2 system:
$ cat /proc/sys/net/ipv4/ip_local_port_range
1024 4999
To change this to the preferred range, you could do (as superuser):
# echo "49152 65535" > /proc/sys/net/ipv4/ip_local_port_range
Posted by
Display Name
-
9:49 AM
0
comments
Labels: Network/Security
2008-12-15
Thunderbird Add-on
- Buttons!
- Google Contacts
- MinimizeToTray
- Send Later
- Message Filter Import/Export
Posted by
Display Name
-
9:56 AM
0
comments
Labels: Network/Security, Utils
2008-10-28
Install Ubuntu 8.04 from Hard Disk
- Make an ISO file ubuntu804.iso from Ubuntu's LiveCD (8.04 desktop), put the ISO file in D:/ubuntu804.iso
- Mount the ISO file or the LiveCD, copy two files CDROM:/casper/{initrd.gz,vmlinuz} to Windows drive D:/
- Download grub4dos, extract its files to C:/
- Edit C:/boot.ini, add one new line: C:\grldr="GRUB4DOS"
- Edit C:/menu.lst
- title Find and Install Ubuntu
find --set-root /ubuntu804.iso
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu804.iso
initrd /initrd.gz
- Reboot Windows XP
- Select GRUB4DOS from the boot menu
- ... ...
- Will boot to the same screen as if you're directly booting from the LiveCD.
Posted by
Display Name
-
3:37 PM
0
comments
Labels: Debian/Ubuntu
2008-10-14
Less' history file
偶然发现看 man page 的时候 search 过的字符串是有 history 的, 猜想是 less 的功能, 查了一下根目录下的文件, 发现有一个 .lesshst, 查 less 的 manual, 里面有说到 .lesshst:
. . . Name of the history file used to remember search commands and shell commands between invocations of less. . .
Posted by
Display Name
-
4:30 PM
0
comments
Labels: Utils
2008-10-13
Compile GNU screen from source
- $ git clone git://git.savannah.gnu.org/screen.git
- $ cd screen/src
- $ aclocal --force
- $ libtoolize --copy --force
- $ autoconf --force
- $ autoheader --force
- $ automake --add-missing --copy --force-missing
- $ ./configure --prefix=/usr/local/screen-dev --enable-colors256
- $ make && make install
Posted by
Display Name
-
6:02 PM
0
comments
Labels: Make/Build, Utils
See full screen man pages on Fedora Core 3
ubuntu 6.06 上看 man pages 的时候能全屏显示, 但 Fedora 3 上却不能, 研究一番, 可以自己编译 man-db 来解决:
- Get lastes man-db from http://savannah.nongnu.org/projects/man-db
- $ ./configure --prefix=/usr/local/man-db-2.5.2
- $ make && make install
- Add path to man-db/bin to PATH variable
Posted by
Display Name
-
5:26 PM
0
comments
Labels: Debian/Ubuntu, Utils
2008-08-29
Expect 5.43 takes quite long when exiting
Expect 5.43 的 script 结束时总是很慢, 用 expect -d 发现最后有条 message:
write() failed to write anything - will sleep(1) and retry...查了下 code, 在 exp_chan.c : ExpOutputProc() 中有个 sleep(1), 把它换成 usleep(10 * 1000) 就好了.
Posted by
Display Name
-
6:14 PM
0
comments
Labels: Tcl/Expect
2008-08-01
Yahoo + Del.icio.us
原来 Del.icio.us 是 Yahoo 的了, 而且改名为 Delicious.com 了.
Posted by
Display Name
-
12:54 PM
0
comments
Labels: Misc
2008-07-31
Hotspot Shield
Public networks (both wired and wireless) are great. After all, what would life be without connecting while at airports, hotels and coffee shops? However, the danger to your personal data exists even if you connect to a fee based open network. Your passwords, credit card numbers, and any data you send can be seen and associated with you personally. Standard antivirus software won't protect you as this threat is on the network, not your laptop or iPhone.
That's why AnchorFree is pleased to offer Hotspot Shield. Our application keeps your Internet connection secure and anonymous on public networks.
Posted by
Display Name
-
12:59 PM
0
comments
2008-07-09
2008-07-08
Google's Protocol Buffers
- Protocol Buffers: Google's Data Interchange Format
- Protocol Buffers@Google Code
Posted by
Display Name
-
2:50 PM
0
comments
Labels: Google
Interactive Tclsh: auto_noexec
If set to any value, then unknown will not attempt to auto-exec any commands.
SEE ALSO: auto_execok(n)
Posted by
Display Name
-
1:12 PM
0
comments
Labels: Tcl/Expect
2008-07-02
DNS Servers
- dnrd - domain name relay daemon
- dnsmasq
- djbdns (another page)
- SEE ALSO: Comparison of DNS software
Posted by
Display Name
-
7:16 PM
0
comments
Labels: Network/Security
