Trying to execute TouchDesigner from a windows service, gives weird error when shutting down

Hi there,

I’m working on a python windows service that controls an installation computer. This windows service keeps track of the touchdesigner process and if it’s non existing it will start a new process running on the user that’s logged in. This all works well and without any problem on my test pc at home yesterday. Now trying to install it on another machine (win10) but for some reason I get a weird empty popup when closing down TouchDesigner. It’s crashing in the background since it’s also generating a dump file. When pressing OK on the dialog, it just reappears again and generated another dump file. Impossible to close down touchdesigner unless I kill it in the process manager of TouchDesigner.

I dont think this is much of a TouchDesigner issue (I tested it with the latest version and a version from a few years ago, same errors). But I can’t find the cause of the problem. So since it generated a dump file, perhaps you (derivative) can see why it crashed and can point me to the right direction? :smiley:
The .toe file is empty that’s loading, so it’s not the network that’s giving the issue. I think it has something to do with windows user privileges. But hard to guess with such a popup.

Hope you can help :smiley:

Cheers,
tim

ps. it generates 2 dmp files right after each other, so not sure which one (or even any) gives the cause of the problem.


TouchDesignerCrash.2023.12120_3.dmp (136.7 KB)
TouchDesignerCrash.2023.12120_4.dmp (184.0 KB)

Hi @timgerritsen,

thanks for reporting this, we’ll have a look.

cheers
Markus

The crash is related to usage of a Connexion mouse and it appears to be crashing when releasing the device handle.

Are you using a Connexion mouse, and if so does the crash go away if you disconnect it? We’ll take a further look into the crash, but if you have any additional info such a mouse model/driver etc. then that could be helpful.

Hi Markus & Eric

Aaaah thanks!! Yes that could definitely be the case :D. It’s an old computer I’m testing on and has some old drivers. I will disable the drivers tomorrow and test again. I’ll let you know how it goes and what driver it was running. Though we don’t need the mouse in our case, so no need to fix it for old drivers :).

Cheers,
tim

1 Like

Hi Eric,

The problem was indeed the 3dconnexion mouse software. After uninstalling I had no problems anymore. In case you’re curious which version: 3DConnexion 3DxWare 10 (64-bit) 10.6.5

Thanks for the help!
cheers,
tim