Originally Posted by aicaicai
there is an error when i simulate after adding a new protocol on ubuntu 11.04 as fellows:
0x003e0d6e in vfprintf () from /lib/i386-linux-gun/libc.so.6
The stack trace should show you where the mistake in your code is calling vfprintf.
Track down which argument you are passing is an uninitialized pointer, or freed memory, or whatever else would cause it to attempt to access the wrong memory location.