> Hi Sacha, > please fetch ntop from CVS: it contains (file util.c) a slim > implementation of snprintf for those systems that do not have it. I've tried to login onto the cvs server to check out the code, but it is timing out......but as I mention in the subject line, I don't think now that snprintf is responsible for the core dumps I am seeing. > I don't have access to a 64 bit computer. Please send me a > report about > ntop + Tru64: I'm wondering whether it still works there > (someone ported > version 1.1 on Alpha a while ago). I have configured ntop with the following options:- --disable-plugins --disable-ri --enable-debug When I run ntop, it starts up ok, but when I click on links in the browswer it core dumps. (This doesn't apply to the links under About (or Admin if I recall correctly)). I have redirected the debug output from ntop to a file, and the last line is always Locking 0xFFBE5598 @ returnHTTPpage [http.c:624] The line it is referring to is:- #ifdef MULTITHREADED accessMutex(&hashResizeMutex, "returnHTTPpage"); #endif I tried building ntop with the --disable-mt option so that it would ignore this section of code, but then ntop ran so slow that the main page never even loaded. After rebuilding with multithreading enabled again, I tried (just to see what would happen) commenting out this accessMutex call (and its coressponding releaseMutex call), but I still got a core dump, this time the debug output reported Unlocking 0xFFBA86E0 [http.c:1092] before core dumping. (commenting out the accessMutex and releaseMutex for that section then caused a core dump at Unlocking 0xFFBE5508 [pbuf.c:3278] Again, this is a mutex call) So, from what I can tell, there seems to be a problem with accessing and releasing mutexes. I have tried including the cc option -pthread and the link options -lpthread and -lexc but they don't make any difference. That's about as far as I've got, not sure what to try next. Thanks, Sacha
