This is Sybase-DB-Library-programming-problem in view mode; [Up]
Date: Sun 12-Nov-1991 03:51:29 From: kaul@bionette.cgrb.orst.edu (Lothar Kaul) Subject: Sybase DB-Library programming problem I've been doing some sybase library programming, and have run into a serious bug. The description probably won't make much sense unless you've done some programming with the sybase db-library. After an average of about 10 minutes of constant access of the database, a db-library call will hang the machine. And I mean hang! Only two things work: the mouse will still move around, and Command-`, brings up a panel to ask if you want to reboot or power off. It doesn't, however,perform the reboot or power off if you so request. The hang happens on different calls (dbopen(), dbclose(), and dbresults() to my certain knowledge), but seems always to come in parts of the program structured as follows: a database object (custom) sends a message to another object which then sends a message back to the database object to access the database again. This "nested" call is where the machine hangs. All the processes and data are local variables, and there are no global interactions. I fixed the sample message and error handlers provided by sybase, but neither of those print out anything when the hang happens. I changed the timeouts for login and dbsqlexec(), etc., and this doesn't make any difference. Has anyone had any experience with this sort of problem? Lothar Kaul
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.