libera/#maemo-leste/ Wednesday, 2024-01-10

Wizzupfreemangordon: building conversations now01:57
Wizzupsorry for the delay01:57
arno11hi guys, is it normal that Leste is generating a core dump file (xorg), even if coredumps is not enabled ? i've never noticed it before, but i doublechecked on a 'few months old install' and the core dump file was already there (generated on every shutdown)11:43
gnarfacestick around, someone probably knows the answer to that but they're all asleep right now11:44
WizzupI as asleep recently but it's already 11:46 here11:45
arno11lol11:46
arno11https://pastebin.com/XjUWDPU611:54
arno11if i enable coredumps, it generates a similar file (on shutdown) but nothing during boot11:59
arno11so ATM i have nothing relevant for h-s-m stuff12:00
arno11freemangordon: ^^^12:01
Wizzupuvos: I will look at using clang-format for the sphone voicecallmgr pr12:54
Wizzupif it's customizable enough at least12:55
WizzupI don't think we have something else for C++, right?12:55
Wizzup(cc freemangordon)12:55
freemangordonarno11: how do you poweroff?16:12
freemangordonWizzup: sorry, what is the question?16:12
Wizzupoh, uvos wanted me to format my C++ code that interfaces with voicecallmanager in a certain way16:13
Wizzupand indent can't do that16:13
Wizzup(only C)16:13
Wizzupfreemangordon: btw I just managed (with some hacks) to get this telegram protocol to work in telepathy-haze using telegram-tdlib (purple)16:13
Wizzupbut there is a dialog for a 2fa code that empathy nor anything else currently handles (could be a tp-haze thing)16:14
Wizzupso I just rsync'd the pidgin account to /var/tmp/...haze.../ and it worked on reconnect16:14
freemangordonyou mean tp-haze does not have support?16:14
WizzupI don't know if it is haze or empathy16:14
freemangordonah16:14
WizzupI only just got it to work16:14
freemangordonok16:14
Wizzupbut pidgin shows a dialog at least16:14
freemangordonWizzup: btw, conversations continue to miss messages16:16
freemangordonalso, there is no notification here at all16:16
freemangordondidn't try latest though16:16
arno11freemangordon: using power off BTN /switch off16:20
freemangordonhmm, ok16:20
Wizzupfreemangordon: yes we need to deal with invalidated channel still16:21
freemangordonhopw to verify how it stops logind session16:21
freemangordon*have16:21
freemangordonarno11: this could be the reason for the slow shutdown16:21
arno11yes indeed16:22
* freemangordon checks16:22
freemangordonugh https://github.com/maemo-leste/dsme/blob/master/modules/runlevel.c#L8516:43
arno11bbl16:58
freemangordonarno11: I owe you a beer or whatever your favourite drink is :)17:10
Wizzupyou figured it out?17:12
freemangordonyes, but not that one :)17:13
freemangordonWizzup: this https://github.com/maemo-leste/dsme/commit/ddd8748add64f79cc4034810b42624ece5ca083917:13
freemangordonI expect this to reduce shutdown time to few seconds17:14
Wizzuplet's see :)17:14
freemangordonmhm17:14
freemangordonVM powers-off in 5 seconds17:14
uvosWizzup: i use astyle for c++ indent17:18
uvosi dont have one for sphone handy17:18
freemangordonWizzup: ugh. what is with dsme versions/tags?17:18
uvosbut this is what i use for internal stuff astyle --style=allman --indent=tab --max-code-length=12017:18
uvos(obv this isent sutable for sphone)17:19
freemangordonoh, stupid me17:19
uvosadding suspend to the the power menu should be pretty tivial, i do that some time17:21
uvoshelps things that cant do good dynamic pm like the pp/ppp/x86 tablets17:21
Wizzupuvos: if you have one you would like me to ues, please let me know17:22
uvosprobubly helps some on d4/n900 too if you dont need it to be connected since it stops all the userspace stuff that creates wakeups17:22
Wizzupoh you just shared it17:22
uvosno no17:22
uvosthats just an example i use for other stuff17:23
uvossphone is not allman style17:23
uvossec ill expirament17:23
Wizzupthanks17:23
uvosastyle --style=kr --indent=tab --max-code-length=120 looks fine to me17:27
Wizzupok, thanks17:28
freemangordonWizzup: d4 powerdown in 24 seconds17:37
freemangordonarno11: please upgrade dsme and see if you still get coredump from xorg17:42
freemangordonyou need to poweroff twice, so the new dsme to be active on the second poweroff17:42
freemangordonalso, check if poweroff with the new dsme is faster (it should be, but still)17:43
arno11freemangordon: it still generates a coredump on shutdown18:25
freemangordonhmm, not much of a difference :(18:25
freemangordonafter second as well?18:25
arno11already poweroff twice18:25
arno11and still low shutdown18:26
freemangordonyeah, it is slow18:26
freemangordonbut now we poweroff through loginctl18:26
arno11i checked the core and still same errors with gdb attached18:26
freemangordonso no abort should be there18:26
arno11ah let me check18:26
freemangordonok, I have to check how does xorg exepect top be stopped18:26
freemangordon*expects to be18:27
arno11ok18:27
arno11ah looking @irc logs, i didn't remember that i already tried to shutdown using loginctl from command line and apparently it was faster, need to check what's the result now18:32
arno11freemangordon: abort is still there18:35
arno11libc_do_syscall18:36
arno11freemangordon: wtf after maybe 6 reboots, the coredump disappeared/no more generated18:52
arno11it is still there finally lol18:53
freemangordonhmm, maybe we shall issue poweroff from the session?18:54
arno11i was connected through ssh to my son's raspberry...18:54
freemangordonumm... how's that related?18:55
freemangordonoh, you didn't reboot n900?18:55
arno11i rebooted n900 several times, i was talking about the missing core file18:56
freemangordonah18:57
freemangordonok18:57
arno11i was looking in the wrong device..18:57
arno11lol18:57
freemangordonwhere is coredump located?18:57
arno11in /home/user18:57
siceloi've also seen it ... but just never looked at it :p18:57
arno11the name is simply 'core'18:58
freemangordonok, I have it in the VM as well18:58
freemangordonlemme remove it and reboot18:58
arno11sicelo: me too, until i play with coredumps...18:58
freemangordonarno11: do you delete it before reboot?18:59
freemangordonyeah, it re-appears19:01
arno11nope but it shows new date/time corresponding with the moment i rebooted,using ls -l19:01
freemangordonright19:01
freemangordonanyway, now I can repro in the VM I will see what's going on19:01
arno11cool19:01
Wizzupfreemangordon: does haze keep state around, or just the vars from the account config?19:44
freemangordonit uses the vars from TP account config afaik20:10
Wizzupfreemangordon: ok, this is a problem for telegram at least20:25
Wizzuphttps://github.com/maemo-leste/bugtracker/issues/716#issue-2074743796 see the rsync hack20:36
WizzupI guess tp-haze just sets a temporary pidgin dir and does not save it20:37
freemangordonyes20:40
freemangordonyes, I saw the rsync hack20:40
freemangordonbut why is telegram writing out of account data? that seems like a hack20:40
Wizzupfreemangordon: there is no password21:07
Wizzupit uses state in pidgin21:07
Wizzupto keep track of what it has seen and whatnot\21:07
Wizzupwe will need this too for xmpp I think21:07
arno11Wizzup: btw does it mean you find a way to use telegram (tdlib) without the auth code through ios/andro app ?21:47
Wizzuparno11: to make an account I needed that22:06
Wizzupbut as I said, right now the keys used to reconnect are wiped by tp-haze :D22:06
arno11ah ok :)22:11

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!