forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commiteb16011
committed
Get still more info about Windows can't-reattach-to-shared-memory errors.
After some thought about the info captured so far, it seems possiblethat MapViewOfFileEx is itself causing some DLL to get loaded intothe space just freed by VirtualFree. The previous commit here didn'tcapture enough info to really prove the case for that, so let's addone more VirtualQuery in between those steps. Also, be sure tocapture the post-Map state before we emit any log entries, just incase elog() is invoking some code not previously loaded.Discussion:https://postgr.es/m/25495.1524517820@sss.pgh.pa.us1 parent6bdf130 commiteb16011
1 file changed
+33
-10
lines changedLines changed: 33 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
389 | 389 |
| |
390 | 390 |
| |
391 | 391 |
| |
392 |
| - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
393 | 395 |
| |
394 | 396 |
| |
395 | 397 |
| |
396 | 398 |
| |
397 | 399 |
| |
398 | 400 |
| |
399 |
| - | |
| 401 | + | |
400 | 402 |
| |
401 |
| - | |
| 403 | + | |
402 | 404 |
| |
403 | 405 |
| |
404 | 406 |
| |
| |||
407 | 409 |
| |
408 | 410 |
| |
409 | 411 |
| |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
410 | 418 |
| |
411 | 419 |
| |
412 | 420 |
| |
413 | 421 |
| |
414 |
| - | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
415 | 430 |
| |
416 |
| - | |
| 431 | + | |
417 | 432 |
| |
418 | 433 |
| |
419 | 434 |
| |
420 | 435 |
| |
421 | 436 |
| |
422 |
| - | |
| 437 | + | |
423 | 438 |
| |
424 |
| - | |
| 439 | + | |
425 | 440 |
| |
426 |
| - | |
427 |
| - | |
| 441 | + | |
| 442 | + | |
428 | 443 |
| |
429 | 444 |
| |
430 |
| - | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
431 | 454 |
| |
432 | 455 |
| |
433 | 456 |
| |
|
0 commit comments
Comments
(0)