/srv/irclogs.ubuntu.com/2011/12/19/#ubuntu-mozillateam.txt

chrisccoulsonhmmm, after looking at scrollbar stuff, i really want to poke my eyes out already00:14
micahgchrisccoulson: did you want the 9.0 final builds to go to precise or are we just uploading 10 beta 1 when they're tagged?01:29
joeleskomicahg: All my ppa build completed successfully for seamonkey 2.6. I sent up builds for lucid through precise.04:44
micahgjoelesko: that's good news :), that means we should be ready to go on tuesday for precise at least and maybe oneiric04:44
joeleskomicahg: Let me know where the test builds are when you create them.04:44
joeleskomicahg: I'm using it on maverick and oneiric and not running across any problems. Is there some test scripts you use?04:45
micahgjoelesko: ok, precise I'll just upload, ubuntu-mozilla-security will be where the oneiric build will go if I don't run out of time, otherwise, we can push next week when I'm off04:45
joeleskomicahg: great. thanks. I sure would like to close those open bugs.04:46
micahgjoelesko: yeah, we use test-browser.py from lp:qa-regression-testing (you need to run it in a clean env as it'll blow away your profile), I need to make a smaller set of test cases for the universe packages like chromium and seamonkey04:47
micahgjoelesko: take a look at this blueprint which has the list of the limited test cases: https://blueprints.launchpad.net/ubuntu/+spec/security-p-catch-all, it's under security roundtable wednesday04:48
micahgjoelesko: you'll need to test the binaries that are produced in the PPA though since that's what will be released04:48
joeleskomicahg: That's the plan. I will pull then when ready. I have time this week.04:49
micahgcool04:49
joeleskolightning is current broke, right?04:50
micahgshouldn't be04:50
micahgyou'll need to use the version from the thunderbird-next PPA04:50
joeleskoI asked someone else because I didn't see the xpi on https://developer.mozilla.org/en/Calendar/Calendar_Versions04:51
micahghttps://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/tinderbox-builds/comm-beta/04:51
joeleskothanks. Is thunderbird schedule for release soon as well?04:52
micahgwe have 1.1 built in thunderbird-next (will be in ubuntu-mozilla-security tomorrow sometime)04:52
micahger, only for oneiric that is04:52
artnayany news concerning chromium translations? https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/88861712:48
ubot2Launchpad bug 888617 in chromium-browser "Chromium translations on LP no longer updated" [Undecided,Confirmed]12:48
artnayI remember we spoke that once daily builds are active, translation templates would be next12:48
=== mdeslaur_ is now known as mdeslaur
=== micahg_ is now known as micahg
micahgartnay: I have no idea what's involved in the chromium translations14:03
artnaychrisccoulson: hi. I thought I had spoken with micahg but it must have been you.14:07
artnaychrisccoulson: 14:48     artnay : any news concerning chromium translations? https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/88861714:07
ubot2Launchpad bug 888617 in chromium-browser "Chromium translations on LP no longer updated" [Undecided,Confirmed]14:07
artnaychrisccoulson: 14:48     artnay : I remember we spoke that once daily builds are active, translation templates would be next14:07
=== bdrung_ is now known as bdrung
bjsniderartnay, if i can do anything about this i'll take al ook at it today14:51
artnaybjsnider: that would be great, thanks in advance.15:07
bjsnidermicahg, alright it seems that the change i mentioned recently does result in working chromium dbg packages, and it also seems like that's the only way to get it done, ie there's no more build flag.18:14
alex_mayorgatimeless: hi!19:40
alex_mayorgatimeless: I blame the slowness on resource:///components/nsPrompter.js:68 and chrome://global/content/bindings/browser.xml:273 on IRCCloud and Grooveshark fighting over Flash19:45
alex_mayorgatimeless: I've fetched firefox-trunk-mozsymbols19:46
timelesscan you figure out if/what it did, or what it claims to do?19:52
timeless(ask it for a description/contents)19:52
alex_mayorgatimeless: sorry crashed Flash prevented me from seeing your messages19:57
timelesscan you figure out if/what it did, or what it claims to do?19:57
timeless(ask it for a description/contents)19:57
alex_mayorgatimeless: any chance you can get a fix for https://bugzilla.mozilla.org/show_bug.cgi?id=699133 so I can at leas submit the crash?19:57
ubot2Mozilla bug 699133 in General "No "Send crash report" link for Flash crashes on non visible Flash elements." [Normal,New: ]19:57
alex_mayorga"This package contains the Firefox symbols in a format expected by Mozilla's19:58
alex_mayorga Breakpad. Eventually this package should go away and the symbol upload be19:58
alex_mayorga implemented in soyuz (or other builders that build this package)"19:58
alex_mayorgasorry on the multi-line19:59
timelessdoesn't bother me19:59
timelessok, can you figure out if it really has symbols? if it does, the contents should be significant in terms of size19:59
alex_mayorgaon this very channel I asked why the builds from this team PPA don't have about:crashes though, so that's another thing I'd need20:00
timelessif the package gives you symbols, you can use gdb20:01
timelesswhich is good enough for most things20:01
alex_mayorgaUncompressed Size: 142 k20:01
timelessthe package should be >100mb if it's useful20:01
micahgFirefox can't fix a flash crash anyways, why would you want to report it?20:01
timelesswhat is it actually?20:01
timelessmicahg: firefox is software, mozilla is an entity20:02
micahgtimeless: right, sorry, Mozilla can't fix a flash crash :)20:02
timelessmozilla as an entity can help adobe review crash reports and fix bug reports20:02
timeless*if* they're collected20:02
micahgah20:02
timelesssimilarly, microsoft will help just about any software vendor review and fix reports in their crashing software20:03
timeless(via WER)20:03
alex_mayorgamicahg: IIRC there was a time were an "electrolisys" project existed and they valued the plugin-container crashes20:03
timelessalex_mayorga: the project still exists20:03
timelessalthough it's mostly focused on the next step which is irrelevant for flash crashes20:03
timelessbut yes, plugin crashes are still valuable20:03
timelessbut that's offtopic20:03
timelesswe're here to try to get you symbols so we can get js stack traces for slow scripts w/o using firebug/venkman :)20:04
micahgalex_mayorga: plugin-container crash != flash crash20:04
timelessso, i don't care how few bytes the package has, figure out what files it has20:04
timelessmicahg: sure, but 99% of the time it is the plugin that's crashing, and on linux, that's probably flash :)20:04
chrisccoulsonif you want symbols, you need firefox-dbg or firefox-trunk-dbg20:16
chrisccoulsonthose are about 180MB ;)20:16
* alex_mayorga catches up as he got his first Pangolin crash20:31
alex_mayorgadoing sudo apt-get install firefox-trunk-dbg20:33
alex_mayorgachrisccoulson: you told me the other day no about:crashes for the PPA, right?20:33
chrisccoulsonalex_mayorga, yes. but we still have symbols if you want to use gdb20:34
alex_mayorgachrisccoulson: meet timeless of Mozilla's fame, perhaps something could be worked out to get the crashes on Socorro somehow20:35
alex_mayorgatimeless: firefox-trunk-dbg is installed now, what would be my instructions?20:36
timelessfor getting them uploaded, they should talk to ted / moznet20:41
timelessbut, now that you have the -dbg package (yay), let's visit gdb20:41
timelessdo you still have a slow script, or are we just doing it for practice?20:42
timeless(we can get a slow script if we need one)20:42
alex_mayorgatimeless: I'm pretty sure I can reproduce the slow script if I try20:42
timelessok, for now, let's ignore that, do you have firefox running?20:43
timeless(and can you get a terminal? :)20:43
chrisccoulsontimeless, oh, i can upload them already. it's just that i'd be submitting about 400MB of symbols per day if i did it for all of our builds, which is why we only do it on beta + release builds currently20:43
alex_mayorgatimeless: yup!20:43
timelesschrisccoulson: out of curiosity, do you pay for bandwidth?20:43
timeless(really curious)20:43
timelessalex_mayorga: alright, in the terminal:20:44
timelessps aux|grep firefox-bin20:44
* timeless has no idea how magically hacked the ubuntu firefox is20:44
timelesswe'll see shortly :)20:44
chrisccoulsontimeless, i don't pay for the bandwidth, and i upload the symbols automatically from a job in our datacenter anyway20:45
alex_mayorgatimeless: edited a bit to ps aux|grep firefox-trunk20:45
chrisccoulsoni'm more concerned about disk usage on the other end :)20:45
timelessalex_mayorga: don't :)20:46
timelessreally, if they're underprovisioned, they need to fix it anyway20:46
alex_mayorgatimeless: the ps you suggested comes back blank20:46
timelessthey need to have different aging policy for different kinds of packages (nightlies, alphas, etc)20:46
timelessand i'm fairly certain they do20:46
timelessgetting crash reports for your builds would enable them to understand more about how they're used too20:47
alex_mayorgaif I use firefox-trunk I get 2373 as my main suspect20:47
timelessalex_mayorga: ok20:47
timelessgdb -p 237320:47
alex_mayorgatimeless: bear in mind I'm using "Nightly" from ppa here20:47
timelessat this point, a piratepad will be helpful20:47
timelessalex_mayorga: yeah, sure20:47
timelessmy steps are designed to let me slowly work out the quirks of your build20:47
timelesse.g. there's no -bin file, and thus there's no .sh script which would accept magic commands20:48
timelessif you used a mozilla official thing, we'd use firefox -d gdb -g20:48
alex_mayorgatimeless: I see20:48
timeless(or specify a different debugger w/ -d ...)20:48
chrisccoulsonyou should be able to do that with ours too20:48
chrisccoulsonalthough, we rename the binary for our nightly build to make it coinstallable with the release builds20:48
chrisccoulson(so, firefox-trunk -g will work fine)20:49
timelessok, so, in that case, 2373 may be the wrong answer20:49
timelessif you have a firefox-trunk-bin20:49
timelesswe generally want the -bin process if one exists20:49
alex_mayorgatimeless: got some form of permission thing with your command, sudo gdb -p 2373 did the trick20:51
alex_mayorga0x00007fa090e8c753 in __GI___poll (fds=<optimized out>, nfds=<optimized out>,20:51
alex_mayorga    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:8720:51
alex_mayorga87../sysdeps/unix/sysv/linux/poll.c: No such file or directory.20:51
alex_mayorgain ../sysdeps/unix/sysv/linux/poll.c20:51
timelessalex_mayorga: so...20:52
timelessif you're debugging a shell script, the wrong thing happened20:52
alex_mayorgafirefox-trunk is grayed out, locked not responsive to mouse or keyboard input20:52
timelessand it's moderately painful for me to figure out if that's the case20:52
timelessi'd typically use pstree |grep -C 10 237320:52
timelessif there are children other than plugin-container, then it's the wrong process)20:52
chrisccoulsonmicahg, did you forget to push a commit to lp:~mozillateam/thunderbird/thunderbird.oneiric?20:53
chrisccoulson(ie, the last release tag) :)20:53
timelessalex_mayorga: anyway, try "info shar"20:54
* timeless tries to remember how to speak gdb w/o finding a linux env20:54
alex_mayorgatimeless: http://piratepad.net/c3berohKLm20:55
alex_mayorgahow do I get the dbg of firefox-trunk dependencies "automagically"? does anyone know?21:05
timeless(i've definitely seen/used a script that did it, but it was ages ago)21:06
chrisccoulsonlol, i can hear my daughter snoring over the baby monitor21:13
timelessthat's a good thing21:13
alex_mayorgachrisccoulson: lovely :)21:13
chrisccoulsonyeah, i feel more relaxed when i can hear her ;)21:13
timelessearlier today i could hear someone else's daughter wailing through the corridor (much less pleasant)21:14
chrisccoulsonyeah, that's not so nice :(21:14
alex_mayorgatimeless: done fetching -dbgs here21:25
timeless:)21:27
timelessok, time to get a slow script dialog21:27
timelessyou can be lazy and use this one:21:27
timelessjavascript:while(1);21:27
timeless(hardly useful, but hey...)21:28
timelessanyway.. you should get a slow script dialog for that (i did)21:30
alex_mayorgatimeless: that in the URL bar?21:30
timelesssure21:30
alex_mayorgatimeless: what now in gdb?21:32
alex_mayorgathe slow script is there21:32
timeless^C / ^{break}21:33
* timeless is busy downloading symbols for firefox (which is hosting irc cloud)21:33
timelessbtw: you don't generally want to debug your irc client. it tends to die :)21:34
alex_mayorgatimeless: pretty much the same thing21:36
alex_mayorgaProgram received signal SIGINT, Interrupt.21:36
alex_mayorga0x00007fa090e8c753 in __GI___poll (fds=<optimized out>, nfds=<optimized out>,21:36
alex_mayorga    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:8721:36
alex_mayorga87../sysdeps/unix/sysv/linux/poll.c: No such file or directory.21:36
alex_mayorgain ../sysdeps/unix/sysv/linux/poll.c21:36
timelessyeah, the top frame will always be useless for this21:36
timelessthe hope is that in the middle you'll see more useful stuff, hold on21:36
timelessoh right. it's a bad idea to copy text from firefox and paste it into your debugger21:39
timeless(if your debugger is debugging firefox..)21:39
chrisccoulsonwhat problem are you trying to debug?21:40
alex_mayorgachrisccoulson: http://forums.mozillazine.org/viewtopic.php?p=11568785#p1156878521:41
chrisccoulsonif the top of the stack is a poll(), then the rest of it is usually not all that useful :)21:41
alex_mayorgaI'm seeing slow resource:///components/nsPrompter.js:68 and chrome://global/content/bindings/browser.xml:273 when CPU is raced21:42
timelessthe other thing is that it's quite likely you're looking at the wrong thread21:42
* timeless was debugging the debugger instead of firefox (oops)21:42
alex_mayorgathat's the symptom I get at least21:42
timelessok, now i have a debugger (64bit) debugging firefox (32bit)21:43
* timeless gets slow script dialog (yay)21:44
timelessok, so,.... the brute force command is:21:45
timelessthread apply all bt21:45
timelessthe windbg equiv fwiw is: ~* kp21:45
timeless(thread) (all) (backtrace) (somewhat verbose)21:45
timelessin general, for a slow script, you're probably going to want the ui thread, which is generally thread 021:46
timelessbut from memory gdb's concept of threads isn't virtualized, so you actually have to think about them by their underlying representation instead of "the zeroth thread"21:46
timelessanyway, we can try to work wih certain constraints21:49
* timeless pokes alex_mayorga21:51
* alex_mayorga pokes the mostly death laptop with a stick21:53
alex_mayorgatimeless: I've got the nsPrompter.js right here21:54
alex_mayorgawhat do I do in dbg?21:54
timeless(gdb) thread apply all bt21:54
timelesshrm21:54
timeless(gdb) thread apply all bt 100021:54
timelesslet's not let it be annoying21:55
timelessif possible, try to make gdb think you have many lines on your screen so that you don't have to hit <enter> to continue (don't ask me how to do that)21:55
* timeless pokes alex_mayorga22:18
alex_mayorgatimeless: trying but this thing is very unresponsive22:44
timelesshow much ram do you have? :)22:44
alex_mayorga4GB22:45
timelesshow much is free? :)22:50
alex_mayorga             total       used       free     shared    buffers     cached22:52
alex_mayorgaMem:       4016412    3902520     113892          0        864      8717622:52
alex_mayorgaabout 1 GB I think22:52
chrisccoulsonmore like 100MB, unless my eyes are deceiving me ;)22:53
alex_mayorgachrisccoulson: I trust any third party, rather than myself :)22:55
alex_mayorgahttp://piratepad.net/c3berohKLm should be it22:55
alex_mayorgaI got to run now22:55
alex_mayorgawould let it sit here see if has exploded when I come back ;-)22:56
timelessalex_mayorga: ok, so, the section i left in purple is the interesting bit23:05
timelessthe next bit is to see if we can use the xpconnect stack dumping stuff, if not, we'll have to do it the hard way23:05
timelessalex_mayorga: i left notes at the bottom23:14
timelessthey should work, i hope23:14
timeless(right, selecting "continue" for slow script for while(1) isn't a good idea...)23:16
chrisccoulsonlol @ https://twitter.com/#!/deadsquid/status/14890281278334976023:20

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