WARNING! v2.05 has mystic Trigger/Timer BUGS

Discuss suspected defects before submitting a bug report

Moderator: electrogear

WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby sunsynth on Tue Sep 06, 2011 9:23 am

Strange behaviour gets even stranger... :(

since v2.03 my schematics (Midi Controllers with many timers) behave randomly wrong...

I even don't use the new trigger system trying to prevent this... (So my workarounds aren't useless)

maybe it's the size of the project (700000 mods/prims + 10% more links) but it appears in SM and in the resulting EXE's... xP
Here an actual screen shot:
(even a heartbeat trigger every second and/or a reset/start doesn't reactivate the timer...)
P.S.: Forgot 2 mention that it has a de-threader at the input...of course
Attachments
timer bug.png
timer bug.png (36.27 KiB) Viewed 3124 times
User avatar
sunsynth
smaniac
 
Posts: 1496
Joined: Mon Sep 11, 2006 3:27 pm
Location: HH - Made in Germany

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby infuzion on Tue Sep 06, 2011 6:07 pm

Just by looking & without an OSM to actually play with, I'd say the 2nd trigger counter will never increment due to link order.
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6169
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby aliasant on Tue Sep 06, 2011 8:32 pm

infuzion wrote:Just by looking & without an OSM to actually play with, I'd say the 2nd trigger counter will never increment due to link order.


So you mean the Stop kills that last trigger that the rightmost triggercounter is waiting for?
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2388
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby infuzion on Tue Sep 06, 2011 9:44 pm

aliasant wrote:
infuzion wrote:Just by looking & without an OSM to actually play with, I'd say the 2nd trigger counter will never increment due to link order.
So you mean the Stop kills that last trigger that the rightmost triggercounter is waiting for?
Yes maybe; I'd have to test for sure but I have to go to work now & won't have time for days.

SM's trigger system is very powerful, but tricky to outsmart sometimes.
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6169
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby aliasant on Tue Sep 06, 2011 9:53 pm

infuzion wrote:SM's trigger system is very powerful, but tricky to outsmart sometimes.


This weeks understatement! ;)
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2388
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby trogluddite on Tue Sep 06, 2011 11:11 pm

I doubt it is a link order problem; I use trigger delays linked just like this all the time without any problem (so far!)

I rigged up a schematic for testing...
Trigger Timer Test.osm
(4.85 KiB) Downloaded 240 times

...the timer receives flurries of 50 triggers, followed by a 50 tick break (long enough for the timer to reach it's end). So far, the 'finished' triggers match the number of input 'flurries' every time I run it, even after leaving it for half an hour while doing some other browsing.
Tried it with the new and old style triggers - same both ways.

My guess would be a "crossed threads" problem - the MIDI 'de-threading' problem is well known, but other things can cause it too (e.g. triggers from VST preset automation).

Or maybe there is a limit on how many windows timers can be active simultaneously?
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3033
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby sunsynth on Wed Sep 07, 2011 8:49 am

Hmm...

thanks guys 4 testing - but:

i should have mentioned that not the trigger counter is the problem...
it's the led flipper!!!

The red LED should be off after 100ms but it keeps ON = red 3:)
AND this worked for years and month and hours...
now i get random drop outs!

A new hickup: crash on a XP while Mouse over with a timer 4 a popup (but only after a while running the App)
I managed the bus prob like always - get rid of it xP

Or maybe there is a limit on how many windows timers can be active simultaneously?

@malc: please give ur statement... :S
Attachments
Trigger Timer Test_sun.osm
(13.33 KiB) Downloaded 188 times
User avatar
sunsynth
smaniac
 
Posts: 1496
Joined: Mon Sep 11, 2006 3:27 pm
Location: HH - Made in Germany

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby tektoog on Wed Sep 07, 2011 12:01 pm

I just tested it with Ver 1.1.7 (which I still use) and it works flawless.... for info.....
Essential random order for chaotic repetitive sequences
User avatar
tektoog
essemilian
 
Posts: 444
Joined: Mon Apr 07, 2008 12:21 am
Location: Alps-France

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby trogluddite on Wed Sep 07, 2011 3:26 pm

sunsynth wrote:The red LED should be off after 100ms but it keeps ON = red

Tested here now, up into the 100's of trigger count.
SM2.0.5, new triggers on or off, two different machines - always works just fine.

I have also used Mouse Over + Timer for my help displays, has always been stable here. Do you have these problems with any other schematic? Could be like my arrays bug - this schematic making memory or thread problems, possibly?
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3033
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby infuzion on Wed Sep 07, 2011 4:13 pm

sunsynth wrote:The red LED should be off after 100ms but it keeps ON = red 3:)
AND this worked for years and month and hours... now i get random drop outs!
I ran it while web-surfing for about 15 minutes; no visible issues. I also removed the De-threader (it is redundant) & ran it for a while, same no issues.
Sorry!
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6169
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby stw on Wed Sep 07, 2011 8:26 pm

works flawless here for more than an hour...
stw
smanatic
 
Posts: 641
Joined: Mon Jun 30, 2008 2:55 pm

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby infuzion on Wed Sep 07, 2011 8:45 pm

Idea: Overall system CPU spikes causes windows timers to be thrown off?
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6169
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby philter5 on Thu Sep 08, 2011 5:08 am

infuzion wrote:Idea: Overall system CPU spikes causes windows timers to be thrown off?

isn´t this ONE of the main reasons WHY the green timer system is so unstable?.... :blush:
---Yes, a piece of software CAN be your best friend---
User avatar
philter5
smaniac
 
Posts: 1495
Joined: Thu Jan 04, 2007 7:52 pm
Location: Germany

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby sunsynth on Thu Sep 08, 2011 9:25 am

remember:
even a heartbeat trigger every second and/or a reset/start doesn't reactivate the timer...

so even a simple trigger by hand didn't brought the timer back to live in my big schematic... :(

Idea: Overall system CPU spikes causes windows timers to be thrown off?

...maybe infuzion

new idea: even a midi loop within a midi network driver could be the reason - have to investigate further
will report later ...later
User avatar
sunsynth
smaniac
 
Posts: 1496
Joined: Mon Sep 11, 2006 3:27 pm
Location: HH - Made in Germany

Re: WARNING! v2.05 has mystic Trigger/Timer BUGS

Postby McBarGig on Thu Sep 15, 2011 12:11 am

infuzion wrote:Idea: Overall system CPU spikes causes windows timers to be thrown off?

+1
McBarGig
essemilian
 
Posts: 379
Joined: Sat Feb 14, 2009 5:00 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests