As per debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585131
Size above 251 columns crashes the pfqueue. The user backtrace says this:
Program received signal SIGABRT, Aborted.
0xb7fe2424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb7e5f751 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb7e62b82 in abort () from /lib/i686/cmov/libc.so.6
#3 0xb7e9618d in ?? () from /lib/i686/cmov/libc.so.6
#4 0xb7ea0281 in ?? () from /lib/i686/cmov/libc.so.6
#5 0xb7ea1ad8 in ?? () from /lib/i686/cmov/libc.so.6
#6 0xb7ea4bbd in free () from /lib/i686/cmov/libc.so.6
#7 0x0804a6c9 in show_cursor () at fe_ncurses.c:497
#8 0x0804b567 in queue_show () at fe_ncurses.c:700
#9 0x0804c6f8 in main (argc=1, argv=0xbffffc84) at fe_ncurses.c:1111
(gdb)
Alas,
#define BUF_SIZE 250
and later:
buf = (char*)malloc(BUF_SIZE);
...
free ( buf );