Hi,
i’m running a Notes C++ API program on a Win2k machine, with a Notes client v6.5 installed. Using the C++ API it connects to a Domino server running a redhat 8.0 with kernel 2.4.18-14 (perhaps that’s relevant…)
i’m using my program to go through databases and read the contents of documents. it works fine for about 30,000 docs, but then for just one of them (always the same) i get the following message on the console:
30-08-2004 17:12:50, info, URI link of document : ‘http://saturn:80/mail/dbeckers.nsf/9BB22B3CB005B02D852564B5001283E0/D4C091472A1E24B1C1256E93002D8E02?OpenDocument’.
30.08.2004 17:12:51 Begin MIME to CD Conversion (Process: ? (00000874:00000002), Database: CN=Saturn/O=ARXNET!!mail\dbeckers.nsf, Note: 0000288E)
Thread=[0874:0002-081C]
Stack base=0x341BDD10, Stack size = 1136 bytes
PANIC: semaphore invalid or not allocated
so the first line is ok, that’s a message i display myself. the second line comes normally with mail messages, it’s generated by Notes for some reason. i normally get a line stating the end of the conversion after that. but here, the app freezes after the “PANIC” has been displayed. the message is quite a normal-looking email, with no special features – just a vcf file attached, but it’s not processed at this point.
after my program has crashed this way, i have to kill it using the task manager (ctrl-c doesn’t work), and then if my notes client was running it’s frozen as well, i just have to kill it. and it won’t start again until i’ve also killed ntaskldr.exe and nslservice.exe…
does someone know why this problem occurs? it’s obviously not a memory problem (500MB available on the machine), and there doesn’t seem to be anything special about this message. and seeing as my program can process 30,000 docs without any hitch, i expect it’s not a blatant bug in the code – not even sure it has to do with the API, as obviously the crash occurs while Notes (or the Domino server) is performing an internal task (this MIME to CD conversion thing)… if someone’s come across this problem and comprehended it, could they please give me a hint?
thx
David