Script started on Mon 29 Oct 2007 08:02:06 PM PDT
rcpao@bun:~$ uname -a
Linux bun 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
rcpao@bun:~$ gdb pan
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) handle SIGUSR1 nostop noprint
Signal        Stop	Print	Pass to program	Description
SIGUSR1       No	No	Yes		User defined signal 1
(gdb) handle SIG32 nostop noprint
Signal        Stop	Print	Pass to program	Description
SIG32         No	No	Yes		Real-time event 32
(gdb) run
Starting program: /usr/local/bin/pan 
[Thread debugging using libthread_db enabled]
[New Thread -1221925184 (LWP 16755)]
[New Thread -1227588720 (LWP 16758)]
[New Thread -1235981424 (LWP 16759)]
[New Thread -1244374128 (LWP 16760)]
[New Thread -1252766832 (LWP 16761)]
pan: parts.cc:244: void pan::Parts::set_parts(const pan::PartBatch&): Assertion `pch == part_mid_buf + part_mid_buf_len' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1221925184 (LWP 16755)]
0xffffe410 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 5 (Thread -1252766832 (LWP 16761)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb74f5676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb76e9e52 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x08e90f78 in ?? ()
#4  0x08290028 in ?? ()
#5  0xb5544348 in ?? ()
#6  0xb76ea15f in g_async_queue_pop_unlocked () from /usr/lib/libglib-2.0.so.0
#7  0xb772c099 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x08757ff0 in ?? ()
#9  0x00000000 in ?? ()

Thread 4 (Thread -1244374128 (LWP 16760)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb74f5676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb76e9e52 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x08e90f78 in ?? ()
#4  0x08290028 in ?? ()
#5  0xb5d45348 in ?? ()
#6  0xb76ea15f in g_async_queue_pop_unlocked () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#7  0xb772c099 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x08757ff0 in ?? ()
#9  0x00000000 in ?? ()

Thread 3 (Thread -1235981424 (LWP 16759)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb74f5676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb76e9e52 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x08e90f78 in ?? ()
#4  0x08290028 in ?? ()
#5  0xb6546348 in ?? ()
#6  0xb76ea15f in g_async_queue_pop_unlocked () from /usr/lib/libglib-2.0.so.0
#7  0xb772c099 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x08757ff0 in ?? ()
#9  0x00000000 in ?? ()

Thread 2 (Thread -1227588720 (LWP 16758)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb74f5676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb76e9e52 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x08e90f78 in ?? ()
---Type <return> to continue, or q <return> to quit---
#4  0x08290028 in ?? ()
#5  0xb6d47348 in ?? ()
#6  0xb76ea15f in g_async_queue_pop_unlocked () from /usr/lib/libglib-2.0.so.0
#7  0xb772c099 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x08757ff0 in ?? ()
#9  0x00000000 in ?? ()

Thread 1 (Thread -1221925184 (LWP 16755)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb73cb875 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb73cd201 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb73c4b6e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4  0x0819a2f6 in pan::Parts::set_parts (this=0xbf8bbc1c, p=@0xbf8bbc2c)
    at parts.cc:244
#5  0x0817fc94 in (anonymous namespace)::end_element (context=0xb3775cb0, 
    element_name=0xaf5ff638 "file", user_data=0xbf8bbbd0, error=0xbf8bbb80)
    at ../../pan/data/article.h:50
#6  0xb770dbae in g_markup_parse_context_parse ()
   from /usr/lib/libglib-2.0.so.0
#7  0x081809a7 in pan::NZB::tasks_from_nzb_string (nzb_in=@0xbf8bbd34, 
    save_path=@0xbf8bbd2c, cache=@0xbf8bbe80, read=@0xbf8bbfdc, 
    ranks=@0xbf8bbe3c, gs=@0xbf8bbfd8, appendme=@0xbf8bbdb8) at nzb.cc:172
#8  0x0816324a in pan::DataImpl::load_tasks (this=0xbf8bbe3c, 
---Type <return> to continue, or q <return> to quit---
    setme=@0xbf8bbdb8) at task-archive.cc:56
#9  0x08184f2b in Queue (this=0xbf8bbfe4, server_info=@0xbf8bbe3c, 
    archive=@0xbf8bbe58, socket_creator=0xbf8bc2d0, pool=@0xbf8bc204, 
    online=false) at queue.cc:50
#10 0x080bcd1a in main (argc=Cannot access memory at address 0x0
) at pan.cc:282
(gdb) quit
The program is running.  Exit anyway? (y or n) y
rcpao@bun:~$ exit

Script done on Mon 29 Oct 2007 08:03:32 PM PDT
