poetaster | piggz, just did a logcat, GS5, camera: https://paste.opensuse.org/86627655 | 08:23 |
---|---|---|
piggz | poetaster: about to reflash gs5 with a new style image | 08:36 |
poetaster | cool. so far it's really snappy :) if it's stylish, that's good, too! | 08:39 |
T42 | <AntonlX> @mal Hi, you shared init.cpp patch a few mount ago. It fixes crash after droid init. | 10:18 |
T42 | <AntonlX> https://drive.google.com/file/d/1iN0yayWeGZ_jjzSd0CabanvyERFCpI9I/view?usp=sharing | 10:25 |
T42 | <AntonlX> This is strace -f /sbin/droid-hal-init .out I uploaded it to gdrive because it's too big for pastebin. | 10:26 |
piggz | rinigus: ping | 11:51 |
*** amccarthy is now known as Guest3314 | 14:38 | |
*** amccarthy_ is now known as amccarthy | 14:38 | |
rinigus | piggz: pong. For flooded with requests at OBS.. looks like some issue | 15:44 |
piggz | oh i havnt seen any... | 15:45 |
piggz | rinigus: anyway, my question was this.... odd problem with community encryotion wizard.... | 15:46 |
piggz | on first run, when config.ini doesnt exist, its all fine | 15:46 |
rinigus | Check spam | 15:46 |
piggz | on second run, it crashes immedietely with an invalid pointer error | 15:47 |
rinigus | Ok, sounds strange. That I haven't seen | 15:48 |
piggz | rinigus: nothing in spam, and obs doesnt list any tasks, did you clear all? | 15:48 |
rinigus | piggz: no, I just got emails. Haven't checked at OBS yet | 15:49 |
piggz | it looks fine to me, no tasks awaiting | 15:50 |
piggz | last email i has was 13th | 15:50 |
rinigus | piggz: sorry, wrong call - that's from SuSe OBS :) . and looks legit | 15:51 |
rinigus | back to your issue. | 15:52 |
rinigus | could it be something with the underlying libs? does INI look fine? | 15:52 |
piggz | yeah, ini looks fine | 15:53 |
piggz | if i couldnt make fingerterm, and the app load ok with the config missing, id have said it was an early port hwcompser issue, but if i delete config.ini it loads up ok | 15:54 |
piggz | i can strace and gdb, but nothing looked useful | 15:54 |
rinigus | piggz: but which app is crashing specifically? | 15:55 |
piggz | sailfish-device-encruption-community-wizard | 15:55 |
piggz | i guess i could build a modified version of it | 15:56 |
rinigus | hmm, is it even supposed to start with ini configured? or is it the one asking for password? | 15:56 |
piggz | isnt it the same, just depending on mode it starts dfferently? maybe not ... maybe the wrong thing is starting | 15:57 |
rinigus | even is starting, but should stop immediately. see https://github.com/sailfishos-open/sailfish-device-encryption-community-wizard/blob/main/src/main.cpp#L26 | 15:57 |
piggz | hmm, ok, so the ask-password isnt showing | 15:58 |
piggz | hmm, if its supposed to exit, it wouldnt init hwcomposer though? | 15:59 |
rinigus | piggz: but you get a crash on which one? or it is your guess... | 15:59 |
rinigus | ... logging into dev phone to check logs | 16:00 |
piggz | well, i thought the wizard closing was the issue, but maybe not.. | 16:00 |
piggz | rinigus: ok, maybe this is the real error | 16:03 |
piggz | systemd-ask-password-gui.path: Job systemd-ask-password-gui.path/start failed with result 'dependency'. | 16:03 |
rinigus | piggz: looks like it | 16:03 |
piggz | rinigus: though, i think the dependency chain fails becuses of | 16:04 |
piggz | sailfish-device-encryption-community-wizard.service: Control process exited, code=killed status=6 | 16:04 |
rinigus | that could be. so, then maybe hwcomposer is involved... | 16:05 |
rinigus | piggz: for me, on regular boot, wizards starts and exits immediately. status=0 | 16:12 |
rinigus | as a pre scripts, hwcomoser is taken down and added again | 16:13 |
mal | piggz: are the usual hwcomposer restarts not enough on that device? | 16:18 |
mal | also have you checked it tries to restart the correct service in those systemd service conf files | 16:19 |
piggz | mal: im not sure thats the issue, when i run the program with no config, it loads just fine | 16:22 |
mal | hmm | 16:23 |
mal | piggz: what exactly is the issue you are trying to fix? | 16:24 |
piggz | the password gui isnt showd | 16:24 |
piggz | i think its something else, but that crash wasnt helping, and still odd | 16:25 |
mal | piggz: do you mean decrypt UI of the display unlock UI? | 16:26 |
mal | *or | 16:26 |
piggz | the ask password ui from device-encryption-community | 16:27 |
rinigus | mal: is the community encryption version | 16:27 |
mal | so something like this https://github.com/mer-hybris/droid-config-sony-lena/blob/master/sparse/usr/lib/systemd/system/sailfish-unlock-agent.service.d/50-vendor-hwcomposer.conf but for the name of your service doesn't help? | 16:28 |
rinigus | piggz: you can try to modify systemd service file for wizard to ignore that error | 16:28 |
piggz | right, i got in... | 16:28 |
piggz | moved this file out.. ./system/late-mount-pre.target.requires/sailfish-device-encryption-community-wizard.service | 16:29 |
piggz | that was blocking late-mount-pre, and nothing good came from that! | 16:29 |
mal | ah | 16:30 |
piggz | now to figre out why! | 16:30 |
mal | some dependency mess then | 16:30 |
rinigus | Dependency would work out fine if wizard would start and close as expected. But maybe it should be relaxed on that starting ... | 16:35 |
piggz | rinigus: adding a - to the EecStartPre seems to have "fixed" everything... | 16:38 |
rinigus | Yeah :) ... To next time | 16:40 |
rinigus | Till next time | 16:40 |
piggz | well, it did the first run encryption, then asked fr the password ok on reboot | 16:41 |
piggz | - just ignores the return code right? | 16:42 |
rinigus | Yes, should be all it does | 16:46 |
mal | why does it return incorrect value? | 17:45 |
rinigus | mal: it seems to be crashing for piggz at some obscure place | 18:21 |
mal | hmm | 18:31 |
mal | any backtrace? | 18:31 |
T42 | <AntonlX> Can anyone help with this issue on hybris-11? (re @AntonlX: @mal Hi, you shared ...) | 18:35 |
T42 | <elros34> hybris-11 or 18? | 18:36 |
piggz | mal: rinigus: not much use... https://paste.mozilla.org/envBUbyt | 19:26 |
piggz | i installed debug info for libsfosdeviceenc and the wizard | 19:30 |
T42 | <elros34> have you tried: 'thread apply all bt'? | 19:34 |
piggz | yup | 19:39 |
T42 | <AntonlX> lineage os 18, Android 11 (re @elros34: hybris-11 or 18?) | 20:33 |
T42 | <elros34> so hybris-18. Show full journal/dmesg. strace is too verbose to ready it before seeing usual logs | 20:34 |
T42 | <AntonlX> . (re @elros34: you can't, it can be...) | 21:04 |
T42 | <AntonlX> I am in the same situation. Same device configs and version, but without this patch droid hal not working. (re @elros34: so hybris-18. Show f...) | 21:06 |
piggz | rinigus: still awake? | 21:06 |
T42 | <elros34> @AntonlX I do not remember anymore what was the issue so show journal or even droid-hal-init log but not strace. I will not be able to read 3MB file until next year | 21:08 |
mal | @AntonlX so are missing the patch or what? not sure which patch it was but there is probably a better patch by @elros34 if it's what I think you mean | 21:12 |
*** amccarthy is now known as Guest3334 | 21:13 | |
*** amccarthy_ is now known as amccarthy | 21:13 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!