#exult@irc.freenode.net logs for 14 May 2012 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:20:36] --> Kirben has joined #exult
[00:20:37] --- ChanServ gives channel operator status to Kirben
[01:42:39] <-- nutron has left IRC (Quit: I must go eat my cheese!)
[01:43:05] * Colourless is considering doing something about that whole object disappearing problem
[01:43:41] <Colourless> if the problem is what it seems and just use of objects by schedules after they've been deleted it should be reasonably straight forward to do something about it
[02:32:14] <sh4rm4> it can't hurt if somebody's stepping through the code, but its possible the bug is gone now.
[02:32:51] <Colourless> unlikely. A known bad bug, believed to be the cause is still there unfixed
[02:33:05] <sh4rm4> which is that ?
[02:33:18] <Colourless> use after delete/double delete
[02:34:03] <sh4rm4> it should be sufficient to run it thru valgrind then
[02:34:24] <Colourless> the circumstances to trigger it are difficult to achieve
[02:35:40] <Colourless> but analysing how the code works shows it can be a problem. The schedules create an item and keep a pointer to it. If there is a cache out on th work the cache out code will delete the item the schedule crated. The schedule can then attempt to stuff with the deleted object because it doesn't know the object was deleted
[02:36:55] <sh4rm4> so the cache out should check if the object is in the schedule list
[02:36:59] <sh4rm4> and not free it
[02:37:04] <Colourless> what it comes down to is both the schedule and the world think they own the object.
[02:37:57] <sh4rm4> or cacheout does: Schedule_removeObject(x)
[02:39:24] <Colourless> i was planning on doing something 'like' that, but a bit more complicated
[02:41:18] <Colourless> use a notification system so users of an object are notified of it being removed/deleted from the world and form of weak reference to automate it
[02:42:35] <-- Avatar` has left IRC (Ping timeout: 250 seconds)
[02:42:53] --> Avatar` has joined #exult
[04:45:18] <Dominus> Colourless: if you take a shot at this, I promise to immediately start a playthrough of both games. especially BG as this has way more producing schedules as SI
[04:46:22] <Dominus> sh4rm4: just believe us when we say that bug is not yet fixed :)
[07:08:56] --> Rottingbeef has joined #exult
[08:06:56] --> Monochrome has joined #exult
[08:07:04] <-- Monochrome has left #exult
[08:12:09] <-- Colourless has left IRC (Quit: casts improved invisibility)
[08:12:24] --> Colourless has joined #exult
[08:12:24] --- ChanServ gives channel operator status to Colourless
[08:36:01] <-- Colourless has left IRC (Read error: Connection reset by peer)
[08:41:11] --> Colourless has joined #exult
[08:41:11] --- ChanServ gives channel operator status to Colourless
[09:39:18] <-- Colourless has left IRC (Read error: Connection reset by peer)
[09:44:42] --> Colourless has joined #exult
[09:44:42] --- ChanServ gives channel operator status to Colourless
[10:54:38] <-- Colourless has left IRC (Read error: Connection reset by peer)
[11:00:35] --> Colourless has joined #exult
[11:00:35] --- ChanServ gives channel operator status to Colourless
[11:59:56] --> TheCycoONE has joined #exult
[12:00:26] <-- Rottingbeef has left IRC ()
[12:08:16] --> Rottingbeef has joined #exult
[12:45:10] <sh4rm4> Dominus, maybe not everything is fixed, but much
[12:45:37] <sh4rm4> let me reiterate: the latest bugfix fixes at least 5 different issues i reported
[12:45:39] --> Marzo has joined #exult
[12:45:58] <sh4rm4> which all looked like "random failure"
[13:58:45] <-- Kirben has left IRC (Ping timeout: 248 seconds)
[15:00:36] <Dominus> yes, a memory leak has been fixed but it's not the root of the disappearing objects.
[15:01:10] <Dominus> not to mention that probably over half of your problems were caused by your 'fix' ;)
[15:15:48] <-- sh4rm4 has left IRC (Remote host closed the connection)
[15:17:08] --> sh4rm4 has joined #exult
[17:10:52] <-- sh4rm4 has left IRC (Ping timeout: 276 seconds)
[17:12:46] --> sh4rm4 has joined #exult
[19:16:53] <-- Marzo has left IRC (Remote host closed the connection)
[20:18:17] --> nutron has joined #exult
[20:18:26] <-- nutron has left IRC (Changing host)
[20:18:26] --> nutron has joined #exult
[21:13:09] <-- Dominus has left IRC (Quit: Leaving.)
[21:13:20] --> Dominus has joined #exult
[21:13:24] --- ChanServ gives channel operator status to Dominus
[21:16:51] <-- TheCycoONE has left IRC (Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/)
[21:46:44] <-- Rottingbeef has left IRC ()
[23:32:08] --> Kirben has joined #exult
[23:32:09] --- ChanServ gives channel operator status to Kirben