/srv/irclogs.ubuntu.com/2009/06/19/#upstart.txt

Keybukthis bug is, err, bugging me13:43
Keybukit looks like four jobs were started from the same event13:46
Keybukand the one that made it then freed that event, despite the refcount13:46
Keybuksadmac2: oh, I'm going to beat you14:03
sadmac2Keybuk: what's going on? Give me the 1 hour of sleep version.14:19
Keybukyou know that "rewind the data and upstart crashes" bug?14:24
sadmac2yes14:27
KeybukI think it's caused by a Fedora patch14:27
sadmac2which?14:28
Keybuknot sure yet14:29
Keybukbut I suspect the re-exec one14:29
sadmac2well I didn't write that, so its all good14:30
sadmac2mostly good...14:30
Keybukjust need to prove it14:31
Keybukbasically an inviolate constraint is being violated ;)14:32
Keybukhmm15:55
KeybukI can't see anything about your patch that might do that, sadly15:55
sadmac2have you reproduced this thing?15:56
Keybuknope16:05
Keybukthough his log just made me go "HUH"17:18
KeybukI like following state machines on paper17:18
Keybukit's SO MUCH FUN17:18
ion_:-)17:29
* Keybuk now has ice cream17:35
KeybukI have reached the event that kills everything17:42
KeybukI can see it on the event queue17:43
Keybuk(the bit of paper on the rhs of my desk)17:43
KeybukHandling started event18:06
Keybuk? goal changed from stop to start18:06
Keybuk? state changed from waiting to starting18:06
Keybuk? respawning too fast, stopped18:06
Keybuk? respawning too fast, stopped18:06
Keybuk? goal changed from start to stop18:06
Keybuk? state changed from starting to waiting18:06
Keybuk... wonder whether that could be it18:06
Keybukthe double "respawning too fast" is kinda odd18:06
Keybukbut, more than that, the respawn detection is the one thing that could be broken by the date spooling backwards18:06
Keybukkids18:19
Keybukremember18:19
Keybuktime(NULL) is not monotonic18:19
Keybukhttps://bugs.edge.launchpad.net/upstart/+bug/388873/comments/2618:28
Keybukgnnnrgh18:37
Keybukthis is a bug18:37
sadmac2Keybuk: as opposed to?18:38
Keybukas in, I can now, following the code, see how it goes wrong :)18:39
sadmac2oic18:49
sadmac2can you /fix/ it though?18:49
Keybukfirst I write a test case ;)18:51
Keybukand forward port that to 0.5 to check18:51
KeybukI'm pretty sure 0.5 is expressly not vulnerable, because I totally rewrote the event queue there18:51
Keybukinterestingly, I appear to have rewritten it to exactly avoid this issue18:51
Keybukwill check the test cases there to see whether I already hit this bug, or a similar one, and didn't realise18:51
=== Keybuk changed the topic of #upstart to: Upstart 0.5.2 "Something, something, something, D-Bus" | Upstart 0.3.11 "For Friday, June 19th 2009, I'm Jon Masters" | http://upstart.ubuntu.com/

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!