Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The Logo icon identifies that the person is a core developer (has commit access).

#rockbox log for 2015-09-07

00:16:34 Join chrisb [0] (~chrisb@li482-205.members.linode.com)
00:40:57 Part n1cky
00:45:42 Join orly_owl [0] (~david@unaffiliated/orly-owl/x-3167833)
00:50:08 Join soap [0] (~soap@rockbox/staff/soap)
00:52:43 Quit soap_ (Ping timeout: 272 seconds)
00:56:35 Quit ender` (Quit: If you eat a live toad first thing in the morning, nothing worse will happen all day long. -- California saying; To you or the toad. -- Niven's restatement; —well, most of the time anyway ... -- programmer's caveat)
01:00
01:12:58 Quit ZincAlloy (Quit: Leaving.)
01:21:44 Join [Saint] [0] (~hayden@rockbox/staff/saint)
01:31:40***Saving seen data "./dancer.seen"
01:55:08 Join [Franklin] [0] (~franklin@unaffiliated/franklin)
02:00
02:05:25 Quit krabador (Quit: Take The Time)
02:48:27 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.")
03:00
03:26:26 Quit [Franklin] (Remote host closed the connection)
03:31:41***Saving seen data "./dancer.seen"
04:00
04:03:43 Quit Moarc (Ping timeout: 244 seconds)
04:05:49 Quit [Saint] (Ping timeout: 246 seconds)
04:06:04 Join Moarc [0] (~chujko@a105.net128.okay.pl)
04:07:20 Join amiconn_ [0] (~amiconn@rockbox/developer/amiconn)
04:07:20 Quit amiconn (Killed (leguin.freenode.net (Nickname regained by services)))
04:07:20 Nick amiconn_ is now known as amiconn (~amiconn@rockbox/developer/amiconn)
04:08:08 Quit pixelma (Disconnected by services)
04:08:08 Join pixelma_ [0] (~pixelma@rockbox/staff/pixelma)
04:08:11 Nick pixelma_ is now known as pixelma (~pixelma@rockbox/staff/pixelma)
04:09:27 Join yuriks_ [0] (~quassel@opentyrian/developer/yuriks)
04:10:53 Join scottj_ [0] (~scott@unaffiliated/scottj)
04:12:18 Join snuffi_ [0] (~quassel@heldscal.la)
04:13:56 Join frank_ [0] (~frank@pool-96-255-184-182.washdc.fios.verizon.net)
04:13:59 Join munch` [0] (~munch@2601:98a:302:955d:126f:3fff:fed7:41)
04:14:10 Join froggymana [0] (~frogs@unaffiliated/froggyman)
04:15:25 Quit scottj (*.net *.split)
04:15:26 Quit greatwolf (*.net *.split)
04:15:27 Quit snuffi (*.net *.split)
04:15:28 Quit munch (*.net *.split)
04:15:30 Quit TorC (*.net *.split)
04:15:30 Quit yuriks (*.net *.split)
04:15:32 Quit froggyman (*.net *.split)
04:15:33 Nick froggymana is now known as froggyman (~frogs@unaffiliated/froggyman)
04:19:11 Quit prof_wolfff (Ping timeout: 265 seconds)
04:19:47 Join greatwolf [0] (greatwolf@gateway/shell/panicbnc/x-fcjyvnsgtoihlppg)
04:22:56 Join TorC [0] (~TorC@fsf/member/TorC)
04:29:49 Join Mir_ [0] (~Mir@pool-100-39-12-139.lsanca.fios.verizon.net)
04:34:40 Quit Mir (Remote host closed the connection)
04:34:40 Quit Makinit (Ping timeout: 272 seconds)
04:34:44 Quit __jae__ (Ping timeout: 272 seconds)
04:34:44 Quit djukon (Remote host closed the connection)
04:34:44 Join __jae__ [0] (~jae@dedicated.jaerhard.com)
04:34:45 Join Makinit_ [0] (makinit@makinit.nl)
04:36:09 Quit frank_ (Quit: Leaving)
04:41:49 Join djukon [0] (transitor@gateway/shell/insomnia247/x-oycthvckltdcnykv)
04:43:26 Join [Saint] [0] (~hayden@rockbox/staff/saint)
04:43:46 Quit scottj_ (Quit: leaving)
04:51:37 Join __jae___ [0] (~jae@dedicated.jaerhard.com)
04:57:27 Quit __jae__ (*.net *.split)
04:57:27 Quit dys (*.net *.split)
04:57:28 Quit Marex (*.net *.split)
05:00
05:02:19 Join Marex [0] (~Marex@195.140.253.167)
05:08:30 Quit uwe_mobile (Ping timeout: 265 seconds)
05:08:31 Quit TD-Linux (Ping timeout: 265 seconds)
05:08:58 Quit Makinit_ (Ping timeout: 265 seconds)
05:09:00 Quit kugel (Ping timeout: 265 seconds)
05:09:01 Quit evilnick_ (Ping timeout: 265 seconds)
05:09:01 Quit gevaerts (Ping timeout: 265 seconds)
05:09:05 Join evilnick [0] (~evilnick@rockbox/staff/evilnick)
05:09:05 Join kugel_ [0] (~kugel@ip5b42c558.dynamic.kabel-deutschland.de)
05:09:05 Quit kugel_ (Changing host)
05:09:05 Join kugel_ [0] (~kugel@rockbox/developer/kugel)
05:10:09 Join uwe_mobile [0] (~uwe@static.88-198-8-117.clients.your-server.de)
05:10:26 Join gevaerts [0] (~fg@rockbox/developer/gevaerts)
05:14:31 Quit [7] (Disconnected by services)
05:14:40 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven)
05:15:44 Join Makinit [0] (makinit@makinit.nl)
05:16:55 Join TD-Linux [0] (~Thomas@about/essy/indecisive/TD-Linux)
05:31:43***Saving seen data "./dancer.seen"
05:41:12 Quit Strife89 (Ping timeout: 246 seconds)
06:00
06:06:12 Nick Mir_ is now known as Mir (~Mir@pool-100-39-12-139.lsanca.fios.verizon.net)
06:36:14 Quit chrisb (Remote host closed the connection)
07:00
07:07:31 Quit TD-Linux (K-Lined)
07:07:38 Join TD-Linux [0] (~Thomas@about/essy/indecisive/TD-Linux)
07:31:47***Saving seen data "./dancer.seen"
07:58:48 Nick kugel_ is now known as kugel (~kugel@rockbox/developer/kugel)
08:00
08:21:30 Join wodz [0] (~wodz@iwl138.internetdsl.tpnet.pl)
08:22:00 Join advcomp2019 [0] (~advcomp20@unaffiliated/advcomp2019)
08:23:27 Join ender` [0] (krneki@foo.eternallybored.org)
08:59:51 Join petur [0] (~petur@91.183.48.77)
08:59:51 Quit petur (Changing host)
08:59:51 Join petur [0] (~petur@rockbox/developer/petur)
09:00
09:05:04 Join ender [0] (krneki@foo.eternallybored.org)
09:05:09 Quit ender` (Ping timeout: 240 seconds)
09:14:16 Join ender` [0] (krneki@foo.eternallybored.org)
09:16:47 Quit ender (Ping timeout: 250 seconds)
09:26:19 Quit Rower (Read error: Connection reset by peer)
09:31:49***Saving seen data "./dancer.seen"
09:40:11 Join BriggsE [0] (~holoirc@host-188-74-220-24.midco.net)
09:43:11 Part BriggsE
10:00
10:11:39 Join xorly [0] (~xorly@57.249.broadband3.iol.cz)
10:19:25 Join einhirn [0] (~Miranda@bsod.rz.tu-clausthal.de)
10:28:35 Quit Moarc (Ping timeout: 255 seconds)
10:31:42 Join Moarc [0] (~chujko@a105.net128.okay.pl)
10:32:44 Quit Cinos (Ping timeout: 250 seconds)
10:34:44 Join Cinos [0] (~Cinos@a.kittyboy.named.cinos.pw)
10:52:46 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
11:00
11:27:46 Quit xorly (Ping timeout: 264 seconds)
11:31:53***Saving seen data "./dancer.seen"
11:48:00wodzHa! The crash on lollipop comes from _battery_level().
11:52:37wodzI mean the startup crash
11:52:41wodz[Saint]: ^
12:00
12:14:48 Quit orly_owl (Quit: leaving)
12:20:11 Quit [Saint] (Ping timeout: 255 seconds)
12:20:11 Quit petur (Read error: Connection reset by peer)
12:20:30 Join orly_owl [0] (~david@unaffiliated/orly-owl/x-3167833)
12:20:43 Join petur [0] (~petur@rockbox/developer/petur)
12:26:02 Join krabador [0] (~krabador@unaffiliated/krabador)
12:49:18 Quit krabador (Quit: Take The Time)
13:00
13:11:40wodzkugel: ping
13:15:48kugelwodz: pong
13:17:34wodzkugel: It seems that startup crash on lollipop is in _battery_level() and more precisely in new_battery_monitor(void). Creating BatteryMonitor_instance crashes. And yes I tried to promote local ref to global.
13:18:20 Join prof_wolfff [0] (~prof_wolf@89.141.51.203.dyn.user.ono.com)
13:20:09kugelwodz: perhaps JNIEnv pointer is handled incorrectly
13:20:53wodzwhat you mean?
13:20:57kugelI know it must not be shared between threads (e.g. it's a per-thread variable) but IIRC all of rockbox native code is contained within a single thread (except PCM callback)
13:22:09kugelwithin a single host (pthread) thread, we still do our own threading internally
13:22:48wodzkugel: The construction fails. Even If I construct only local object and do not reference it anywhere so I doubt this is env problem
13:22:57kugeldid you global ref'd RockboxService_instance too?
13:23:05wodzkugel: yes
13:24:02kugelthe actual constructor is implemented in java
13:24:17wodzkugel: what is the meaning of this "(Landroid/content/Context;)V" in obtaining constructor id?
13:24:43kugelit's the jni way of specificing function signatures
13:25:10kugelit goes like "(param1;param2;param3;)return"
13:25:55kugelfor non-trivial types (like V for void or I for int) you have to specify the fully-qualified class name prefixed by L
13:26:17wodzI have no idea then why this is failing
13:27:17kugeldoes it enter the java code? could find out by inserting a Logger.e("xxx")
13:27:48kugelif not, then either of the JNIEnv or RockboxService_instance is invalid
13:27:52wodzyou mean to add this in BatteryMonitor constructor?
13:28:03kugelyea
13:28:08wodzlets try
13:28:10kugelon the java side
13:28:14wodzyep
13:30:35wodzekhm. Logger.e() is no longer valid
13:31:38kugelwhy?
13:31:57***Saving seen data "./dancer.seen"
13:45:50wodzkugel: ok, worked it out (sort of). I can't see the log info in logcat BUT I see something interesting: JNI ERROR (app bug): local reference table overflow (max=512) and 10 last entries reported are of type java.lang.Class<org.rockbox.monitors.BatteryMonitor>
13:47:13kugelerr
13:48:37kugeli guess that means that new_battery_monitor() is called multiple times which should be impossible right?
13:49:17wodzaccording to the code at least
13:49:50kugeli'd think the local reference of type java.lang.Class<org.rockbox.monitors.BatteryMonitor> is created by the e->FindClass(env_ptr, "org/rockbox/monitors/BatteryMonitor"); line
13:51:45wodzso maybe we need to do explicit call DeleteLocalRef()
13:51:58kugellocal references are destroyed implicitely (garbage collected), but only when transition to to jave code
13:52:53kugelthe rockbox thread doesn't do that, therefore we must carefully allocate local references, e.g. with such one-time-call guards or by destroying them explicitely
13:53:11kugelit doesn't make sence to me that *this* reference is overflowing anything
13:53:40kugelwodz: no, it's needed by future _battery_level() calls
13:55:43wodzkugel: Where? class variable is referenced only in new_battery_monitor()
13:58:34kugeloh, that one, yes you're right
13:59:09kugelyou can try but it shouldn't matter much since new_battery_monitor() is supposed to be called only once
14:00
14:00:31kugelbut it should be correctly destroyed for completeness right
14:02:30kugelwodz: it looks like it's possible that the object fails and BatteryMonitory_instance remains NULL. then the function would be called repeatedly
14:03:07kugelbut I would expect a) to see that failure in logcat, and b) GetIntField() in _battery_level() to crash badly
14:03:22wodzyes
14:03:50kugelif NewObject() really retuns NULL then we must also cleanup the exception state, since constructors can only fail due to exceptions
14:04:31wodzdo we have panicf() available?
14:04:31kugelnot sure why it would fail, though, the java side looks trivial and I don't think it uses an API incorrectly
14:04:41 Join utrack [0] (~utrack@185.6.236.84)
14:04:43kugelyes
14:05:06wodzok, so I can check if NewObject failed or not easily
14:05:07 Quit utrack (Read error: Connection reset by peer)
14:06:12 Join utrack [0] (~utrack@185.6.236.84)
14:06:35 Quit utrack (Read error: Connection reset by peer)
14:07:31 Join utrack [0] (~utrack@185.6.236.84)
14:07:52 Quit utrack (Client Quit)
14:21:45 Quit Cust0sLim3n (Ping timeout: 240 seconds)
14:30:35 Join scottj [0] (~scott@unaffiliated/scottj)
14:31:56 Join Cust0sLim3n [0] (~CustosLim@unaffiliated/cust0slim3n)
14:36:31 Quit K1773R (Ping timeout: 246 seconds)
14:43:48 Join K1773R [0] (~K1773R@unaffiliated/k1773r)
14:59:59 Join chrisb [0] (~chrisb@li482-205.members.linode.com)
15:00
15:00:13 Join utrack [0] (~utrack@185.6.236.84)
15:00:56 Quit utrack (Read error: Connection reset by peer)
15:01:35 Join utrack [0] (~utrack@185.6.236.84)
15:02:23 Quit utrack (Read error: Connection reset by peer)
15:02:54 Join utrack [0] (~utrack@185.6.236.84)
15:03:48 Quit utrack (Read error: Connection reset by peer)
15:04:21 Join utrack [0] (~utrack@185.6.236.84)
15:05:26 Quit utrack (Read error: Connection reset by peer)
15:06:46 Join utrack [0] (~utrack@185.6.236.84)
15:06:54 Quit utrack (Read error: Connection reset by peer)
15:07:40 Join utrack [0] (~utrack@185.6.236.84)
15:08:15 Quit utrack (Read error: Connection reset by peer)
15:08:59 Join utrack [0] (~utrack@185.6.236.84)
15:09:06 Quit shamus (Read error: Connection reset by peer)
15:09:37 Join shamus [0] (~shmaus@ip-206-192-194-12.marylandheights.ip.cablemo.net)
15:09:59 Quit utrack (Read error: Connection reset by peer)
15:11:19 Join utrack [0] (~utrack@185.6.236.84)
15:11:27 Quit utrack (Read error: Connection reset by peer)
15:12:17 Join utrack [0] (~utrack@185.6.236.84)
15:12:55 Quit utrack (Read error: Connection reset by peer)
15:13:42 Join utrack [0] (~utrack@185.6.236.84)
15:14:21 Quit utrack (Client Quit)
15:29:30wodzkugel: What about env_ptr? It is assigned from Java_org_rockbox_RockboxService_main(). Also shouldn't we explicitly call DeleteGlobalRef() on RockboxService_instance and RockboxService_class?
15:30:20kugelwhat's with env_ptr?
15:30:38wodzkugel: Is it always valid?
15:30:58kugelas I said earlier, it's valid per-thread
15:31:26kugeldid you check if NewObject() fails?
15:31:58***Saving seen data "./dancer.seen"
15:33:27wodzkugel: yes but I have no conclusive answer. panicf() is not reached and app crashes BUT I can place panicf() anywhere in new_battery_monitor() and this doesn't change the behavior
15:34:37kugelyou can also use __android_log_printf() directly if you're unsure if panicf() is workign correctly
15:35:00kugelwe use it to implement debugf
15:35:07wodzkugel: Wher does it output?
15:35:11kugellogcat
15:35:17wodzok, lets try
15:36:00kugelyou need to pass the log-level and the application tag, the rest is like printf. see debug-android.c
15:36:38 Quit Cust0sLim3n (Ping timeout: 260 seconds)
15:37:33wodzDo I need to have debug build for this?
15:37:47kugelno
15:38:14wodzundefined reference to `__android_log_printf'
15:39:15Ivoahwhat's the link to git clone the rockbox sourcecode?
15:40:13wodzhttp://www.rockbox.org/wiki/UsingGit
15:40:25Ivoahthanks wods
15:40:29Ivoah*wodz
15:44:15 Nick munch` is now known as munch (~munch@2601:98a:302:955d:126f:3fff:fed7:41)
15:44:16 Quit munch (Changing host)
15:44:16 Join munch [0] (~munch@unaffiliated/munch)
15:49:12 Quit chrisb (Ping timeout: 252 seconds)
15:55:46kugelwodz: soory, just __android_log_print
15:56:24 Join YuMiki [0] (~Mikki@ipservice-092-208-080-154.092.208.pools.vodafone-ip.de)
16:00
16:00:10 Quit yosafbridge (Ping timeout: 240 seconds)
16:05:42 Quit wodz (Quit: Leaving)
16:10:53 Join yosafbridge [0] (~yosafbrid@105.ip-167-114-152.net)
16:12:49 Join TheLemonMan [0] (~lemonboy@unaffiliated/thelemonman)
16:21:30 Join Strife89 [0] (~Strife89@adsl-98-80-207-38.mcn.bellsouth.net)
16:31:22 Quit YuMiki (Quit: YuMiki)
16:41:14 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.")
16:48:50 Quit ParkerR (Remote host closed the connection)
16:52:16 Join ParkerR [0] (~ParkerR@unaffiliated/parkerr)
16:54:35 Quit einhirn (Read error: Connection reset by peer)
16:57:06 Join einhirn [0] (~Miranda@bsod.rz.tu-clausthal.de)
17:00
17:01:45 Quit orly_owl (Ping timeout: 240 seconds)
17:01:56 Quit JdGordon (Ping timeout: 246 seconds)
17:08:51 Join orly_owl [0] (~david@unaffiliated/orly-owl/x-3167833)
17:09:09 Join JdGordon [0] (~jonno@ppp118-209-194-84.lns20.mel8.internode.on.net)
17:09:09 Quit JdGordon (Changing host)
17:09:09 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
17:13:45 Quit JdGordon (Ping timeout: 240 seconds)
17:21:06 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
17:28:11 Quit petur (Read error: Connection reset by peer)
17:29:16 Join rela [0] (~x@pdpc/supporter/active/rela)
17:32:02***Saving seen data "./dancer.seen"
17:38:25 Quit orly_owl (Ping timeout: 260 seconds)
17:42:09 Quit Strife89 (Ping timeout: 260 seconds)
17:55:03 Join Bray90820 [0] (~Bray90820@173-20-148-89.client.mchsi.com)
17:55:03 Join orly_owl [0] (~david@unaffiliated/orly-owl/x-3167833)
17:55:35 Quit Bray9082_ (Ping timeout: 264 seconds)
17:59:18 Quit pamaury (Remote host closed the connection)
17:59:32 Join chrisb [0] (~chrisb@li482-205.members.linode.com)
18:00
18:10:52 Join [Franklin] [0] (~franklin@unaffiliated/franklin)
18:38:20 Join xorly [0] (~xorly@57.249.broadband3.iol.cz)
18:45:38 Join cmhobbs [0] (~cmhobbs@ip98-186-66-92.fv.ks.cox.net)
18:45:38 Quit cmhobbs (Changing host)
18:45:38 Join cmhobbs [0] (~cmhobbs@fsf/member/cmhobbs)
18:48:55 Join MMlosh [0] (~MMlosh@2001:470:6f:23:6485:b2fa:92ba:1acc)
18:55:43 Nick suYin`OFF is now known as suYin (suYin@server1.bouncer4you.de)
18:59:15 Quit chrisb (Ping timeout: 268 seconds)
19:00
19:10:35 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
19:32:04***Saving seen data "./dancer.seen"
19:46:41 Join ZincAlloy [0] (~Adium@ppp-88-217-122-7.dynamic.mnet-online.de)
19:50:13 Join lebellium [0] (~chatzilla@89-93-179-187.hfc.dyn.abo.bbox.fr)
19:52:18 Join YuMiki [0] (~Mikki@ipservice-092-208-080-154.092.208.pools.vodafone-ip.de)
20:00
20:08:15 Quit ZincAlloy (Quit: Leaving.)
20:12:27 Join chrisb [0] (~chrisb@li482-205.members.linode.com)
20:13:04 Join bertrik [0] (~quassel@rockbox/developer/bertrik)
20:20:44 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
20:23:11 Quit ender` (Ping timeout: 246 seconds)
20:23:22 Quit ender| (Ping timeout: 250 seconds)
20:25:30 Join ender` [0] (krneki@foo.eternallybored.org)
20:29:01 Join ender| [0] (krneki@2a01:260:4094:1:42:42:42:42)
20:29:17 Nick yuriks_ is now known as yuriks (~quassel@opentyrian/developer/yuriks)
20:32:41 Join TheLemonMan [0] (~lemonboy@unaffiliated/thelemonman)
20:35:27 Join krabador [0] (~krabador@unaffiliated/krabador)
20:39:18 Quit pamaury (Ping timeout: 244 seconds)
20:39:25 Join einhirn [0] (~Miranda@p4FC112E6.dip0.t-ipconnect.de)
20:53:44 Join fs-bluebot [0] (~fs-bluebo@x5ce245c4.dyn.telefonica.de)
20:55:23 Quit bluebrother^ (Ping timeout: 246 seconds)
20:55:49 Quit fs-bluebot_ (Ping timeout: 244 seconds)
20:57:26 Join bluebrother [0] (~dom@rockbox/developer/bluebrother)
21:00
21:21:20 Quit [Franklin] (Quit: Lost terminal)
21:23:13 Join Cust0sLim3n [0] (~CustosLim@unaffiliated/cust0slim3n)
21:24:44 Quit lebellium (Ping timeout: 240 seconds)
21:32:08***Saving seen data "./dancer.seen"
21:37:38 Join lebellium [0] (~chatzilla@89-93-179-187.hfc.dyn.abo.bbox.fr)
22:00
22:01:00 Join petur [0] (~petur@rockbox/developer/petur)
22:01:20 Quit MMlosh (Quit: Bye...)
22:04:18 Quit YuMiki (Quit: YuMiki)
22:09:15 Join ZincAlloy [0] (~Adium@ppp-88-217-122-7.dynamic.mnet-online.de)
22:09:22 Quit krabador (Quit: Take The Time)
22:21:24 Quit chrisb (Ping timeout: 240 seconds)
22:22:11 Join [Franklin] [0] (~franklin@unaffiliated/franklin)
22:26:49[Franklin]Ivoah: porting pacbox?
22:29:45 Quit ZincAlloy (Quit: Leaving.)
22:33:34 Join ZincAlloy [0] (~Adium@ppp-88-217-122-7.dynamic.mnet-online.de)
22:36:03 Quit ZincAlloy (Client Quit)
22:50:16 Join ZincAlloy [0] (~Adium@ppp-88-217-122-7.dynamic.mnet-online.de)
23:00
23:01:37 Quit ZincAlloy (Quit: Leaving.)
23:32:11***Saving seen data "./dancer.seen"
23:37:10 Quit petur (Quit: Leaving)
23:38:36 Quit lebellium (Quit: ChatZilla 0.9.92 [Firefox 41.0/20150903133607])
23:45:15 Join JanC_ [0] (~janc@lugwv/member/JanC)
23:46:53 Quit JanC (Ping timeout: 248 seconds)
23:47:04 Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC)
23:48:55 Join ZincAlloy [0] (~Adium@ppp-88-217-122-7.dynamic.mnet-online.de)
23:56:39 Join pablo_pi [0] (~pablo@190.148.2.174)

Previous day | Next day