# Slicer.exe file shuts down when setting the marker

**URL:** <https://discourse.slicer.org/t/slicer-exe-file-shuts-down-when-setting-the-marker/3931>\
**Category:** Development\
**Tags:** build\
**Created:** [August 28, 2018, 7:22pm UTC](https://discourse.slicer.org/t/slicer-exe-file-shuts-down-when-setting-the-marker/3931 "2018-08-28T19:22:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamrul079](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kamrul079/32/2059_2.png) [@kamrul079](https://discourse.slicer.org/u/kamrul079)\
**Post date:** [August 28, 2018, 7:22pm UTC](https://discourse.slicer.org/t/slicer-exe-file-shuts-down-when-setting-the-marker/3931/1 "2018-08-28T19:22:37Z")

</div>

I had built a module for tracking purpose. it successfully calibrate camera. But when I set the marker setting for the probe tracking, suddenly slicer stops and shuts down with the following error as shown in the image.

 ![errors](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/e/4e268a337c7651b55765bbd4b6ba4296238d53c4.png)

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [August 28, 2018, 7:34pm UTC](https://discourse.slicer.org/t/slicer-exe-file-shuts-down-when-setting-the-marker/3931/2 "2018-08-28T19:34:33Z")

</div>

Your module probably has a bug that makes Slicer crash. If you included logging statements in your code then looking at the log could help (About / Report a problem), but the proper course of action would be debugging: [https://www.slicer.org/wiki/Documentation/Nightly/Developers/Tutorials/Debugging](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Tutorials/Debugging)

---

<div class="post-metadata">

**Author:** ![kamrul079](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kamrul079/32/2059_2.png) [@kamrul079](https://discourse.slicer.org/u/kamrul079)\
**Post date:** [August 28, 2018, 9:16pm UTC](https://discourse.slicer.org/t/slicer-exe-file-shuts-down-when-setting-the-marker/3931/3 "2018-08-28T21:16:01Z")

</div>

Can you suggest me a “videotracking” module for slicer?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 28, 2018, 9:47pm UTC](https://discourse.slicer.org/t/slicer-exe-file-shuts-down-when-setting-the-marker/3931/4 "2018-08-28T21:47:54Z")

</div>

What do you mean by “videotracking”? Position tracking of 2D barcodes is available through Plus toolkit.

---

<div class="post-metadata">

**Author:** ![kamrul079](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kamrul079/32/2059_2.png) [@kamrul079](https://discourse.slicer.org/u/kamrul079)\
**Post date:** [August 28, 2018, 9:48pm UTC](https://discourse.slicer.org/t/slicer-exe-file-shuts-down-when-setting-the-marker/3931/5 "2018-08-28T21:48:55Z")

</div>

Webcam based tracking of phantom for augmented reality application

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 28, 2018, 10:02pm UTC](https://discourse.slicer.org/t/slicer-exe-file-shuts-down-when-setting-the-marker/3931/6 "2018-08-28T22:02:41Z")

</div>

Plus toolkit can do such tracking - see [OpticalMarkerTracker device documentation](http://perk-software.cs.queensu.ca/plus/doc/nightly/user/DeviceOpticalMarkerTracker.html) for details.
