Click here to Skip to main content
15,898,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: String error Pin
Jonathan Craig14-May-02 3:33
Jonathan Craig14-May-02 3:33 
GeneralRe: String error Pin
Alexandru Savescu14-May-02 3:35
Alexandru Savescu14-May-02 3:35 
GeneralRe: String error Pin
tongc14-May-02 3:42
tongc14-May-02 3:42 
GeneralRe: String error Pin
Alexandru Savescu14-May-02 3:47
Alexandru Savescu14-May-02 3:47 
GeneralRe: String error Pin
tongc14-May-02 3:52
tongc14-May-02 3:52 
QuestionHeap memory error? Pin
Martin Laporte14-May-02 3:27
Martin Laporte14-May-02 3:27 
AnswerRe: Heap memory error? Pin
Chris Losinger14-May-02 3:35
professionalChris Losinger14-May-02 3:35 
AnswerRe: Heap memory error? Pin
Maxwell Chen14-May-02 3:35
Maxwell Chen14-May-02 3:35 
BUG: Exceeding Max Error Value in BCP Can Give Unhandled AV
ID: Q151592



--------------------------------------------------------------------------------
The information in this article applies to:

Microsoft SQL Server version 6.0

--------------------------------------------------------------------------------
BUG#: 13310 (6.00)

SYMPTOMS
When a BCP (Bulk Copy Program) operation exceeds the max error setting, an unhandled exception can be encountered with the BCP executable. This is controlled by the (-m) switch of the BCP.EXE, which defaults to 10 errors. The error you will receive will look similar to the following:


HEAP: Free Heap block 25c17c8 modified at 25c1894 after it was freed



CAUSE
If the max error value is exceeded, the bcp_exec function attempts to free a memory block twice. In some cases this results in an access violation while in other cases it can simply corrupt application memory.





WORKAROUND
Eliminate the errors from the BCP operation so that the max error value is not exceeded.



STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Keywords : kbprg SSrvBCP SSrvProg kbbug6.00
Version : 6.0
Platform : WINDOWS
Issue type :


Maxwell Chen
People say "No news is good news". Then, no bug is good bug!?
AnswerRe: Heap memory error? Pin
James R. Twine14-May-02 5:08
James R. Twine14-May-02 5:08 
GeneralJPEG Question Pin
AJ12314-May-02 3:18
AJ12314-May-02 3:18 
GeneralRe: JPEG Question Pin
Chris Losinger14-May-02 3:33
professionalChris Losinger14-May-02 3:33 
GeneralRe: JPEG Question Pin
Jon Hulatt14-May-02 4:17
Jon Hulatt14-May-02 4:17 
GeneralRe: JPEG Question Pin
Chris Losinger14-May-02 4:31
professionalChris Losinger14-May-02 4:31 
GeneralMemory: Debug vs. real world Pin
Mike Osbahr14-May-02 3:05
Mike Osbahr14-May-02 3:05 
GeneralRe: Memory: Debug vs. real world Pin
Roger Allen14-May-02 3:57
Roger Allen14-May-02 3:57 
GeneralRe: Memory: Debug vs. real world Pin
Mike Osbahr15-May-02 2:11
Mike Osbahr15-May-02 2:11 
GeneralRe: Memory: Debug vs. real world Pin
Mike Osbahr20-May-02 3:04
Mike Osbahr20-May-02 3:04 
QuestionHow to get MODEMDEVCAPS by calling GetCommProperties ? Pin
koteswara14-May-02 3:09
koteswara14-May-02 3:09 
GeneralCTreeCtrl Pin
Karavaev Denis14-May-02 2:50
Karavaev Denis14-May-02 2:50 
GeneralRe: CTreeCtrl Pin
14-May-02 3:12
suss14-May-02 3:12 
GeneralRe: CTreeCtrl Pin
Prem Kumar14-May-02 3:14
Prem Kumar14-May-02 3:14 
GeneralRe: CTreeCtrl Pin
Karavaev Denis14-May-02 3:47
Karavaev Denis14-May-02 3:47 
GeneralOpen Souce code !! Pin
Leesen14-May-02 2:44
Leesen14-May-02 2:44 
GeneralRe: Open Souce code !! Pin
Mike Osbahr14-May-02 3:12
Mike Osbahr14-May-02 3:12 
GeneralRe: Open Souce code !! Pin
Leesen14-May-02 4:05
Leesen14-May-02 4:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.