#instantbird log on 01 29 2013

All times are UTC.

00:00:34 <EionRobb> oh yeah, maybe I did that thing
00:08:00 <-- DGMurdockIII has quit (Quit: ChatZilla 0.9.89 [Firefox 18.0.1/20130116073211])
00:39:21 <-- rosonline has quit (Ping timeout)
02:08:47 <-- dew has quit (Ping timeout)
02:09:46 <-- Optimizer has quit (Ping timeout)
02:11:06 <-- Mook_as has quit (Quit: Mook_as)
02:16:15 --> Optimizer has joined #instantbird
02:19:35 --> dew has joined #instantbird
02:45:20 --> mconley has joined #instantbird
03:27:15 --> DGMurdockIII has joined #instantbird
03:27:18 <-- EionRobb has quit (Connection reset by peer)
03:27:44 --> EionRobb has joined #instantbird
03:34:40 --> Mook has joined #instantbird
03:38:29 <instant-buildbot> build #761 of linux-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/761
03:49:32 <-- mconley has quit (Input/output error)
03:55:28 <-- Optimizer has quit (Ping timeout)
03:58:52 --> Optimizer has joined #instantbird
04:01:48 <-- Optimizer has quit (Ping timeout)
04:04:50 --> Optimizer has joined #instantbird
04:13:28 <-- clokep has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
04:15:45 <-- DGMurdockIII has quit (Connection reset by peer)
04:26:45 <instant-buildbot> build #759 of macosx-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/759
04:59:48 <-- EionRobb has quit (Quit: Leaving.)
05:09:02 --> FireFly_TB has joined #instantbird
05:57:22 <-- FireFly_TB has quit (Ping timeout)
06:14:13 <-- Optimizer has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
06:28:38 --> mpmc has joined #instantbird
06:32:02 <-- Mook has quit (Quit: Mook)
08:31:31 --> jb has joined #instantbird
08:53:33 --> gerard-majax__ has joined #instantbird
09:11:36 <-- jb has quit (Ping timeout)
09:15:18 <-- chrisccoulson has quit (Quit: PM: Preparing frontal lobe for mem sleep)
09:19:35 --> chrisccoulson has joined #instantbird
09:21:43 --> jb has joined #instantbird
09:41:31 --> Mic has joined #instantbird
09:41:32 * ChanServ sets mode +h Mic 
09:44:01 --> rosonline has joined #instantbird
09:48:34 <-- flo-retina has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
09:48:35 --> flo-retina has joined #instantbird
09:48:35 * ChanServ sets mode +qo flo-retina flo-retina 
09:55:07 --> gsyepfebb has joined #instantbird
09:56:24 <-- gsyepfebb has quit (Client exited)
10:18:23 --> qlum has joined #instantbird
10:43:54 <Mic> Hello.
10:47:13 <-- Mic has quit (Connection reset by peer)
10:53:59 <-- mpmc has quit (Connection reset by peer)
10:58:50 <-- jb has quit (Ping timeout)
11:18:31 --> clokep has joined #instantbird
11:18:32 * ChanServ sets mode +o clokep 
11:36:20 --> mpmc has joined #instantbird
11:58:20 <-- clokep has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
12:16:40 <-- deltafalcon has quit (Connection reset by peer)
12:34:40 --> aleth has joined #instantbird
12:34:41 * ChanServ sets mode +h aleth 
12:37:08 <aleth> There are people close the conversation after each message? Wow, I did not expect that...
12:54:17 --> clokep_work has joined #instantbird
12:54:17 * ChanServ sets mode +o clokep_work 
12:56:25 --> jb has joined #instantbird
13:08:43 <clokep_work> aleth: It's not uncommon, in my experience.
13:08:49 <clokep_work> (Or maybe "not rare".)
13:18:52 <aleth> clokep_work: never assume users behave the way you expect, I guess... ;)
13:21:09 <clokep_work> Pretty much! :)
13:25:02 <-- flo-retina has quit (Ping timeout)
13:28:24 --> flo-retina has joined #instantbird
13:28:26 * ChanServ sets mode +qo flo-retina flo-retina 
13:37:54 <-- rosonline has quit (Ping timeout)
13:42:52 --> rosonline has joined #instantbird
13:43:25 <-- rosonline has quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
13:45:29 --> rosonline has joined #instantbird
14:00:07 <-- flo-retina has quit (Ping timeout)
14:03:28 <-- aleth has quit (Input/output error)
14:08:52 --> aleth has joined #instantbird
14:08:52 * ChanServ sets mode +h aleth 
14:22:26 --> flo-retina has joined #instantbird
14:22:26 * ChanServ sets mode +qo flo-retina flo-retina 
14:25:46 <-- gerard-majax__ has quit (Ping timeout)
14:47:10 --> mconley has joined #instantbird
14:47:45 <-- Kaishi has quit (Quit: Kaishi)
14:51:20 <-- jb has quit (Quit: jb)
14:52:26 <-- qlum has quit (Quit: Getting the <censored> out.)
14:52:29 --> qlum has joined #instantbird
14:52:31 <-- qlum has quit (Quit: qlum)
14:52:36 --> jb has joined #instantbird
14:54:21 <-- jb has quit (Quit: jb)
14:55:25 --> jb has joined #instantbird
15:13:30 <-- mconley has quit (Input/output error)
15:15:21 <-- aleth has quit (Quit: Au revoir)
15:17:55 --> sabret00the has joined #instantbird
15:51:11 --> Optimizer has joined #instantbird
16:33:13 --> mconley has joined #instantbird
16:50:44 <-- mpmc has quit (Connection reset by peer)
16:51:05 <-- rosonline has quit (Client exited)
17:24:05 <-- Optimizer has quit (Ping timeout)
17:24:44 --> Optimizer has joined #instantbird
17:24:57 <-- Even has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
17:29:32 <-- Optimizer has quit (Ping timeout)
17:33:17 --> Optimizer has joined #instantbird
17:43:11 --> Mook_as has joined #instantbird
17:58:46 <dew> is the profiler available for instantbird?
18:00:19 <-- Optimizer has quit (Ping timeout)
18:02:31 <Mook_as> pretty sure at least the profiler addon that shows things isn't
18:03:05 <flo-retina> If you convince me that you have a real need for it, I can explain to you how to run it
18:03:09 --> Optimizer has joined #instantbird
18:03:20 <flo-retina> it is available in the form of an xpi file on my local hard disk ;)
18:03:25 <dew> just wondering because I noticed that my copy is using 1.7gigabytes of ram
18:03:31 <Mook_as> I have real need to run it on komodo, but I guess that doesn't help :p
18:03:47 <flo-retina> the profiler won't really help with that
18:03:56 <Mook_as> dew: the profiler does cpu profiler, not memory (that's about:memory; I think you can get at it via DOM inspector)
18:03:57 <flo-retina> dew: but please go look at about:memory and tell us what it reports
18:04:12 <flo-retina> Mook_as: openDialog("about:memory"); from the error console
18:04:18 <flo-retina> no need to install DOMi
18:05:08 <dew> One second I'll pastebin the output
18:06:47 <dew> http://pastebin.com/NhpmmW1Y
18:09:22 <flo-retina> dew: how many conversation tabs do you have?
18:09:33 <flo-retina> do you have some conversations with thousands of messages in them?
18:09:56 <dew> 10
18:10:01 <dew> oh
18:10:19 <dew> I read that as how many do I have open. Yeah probably
18:11:14 <flo-retina> which message theme are you using?
18:12:02 <dew> the default 1.3 theme
18:13:17 <flo-retina> so Bubbles? :)
18:13:57 <flo-retina> I wonder if getting rid of most of the style= that Bubbles' JS adds to each message would save a significant amount of memory
18:14:38 <flo-retina> I had a patch doing that at some point around Christmas, but I had some more changes in it that were supposed to be performance improvements and turned out to significantly slow things down :(
18:16:11 <dew> yes bubbles is what I'm using
18:16:33 <dew> I'd help if I knew any JS
18:17:10 <flo-retina> if you put all conversations on hold (ie close all tabs with the escape key) and in the about:memory window press "minimize memory usage", what remains?
18:18:21 <dew> it about halved
18:18:29 <dew> I'll put it on pastebin if you'd like
18:19:46 <dew> http://pastebin.com/RFf30AAb
18:32:02 --> Kaishi has joined #instantbird
18:37:28 <flo-retina> "397.48 MB (52.48%) ── heap-unclassified" :(
18:37:45 <flo-retina> how long ago did you start Instantbird?
18:37:56 <flo-retina> did it run for several weeks?
18:41:22 --> IRCMonkey17078 has joined #instantbird
18:44:04 <flo-retina> if https://bugzilla.mozilla.org/show_bug.cgi?id=790695 gets fixed, that should help a bit, but there are likely other additional issues :-/
18:44:37 <flo-retina> what would be really nice would be to find steps to reproduce the situation
18:47:03 <IRCMonkey17078> How do I get instantbird 1.3 to play sounds? The relevant box in options is checked, but I only hear them on highlights
18:47:06 <IRCMonkey17078> and outgoing
18:47:20 <-- jb has quit (Ping timeout)
18:53:59 --> aleth has joined #instantbird
18:53:59 * ChanServ sets mode +h aleth 
18:54:56 <clokep_work> IRCMonkey17078: Do you mean you want it to play sounds when a message is received in a MUC as well as a private message?
18:55:33 <IRCMonkey17078> yes, if I'm in this channel and someone says something without my nick in it, I want to hear it
18:58:27 <clokep_work> I don't think we have an option to do that, but I vaguely feel like someone made an extension for it.
18:58:29 * clokep_work has to go.
18:58:51 <IRCMonkey17078> thanks, I'll go look
19:05:54 --> gerard-majax__ has joined #instantbird
19:06:20 <-- mconley has quit (Input/output error)
19:13:50 <-- SM0TVI has quit (Ping timeout)
19:15:55 --> SM0TVI has joined #instantbird
19:17:12 <-- Kaishi has quit (Quit: Kaishi)
19:30:56 <-- Optimizer has quit (Ping timeout)
19:33:29 --> mconley has joined #instantbird
19:34:32 --> DGMurdockIII has joined #instantbird
19:34:39 --> Optimizer has joined #instantbird
19:35:11 --> Mnyromyr has joined #instantbird
19:43:20 --> EionRobb has joined #instantbird
20:03:28 <-- Optimizer has quit (Ping timeout)
20:06:46 --> Optimizer has joined #instantbird
20:11:45 <-- Optimizer has quit (Ping timeout)
20:15:06 --> Optimizer has joined #instantbird
20:17:00 <-- mconley has quit (Input/output error)
20:18:11 --> Mic has joined #instantbird
20:18:11 * ChanServ sets mode +h Mic 
20:19:06 --> mconley has joined #instantbird
20:20:11 --> FireFly_TB has joined #instantbird
20:45:19 <dew> flo-retina: yes it's been running for several weeks
20:46:08 <flo-retina> dew: it's nice that it didn't crash! :)
20:46:35 <dew> I very rarely have crashes :)
20:46:41 <flo-retina> I think you can reclaim some more memory by actually closing your twitter timeline (and maybe a few irc channels)
20:46:55 <flo-retina> if you do, I would be curious to see the about:memory results again after that :)
20:48:20 <dew> want me to run the minimize memory usage as well?
20:49:46 <flo-retina> sure
20:50:43 <flo-retina> btw, I would probably run into similar issues if I wasn't using a nightly ;)
20:53:16 <dew> here you go flo-retina: http://pastebin.com/HdwsJmwt
20:56:05 <flo-retina> dew: hmm, you closed your twitter timeline and clicked "minimize memory usage" after that?
20:56:46 <flo-retina> I'm asking because twitter's memory usage changed from 25MB to 21MB, that's not a large win :-/
20:58:06 <-- FireFly_TB has quit (Quit: FireFly_TB)
20:58:08 <-- Tonnes has quit (Connection reset by peer)
20:58:36 <aleth> "43.58 MB (09.64%) ── font-charmaps" seems quite a lot too...
20:58:49 <flo-retina> aleth: but I've no idea of what that is ;)
20:59:01 <flo-retina> whereas twitter.js... if something is broken there, it's probably our fault
20:59:26 --> Tonnes has joined #instantbird
20:59:43 <flo-retina> aleth, clokep_work: how do you feel about this line: http://mxr.mozilla.org/comm-central/source/chat/protocols/twitter/twitter.js#577
20:59:54 <flo-retina> shouldn't it just store "true" instead of the tweet?
21:00:20 <aleth> It does look odd at first glance.
21:00:32 <flo-retina> the only usage of this._knownMessageIds seems to be at line 568 for an " id in " check
21:01:02 <flo-retina> I really suspect that we are leaking the JSON data of all tweets we receive
21:01:17 <aleth> Right. Does look like it should be a boolean then... nice catch
21:01:57 --> Kaishi has joined #instantbird
21:02:41 <Mic> It's really not used anywhere else?
21:02:59 <aleth> There's no gfx section in my about:memory... maybe something to do with hardware acceleration
21:03:02 <Mic> -?+.
21:03:03 <flo-retina> Mic: http://lxr.instantbird.org/instantbird/search?string=knownMessageIds
21:03:05 <Mic> http://lxr.instantbird.org/instantbird/search?string=knownMessageIds
21:03:26 <Mic> Sorry for confusing you, I didn't meant to add an exclamation mark there.
21:03:31 <flo-retina> dew: see, your logs already caught a leak! ;)
21:03:59 <flo-retina> aleth: who's the patch author and who's the reviewer? :)
21:04:01 <Mic> *question mark
21:04:30 <flo-retina> and who's filing the bug? :)
21:05:22 <Mic> Not me, I'll be afk for a few dozen minutes..
21:05:27 <aleth> Finder's keepers ;)
21:05:33 <aleth> But I can do it later if you like.
21:06:04 <flo-retina> In http://pastebin.com/raw.php?i=HdwsJmwt I'm not sure what the "30.41 MB (06.73%) ── unused-gc-things" of imConversations.js is
21:06:09 <flo-retina> is that memory that's been released?
21:06:35 <flo-retina> or memory that's wasted because most of the memory page has been released but a few bytes are still taken here and there? (ie fragmentation)
21:07:37 <Mic> Ask the memshrink people?
21:07:44 <aleth> "designed to show the utilization of the garbage-collected heap"
21:07:46 <flo-retina> I wonder if that isn't something that's supposed to be fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=619558
21:08:08 <aleth> yes
21:08:20 <aleth> see https://blog.mozilla.org/nnethercote/2012/06/27/memshrink-progress-week-53-54/
21:08:29 <flo-retina> the tooltip is "Memory on the garbage-collected JavaScript heap taken by empty GC thing slots within non-empty arenas." on Firefox
21:10:42 <aleth> His instantbird.xul window object is also using about 20 times as much as mine... I wonder what happened there. Any idea what "layout" refers to?
21:11:56 <aleth> (The DOM seems to be separate from it.)
21:12:45 <clokep_work> flo-retina: Who knows why we keep the whole thing, it could just be "true", yes.
21:13:10 <aleth> I don't seem to get tooltips :-/
21:13:27 <flo-retina> tooltips are on Firefox ;)
21:14:23 <aleth> ahaha :)
21:14:26 <flo-retina> aleth: I think "layout" is the memory used to display the document
21:14:51 <flo-retina> so that could include all memory sucked by CSS for example
21:15:26 <flo-retina> I suspect that getting rid of all the style= in Bubbles and using 36 classes instead could reduce the CSS memory usage
21:15:26 <aleth> OK.
21:16:00 <flo-retina> I worked on a patch doing that for performance improvements (calling the css parser each time we set a style attribute shows up in profiles), but the perf improvements didn't happen so I gave up
21:16:12 <flo-retina> but it may be worth reviving that part of the patch for memory usage reasons
21:16:44 <aleth> If de w has huge conversations it's not surprising a lot of memory is used there
21:17:00 <flo-retina> sure
21:17:09 <flo-retina> the question is more: is it used or wasted? ;)
21:17:34 <aleth> "style-sets" & "style-contexts" would  be CSS I suppose
21:17:54 <aleth> Still trying to find out what the presShell is (the top layout item)
21:18:45 <flo-retina> maybe try asking and showing the logs in #memshrink? :)
21:19:33 <aleth> "PresShell is registered as document observer: Receives ContentAppended, etc. notifications, Passes these to the style set object, who in turn passes to the frame constructor"
21:25:49 --> rosonline has joined #instantbird
21:26:28 <-- chrisccoulson has quit (Quit: PM: Preparing frontal lobe for mem sleep)
21:32:14 <-- clokep_work has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
21:32:20 --> clokep_work has joined #instantbird
21:32:20 * ChanServ sets mode +o clokep_work 
21:32:24 * flo-retina hoped that was an r+ :-/
21:32:42 <aleth> What was?
21:32:44 <clokep_work> What do I need to do to get the "debug log" in the context menu?
21:32:50 <clokep_work> Do I need to restart Instantbird?
21:33:36 <clokep_work> (I changed purple.debug.loglevel to 1)
21:33:49 <clokep_work> Is there a different preference?
21:33:58 --> chrisccoulson has joined #instantbird
21:34:23 <aleth> I don't think it has a pref yet
21:34:48 <aleth> It should just be there in the account manager
21:35:02 <clokep_work> Doh.
21:35:06 <clokep_work> I was expecting it on the conversation. :(
21:35:33 <clokep_work> Oh well.
21:35:47 <-- clokep_work has quit (Input/output error)
21:36:56 <flo-retina> aleth: I was talking about https://bugzilla.mozilla.org/show_bug.cgi?id=830456#c9
21:44:36 <instantbot> New Core - Twitter bug 1868 filed by florian@instantbird.org.
21:44:37 <instantbot> florian@instantbird.org requested review from the wind for attachment 2213 on bug 1868.
21:44:38 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1868 nor, --, ---, florian, NEW, Twitter accounts shouldn't keep references to all received tweets
21:44:51 <flo-retina> whoever is in the mood of doing a review should take it
21:45:13 <aleth> np
21:45:17 <instantbot> aleth@instantbird.org granted review for attachment 2213 on bug 1868.
21:47:18 <-- gerard-majax__ has quit (Ping timeout)
21:50:40 <dew>  hmm, you closed your twitter timeline and clicked "minimize memory usage" after that? <--That is correct
21:55:01 --> FireFly_TB has joined #instantbird
22:00:40 --> jb has joined #instantbird
22:01:27 <flo-retina> dew: that leak is already fixed ;)
22:01:47 <dew> oh in the nightly?
22:02:47 <flo-retina> in tomorrow's nightly ;)
22:04:10 <dew> that was quick :)
22:08:14 <-- mconley has quit (Input/output error)
22:08:59 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/370a550954df - Florian Quèze - Bug 1868 - Twitter accounts shouldn't keep references to all received tweets, r=aleth.
22:09:27 <-- IRCMonkey17078 has quit (Ping timeout)
22:12:09 <instantbot> aleth@instantbird.org set the Resolution field on bug 1868 to FIXED.
22:12:12 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1868 nor, --, 1.4, florian, RESO FIXED, Twitter accounts shouldn't keep references to all received tweets
22:12:52 --> IRCMonkey25545 has joined #instantbird
22:14:52 <-- Optimizer has quit (Ping timeout)
22:18:04 --> Optimizer has joined #instantbird
22:21:07 --> clokep has joined #instantbird
22:21:07 * ChanServ sets mode +o clokep 
22:21:56 <-- Optimizer has quit (Ping timeout)
22:22:27 <instant-buildbot> build #348 of macosx-onCommit is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-onCommit/builds/348
22:25:09 <clokep> aleth, flo-retina: So I looked at the log of my "I/O error" (that I created by closing my SSH tunnel).
22:25:10 --> Optimizer has joined #instantbird
22:25:24 <clokep> Nothing weird happens on our end, we just get a "Server disconnected the socket" or whatever.
22:25:32 <clokep> So that one isn't our fault.
22:26:23 <clokep> Do we still have a bug open about that?
22:27:48 <aleth> clokep: I think so.
22:28:08 <aleth> That's strange, the server behaving like that sometimes, but not all the time?
22:29:00 <clokep> Why do you say "sometimes"?
22:29:19 * clokep finds our error handling in socket.jsm to be embarrassing.
22:29:50 <aleth> When it happens for me, it seems to be when quitting IB as a whole, not when only disconnecting the account. The server shouldn't see any difference
22:30:11 <clokep> Has it been happening recently?
22:31:03 * aleth checks
22:31:05 <aleth> yes: http://log.bezut.info/instantbird/130126/#m148
22:31:20 <clokep> And you don't use SSH?
22:31:22 * clokep cries.
22:31:32 <aleth> no, no fancy tunnel setup...
22:32:09 <aleth> It's in the logs from Mic as well, I just noticed
22:33:11 <-- aleth has quit (Quit: Au revoir)
22:33:14 --> aleth has joined #instantbird
22:33:14 * ChanServ sets mode +h aleth 
22:35:54 <clokep> Hm. OK.
22:37:24 <flo-retina> isn't that a race condition between sending the QUIT command and ending the OS level process?
22:38:27 <aleth> We speculated once it was stream buffers not being transmitted completely in that case.
22:40:49 <-- Optimizer has quit (Ping timeout)
22:41:23 <clokep> We would need packet captures to prove that.
22:41:33 <-- Mic has quit (Quit: Output/input error)
22:41:37 --> Mic has joined #instantbird
22:41:37 * ChanServ sets mode +h Mic 
22:43:52 <flo-retina> or logs from the IRC server
22:44:11 --> Optimizer has joined #instantbird
22:46:48 <-- jb has quit (Ping timeout)
22:55:35 <-- aleth has quit (Quit: Au revoir)
22:57:08 <-- FireFly_TB has quit (Ping timeout)
22:58:15 --> jb has joined #instantbird
23:02:24 * clokep is finding it hard to fix socket.jsm without assuming an account...
23:16:16 <-- DGMurdockIII has quit (Quit: ChatZilla 0.9.89 [Firefox 18.0.1/20130116073211])
23:23:39 <-- Mnyromyr has quit (Input/output error)
23:32:34 <-- Optimizer has quit (Ping timeout)
23:33:39 <-- jb has quit (Ping timeout)
23:36:01 --> Optimizer has joined #instantbird