Hope I've done this right....
Seems to seg fault after I've pasted in some ed2k:// files.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1234895952 (LWP 16371)]
0x00418c4e in _int_malloc () from /lib/libc.so.6
(gdb) bt
#0 0x00418c4e in _int_malloc () from /lib/libc.so.6
#1 0x0041a492 in malloc () from /lib/libc.so.6
#2 0x054387b1 in png_create_struct_2 () from /usr/lib/libpng12.so.0
#3 0x0542fed7 in png_create_write_struct_2 () from /usr/lib/libpng12.so.0
#4 0x0543018f in png_create_write_struct () from /usr/lib/libpng12.so.0
#5 0x080556aa in CDynPngImage::RequestData (this=0x83333e8, size=@0xb664f25c) at WebServer.cpp:3233
#6 0x080628a3 in CWebServerBase::ProcessImgFileReq (this=0x825d508, Data=@0xb664f2e0) at WebServer.cpp:326
#7 0x08091bb8 in CWebSocket::OnRequestReceived (this=0x827ff48, pHeader=Variable "pHeader" is not available.
) at WebSocket.cpp:346
#8 0x08092275 in CWCThread::Entry (this=0x827ff38) at WebSocket.cpp:214
#9 0x00b3a421 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_base-2.6.so.0
#10 0x00b3a4a7 in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#11 0x006ddb80 in start_thread () from /lib/libpthread.so.0
#12 0x0047f9ce in clone () from /lib/libc.so.6
(gdb) bt full
#0 0x00418c4e in _int_malloc () from /lib/libc.so.6
No symbol table info available.
#1 0x0041a492 in malloc () from /lib/libc.so.6
No symbol table info available.
#2 0x054387b1 in png_create_struct_2 () from /usr/lib/libpng12.so.0
No symbol table info available.
#3 0x0542fed7 in png_create_write_struct_2 () from /usr/lib/libpng12.so.0
No symbol table info available.
#4 0x0543018f in png_create_write_struct () from /usr/lib/libpng12.so.0
No symbol table info available.
#5 0x080556aa in CDynPngImage::RequestData (this=0x83333e8, size=@0xb664f25c) at WebServer.cpp:3233
png_ptr = 0xb664f260
info_ptr = 0xb664f260
#6 0x080628a3 in CWebServerBase::ProcessImgFileReq (this=0x825d508, Data=@0xb664f2e0) at WebServer.cpp:326
img_size = Variable "img_size" is not available.