![]() |
Re: [ANNOUNCE]Alarm UI replacement
Quote:
Meh, I wonder how is that possible, less than 1000 lines of code and so much bugs :( |
Re: [ANNOUNCE]Alarm UI replacement
Quote:
People using java or such languages just ignore the problem, generally causing memory bloat but with a not-my-problem-just-buy-more-RAM-attitude. People using C have to know exactly what they're doing *when they are writing the program*. If you debug something afterwards you end up like you (and me now) trying to figure out possible/plausible memory leaks, without really having the "static" overview that one would have (had) while writing the program. I'll see if I can find other stuff, but you'll never achieve that 100%-certainty feeling that the program has no leaks (not to speak about the various libraries it uses..) |
Re: [ANNOUNCE]Alarm UI replacement
another one (not a leak but a source of getting a segmentation fault).
In gboolean alarm_snooze() you have Code:
struct alarm *a; |
Re: [ANNOUNCE]Alarm UI replacement
@reinob - I know pretty well what you mean. Though my question was more something like "Who TF has allowed that guy to write code in such important OS daemon? Who and how reviewed and tested that?" :)
Well, there is a way, I am going to use some heavy weaponry today. I hope valgrind works on n900 as it is supposed to ;). BTW I have the feeling that alamUI is not the only systemui plugin to leak memory. And that systemUI is not the only daemon to leak. Otherwise I can't explain to myself increasing swap usage (at least here) over the time. |
Re: [ANNOUNCE]Alarm UI replacement
Quote:
|
Re: [ANNOUNCE]Alarm UI replacement
Quote:
My swap usage is increasing day by day. If I would not have extended size of swap on SD it would fill up completely (almost ;)). Thanks for investigating! |
Re: [ANNOUNCE]Alarm UI replacement
New version pushed in CSSU-devel repo with fixes for the last spotted bugs.
@reinob - lots of thanks pal. |
Re: [ANNOUNCE]Alarm UI replacement
Quote:
Initial version, it works, but there's a lot we can do starting from this: Code:
#!/usr/bin/perl |
Re: [ANNOUNCE]Alarm UI replacement
@reinob - this script need busybox-power, ain't?
However, I would say that for now it seems alarmui does not leak anymore. On the other hand swipe unlock (aka tklock) systemui plugin seems to leak 48k on 2-3 unlocks :( Unfortunately there is no x86 binary, only ARM, so I am not sure I want to start REing that. A rewrite might be much easier to be done than RE. EDIT: Code:
apt-cache show osso-systemui-tklock EDIT2: I removed the email, google is watching us :). Get it by executing apt-cache show on your device |
Re: [ANNOUNCE]Alarm UI replacement
Quote:
Quote:
|
All times are GMT. The time now is 11:45. |
vBulletin® Version 3.8.8