IRC log of #maemo-ssu for Monday, 2014-09-08

*** arcean_ has quit IRC00:14
*** arcean_ has joined #maemo-ssu00:15
*** DrCode has quit IRC00:15
*** _rd has quit IRC00:25
*** DrCode has joined #maemo-ssu00:25
*** drathir has quit IRC00:33
*** BCMM has quit IRC00:35
*** kerio has quit IRC00:35
*** kerio has joined #maemo-ssu00:38
*** LauRoman|Alt has joined #maemo-ssu00:41
*** kerio has quit IRC00:44
*** merlin1991 has quit IRC00:45
*** DocScrutinizer51 has quit IRC00:45
*** merlin1991 has joined #maemo-ssu00:47
*** DocScrutinizer51 has joined #maemo-ssu00:47
*** kolp has joined #maemo-ssu00:49
*** arcean_ has quit IRC00:50
*** drathir has joined #maemo-ssu01:00
*** kerio has joined #maemo-ssu01:02
*** arcean has joined #maemo-ssu01:06
*** dhbiker has quit IRC01:25
*** LauRoman|Alt has quit IRC01:49
*** LauRoman|Alt has joined #maemo-ssu02:19
*** LauRoman|Alt has quit IRC02:23
*** kolp has quit IRC02:29
*** LauRoman has quit IRC03:03
*** LauRoman|Laptop has quit IRC03:24
*** arcean has quit IRC04:35
*** nox- has quit IRC05:35
*** amiconn_ has joined #maemo-ssu05:53
*** amiconn has quit IRC05:53
*** M13 has quit IRC05:53
*** M13 has joined #maemo-ssu05:54
*** M13 has quit IRC05:58
*** amizraa has joined #maemo-ssu06:25
*** M13 has joined #maemo-ssu07:09
*** mkaindl has left #maemo-ssu07:11
*** radekp has joined #maemo-ssu07:29
*** amiconn_ is now known as amiconn08:58
*** dhbiker has joined #maemo-ssu09:55
*** _rd has joined #maemo-ssu10:37
*** kolp has joined #maemo-ssu10:55
*** peetah has quit IRC10:56
*** luf has joined #maemo-ssu11:05
*** peetah has joined #maemo-ssu11:15
*** LauRoman has joined #maemo-ssu11:28
*** freemangordon_ has joined #maemo-ssu11:31
*** freemangordon_ has quit IRC11:31
*** freemangordon_ has joined #maemo-ssu11:31
*** LauRoman|Laptop has joined #maemo-ssu11:32
*** arcean has joined #maemo-ssu11:51
*** LauRoman|Alt has joined #maemo-ssu11:53
*** LauRoman|Alt has quit IRC12:13
*** LauRoman|Laptop has quit IRC12:13
*** LauRoman has quit IRC12:13
*** LauRoman has joined #maemo-ssu12:15
*** LauRoman|Laptop has joined #maemo-ssu12:15
*** LauRoman|Alt has joined #maemo-ssu12:16
*** LauRoman|Alt has quit IRC12:33
*** sixwheeledbeast1 is now known as sixwheeledbeast12:35
*** LauRoman|Alt has joined #maemo-ssu12:40
*** _rd has quit IRC13:06
*** M13 has quit IRC13:11
*** Mihanizat0r has joined #maemo-ssu13:11
*** _rd has joined #maemo-ssu13:16
*** lizardo has joined #maemo-ssu14:11
*** Mihanizat0r has quit IRC14:22
*** LauRoman|Laptop has quit IRC14:30
*** _rd has quit IRC14:30
*** NishanthMenon has joined #maemo-ssu14:41
*** _rd has joined #maemo-ssu14:42
*** radekp has quit IRC15:41
*** LauRoman|Alt has quit IRC15:52
*** LauRoman|Laptop has joined #maemo-ssu15:55
*** LauRoman|Laptop has quit IRC16:50
*** LauRoman has quit IRC16:52
*** lizardo has quit IRC17:12
*** lizardo has joined #maemo-ssu17:17
*** luf has quit IRC17:17
*** _rd has quit IRC17:23
*** freemangordon has quit IRC17:35
*** freemangordon_ has quit IRC17:36
*** _rd has joined #maemo-ssu17:47
*** _rd has quit IRC18:11
*** _rd has joined #maemo-ssu18:17
*** freemangordon has joined #maemo-ssu18:23
*** LauRoman has joined #maemo-ssu18:43
*** LauRoman|Laptop has joined #maemo-ssu18:44
*** LauRoman|Alt has joined #maemo-ssu19:11
*** NishanthMenon has quit IRC20:06
*** mkaindl has joined #maemo-ssu21:10
sixwheeledbeastwait so powertop was a system package and not an extras package in PR1.0.21:11
Palisixwheeledbeast: yes21:25
Paliand that package is CLOSED21:25
Palithat extras package is just repack of original powertop uploaded to extras21:25
Pali(or maybe uploaded harmattan version, not sure, but closed too)21:25
*** nox- has joined #maemo-ssu21:35
*** amizraa has quit IRC21:41
*** amizraa has joined #maemo-ssu21:42
*** M4rtinK has joined #maemo-ssu22:23
*** NishanthMenon has joined #maemo-ssu22:30
freemangordonPali: usb_plugin RE is ready :). No packaging though, just source files22:30
Paliok22:30
PaliI believe I will be able to fix that anoying bug when using bme replacement (usb plugin show "usb charging mode" after disconnecting usb cable and /sys/... say that cable is disconnected too)22:32
freemangordonPali: http://46.249.74.23/usb-plugin/22:32
freemangordonpassed some rudimentary tests on the device22:33
freemangordonlooks like working, though I can;t guarantee there are no bugs22:33
freemangordonalso, code neds some cleanup (like using enums instead of digits, etc)22:34
freemangordonneeds even22:34
keriofreemangordon: what is that22:36
kerio:o22:36
freemangordonkerio: what is what?22:36
keriowhat's usb-plugin22:36
freemangordonthe one that shows you "pc suite", "mass storage" dialog when you connect USB cable22:37
keriook22:37
freemangordonalso it shows USB icon in the status menu22:37
Palifreemangordon: are you sure that nobody is calling g_free() after that g_file_get_contents() function?22:37
freemangordonPali: lemme check once again22:38
freemangordonPali: look at the code:22:40
freemangordon  if (!s)22:40
freemangordon    s = "<no data>";22:40
freemangordonyou can't g_free() static data :)22:41
freemangordonthis is buggy code22:41
Paliyes, but that part from g_file_get_contents must be freed22:41
keriofreemangordon: what's that flappybird.tar.gz22:41
freemangordonbut we can fix it ofc22:41
Paliso you found another memory leak in maemo :-)22:41
freemangordonsomething like:22:42
freemangordon  if (!s)22:42
freemangordon    s = g_strdup("<no data>");22:42
freemangordon  ...22:42
freemangordon  g_free(s);22:42
freemangordonyeah, yet another one :(22:42
keriohow does s = "<no data>" even work22:42
keriook that's a stupid question22:43
keriook no it's fucking not22:43
freemangordonthough this is one time leak, iiuc this function is called only once22:43
Palis is pointer22:43
kerioare the gtk stuff just char*s22:43
keriowhy bother with the g_ stuff then22:43
Paliyes, it is just char*22:43
Palig_ functions sometimes doing some checks22:43
freemangordonkerio: flappybird?22:43
Palithere is safe function of strcmp which accept also NULL22:43
keriofreemangordon: http://46.249.74.23/flappybird.tar.gz22:44
Palig_strcmp0()22:44
freemangordonkerio: http://talk.maemo.org/showpost.php?p=1418571&postcount=122:44
keriomeh22:45
keriovidja games22:45
freemangordonPali: besides that leak, the code looks like spaghetti. as usual :(22:46
freemangordonthis crap cries for a rewrite, not a bug fixing22:46
kerioso...22:46
kerioare you having fun with IDA? :D22:46
Paliits ok22:46
Palithere are funny calls with system()22:47
Palils and grep22:47
PaliI think there will be some problem22:47
freemangordonkerio: this ^^^ is the first one to fall under ARM hexrays fire :)22:47
keriowe should send hex-rays an email22:47
keriosaying thanks22:48
freemangordonPali: look at 1 s timeouts, counting to 30, etc22:48
kerioeveryone likes being appreciated!22:48
freemangordonkerio: we'd rather not spread the word ;)22:48
keriomeh22:48
freemangordonyou're aware I don't have a legal copy?22:48
kerioi mean22:48
keriowould you ever actually buy it22:48
freemangordonthey don;t sell it22:49
kerio:o22:49
keriosure they do22:49
Palianyway when I have time I will try to merge mass storage kernel driver into g_nokia22:49
freemangordonno, they don;t sell to individuals22:49
kerioalso what's the difference between disassembler and decompiler?22:49
freemangordonkerio: come on22:49
keriook nvm that's a stupid question22:49
Paliand then remove pc suite button :D22:49
Palior mass storage22:49
freemangordonPali: why? we'd rather add another button, for g_ether :P22:50
Paliyes :-) and also for charge only22:50
freemangordonhmm, you enter "charge only" by dismissing that dialog22:50
freemangordonwhich fits in hildon UI paradigma, iiuc22:51
keriofreemangordon: Named licenses: are linked to a specific end user and may be used on as many computers as that particular end-user uses. Named licenses are well suited for small business and private users.22:51
Paliand add option to switch between pcsuite and mass storage22:51
kerioida starter is 450€22:51
keriojesus christ22:51
Palibecause once you select mode GUI does not allow you change it22:51
freemangordonPali: that will be easy22:51
freemangordonlook at usb_status_menu_disable_usb_button22:52
freemangordonand usb_status_menu_enable_button22:52
freemangordonwe just won;t disable it :)22:52
Pali:-)22:53
Palianyway, it is not possible to add g_ether functionality into g_nokia?22:53
freemangordonNFC22:53
freemangordoncan that be upstreamed?22:53
keriog_nokia already provides an ethernet card22:53
kerioARM Decompiler Fixed License [Linux]2350 USD22:54
kerioholy fucking shit22:54
Paliupstream kernel now has cleaned gadget code22:54
kerio!!!!!!!!!!!!!!22:54
Paliand code is now fully modular22:54
freemangordonkerio: try to buy it22:54
freemangordonunless they've changed their policy recently, you won't be able to buy it22:54
Paliso you can create composite gadget with modules which you want22:54
Palinow I can try to send my patch which adding mass storage to g_nokia again22:55
freemangordonPali: please create appropriate repos in CSSU before you start tweaking gtalk-plugin and usb-plugin22:57
Paliok22:57
freemangordonBTW gtalk-plugin is part of rtcom-accounts-ui source package22:58
freemangordonno idea how hard will be to RE the whole thing22:58
freemangordonhmm:23:00
freemangordon-rwxr-xr-x    1 root     root        20924 Jul 15  2010 /usr/bin/rtcom-accounts-ui.launch23:00
freemangordon-rw-r--r--    1 root     root        32772 Jul 15  2010 /usr/lib/hildon-control-panel/librtcom-accounts-ui.so23:00
freemangordonnot that much23:01
Palithere are too many packages: http://repository.maemo.org/pool/maemo5.0/nokia-binaries/4bc37c7c77ebe90177c050b805a8dc79/nokia-binaries/r/rtcom-accounts-ui/23:02
freemangordonyeah23:02
freemangordonthe biggest is *widgets* package, about 100k .so23:02
freemangordonnot impossible, but hard23:03
freemangordonBTW someone should launch valgrind against hildon-status-menu, some of the stock widget(s) leak a lot23:04
freemangordons/widgets/applets/23:06
*** LauRoman has quit IRC23:19
*** LauRoman|Laptop has quit IRC23:21
*** LauRoman|Alt has quit IRC23:21
*** LauRoman has joined #maemo-ssu23:26
*** NishanthMenon has quit IRC23:26
*** LauRoman has quit IRC23:50

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