(gdb) run -d To:blah /tmp/,43446
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /tmp/mblaze/magrep -d To:example@example.com /tmp/,43446
could not read sequence '/home/anthony/.mblaze/seq': No such file or directory
/tmp/,43446
Program received signal SIGABRT, Aborted.
thrkill () at -:3
3 -: No such file or directory.
(gdb) bt
#0 thrkill () at -:3
#1 0x000009545e78f89b in _libc___stack_smash_handler (func=<optimized out>,
damaged=<optimized out>) at /usr/src/lib/libc/sys/stack_protector.c:79
#2 0x0000095199800f6c in magrep (file=0x7f7ffffebb05 "/tmp/,43446")
at magrep.c:159
#3 0x00000951998041d3 in iterdir (dir=0x7f7ffffebb05 "/tmp/,43446",
cb=<optimized out>) at seq.c:481
#4 blaze822_loop (argc=<optimized out>, argv=<optimized out>,
cb=0x95199800d40 <magrep>) at seq.c:536
#5 0x00000951998010db in main (argc=<optimized out>, argv=0x7f7ffffeb918)
at magrep.c:203
I can reproduce with the following file (I just added addresses until it started crashing):
From
/var/log/messages
:Backtrace:
I can reproduce with the following file (I just added addresses until it started crashing):