Project

General

Profile

Actions

Bug #2231

closed

ofono: Fix crash

Added by pespin almost 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/05/2017
Due date:
% Done:

0%

Spec Reference:

Description

Today ofono was not running. I checked journalctl and I saw this:

May 04 23:03:32 osmo-gsm-tester-rnd ofonod[13234]: Requested file structure differs from SIM: 6fb7
May 05 00:13:05 osmo-gsm-tester-rnd ofonod[13234]: Requested file structure differs from SIM: 6fb7
May 05 00:13:06 osmo-gsm-tester-rnd ofonod[13234]: UnregisterProfile() replied an error: org.freedesktop.DBus.Error.ServiceUnknown, The name org.bluez was n
May 05 00:13:06 osmo-gsm-tester-rnd ofonod[13234]: RegisterProfile() replied an error: org.freedesktop.DBus.Error.ServiceUnknown, The name org.bluez was not
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: Aborting (signal 11) [/usr/local/sbin/ofonod]
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: ++++++++ backtrace ++++++++
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #0  0x7fe17a1200e0 in /lib/x86_64-linux-gnu/libc.so.6
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #1  0x49ecf6 in notify_status_watches() at network.c:?
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #2  0x4a0f7c in ofono_netreg_status_notify() at ??:?
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #3  0x4466c8 in ss_info_notify() at network-registration.c:?
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #4  0x4423f0 in service_notify() at qmi.c:?
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #5  0x442467 in handle_indication() at qmi.c:?
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #6  0x44355e in received_data.part.2() at qmi.c:?
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #7  0x7fe17a92bb6d in /lib/x86_64-linux-gnu/libglib-2.0.so.0
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #8  0x7fe17a92bf48 in /lib/x86_64-linux-gnu/libglib-2.0.so.0
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #9  0x7fe17a92c272 in /lib/x86_64-linux-gnu/libglib-2.0.so.0
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #10 0x410bb6 in main() at :?
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: #11 0x7fe17a10cb45 in /lib/x86_64-linux-gnu/libc.so.6
May 05 00:13:07 osmo-gsm-tester-rnd ofonod[13234]: +++++++++++++++++++++++++++
May 05 00:13:07 osmo-gsm-tester-rnd systemd[1]: ofono.service: main process exited, code=exited, status=1/FAILURE
May 05 00:13:07 osmo-gsm-tester-rnd systemd[1]: Unit ofono.service entered failed state.

May be related to #2221

Actions #1

Updated by pespin almost 7 years ago

  • Subject changed from Fix crash in ofono to ofono: Fix crash
Actions #2

Updated by pespin almost 7 years ago

  • Assignee set to 118

To be checked if this crash still occurs after fix for #2236 "B"

Actions #3

Updated by neels almost 7 years ago

today saw another instance of it:

May 09 15:05:02 osmo-gsm-tester-rnd ofonod[1058]: Requested file structure differs from SIM: 6fb7
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: Aborting (signal 11) [/usr/local/sbin/ofonod]
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: ++++++++ backtrace ++++++++
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #0  0x7f70d6aa40e0 in /lib/x86_64-linux-gnu/libc.so.6
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #1  0x4d16ee in notify_status_watches() at oot/ofono/src/network.c:1194
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #2  0x4d1dd8 in ofono_netreg_status_notify() at oot/ofono/src/network.c:1397
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #3  0x4568d8 in ss_info_notify() at oot/ofono/drivers/qmimodem/network-registration.c:137
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #4  0x4529ec in service_notify() at oot/ofono/drivers/qmimodem/qmi.c:702
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #5  0x452ace in handle_indication() at oot/ofono/drivers/qmimodem/qmi.c:741
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #6  0x452c73 in handle_packet() at oot/ofono/drivers/qmimodem/qmi.c:801
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #7  0x452e75 in received_data() at oot/ofono/drivers/qmimodem/qmi.c:865
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #8  0x7f70d72afb6d in /lib/x86_64-linux-gnu/libglib-2.0.so.0
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #9  0x7f70d72aff48 in /lib/x86_64-linux-gnu/libglib-2.0.so.0
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #10 0x7f70d72b0272 in /lib/x86_64-linux-gnu/libglib-2.0.so.0
May 09 15:05:03 osmo-gsm-tester-rnd ofonod[1058]: #11 0x4c67d8 in main() at oot/ofono/src/main.c:258
Actions #4

Updated by laforge almost 7 years ago

  • Assignee deleted (118)
Actions #5

Updated by laforge almost 7 years ago

  • Assignee set to 55360
Actions #6

Updated by neels almost 7 years ago

  • Assignee changed from 55360 to pespin

update this issue?

Actions #7

Updated by pespin almost 7 years ago

I haven't been able to spot this issue during last days, probably since we fixed the memory corruption we were seeing. After that fix ofono seems more stable overall (although it still crashes every now and then).

Actions #8

Updated by neels almost 7 years ago

Related: I have recently added an ofono watcher script that restarts ofono in case it doesn't expose the expected Modems. This is so far documented in the sysmocom internal wiki for the R&D setup, but if it proves useful will show up in the osmo-gsm-manuals.

Actions #9

Updated by pespin almost 7 years ago

  • Status changed from New to Rejected

I haven't seen this issue appear since more than 1 month, so I consider it solved or not important enough, I close it. We can reopen it if we see it again.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)