xLightsSequencer / xLights

xLights is a sequencer for Lights. xLights has usb and E1.31 drivers. You can create sequences in this object oriented program. You can create playlists, schedule them, test your hardware, convert between different sequencers.
GNU General Public License v3.0
570 stars 212 forks source link

xCapture crashes when designating universe range (Windows) #1226

Closed jholmes09 closed 6 years ago

jholmes09 commented 6 years ago

Please see zipped video (attached). The audio quality is not great so let me summarize:

xLights 2018.30 Windows 10

Attempting to "Add" a universe range in xCapture will crash the program. Pressing the add button opens the dialog box but upon pressing "OK," the program dies.

This was discovered while attempting to capture sACN from my own computer. I have tried outputting both multicast & unicast sent to my computer's IP and the 127.0.0.1 loop back. xCapture does not see any universes though my other SACNViewer app acknowledges the data. One of Keith's videos suggested this was because I needed to specify specific universes but, due to this crash, that is not possible at this time.

xCapture_Crash.zip

keithsw1111 commented 6 years ago

Does it crash when you dont have the viewer running. Generally only one thing can listen to a particular data stream at a time. It shouldnt crash but that would explain why you are ending up in some poorly tested code. Is the data unicast or multicast?

jholmes09 commented 6 years ago

Yes. The viewer was the last thing I added simply to determine whether any data was being received/sent at all.

I have tried sending the data both Unicast & Multicast, though I am not entirely sure what the IP address should be, hence why I tried my own (192.168.33.15) and the loopback (127.0.0.1)

keithsw1111 commented 6 years ago

Ok ... so not sure if i have fixed it. I have added some error checking on the creation of the listeners so you may now get an error if it cant listen. Try it out in .31 and let me know how it goes.

keithsw1111 commented 6 years ago

Any update on this one?

jholmes09 commented 6 years ago

Looks good :)