Title: | SQL/Services Forum |
Notice: | kits(3) ft info(7) QAR access (8) SPR access (10) |
Moderator: | SQLSRV::MAVRIS |
Created: | Thu Oct 13 1988 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2214 |
Total number of notes: | 8586 |
Hello, I have a call from a customer who is reading blobs from his database. During the fetch he gets a COSI-F-ACCVIO. Client Server ------ --------------------- Windows95 OpenVMS/Alpha 6.1 Powerbuilder 5.002 Rdb 6.1-04 ODBC 2.00.20 (2.10.11) SQL/Services 6.1-02 DECnet The accvio happens during a fetch of the cursor set up to read the blob. And from that point it also happens when he reconnects to the server (a sign that the server process does not die). This problem happens only when accessing seqmented strings. The customer told me that he did not find any process dumps and any info in the SQS logfiles. The problem is not always reproducible, but it also is more probable when he runs the application twice on the client and forcing two connections to the server. Should we enable server tracing ? Any other info ? Thank you in advance, erich Here is an extract of the client logfile: ----------------------------------------- ROUTINE LEVEL LOG ----SQLSRV_OPEN_CURSOR --------CURSOR NAME ------------LST_CURB935F0 --------STATEMENT ID ------------1000099 PROTOCOL LEVEL LOG CLIENT: write (logonly) ----PACKET ID: 81, PACKET SEQUENCE: 0 --------SQLSRV_OPEN_CURSOR ------------CURSOR NAME ----------------SQLSRV_ASCII_STRING, len: 13 --------------------len: 13, value: LST_CURB935F0 ------------STATEMENT ID ----------------SQLSRV_GENERALIZED_NUMBER, len: 7 --------------------len: 7, value: 1000099 ------------CURSOR TYPE ----------------len: 2, value: 1 ------------CURSOR MODE ----------------len: 2, value: 2 --------END OF MESSAGE PROTOCOL LEVEL LOG CLIENT: read ----PACKET ID: 81, PACKET SEQUENCE: 0 --------SQLSRV_OPEN_CURSOR ACK ------------SQLERRD[1] ----------------SQLSRV_GENERALIZED_NUMBER, len: 1 --------------------len: 1, value: 4 ------------SQLERRD[3] ----------------SQLSRV_GENERALIZED_NUMBER, len: 1 --------------------len: 1, value: 1 ------------SQLERRD[4] ----------------SQLSRV_GENERALIZED_NUMBER, len: 1 --------------------len: 1, value: 4 ------------SQLERRD[5] ----------------SQLSRV_GENERALIZED_NUMBER, len: 1 --------------------len: 1, value: 0 --------END OF MESSAGE ROUTINE LEVEL LOG ----SQLSRV_FETCH --------CURSOR NAME ------------LST_CURB935F0 PROTOCOL LEVEL LOG CLIENT: write (logonly) ----PACKET ID: 82, PACKET SEQUENCE: 0 --------SQLSRV_FETCH ------------CURSOR NAME ----------------SQLSRV_ASCII_STRING, len: 13 --------------------len: 13, value: LST_CURB935F0 ------------SELECT LIST SQLDA ----------------len: 2, value: 1 ------------SQLVAR ----------------len: 2, value: 0 ------------SQLLEN ----------------len: 2, value: 4092 --------END OF MESSAGE PROTOCOL LEVEL LOG CLIENT: read ----PACKET ID: 82, PACKET SEQUENCE: 0 --------ERROR ACK ------------ERROR_VALUE_TAG ----------------SQLSRV_GENERALIZED_NUMBER, len: 2 --------------------len: 2, value: -1 ------------SPECIFIC_ERROR_TAG ----------------SQLSRV_GENERALIZED_NUMBER, len: 1 --------------------len: 1, value: 0 ------------SPECIFIC_ERROR_TEXT_TAG ----------------SQLSRV_ASCII_STRING, len: 32 --------------------len: 32, value: %COSI-F-ACCVIO, access violation --------END OF MESSAGE ROUTINE LEVEL LOG ----SQLSRV_CLOSE_CURSOR --------CURSOR NAME ------------LST_CURB935F0 PROTOCOL LEVEL LOG CLIENT: write (logonly) ----PACKET ID: 83, PACKET SEQUENCE: 0 --------SQLSRV_CLOSE_CURSOR ------------CURSOR NAME ----------------SQLSRV_ASCII_STRING, len: 13 --------------------len: 13, value: LST_CURB935F0 --------END OF MESSAGE PROTOCOL LEVEL LOG CLIENT: read ----PACKET ID: 83, PACKET SEQUENCE: 0 --------SQLSRV_CLOSE_CURSOR ACK --------END OF MESSAGE
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2135.1 | M5::JHAYTER | Mon Feb 03 1997 09:59 | 5 | ||
Are they getting any sqlbugchk.dmp files? I have a customer with very similiar problems. He gets an sql dmp file with exception sql$$execute_blob_get. | |||||
2135.2 | Hummmm, both these problems are happening with Rdb 6.1-04 on Alpha | SQLSRV::OXBURY | Oracle Corporation, Rdb Desktop Group|DTN 381-2704 | Mon Feb 03 1997 11:27 | 56 |
Hi Erich and Jerry, I'm going to try to set up a system with Rdb 6.1-04 and see if we can reproduce it here. Meanwhile, the common thread seems to be Rdb 6.1-04 on Alpha. For what its worth, COSI-F-ACCVIO happens when SQL or Rdb calls COSI to probe an argument. If the probe fails, COSI-F-ACCVIO is returned. The reason why the executor doesn't go down is that SQL/Services doesn't know that anything nasty has happened - it just gets back a SQLCODE of -1, which may be a valid error code for certain user-createable error conditions, so we just feed it back to the client; only the error text in this case is indicative of something nasty going on. Erich, do you happen to have the part of the client log that contained the prepare for this statement? I'd be interested in seeing the metadata for this column. For example, this particular string would appear to have 1 segment of 4 bytes, ODBC meanwhile is asking for a max of 4092, which is what it always does. In any event, it might be interesting to see how the column is defined, which the PREPARE-ACK would tell us. ----PACKET ID: 81, PACKET SEQUENCE: 0 --------SQLSRV_OPEN_CURSOR ACK ------------SQLERRD[1] ----------------SQLSRV_GENERALIZED_NUMBER, len: 1 --------------------len: 1, value: 4 <--longest segment length ------------SQLERRD[3] ----------------SQLSRV_GENERALIZED_NUMBER, len: 1 --------------------len: 1, value: 1 <--number of segments ------------SQLERRD[4] ----------------SQLSRV_GENERALIZED_NUMBER, len: 1 --------------------len: 1, value: 4 <--total size of ------------SQLERRD[5] ----------------SQLSRV_GENERALIZED_NUMBER, len: 1 --------------------len: 1, value: 0 <--all segments --------END OF MESSAGE PROTOCOL LEVEL LOG CLIENT: write (logonly) ----PACKET ID: 82, PACKET SEQUENCE: 0 --------SQLSRV_FETCH ------------CURSOR NAME ----------------SQLSRV_ASCII_STRING, len: 13 --------------------len: 13, value: LST_CURB935F0 ------------SELECT LIST SQLDA ----------------len: 2, value: 1 ------------SQLVAR ----------------len: 2, value: 0 ------------SQLLEN ----------------len: 2, value: 4092 <--client has 4092 buffer --------END OF MESSAGE Jerry, did you have any luck in getting a bugcheck dump from the customer? The SQL bugcheck dump would be interesting too. Thanks, Si | |||||
2135.3 | client log | AVMSV1::EKREISLE | Erich Kreisler | Mon Feb 03 1997 11:47 | 8 |
You can copy the full client log from node ataxp1""::CLIENT_47243.LOG (DECnet 13.1) Thank you for looking at this. Ciao, erich | |||||
2135.4 | M5::JHAYTER | Mon Feb 03 1997 12:11 | 12 | ||
>Jerry, did you have any luck in getting a bugcheck dump from the customer? No. >The SQL bugcheck dump would be interesting too. Thought I had it around but can't find it. My customer is trying to get upgraded to 6.1A and/or find a way to repro. I figured engineering would not want to spend much time on a 6.1-04 bugcheck when that was all they had. And luckily had an understanding customer. | |||||
2135.5 | AVMSV1::EKREISLE | Erich Kreisler | Thu Feb 06 1997 04:09 | 4 | |
Did you find anything in the client logfile ? Thank you, erich | |||||
2135.6 | Unfortunately, nothing interesting in the log file... | SQLSRV::OXBURY | Oracle Corporation, Rdb Desktop Group|DTN 381-2704 | Thu Feb 06 1997 14:51 | 12 |
Hi Erich, I took a look at the client log file, but didn't see anything interesting in there that might indicate some form of earlier failure, or anything else that might indicate why it might be going wrong from a SQL/Services point of view; everything looks just as it should until the COSI-F-ACCVIO. Does this customer have any SQL bugcheck dumps? I'm beginning to think that's the only place left to go - if SQL wrote a bugcheck, then at least we can figure out where it was on the stack. Si | |||||
2135.7 | AVMSV1::EKREISLE | Erich Kreisler | Fri Feb 07 1997 08:27 | 5 | |
The ct. told me that he had no RDS* dumps, but I did not check for SQL. The customer is not in the office, You'll here more on Monday. Ciao, erich | |||||
2135.7 | AVMSV1::EKREISLE | Erich Kreisler | Mon Feb 10 1997 03:43 | 7 | |
The customer did not find any SQL bugcheckdumps in his directory, he is working on a repcase that he'll send to me. I'll update this note as soon as I have more info. Thank you, erich | |||||
2135.8 | AVMSV1::EKREISLE | Erich Kreisler | Mon Apr 07 1997 12:59 | 6 | |
To update this stream: I could not reproduce this problem with 6.1A and I sent the customer this version. I got no feedback however if he installed it. The right solution should be to run Rdb 6.1A. erich |