T42 | <TheVancedGamer> mal: I just built latest tag (1.29+git8) of ofono on UT and it crashes with this while launching: | 06:05 |
---|---|---|
T42 | <TheVancedGamer> ``` | 06:05 |
T42 | <TheVancedGamer> | 06:05 |
T42 | <TheVancedGamer> (ofonod:9925): GLib-CRITICAL **: 10:59:16.396: g_once_init_leave: assertion 'result != 0' failed | 06:05 |
T42 | <TheVancedGamer> (ofonod:9925): GLib-GObject-CRITICAL **: 10:59:16.396: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed | 06:06 |
T42 | <TheVancedGamer> ofonod[9925]: Aborting (signal 11) [/usr/sbin/ofonod | 06:06 |
T42 | <TheVancedGamer> ``` | 06:06 |
T42 | <TheVancedGamer> | 06:06 |
T42 | <TheVancedGamer> At first I thought it was ofono-binder-plugin at fault, but I get the same error even with rilbinderplugin | 06:06 |
T42 | <TheVancedGamer> This didn't happen with 1.29+git7 though | 06:07 |
T42 | <k1gen> UT? as in Ubuntu Touch? | 06:11 |
T42 | <TheVancedGamer> yes | 06:12 |
*** amccarthy is now known as Guest2971 | 09:52 | |
*** amccarthy_ is now known as amccarthy | 09:52 | |
mal | @TheVancedGamer can you get a backtrace? | 10:31 |
mal | just to be sure, did you rebuild the plugin against the new version? | 10:33 |
T42 | <TheVancedGamer> mal: I took new version of libgbinder-radio, ofono-sailfish and ofono-binder-plugin and compiled plugin against new version of ofono | 11:21 |
T42 | <TheVancedGamer> and sadly there's no backtrace | 11:21 |
mal | verbose logs? | 11:23 |
T42 | <TheVancedGamer> yes | 11:23 |
T42 | <TheVancedGamer> it says | 11:23 |
T42 | <TheVancedGamer> ``` | 11:23 |
T42 | <TheVancedGamer> +++++++++++++++ | 11:23 |
T42 | <TheVancedGamer> +++backtrace+++ | 11:23 |
T42 | <TheVancedGamer> +++++++++++++++``` | 11:23 |
T42 | <TheVancedGamer> | 11:23 |
T42 | <TheVancedGamer> and that's it | 11:23 |
mal | I meant messages before the failure | 11:23 |
T42 | <TheVancedGamer> ah, that's the only logs I get before it crashes | 11:24 |
T42 | <TheVancedGamer> I do have verbose logging | 11:24 |
mal | hmm | 11:24 |
mal | that is very odd | 11:24 |
T42 | <TheVancedGamer> maybe i'm doing something wrong? | 11:24 |
mal | how do you run ofono? | 11:24 |
T42 | <TheVancedGamer> mal: `sudo /usr/sbin/ofonod -d -n` | 11:25 |
mal | is that how it's normally run in ubuntu touch? don't you have any of the plugin disabling/enabling parameters, normally provided in $OFONO_ARGS env var in the systemd service | 11:27 |
T42 | <TheVancedGamer> some plugins are disabled, but even when running with the proper command it crashes with the same messages | 11:28 |
mal | how does strace look? | 11:29 |
T42 | <TheVancedGamer> very lengthy if i'm honest | 11:31 |
T42 | <TheVancedGamer> nothing that catches the eye | 11:32 |
T42 | <TheVancedGamer> mal: what should I be looking for? | 11:34 |
mal | anything that happens before the crash | 11:38 |
T42 | <TheVancedGamer> hm, nothing then | 11:38 |
mal | I still find it odd that you get nothing in debug output | 11:39 |
T42 | <TheVancedGamer> sendto(5, "<31>Jun 13 16:31:20 ofonod[12257"..., 87, MSG_NOSIGNAL, NULL, 0) = 87 | 11:39 |
T42 | <TheVancedGamer> --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x20} --- | 11:39 |
T42 | <TheVancedGamer> and that's it | 11:40 |
T42 | <TheVancedGamer> seems it's trying to print backtrace in strace though, hmm | 11:40 |
T42 | <TheVancedGamer> aha, it does! | 11:41 |
T42 | <TheVancedGamer> mal: `ofonod[12567]: #0 0x7f9cde3600 in [gbinder-radio] Connected to android.hardware.radio.config@1.1::IRadioConfig/default() at config < [00000001] 4 getPhoneCapability` | 11:41 |
T42 | <TheVancedGamer> and that's the only line in backtrace | 11:41 |
T42 | <TheVancedGamer> is this maybe a regression in gbinder-radio? because I did build the latest version of that as well | 11:43 |
mal | hmm | 11:48 |
mal | do you use the other ofono related middleware on ubuntu touch, like gofono or qofono related packages? | 11:49 |
T42 | <TheVancedGamer> mal: no, it's just ofono-sailfish | 11:49 |
mal | still odd how debug output says nothing | 11:54 |
mal | can you show the whole strace | 11:56 |
T42 | <TheVancedGamer> sure | 11:56 |
mal | preferrably starce -Ff -s1024 | 11:56 |
mal | *strace | 11:56 |
T42 | <TheVancedGamer> oh | 11:56 |
T42 | <TheVancedGamer> let me rerun it | 11:56 |
mal | that makes it get everything and the second parameter increases the about of data so it won't cut prints etc so easily | 11:57 |
T42 | <TheVancedGamer> https://paste.myself5.de/kivivuruge.yaml | 11:57 |
T42 | <TheVancedGamer> oh and it complains -F is deprecated so it ignored it | 11:58 |
mal | yeah, I always forget that | 11:59 |
mal | it doesn't matter | 11:59 |
mal | btw, based on that strace it's supposed to print stuff but not sure why you don't see those | 12:00 |
T42 | <TheVancedGamer> yeah, it apparently redirects it to stderr | 12:00 |
T42 | <TheVancedGamer> that's how I got that one-line backtrace | 12:00 |
mal | or journal? | 12:01 |
mal | there should be stuff like Jun 13 16:57:02 ofonod[12922]: src/binder_cell_info.c:binder_cell_info_new() slot1 | 12:01 |
T42 | <TheVancedGamer> I didn't check that | 12:01 |
T42 | <TheVancedGamer> but I do have all logs | 12:01 |
T42 | <TheVancedGamer> I can get you that if you want | 12:01 |
mal | did you run ofono via gdb? | 12:01 |
mal | gdb --args /usr/sbin/ofonod -d -n | 12:02 |
T42 | <TheVancedGamer> yes, but yielded no results | 12:02 |
T42 | <TheVancedGamer> I did `run -d -n` but I don't think it was that different? | 12:02 |
mal | hmm, ok, I didn't know it could be done like that | 12:03 |
mal | can you try using that my way just in case | 12:07 |
T42 | <TheVancedGamer> ``` | 12:08 |
T42 | <TheVancedGamer> Thread 4 "hwbinder#1" received signal SIG33, Real-time event 33. | 12:08 |
T42 | <TheVancedGamer> [Switching to Thread 0x7ff6207150 (LWP 13285)] | 12:08 |
T42 | <TheVancedGamer> 0x0000007ff7c62f08 in __GI___poll (fds=0x7ff62068b8, nfds=2, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41``` | 12:08 |
T42 | <TheVancedGamer> well that definitely worked | 12:08 |
mal | thread apply all bt | 12:11 |
T42 | <TheVancedGamer> https://paste.myself5.de/egucilamub.yaml | 12:12 |
T42 | <TheVancedGamer> mal: ^^ | 12:12 |
mal | so it doesn't crash now? | 12:14 |
T42 | <TheVancedGamer> it does | 12:15 |
T42 | <TheVancedGamer> and I pasted the backtrace | 12:15 |
mal | from thread 4? | 12:16 |
T42 | <TheVancedGamer> oh oops | 12:16 |
T42 | <TheVancedGamer> I pasted all the threads? | 12:17 |
T42 | <TheVancedGamer> oh wait | 12:17 |
T42 | <TheVancedGamer> mal: should I have compiled libgbinder too? | 12:17 |
mal | which libgbinder do you have? | 12:29 |
mal | just to be sure, did you properly install libgbinder-radio to the device | 12:29 |
mal | [pid 12922] sendto(5, "<31>Jun 13 16:57:02 ofonod[12922]: src/binder_cell_info.c:binder_cell_info_new() slot1 ", 87, MSG_NOSIGNAL, NULL, 0) = 87 | 12:31 |
mal | [pid 12922] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x20} --- | 12:31 |
mal | you can see in strace that you get that one message and then segfault, maybe try adding some debug prints in that function and near the call to see where it fails | 12:32 |
T42 | <TheVancedGamer> mal: but it fails with rilbinderplugin as well | 12:40 |
T42 | <TheVancedGamer> and that one used to work | 12:40 |
mal | where does it fail? | 12:52 |
mal | you should be able to see at least in strace or journal what is the last messages from ofono | 12:52 |
T42 | <TheVancedGamer> let me pull up the logs... | 12:52 |
T42 | <TheVancedGamer> mal: here's output when I use rilbinderplugin: https://paste.myself5.de/ocugidexes.http | 13:08 |
T42 | <TheVancedGamer> and also Jun 13 18:07:43 ubuntu-phablet kernel: binder: undelivered transaction 61844, process died. in journal | 13:08 |
mal | you should try to get backtrace | 13:31 |
T42 | <TheVancedGamer> mal: I did, but it's only this one-liner: | 13:37 |
T42 | <TheVancedGamer> ``` | 13:37 |
T42 | <TheVancedGamer> ofonod[12567]: #0 0x7f9cde3600 in [gbinder-radio] Connected to android.hardware.radio.config@1.1::IRadioConfig/default() at config < [00000001] 4 getPhoneCapability``` | 13:37 |
mal | I still wonder how you manage to lose all the ofono logs | 13:38 |
mal | which show in strace but you claim those are not printed to output or journal | 13:38 |
T42 | <TheVancedGamer> I said not to output, but they are printed to stderr | 13:38 |
T42 | <TheVancedGamer> which is how I got the backtrace | 13:39 |
mal | did you try what I said, adding debug printing to the place suggested by ofono-binder-plugin strace | 13:42 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!