# Repeated out of bounds add\_vehicle error +crash

**URL:** <https://discourse.cataclysmdda.org/t/repeated-out-of-bounds-add-vehicle-error-crash/19868>\
**Category:** The Garage\
**Created:** [April 28, 2019, 11:40am UTC](https://discourse.cataclysmdda.org/t/repeated-out-of-bounds-add-vehicle-error-crash/19868 "2019-04-28T11:40:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![T-T](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@T-T](https://discourse.cataclysmdda.org/u/T-T)\
**Post date:** [April 28, 2019, 11:40am UTC](https://discourse.cataclysmdda.org/t/repeated-out-of-bounds-add-vehicle-error-crash/19868/1 "2019-04-28T11:40:39Z")

</div>

Happened to me twice in a short time now, not sure what causes it. No mods.

DEBUG : Out of bounds add\_vehicle t=none d=0 p=101,133,0

FUNCTION : vehicle\* map::add\_vehicle(const vproto\_id&, const tripoint&, int, int, int, bool)  
FILE : src/mapgen.cpp  
LINE : 7121

MESSAGE: SIGSEGV: Segmentation fault  
STACK TRACE:  
@0x4EB23E[cataclysm-tiles.exe+0xEB23E]  
@0x4EB4B6[cataclysm-tiles.exe+0xEB4B6]  
SMPEG\_error+0x3DAF3@0xB67ED5[cataclysm-tiles.exe+0x767ED5]  
UnhandledExceptionFilter+0x1CB@0x753FA76B[KERNELBASE.dll+0x1AA76B]  
RtlCaptureStackContext+0x1DC4F@0x77C62FFF[ntdll.dll+0xA2FFF]  
RtlGetAppContainerNamedObjectPath+0xBD@0x77C265FD[ntdll.dll+0x665FD]

---

<div class="post-metadata">

**Author:** ![TheLight](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thelight/32/5712_2.png) [@TheLight](https://discourse.cataclysmdda.org/u/TheLight)\
**Post date:** [May 2, 2019, 1:11pm UTC](https://discourse.cataclysmdda.org/t/repeated-out-of-bounds-add-vehicle-error-crash/19868/2 "2019-05-02T13:11:29Z")

</div>

Does this happen to you when you do something specific? I seem to get it only when I try to construct something.

---

<div class="post-metadata">

**Author:** ![neitsa](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/neitsa/32/4943_2.png) [@neitsa](https://discourse.cataclysmdda.org/u/neitsa)\
**Post date:** [May 3, 2019, 9:09am UTC](https://discourse.cataclysmdda.org/t/repeated-out-of-bounds-add-vehicle-error-crash/19868/3 "2019-05-03T09:09:32Z")

</div>

This is a [known issue](https://github.com/CleverRaven/Cataclysm-DDA/issues/28156) that I’m trying to resolve at the moment. If you have save files which can reproduce the bug without too much difficulty, I’d be very glad if you could put them on the issue.

Note: it’s easy to put files on a github post: zip your save, and drag and drop it on your answer post on github.
