Re: [Lurker-users] SIGBUS in mbox.c (CVS 20030409)
Brought to you by:
terpstra
|
From: Federico S. I. <ji...@fr...> - 2003-04-11 18:54:42
|
On Fri, Apr 11, 2003 at 05:23:48AM -0700, Wesley W. Terpstra wrote: > This SIGBUS occured while you were opening a message in the browser, > correct? So, it was mid-import and you viewed a message. This should > be ok... Your hunch is probably correct, but you see this is a public site already. I do everything with lurker being monitored by GDB nowadays so I can send you backtraces when things bonk. > Judging by the code in that region, it has somehow tried to access > memory past the end of the mmap'd mbox. This is odd since I keep a > pointer to the end of the mmap/eof. > > If possible, I would love to know the value of variables: > s, e in my_mbox_find_special > start, amt, buf, e, msg->map.size, msg->map.off in lu_mbox_map_message > ... at the point of the crash. Unfortunately I had lurker continue its salvaging and then restarted it, so I can't provide the information you need. For the next time it happens, how would you recommend I grab this information from gdb at the point of crash? > I just commited a bit of caution in cvs. I am hoping to have it assert > fail a little earlier so that I can be certain where things are going > wrong. After you get those variables, try the latest cvs and see if > it asserts. I haven't gotten the variables. Would you like me to go ahead with CVS anyway? Thank you, as always. --> Jijo PS- do you have full archives of this list? Sourceforge won't let me grab the full archives, and I am thinking of putting up powered-by-lurker archives. ;) -- Federico Sevilla III : http://jijo.free.net.ph : When we speak of free Network Administrator : The Leather Collection, Inc. : software we refer to GnuPG Key ID : 0x93B746BE : freedom, not price. |