libera/#maemo-leste/ Saturday, 2024-06-08

freemangordondsc_: [D] [::0] IPC received ""11:15
freemangordonthat's all I get in the log when I click on conversations11:16
freemangordonit opens an empty window which disappears few seconds later11:16
freemangordondsc_: https://github.com/maemo-leste/conversations/blob/master/src/conversations.cpp#L12911:25
freemangordonwho shall send "makeActive"?11:25
freemangordonok   Utils::IPCSend(ipc_sock, "makeActive");11:26
freemangordonthat does not seem to get delivered11:27
freemangordondsc_: I think your intend was to wait 2 secinds, not 2 ms https://github.com/maemo-leste/conversations/blob/master/src/lib/ipc.cpp#L5611:39
freemangordon*seconds11:39
freemangordonand intent :)11:39
freemangordondo you want me to fix that?11:46
dsc_freemangordon: whoops, yes you can fix, or I will later15:11
dsc_2ms is a bit unreasonable :x15:25
dsc_yesterday I made chat clearing and complete removal (from the overview)15:33
dsc_did not generate a new build yet15:33
Wizzupso the clear chat should be from the chat window itself16:23
WizzupI think16:23
dsc_Wizzup: yes, its per chat16:59
freemangordondsc_: ok, will fix it in a bit17:06
freemangordondsc_: https://github.com/maemo-leste/conversations/commit/4dd6c5218a97f34af3e9977b942bdcbb52133e5e17:47
dsc_freemangordon: nice, thanks17:49
freemangordonI think ^^^ is what Wizzup reported as "black screen"17:50
freemangordondsc_: new build perhaps, or?17:52
freemangordonoh, there is one more issue I am aware of - if you set a group chat for auto-join, accounts status is ignored17:52
freemangordonlike, this option forces account to be online, no matter current setting in status menu17:53
dsc_freemangordon: I'd like to wait a bit for a new build and be sure Wizzup at least has a rtcom db backup before trying a new build18:09
freemangordonok18:10
dsc_I believe chat clear/removal works but in the case it does not...18:10
freemangordonyeah18:10
dsc_< freemangordon> like, this option forces account to be online, no matter current setting in status menu <== ill look18:10
freemangordonthen perhaps look at the ^^^ issue :)18:10
freemangordoncool18:10
freemangordonso, I think the correct bahaviour would be to auto-join when account goes online18:11
freemangordon*behaviour18:11
dsc_right18:13
freemangordonon startup, you should check if account is online18:14
freemangordonttyl18:14
dsc_cool18:14
Wizzupfreemangordon: so I don't seem to get SMSes anymore unless I make or get a phone call19:34
Wizzupthen they all flush in19:34
Wizzup1/win 8321:39
Wizzupoops21:39
freemangordonWizzup: did you try to bisect?22:16
freemangordonthere is another issue as well,  I got a group of messages from FB several times, but this time we have traces :)22:17
Wizzupfreemangordon: bisect what?22:30
Wizzupfreemangordon: this is not conversations, this is ofono/kernel22:30
freemangordonSMS issue22:30
freemangordonah22:30
freemangordonwell, my issue is conversations22:30
freemangordonseems it crashes before acking messages22:30
freemangordonWizzup: hmm, any clue how to set core limit with alogind?22:42
freemangordon*elogind22:42
Wizzupno, sorry22:44
freemangordonbecause I have both hard and soft limits set to unlimited22:44
freemangordonand yet conversartions (for example) soft limit in /proc is 022:44
Wizzupwhat does ulimit in that session say22:45
freemangordonhow to check?22:45
Wizzuptype ulimit22:46
Wizzupbtw, can you let me know what I need to gather to be able to help (you or someone else) debug this not getting sms receive issues22:47
freemangordonmaybe enable mmodem kernel logs22:47
freemangordon*modem22:47
freemangordonand ofono traces22:48
Wizzupso n_gsm 0xff ?22:48
freemangordonmhm22:48
Wizzupofono traces, how?22:48
freemangordonexport OFONO_QMI_DEBUG=122:48
freemangordonexport OFONO_AT_DEBUG=122:48
Wizzupok22:48
Wizzupit is probably another of these modem kicks somehow22:48
freemangordonin /etc/init.d/ofono22:48
freemangordon/etc/default/ofono  shoudl contain DAEMON_OPTS=-d22:49
freemangordonWizzup: ulimit says unlimited22:50
Wizzupstrange, maybe qt does something with it, or does it just bring converations forward from backgrond?22:50
Wizzupfreemangordon: so maybe this should all be set in /etc/default/ofono ?22:50
WizzupI already had the daemon ops and AT debug set there22:51
Wizzupbut not the QMI one22:51
Wizzupheh ofonod.log is 1.1G :)22:51
freemangordonno, export does not work from default22:51
freemangordonrm it and restart ofono22:51
Wizzupwhat if you don't use export but just set it without export?22:52
freemangordondoes not work22:52
Wizzupare you sure? I think it goes22:52
Wizzup# ps xua   | grep ofono22:53
Wizzuproot     29332 17.0  0.3   5524  3484 ?        Ss   22:52   0:00 /usr/sbin/ofonod -d *,*/*,*/*/*22:53
WizzupDAEMON_OPTS="-d "*,*/*,*/*/*""22:53
freemangordonok, if you say so22:53
WizzupI have that in /etc/default/ofono22:53
freemangordonok22:53
freemangordonyou need OFONO_QMI_DEBUG=1 somewhere22:53
Wizzupbut this is explicitly loaded, so maybe you are right22:53
Wizzupin any case :)22:53
freemangordonyeah, 100% working is if you export those 2 in in it script22:54
Wizzupmaybe I also need to disable the SCRN setting22:56
freemangordonno idea22:56
WizzupI am trying to remember how I figured we can kick modem :)22:57
Wizzup(by accident)22:57
Wizzupit was touch or head -c 0 on /dev/ttyUSB4 but this does nothing23:00
Wizzupinteresting, I don't think I even see the incoming SMS messages in dmesg23:01
freemangordonif modem sleeps, well, no wonder23:01
WizzupI don't think this is the case23:02
Wizzupso what I am seeing is that I can sen dmy leste device a sms (or say bank can) but nothing happens in dmesg23:02
Wizzupuntil it gets called (say by myself), then sms comes immediately23:02
Wizzupbut this sms that comes immediately I didn't even see in dmesg I think23:02
siceloofonod -nd23:03
freemangordonyeah, you can run ofono as roo too23:03
freemangordon*root23:03
Wizzupwell I am running ofono with debug messages now afaik23:04
freemangordonWizzup: in osso-xterm I see core limit 023:04
Wizzupfreemangordon: so23:04
Wizzupulimit is only for new sessions23:04
Wizzupif you say set it in /etc/security/limits.conf23:04
Wizzupso you need to either reboot or do 'su'23:04
freemangordonit is set to 0 already there23:04
Wizzupis 0 unlimited?23:04
freemangordonan year or so ago23:04
freemangordonno, it is set to unlimited23:05
freemangordon./limits.d/core.conf:*  soft  core  unlimited23:05
freemangordonbut this is ignored for login session it seems23:06
Wizzupsorry, I don't know what craziness elogind does23:06
freemangordonyeah, going to get elognd source23:07
Wizzupare you sure this is elogind problem?23:07
Wizzuplike, what are you trying to do?23:07
freemangordonget coredump for conversations23:07
freemangordonand yes, looks like elogind issue23:08
Wizzupok, so that you do not have to attach with gdb>?23:08
Wizzup(before it happens)23:08
Wizzupor rather, shouldn't there be something to register the coredumps, or do you want the fallback?23:08
freemangordonthat's what I am trying to find - how to enable coredumps23:09
freemangordonI don;t want gdb attached in osso-xterm23:09
Wizzupcoredumpctl is what google gives23:09
Wizzupbut this is not a command we have23:10
Wizzupprobably you need another systemd thing :)23:10
Wizzupgdb can attach to pid23:10
Wizzupfwiw23:10
Wizzuphaha yes, systemd-coredump it is called23:10
WizzupI wonder if minicoredumper and/or minicoredumper-utils are useful23:11
freemangordonand we don't have systemd-coredump23:12
Wizzupit probably needs you to run systemd ;)23:13
freemangordonBTW, lately I had to play with systemd on RHEL23:13
freemangordonand honestly, it is not bad at all23:13
Wizzuptried to grep syslogs yet?23:13
freemangordonwhat for?23:13
Wizzupto... search syslogs23:14
freemangordonah, journalctl23:14
freemangordonno23:14
freemangordonwell, there are some crazy things23:14
freemangordonlike, being unable to add user to a group without having to reboot so services to know about that change23:14
freemangordonbut there are some really nice things23:15
freemangordonlike socket activation and whatnot23:15
Wizzupyeah openrc does this too (socket activation)23:15
freemangordonreally?23:15
freemangordonthat's cool23:15
Wizzupit was like 100 loc or something iirc23:15
freemangordonso, in elogind I see   config_parse_rlimit() commented out23:16
freemangordonasked on #devuan, lets see23:16
Wizzupbtw, did you look at minicoredumper?23:16
freemangordonno23:16
freemangordonlemme install it23:16
freemangordonhmm, does not look like what we need23:17
Wizzuphttps://www.linutronix.de/minicoredumper/man/man1/minicoredumper.1.html ?23:19
freemangordonyes, but you should have core dumps enabled23:20
Wizzupok, I see, I think am slowly starting to understand23:20
Wizzupyou can't make them enabled system wide, the core dumps23:20
freemangordonmhm23:21
freemangordonI'll try with profile.d23:22
freemangordonyeah, that changed it at least in osso-xterm23:23
freemangordonok, I set some sane core_pattern23:27
freemangordonlets see what will happen after reboot23:27
freemangordonok, conversations core file size is still 023:31
freemangordonwhat the?23:31
freemangordonWizzup: ok, using prlimit23:40
freemangordonwill capture at least first coredump23:40
Wizzup:)23:47
freemangordonand we have it23:48
freemangordonhttps://pastebin.com/crL02rzV23:49

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