Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [ANNOUNCE]Alarm UI replacement

    Reply
    Page 7 of 12 | Prev |   5     6   7   8     9   | Next | Last
    freemangordon | # 61 | 2012-11-16, 20:09 | Report

    Originally Posted by reinob View Post
    ... and 48k doesn't sound like much.


    Hmm, maybe you'll want to re-read my post again :P . It leaks ~16k on every swipe to unlock and if you unlock your device 5-10 times per hour (like I do), at the end of the day we'll have ~1MB of leaked memory. After 3 days of uptime, systemui on my device was eating about 7MB of heap. That's pretty high leak by all measurements.

    TBH I don't think h-d and h-h leak by themselves, I'll put my bet on some buggy widget

    ARM RE is the same (in principle) as x86 RE. The problem is that there is no HexRays for ARM. At least in IDA on TPB

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by freemangordon; 2012-11-16 at 20:11. Reason: typo
    The Following 4 Users Say Thank You to freemangordon For This Useful Post:
    misiak, nkirk, panjgoori, Wikiwide

     
    don_falcone | # 62 | 2012-11-16, 20:36 | Report

    Now it looks like Maemo leaks more that a sick hooker.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to don_falcone For This Useful Post:
    freemangordon, misiak, nkirk, panjgoori, reinob, vi_

     
    reinob | # 63 | 2012-11-16, 20:38 | Report

    Originally Posted by freemangordon View Post


    Hmm, maybe you'll want to re-read my post again :P . It leaks ~16k on every swipe to unlock and if you unlock your device 5-10 times per hour (like I do), at the end of the day we'll have ~1MB of leaked memory. After 3 days of uptime, systemui on my device was eating about 7MB of heap. That's pretty high leak by all measurements.
    But this is only when you actually use the swipe-to-unlock?! I never use it (the N900 has a hardware spring-loaded switch to do that, in case you haven't seen it

    Originally Posted by
    ARM RE is the same (in principle) as x86 RE. The problem is that there is no HexRays for ARM. At least in IDA on TPB
    Oh. I'm much more old-fashioed than that (OK, more "cracking" than actual RE). Until the Pentium I just used a hex editor (I think around that time, early 90s, the first version of IDA appeared).

    That was obviously only useful to change a bit here and there, but not for solving memory leaks

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to reinob For This Useful Post:
    Wikiwide

     
    freemangordon | # 64 | 2012-11-16, 21:42 | Report

    Originally Posted by reinob View Post
    But this is only when you actually use the swipe-to-unlock?! I never use it (the N900 has a hardware spring-loaded switch to do that, in case you haven't seen it
    I've seen it . It is just that usually I hold my n900 with one hand, using side unlock switch that way is uncomfortable, not to say impossible.

    Originally Posted by
    Oh. I'm much more old-fashioed than that (OK, more "cracking" than actual RE). Until the Pentium I just used a hex editor (I think around that time, early 90s, the first version of IDA appeared).

    That was obviously only useful to change a bit here and there, but not for solving memory leaks
    yeah, binary editing is a different kind of beer, what we want here is a good source code to be put in CSSU. Not saying it is impossible to be done without hexrays (I did it for facebook-whatever-the-name-was), it is just much harder and time-consuming

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to freemangordon For This Useful Post:
    reinob, Wikiwide

     
    freemangordon | # 65 | 2012-11-16, 21:44 | Report

    Originally Posted by don_falcone View Post
    Now it looks like Maemo leaks more that a sick hooker.
    It could be worse

    http://mg.pov.lt/maemo-irclog/%23mae...11-16T23:26:44

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by freemangordon; 2012-11-16 at 22:14.
    The Following User Says Thank You to freemangordon For This Useful Post:
    Wikiwide

     
    peterleinchen | # 66 | 2012-11-16, 22:07 | Report

    Hey reinob,

    you did that script on an Ubuntu laptop, right?
    ps on our N900 does not know of ps -o (neither stock nor power).
    So Imodified:
    # open(FH, "ps -eo vsz,command |");
    open(FH, "ps | awk \'{print \$3\" \"\$5}\' |");
    but now getting non numeric errors, like
    Argument "102m" isn't numeric in addition (+) at my/checkVSZ.perl line 44, <FH> line 14885.

    If you could do some pimping, please (I am bad, very bad in perl)?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
    reinob, Wikiwide

     
    reinob | # 67 | 2012-11-16, 22:34 | Report

    Originally Posted by peterleinchen View Post
    you did that script on an Ubuntu laptop, right?
    But I've tested it on my N900 (with busybox-power). I'll check it, but probably you won't hear from me until monday!

    Add.: my /bin/ps is the one from package procps!!

    Add.: there's also sp-memusage package with mem-monitor and mem-monitor-smaps tool. The latter can monitor only a single procress, but gives more detailed information!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by reinob; 2012-11-17 at 11:29.
    The Following 3 Users Say Thank You to reinob For This Useful Post:
    freemangordon, peterleinchen, Wikiwide

     
    freemangordon | # 68 | 2012-11-19, 08:34 | Report

    Does the silence here means that everything works or that noone uses that? :P

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to freemangordon For This Useful Post:
    sixwheeledbeast, Wikiwide

     
    reinob | # 69 | 2012-11-19, 09:14 | Report

    Originally Posted by freemangordon View Post
    Does the silence here means that everything works or that noone uses that? :P
    Shhhh.. they are all sleeping!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to reinob For This Useful Post:
    don_falcone, freemangordon, misiak, panjgoori, sixwheeledbeast, Wikiwide

     
    peterleinchen | # 70 | 2012-11-19, 09:15 | Report

    Hey, it was weekend
    And today one day off
    Still loaded (latest version) and will report back, But takes some time ...

    And as long as there is silence, there is no alarm (scheduled) or everything is working fine.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by peterleinchen; 2012-11-19 at 09:24.
    The Following User Says Thank You to peterleinchen For This Useful Post:
    Wikiwide

     
    Page 7 of 12 | Prev |   5     6   7   8     9   | Next | Last
vBulletin® Version 3.8.8
Normal Logout