IRC log of #maemo for Thursday, 2014-09-25

*** nox- has joined #maemo00:00
*** javispedro has joined #maemo00:04
*** gregoa has quit IRC00:09
*** ZogG_laptop has joined #maemo00:11
*** ZogG_laptop has quit IRC00:11
*** ZogG_laptop has joined #maemo00:11
*** gregoa has joined #maemo00:16
*** jonwil has joined #maemo00:29
*** qwazix_ has joined #maemo00:30
*** qwazix_ has quit IRC00:35
*** FreemantleKid has quit IRC00:48
*** gregoa has quit IRC00:50
*** javispedro has quit IRC00:51
*** gregoa has joined #maemo00:56
*** N-Mi has joined #maemo01:01
*** LauRoman|Laptop has joined #maemo01:07
*** kolp has quit IRC01:09
*** gregoa has quit IRC01:11
*** BCMM has quit IRC01:12
*** gregoa has joined #maemo01:18
*** gregoa has quit IRC01:24
*** strohi has joined #maemo01:34
*** ruskie has quit IRC01:35
*** pcfe has quit IRC01:35
*** nanooq_ has quit IRC01:35
*** strohalm has quit IRC01:35
*** nanooq has joined #maemo01:35
*** pcfe has joined #maemo01:41
*** pcfe has quit IRC01:41
*** pcfe has joined #maemo01:41
*** cpt_nemo has quit IRC01:41
*** ruskie has joined #maemo01:52
*** florian has quit IRC01:58
*** wicket64 has joined #maemo01:59
*** gregoa has joined #maemo02:01
*** gregoa has quit IRC02:30
*** mavhc has quit IRC02:33
*** gregoa has joined #maemo02:39
*** mavhc has joined #maemo02:42
*** arcean has quit IRC03:00
*** jrayhawk has quit IRC03:13
*** jrayhawk has joined #maemo03:14
*** r00t^eeepc has joined #maemo03:20
*** M4rtinK has quit IRC03:27
*** N-Mi has quit IRC03:31
*** louisdk has quit IRC03:44
*** bef0rd has joined #maemo03:48
*** Pali has quit IRC03:50
*** FlameReaper-PC has joined #maemo04:00
*** cyborg-one has quit IRC04:46
*** nox- has quit IRC04:51
*** maybeArgh has quit IRC05:34
*** maybeArgh has joined #maemo05:35
*** FlameReaper-PC has quit IRC05:36
*** ecc3g has quit IRC05:42
*** beford has joined #maemo05:44
*** bef0rd has quit IRC05:47
*** keithzg has joined #maemo05:53
*** lxp1 has joined #maemo06:01
*** lxp has quit IRC06:04
*** ZogG_laptop has quit IRC06:05
*** louisdk has joined #maemo06:12
*** LauRoman|Alt has quit IRC06:18
*** LauRoman has quit IRC06:18
*** LauRoman|Laptop has quit IRC06:18
*** cpt_nemo has joined #maemo06:21
*** ecc3g has joined #maemo06:26
*** protem has joined #maemo07:18
*** wicket64 has quit IRC07:23
*** Venusaur has quit IRC07:33
*** wicket64 has joined #maemo07:33
*** louisdk has quit IRC07:44
*** wicket64 has quit IRC07:56
*** frals has quit IRC08:07
*** LauRoman has joined #maemo08:17
*** frals has joined #maemo08:20
*** sunny_s has joined #maemo08:25
*** sunny_s_ has joined #maemo08:25
*** XDS2010 has quit IRC08:47
*** FlameReaper-PC has joined #maemo08:55
*** VDVsx has quit IRC08:55
*** XDS2010 has joined #maemo08:56
*** peetah has quit IRC09:05
*** VDVsx has joined #maemo09:11
*** _rd has joined #maemo09:25
*** peetah has joined #maemo09:29
*** sunny_s_ has quit IRC09:32
*** b1101 has quit IRC09:47
*** protem has quit IRC09:50
*** b1101 has joined #maemo09:53
*** ALo has quit IRC10:03
*** Venusaur has joined #maemo10:04
*** dhbiker has joined #maemo10:07
*** ALo has joined #maemo10:16
*** RedM has joined #maemo10:22
*** geaaru has joined #maemo10:22
*** RedW has quit IRC10:22
*** _rd has quit IRC10:31
*** florian_kc has joined #maemo10:35
*** florian_kc is now known as florian10:38
*** jmlich has joined #maemo10:39
*** zGrr has joined #maemo10:49
*** kolp has joined #maemo11:04
*** erlehmann has joined #maemo11:16
*** M4rtinK has joined #maemo11:21
*** RedW has joined #maemo11:28
*** RedM has quit IRC11:28
*** beford has quit IRC11:40
*** ecloud_wfh is now known as ecloud11:40
*** Pali has joined #maemo11:43
*** ant_ has quit IRC11:48
*** N-Mi has joined #maemo11:48
*** Pali has quit IRC11:51
*** LauRoman has quit IRC11:54
*** Malinux has joined #maemo11:58
*** M4rtinK has quit IRC12:05
*** amospalla has quit IRC12:06
*** amospalla has joined #maemo12:06
*** Pali has joined #maemo12:06
*** ZogG_laptop has joined #maemo12:33
*** freemangordon_ has joined #maemo12:40
*** amospalla has quit IRC12:45
*** amospalla has joined #maemo12:46
*** basiaf has quit IRC12:52
*** basiaf has joined #maemo12:52
*** freemangordon_ has quit IRC12:54
*** arcean has joined #maemo12:56
*** erlehmann has quit IRC12:59
*** Dynamit has joined #maemo12:59
*** louisdk has joined #maemo13:33
*** _rd has joined #maemo13:36
*** APic has quit IRC13:50
*** freemangordon_ has joined #maemo13:51
*** _rd has quit IRC13:56
*** ZogG_laptop has quit IRC14:09
*** stef_204 has joined #maemo14:35
*** amizraa has quit IRC14:51
*** amizraa has joined #maemo14:52
*** auenf has quit IRC14:56
*** _rd has joined #maemo15:02
*** cyborg-one has joined #maemo15:23
*** _rd has quit IRC15:42
*** pdz- has quit IRC15:43
*** stryngs has joined #maemo15:43
*** louisdk has quit IRC16:00
*** ddark has quit IRC16:14
*** jonwil has quit IRC16:15
*** bef0rd has joined #maemo16:16
*** auenf has joined #maemo16:23
*** bef0rd has quit IRC16:30
*** netkat has quit IRC16:37
*** netkat has joined #maemo16:40
*** freemangordon_ has quit IRC16:51
*** _rd has joined #maemo16:51
*** Pali has quit IRC17:05
*** maybeArgh has quit IRC17:07
*** Pali has joined #maemo17:15
*** VDVsx has quit IRC17:16
*** amizraa has quit IRC17:16
*** sunny_s has quit IRC17:16
*** Pali has quit IRC17:19
*** Pali has joined #maemo17:19
infobot'sth is poettering' means it acts invasive, possessive, destructive, and generally in an egocentric exacerbating negative way. ``this cancer is extremely poettering'', or you look here for Linus' notion on what's poettering:, or, or see ~systemd cabal17:26
*** amizraa has joined #maemo17:28
*** _rd has quit IRC17:32
*** CapsuL has joined #maemo17:50
*** _rd has joined #maemo17:52
CapsuLanybody can be help me about maemo5 on mobile phone ?? (Nokia N900)17:52
*** zGrr has quit IRC17:53
jmlichCapsuL, just ask the question. This is a right place.17:53
CapsuLi looking for install QT4 library/driver , because it's impossible to install some application17:53
CapsuLthx jmlich17:54
jmlichhave you tried maemo/extras/testing repositories?17:54
CapsuLexemple of app : miniature (chess game)17:54
jmlichIn those ancient ages, I was trying to create apps using qt4 + qt components from meego. However, there was different (incompatible) version of Qt in extras/extras-testing/.. repos.17:57
jmlichI am not sure about current state of Qt in maemo. Currently, I am using Jolla.17:58
*** quentin__ has joined #maemo17:58
*** LauRoman|Mobile has joined #maemo18:00
CapsuLhow can i see wich OS on my phone ? Wwich command in terminal?18:00
jmlichnokia n900 is fremantle, nokia n9 is harmattan18:00
CapsuLyess thx u for link , why i didn't start by this lol18:01
jmlichIIRC diablo is n81018:01
CapsuLi have n900 , with keyboard:)18:02
quentin__jmlich , i am CapsuL (from my pc)18:03
jmlichHere is something about and ; Beware It may damage OS.18:03
quentin__i have put extras-devel18:03
quentin__register , in application "market"18:04
stryngsNo bash update yet...18:04
quentin__i read , before , that will be dangerous , but it's ok for the moment18:04
quentin__just same application doesn't want be install on phone .. from extras-devel18:05
quentin__it told me : you need libqt4-*** ; libqt4-*** etc ...18:06
CapsuLi am auentin__18:07
CapsuLi am quentin__18:07
elias_a_Are you also 1uentin__ ? :P18:08
quentin__no ?18:10
*** geaaru has quit IRC18:10
quentin__look ip ;)18:10
quentin__so ... on step of my answer way is suspicious ...18:11
quentin__if i put on my Nokia N900 's terminal that : apt-get update18:11
quentin__i fear that broken my phone ... if it download too many files =/18:12
quentin__maybe  sdk pr1.2 autobuilder ôÔ18:18
*** LauRoman|Mobile has quit IRC18:19
quentin__this is maemo channel :( and nobody can be help me ...18:21
*** geaaru has joined #maemo18:21
quentin__i know n900 nokia is older18:21
quentin__but plz , i never can be install application without ur help18:22
quentin__i try to resume : i have extras-devel catalog , i looking for install somes applications (chess game) and it told me : impossible u missing/need libqt4-core , libqt4-script , libqt4...........18:24
quentin__when i try to install from catalog QT4 python full .. same problem ...18:24
*** florian has quit IRC18:24
quentin__i am blocked , google can be help me :(18:25
quentin__i stay here , plz ask me , tell me when u will see precedent message18:26
*** bluelupo has joined #maemo18:26
Sc0rpiusenv x='() { :;}; echo vulnerable' bash -c "echo this is a test"18:34
Sc0rpiusquentin__, you have CSSU installed?18:34
Sc0rpiusif not, you should.18:34
quentin__how can i saw that ?18:39
quentin__can i see that ?18:39
Sc0rpiusgo to Settings18:40
Sc0rpiusat the end you should see "About product"18:40
Sc0rpiusif you also see "About Community SSU" then you have CSSU installed18:40
Sc0rpiusif you don't, click on About product and tell us the version18:40
Sc0rpiusit should be 21.2011.38-118:40
quentin__about terminal18:41
quentin__nokia n90018:42
quentin__Maemo 518:42
quentin__version : 2.2009.51-1.205.118:42
Sc0rpiusJesus Christ.18:43
*** jmlich has quit IRC18:43
Sc0rpiusthat's your problem18:43
Sc0rpiusyou have never updated your N900 and the applications need a recent version of the OS and that's why they fail when you try to install it18:43
quentin__yes i know -_-18:44
quentin__but how can be upgrade it ?18:44
quentin__but how can i upgrade it ?18:45
Sc0rpiusyou should have received the update automatically but if you don't, then I have no clue18:46
Sc0rpiuswhen I said you should have18:46
Sc0rpiusI meant back in 201018:46
quentin__i just receveid my phone18:47
quentin__2 week ago ;)18:47
Sc0rpiuswhy did you buy an extremely old phone like the N90018:47
quentin__u know for what :)18:47
quentin__and linux ...18:48
quentin__that sell me dream18:48
quentin__i install ubuntu on my pc since 4/5 month , and that is magic ...18:48
quentin__after i switch on other linux os18:49
Sc0rpiuswhen you go to the application manager, and click on update, don't you receive the notification to upgrade the system?18:50
Sc0rpiusAndroid also runs in a Linux kernel18:50
Sc0rpiusand I believe iOS too.18:50
quentin__i saw that after :)18:50
Sc0rpiusyou can even run a whole Ubuntu in an Android phone18:50
quentin__didn't know that18:51
Sc0rpiusan a quad-core Android phone is just like $15018:51
Sc0rpius(like the Moto G)18:51
quentin__yes :)18:51
quentin__but  i am nostalgic18:51
quentin__i little option on N90018:51
quentin__is nice18:52
quentin__like F.M UDP :D18:52
quentin__HDMI connection18:52
quentin__and geek mind18:52
Sc0rpiusI see18:52
Sc0rpiuswell you have to figure out a way to install PR1.3.1 and if you don't receive the OTA update I don't have a clue how you can update it18:53
freemangordonnokia repos down?18:53
freemangordonotherwise - just set your date so 2009 :)18:54
quentin__ovi store is down18:54
freemangordonset the year to 2009, start HAM and refresh18:54
quentin__what is HAM ?18:54
freemangordonHildon Application Manager18:55
quentin__from application catalog ?18:55
freemangordonwhat is "application catalog"?18:55
quentin__like etras-devel18:55
quentin__where i find application18:56
freemangordonHAM is
freemangordonmake sure you have extras-testing and extras-devel catalog disable18:56
*** b1101 has quit IRC18:56
freemangordonand make sure you have all Nokia catalogs enabled18:56
quentin__HAM is application catalog for me18:57
quentin__we talk about same think :p18:57
freemangordonwell, you'd better use the correct names, otherwise you risk to be misunderstood :)18:57
quentin__wait , i click on update , and it make verification ...18:57
quentin__i am french18:58
freemangordonyou need to click "Refresh" first18:58
freemangordonI am not, so what :P18:58
quentin__because all french make battle with english lol18:58
freemangordonin the menu there is a "Refresh" option18:58
freemangordonyou ned to use it, so HAM to update its repository info18:59
quentin__i stay 6 month in london for learn more my studiant year lol and i am ever bad :p18:59
quentin__i clik on refresh18:59
quentin__i wait18:59
quentin__it's ok19:00
freemangordonit is ok as in?19:00
quentin__but i just see application19:00
freemangordongive it some time19:00
quentin__i download it before .. i think it's update for it19:00
quentin__(application , no phone)19:00
freemangordonyou should see "Maemo Update" or similar19:01
freemangordonand you're sure the date is 2009?19:01
freemangordonyear that is19:01
quentin__2 THEME , nmap (-__-) , wifiinfo , n900-fmrx-enabler19:01
freemangordonhmm, are you sure you're not on the latest PR?19:03
quentin__i don't think19:03
freemangordonquentin__: in settings -> about product19:03
freemangordonwhat is the version there?19:04
freemangordonoh, 20519:04
quentin__Maemo 519:04
quentin__nokia N90019:04
freemangordonyeah, yeah19:04
freemangordonthis is a special firmware cooked for vodafone19:05
freemangordonyou'd better reflash to global19:05
quentin__arf ..19:06
quentin__i begin i buy it for flashing in pentest version ...19:06
quentin__but after try it19:06
quentin__i find n900 maemo perfect19:06
quentin__and i forgot that19:06
quentin__but ok .. thx u for ur diagnostic :)19:07
freemangordonif you have nothing valuable on the phone, just flash rootfs and emmc and you'll be fine19:07
quentin__yes , that take lot of time :/19:08
quentin__i try later19:08
freemangordonno, that takes 5 minutes19:08
quentin__which is the last flash rom for n900 ?19:09
infobothmm... maemo-flashing is
quentin__for u 5 min19:09
Sc0rpiusmaybe it's more than 5 minutes but it's fun19:10
quentin__i need 15 for read the link :D 10 for understand19:10
Sc0rpiusdon't take the fun out of it19:10
quentin__and maybe 30 for try to install/flash it19:10
*** b1101 has joined #maemo19:11
*** b1101 has quit IRC19:11
quentin__and this freemangordon
quentin__and this, freemangordon,
*** e2718 has joined #maemo19:13
*** kolp has quit IRC19:14
*** kolp_ has joined #maemo19:14
*** _rd has quit IRC19:15
*** APic has joined #maemo19:17
*** b1101 has joined #maemo19:21
*** b1101 has joined #maemo19:21
Sc0rpiusquentin__, you can't install Qt if you don't upgrade19:22
Sc0rpiusI mean you can't upgrade your Qt if you don't upgrade the whole thing19:22
*** protem has joined #maemo19:23
quentin__i will flash it19:23
*** aloril_ has joined #maemo19:23
*** aloril has quit IRC19:26
*** VDVsx has joined #maemo19:29
*** ssvb has quit IRC19:29
*** ssvb has joined #maemo19:31
*** aloril_ is now known as aloril19:31
*** eMHa has quit IRC19:35
sixwheeledbeastfreemangordon: hows nm-nav going :)19:48
*** eMHa has joined #maemo19:59
*** konelix has joined #maemo20:00
*** N-Mi has quit IRC20:01
*** mavhc has quit IRC20:01
*** mavhc has joined #maemo20:01
*** quentin__ has quit IRC20:05
*** mavhc has quit IRC20:08
*** e2718 has quit IRC20:08
*** mavhc has joined #maemo20:09
*** quentin has joined #maemo20:13
*** amizraa has quit IRC20:18
*** pdz has joined #maemo20:18
freemangordonsixwheeledbeast: just REed the last function :)20:19
*** amizraa has joined #maemo20:19
sixwheeledbeastfreemangordon: cool, will it be going into cssu-devel for testing?20:20
*** quentin has quit IRC20:22
*** swartulv has quit IRC20:23
*** geaaru has quit IRC20:26
*** swartulv has joined #maemo20:28
*** protem has quit IRC20:30
stryngsAny plans to patch bash guys/gals?20:42
APicI use zsh ;-P20:43
*** sandstorm has joined #maemo20:43
HumpelstilzchenI thought be have busybox20:43
ecc3gsome people have bash installed...20:44
sixwheeledbeaststryngs: ask the maintainer it is not covered under CSSU, default shell is messybox20:49
* stryngs doesnt use cssu =)20:50
sixwheeledbeastbash is an extras pkg20:50
infoboti guess pkg is
stryngsRight, i get that.  What i was getting at is wondering if there is any preplanned attack to work on the patch to bash for the maemo repo20:50
stryngsGlad to see we're on point here in #maemo land20:51
* stryngs goes back to reality20:51
sixwheeledbeastmarmistrz on TMO maybe work asking. He is the maintainer of bash-opt (optified bash4)20:52
*** stryngs has quit IRC20:52
*** soltys has quit IRC20:52
*** stryngs has joined #maemo20:53
sixwheeledbeast is the maintainer of bash4 package20:53
sixwheeledbeast is the maintainer of bash320:54
*** soltys has joined #maemo20:55
*** erlehmann has joined #maemo21:02
*** RST38h has quit IRC21:02
*** florian has joined #maemo21:07
*** keithzg has quit IRC21:14
*** qwazix_ has joined #maemo21:21
*** erlehmann has quit IRC21:26
*** nanooq has quit IRC21:26
*** stef_204 is now known as stef20421:31
freemangordonsixwheeledbeast: sure, once I fix whatever I can catch as a bug21:34
*** stef204 is now known as stef_20421:34
stryngsAnyone in here ncurses smart?21:45
stryngsI'm trying to build ncurses5.9 for the n90021:45
stryngsWell, hell, it's built21:46
stryngsI want to know about ncursesw21:46
*** sfa has quit IRC21:47
*** sfa has joined #maemo21:49
*** nanooq has joined #maemo21:51
*** freemangordon has quit IRC21:52
*** freemangordon has joined #maemo21:55
*** SpeedEvil has quit IRC21:59
*** SpeedEvil has joined #maemo21:59
*** stef_204 has quit IRC22:09
*** maybeHere has joined #maemo22:15
CapsuLhey :)22:19
CapsuLhow can i know my nokia n900 phone password?22:32
CapsuLbefore try to flashing it:)22:33
*** oniongarlic has quit IRC22:34
Tekk_CapsuL: you could do sudo passwd22:37
Tekk_and set one22:37
Tekk_but that may ruin things, idk22:37
Tekk_I haven't done it22:37
CapsuLok thx22:39
stryngsCapsuL: WAIT22:39
stryngsWhich password22:39
stryngsroot password22:39
stryngsor device lock password22:39
stryngsFlashing DOES NOT RESET the device lock, at least from what i can tell22:40
stryngsmine has stayed through massive reflashes22:40
*** Sc0rpius has quit IRC22:45
*** Sc0rpius has joined #maemo22:47
Palifreemangordon: what about RE device lock libraries and understand where and how is lock password stored?22:49
Tekk_Pali: it's probably stored in the firmware22:50
Tekk_so are your alarms actually22:50
Tekk_your alarms will fire even if your phone is off22:50
*** oniongarlic has joined #maemo22:54
freemangordonPali: why not, lemme finish nm-nav-provider first22:56
Paliok, this was just idea22:56
freemangordonPali: in that regard -
freemangordoncould you have a look at it22:57
Paliok, whats problem?22:57
freemangordonG_LOCK is called (or could be called) 3 times ina a row22:57
freemangordonGL_LOCK translates to g_mutex_lock22:57
freemangordonwhi has undefined behaviour if called with the mutex already held22:58
Paliso G_(UN)LOCK is mutex?22:58
Palidoes not con_ic_connection_connect relase lock?22:59
freemangordonit is called in the same thread I guess (this is multy-threaded program)23:00
freemangordonoh, no, why should it23:00
freemangordonthe mutex is a static global variable23:00
Paliare you sure that this code is correctly disassembled?23:00
freemangordonI looked at the assembly code as well23:01
freemangordonwanna habd you db?23:01
PaliI doubt that somebody will write code lock(mutex); unlock(mutex)23:01
freemangordonme too23:01
*** louisdk has joined #maemo23:01
Palithis looks like gcc optimizer23:01
Paliwhen it did something bad23:01
freemangordonthough, there might have been some code gcc optimized23:02
PaliI saw code which gcc incorrectly compiled with -O3 (or -O2)23:02
freemangordonbesides that, my concern is that g_mutex_lock (or G_LOCK) is called more than once in the same thread with the mutex already held23:03
Palithen it freeze23:03
Palibut if function con_ic_connection_connect release lock it is OK23:03
freemangordonthat function has no way of knowing about that mutex23:03
freemangordonit is external library function23:04
*** tanty is now known as tanty_off23:04
freemangordonfrom libconnic23:04
Paliand there is g_signal_connect_data with callback con_ic_status_handler which release lock23:04
Palihow signals in gtk working?23:04
Paliare immediately callback executed?23:04
freemangordonoh, so you think the callback will be called before we call the second G_LOCK?23:05
Palior executaion is postponed when main loop enters again?23:05
Paliin Qt4 slots are executed immediately23:05
freemangordonI doubt this is the main loop, this is executed in a thread23:05
freemangordonhmm, going to attach a debugger23:06
Palibut you can connect qt4 slots with some special argument, executation can be postponed until application returns back to mainloop23:06
Palifreemangordon: with main loop I mean main glib loop23:06
freemangordonbut I dunno hows that in glib23:06
Palithat loop which process executaion23:06
freemangordonI know23:06
PaliI think that glib signals are always postponed23:07
Palibut not remeber this if it true23:07
freemangordonbut it makes no sense, you can't release mutex held by a thread A from the main loop :)23:07
freemangordonso I conclude that callback is executed in the same thread23:07
Paliif con_ic_status_handler is called from same thread and by function g_signal_connect_data then everything is OK23:08
Paliin qt4 it is for sure23:08
Paliin qt3 not23:08
freemangordong_signal_connect data calls nothin, it just connects the "signal" to a "slot" speaking in qt terms23:08
PaliI know but there can be already sent signal which waiting23:09
Paliand that connect can read it and process it23:09
freemangordonthen we have race condition23:09
Palibut I think that code was incorrectly compiled or incorrectly decompiled23:10
freemangordonyeah, going to attach a debugger, brb23:10
Palimaybe branch instruction which is after con_ic_connection_connect and after g_signal_connect_data should point before G_UNLOCK (after G_LOCK)23:11
*** bluelupo has quit IRC23:12
Palior I have another idea: that G_LOCK(conn_ic); G_UNLOCK(conn_ic); code could be barrier23:12
Paliwhich waits until execution of con_ic_status_handler() finish23:13
freemangordonyes, could be23:13
Palig_signal_connect_data could be used there for blocking call23:13
freemangordonbut what will stop it from executing in the thread A?23:13
*** LauRoman has joined #maemo23:13
freemangordonno, it is not blocking23:13
*** FlameReaper-PC has quit IRC23:13
freemangordononly con_ic_connection_connect could be23:14
Paliyes it is not blocking call and nokians used this hack to create blocking call :D23:14
Paliand that thread stops execution23:14
freemangordonPali: it deadlocks23:14
freemangordonif G_LOCK is called for the second time in the same thread23:14
Paliif this is multi thread app then another thread can process con_ic_status_handler callback23:14
freemangordonso what, thread A is already in deadlock23:15
Paliand unblock mutex23:15
freemangordonit can't, as it does not hold it23:15
freemangordonit is held by thread A, which is in a deadlock23:15
Paliis not conn_ic shared across all threads?23:15
freemangordonit is mutex :)23:15
freemangordonGStaticMutex to be precise23:16
freemangordonso yes, all threads can get hold on it, but not simultaneously23:16
freemangordonobviously :D23:16
Paliis not conn_ic shared across all threads and any thread can lock or unlock it?23:17
Paliso when A lock it, A try to lock again (will wait), and after some time B unlock it23:17
freemangordonno, see
freemangordonPali: this is mutex, only the thread that lock it can unlock it23:18
Paliso it is really not GStaticRecMutex?23:20
freemangordonit is not23:20
Paliok, no idea then...23:20
freemangordondebugger attached, lets see23:21
freemangordonPali: in the meanwhile - that whole function is buggy as hell, there is a race condition in the first if() to start with23:22
Paliah... reason why it is closed? :D23:22
freemangordonit is not protected by a mutex, so 2 threads could simultaneously do "if (!priv->con_ic_conn)" ;)23:23
freemangordonanyway, got in the bp23:23
*** M4rtinK has joined #maemo23:26
*** Sc0rpius has quit IRC23:27
*** LauRoman|Alt has joined #maemo23:29
*** arcean has quit IRC23:31
*** Sc0rpius has joined #maemo23:32
jogahmm, is dhcp client in maemo vulnerable to this
jogaapparently it's udhcpc, are the shell scripts involved?23:37
*** stryngs has quit IRC23:37
joga(bash I mean, but it's not there by default I guess?)23:37
*** arcean has joined #maemo23:44
Palijoga: no maemo dhcp client is not vulnerable to that bash bug23:46
Palimaemo (core) system does not use bash23:46
jogayeah I guess it was busybox...23:46
jogabeen using bash on it otherwise for so long forgot already ;)23:47
freemangordonPali: well, g_mutex_lock is simply called twice :(23:50
Paliand deadlock23:50
freemangordonno idea, still debugging23:50
freemangordonno deadlock23:51
freemangordonoh, it locked23:52
freemangordonor rather the callback was called before pthread_mutex_lock exited23:52
freemangordonso your theory seems right23:52
freemangordon(gdb) info threads23:53
freemangordon  Id   Target Id         Frame23:53
freemangordon  2    LWP 2938          0x4016f27c in pthread_mutex_lock ()23:53
freemangordon   from /lib/
freemangordon* 1    LWP 2833          0x0000c014 in ?? ()23:53
freemangordonPali: callback is called from the main glib thread23:53
* freemangordon is confused23:54
Paliso callback called from main glib thread unlocked that mutex or not?23:56
*** dhbiker has quit IRC23:56
freemangordonwill check now, I was missing a bp23:57

Generated by 2.15.1 by Marius Gedminas - find it at!