# Python bridge crash on registering non-variable

**URL:** <https://mworks.discourse.group/t/python-bridge-crash-on-registering-non-variable/678>\
**Category:** Support\
**Created:** [August 17, 2011, 5:17am UTC](https://mworks.discourse.group/t/python-bridge-crash-on-registering-non-variable/678 "2011-08-17T05:17:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [August 17, 2011, 5:17am UTC](https://mworks.discourse.group/t/python-bridge-crash-on-registering-non-variable/678/1 "2011-08-17T05:17:56Z")

</div>

If you use conduit.register\_callback\_for\_name(name, fn) in a python bridge script, and name is not a real variable (i.e. when I mistype the variable name, including case changes), it triggers a crash. The server hangs opaquely - it keeps spitting out ‘Received new codec, updating registry’ and grows in memory without bound.

This is with a nightly from late Dec. If you’d prefer I can try to come up with a reduced example and test on a new version but I won’t have time for that in the next few weeks.  
Mark

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [August 17, 2011, 10:11am UTC](https://mworks.discourse.group/t/python-bridge-crash-on-registering-non-variable/678/2 "2011-08-17T10:11:54Z")

</div>

See [Improvements to conduit to allow querying of available codes, and to … · mworks-project/mw\_core@3058f2b · GitHub](https://github.com/mworks-project/mw_core/commit/3058f2b03a3c9a4295584a4a5aad685bd3ac4b26)

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [August 17, 2011, 1:52pm UTC](https://mworks.discourse.group/t/python-bridge-crash-on-registering-non-variable/678/3 "2011-08-17T13:52:23Z")

</div>

Great thank you! I’ll try the nightly in the next few days.

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [July 19, 2022, 11:46pm UTC](https://mworks.discourse.group/t/python-bridge-crash-on-registering-non-variable/678/4 "2022-07-19T23:46:22Z")

</div>

Closed on July 19, 2022, 11:46pm UTC


