dllentry.c (a6c7a775) | dllentry.c (870c3792) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 230 unchanged lines hidden (view full) --- 239 240 On a product build memory management finalization might 241 cause a crash without assertion (assertions off) if heap is 242 corrupted. But a crash report won't help here because at 243 this point all other threads have been terminated and only 244 ntdll is on the stack. No chance to find the reason for the 245 corrupted heap if so. 246 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 230 unchanged lines hidden (view full) --- 239 240 On a product build memory management finalization might 241 cause a crash without assertion (assertions off) if heap is 242 corrupted. But a crash report won't help here because at 243 this point all other threads have been terminated and only 244 ntdll is on the stack. No chance to find the reason for the 245 corrupted heap if so. 246 |
247 So annoying the user with a crash report is completly useless. | 247 So annoying the user with a crash report is completely useless. |
248 249 */ 250 251#ifndef DBG_UTIL 252 __try 253#endif 254 { 255 /* cleanup locale hashtable */ --- 111 unchanged lines hidden --- | 248 249 */ 250 251#ifndef DBG_UTIL 252 __try 253#endif 254 { 255 /* cleanup locale hashtable */ --- 111 unchanged lines hidden --- |