dothebart: I'm getting a crash on OS X with the latest webcit. For some
reason it only seems to bite when I access Citadel Support and maybe 1-2
other rooms. Here is a stack trace:

HTTP: GET /dotgoto?room=Citadel%20Support HTTP/1.1

 

Program received signal EXC_BAD_ACCESS, Could not access memory.

Reason: KERN_INVALID_ADDRESS at address: 0x001f5000

[Switching to process 24173 thread 0x1203]

0x001970b3 in StrBufAppendBufPlain (Buf=0x2496d0, AppendBuf=0xbac6c7
"</td>\n<td width=30%>", AppendSize=20, Offset=0) at lib/stringbuf.c:360

360  Buf->buf[Buf->BufUsed] = '\0';

(gdb) bt

#0  0x001970b3 in StrBufAppendBufPlain (Buf=0x2496d0, AppendBuf=0xbac6c7
"</td>\n<td width=30%>", AppendSize=20, Offset=0) at lib/stringbuf.c:360

#1  0x0003559f in ProcessTemplate (Tmpl=0x222fd0, Target=0x2496d0,
Context=0x1a4de00, ContextType=9) at subst.c:1015

#2  0x00035cf4 in DoTemplate (templatename=0x6bb4b "section_mailsummary",
len=19, Target=0x2496d0, Context=0x1a4de00, ContextType=9) at subst.c:1199

#3  0x00021a3c in readloop (oper=0x66d47 "readnew") at messages.c:1479

#4  0x00014af0 in smart_goto (next_room=0xe95600 "Citadel Support") at
roomops.c:927

#5  0x0001d139 in dotgoto () at roomops.c:3662

#6  0x0000b1d9 in session_loop (HTTPHeaders=0x2489c0, ReqLine=0x245250,
request_method=0x24a460, ReadBuf=0x248e70) at webcit.c:1811

#7  0x000064f2 in context_loop (sock=0xb0386f58) at context_loop.c:597

#8  0x00005082 in worker_entry () at webserver.c:1094

#9  0x931f26f5 in _pthread_start ()

#10 0x931f25b2 in thread_start ()

(gdb) frame 1

#1  0x0003559f in ProcessTemplate (Tmpl=0x222fd0, Target=0x2496d0,
Context=0x1a4de00, ContextType=9) at subst.c:1015

1015    StrBufAppendBufPlain(

Reply via email to