Ofono 1.21 crashes with Sierra MC7455

2017-10-26 Thread Eswaran Vinothkumar (BEG/PJ-IOT-EL)
I make a quick review, use checkpatch and post it. Thanks for testing and sorry to not always take the time needed to propose a patch to mainline. Christophe On 10/26/2017 12:54 PM, Jonas Bonn wrote: On 10/26/2017 12:43 PM, Christophe Ronco wrote: Seems to be this: i) When the modem is

AW: AW: Ofono 1.21 crashes with Sierra MC7455

2017-10-26 Thread Eswaran Vinothkumar (BEG/PJ-IOT-EL)
I make a quick review, use checkpatch and post it. Thanks for testing and sorry to not always take the time needed to propose a patch to mainline. Christophe On 10/26/2017 12:54 PM, Jonas Bonn wrote: On 10/26/2017 12:43 PM, Christophe Ronco wrote: Seems to be this: i) When the modem is

Re: AW: Ofono 1.21 crashes with Sierra MC7455

2017-10-26 Thread Christophe Ronco
I make a quick review, use checkpatch and post it. Thanks for testing and sorry to not always take the time needed to propose a patch to mainline. Christophe On 10/26/2017 12:54 PM, Jonas Bonn wrote: On 10/26/2017 12:43 PM, Christophe Ronco wrote: Seems to be this: i)  When the modem

Re: AW: Ofono 1.21 crashes with Sierra MC7455

2017-10-26 Thread Jonas Bonn
On 10/26/2017 12:43 PM, Christophe Ronco wrote: Seems to be this: i) When the modem is first powered on, service discovery takes some time (more than 5 seconds) ii) The service discovery timeout fires before the QMI request returns so discover_reply gets called before discover_callback

Re: AW: Ofono 1.21 crashes with Sierra MC7455

2017-10-26 Thread Christophe Ronco
Seems to be this: i)  When the modem is first powered on, service discovery takes some time (more than 5 seconds) ii)  The service discovery timeout fires before the QMI request returns so discover_reply gets called before discover_callback and things get cleaned up iii)  Then the QMI

Re: AW: Ofono 1.21 crashes with Sierra MC7455

2017-10-26 Thread Jonas Bonn
On 10/26/2017 11:14 AM, Jonas Bonn wrote: On 10/26/2017 11:04 AM, Jonas Bonn wrote: On 10/26/2017 10:55 AM, Jonas Bonn wrote: On 10/26/2017 10:48 AM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: May I know is there any config option to disable the signal handler in Ofono. No, there's not...

Re: AW: Ofono 1.21 crashes with Sierra MC7455

2017-10-26 Thread Jonas Bonn
On 10/26/2017 11:04 AM, Jonas Bonn wrote: On 10/26/2017 10:55 AM, Jonas Bonn wrote: On 10/26/2017 10:48 AM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: May I know is there any config option to disable the signal handler in Ofono. No, there's not... you need to hack it out of the code.

Re: AW: Ofono 1.21 crashes with Sierra MC7455

2017-10-26 Thread Jonas Bonn
On 10/26/2017 10:55 AM, Jonas Bonn wrote: On 10/26/2017 10:48 AM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: May I know is there any config option to disable the signal handler in Ofono. No, there's not... you need to hack it out of the code. Search for the following line in src/main.c:

Re: AW: Ofono 1.21 crashes with Sierra MC7455

2017-10-26 Thread Jonas Bonn
On 10/26/2017 10:48 AM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: On 10/25/2017 02:38 PM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: Hello, For our next connectivity project we are planning to use Connman along with oFono The version being used are Connman :1.35 and

AW: Ofono 1.21 crashes with Sierra MC7455

2017-10-26 Thread Eswaran Vinothkumar (BEG/PJ-IOT-EL)
On 10/25/2017 02:38 PM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: Hello, For our next connectivity project we are planning to use Connman along with oFono The version being used are Connman :1.35 and oFono:1.21 After system start up, I am seeing that the oFono process gets exited, whenever I

Re: Ofono 1.21 crashes with Sierra MC7455

2017-10-26 Thread Jonas Bonn
On 10/25/2017 02:38 PM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: Hello, For our next connectivity project we are planning to use Connman along with oFono The version being used are Connman :1.35 and oFono:1.21 After system start up, I am seeing that the oFono process gets exited,

Re: Ofono 1.21 crashes with Sierra MC7455

2017-10-25 Thread Christophe Ronco
On 10/25/2017 05:39 PM, Denis Kenzior wrote: Hi, On 10/25/2017 07:38 AM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: Hello, For our next connectivity project we are planning to use Connman along with oFono The version being used are Connman :1.35 and oFono:1.21 After system start up, I am

Re: Ofono 1.21 crashes with Sierra MC7455

2017-10-25 Thread Denis Kenzior
Hi, On 10/25/2017 07:38 AM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: Hello, For our next connectivity project we are planning to use Connman along with oFono The version being used are Connman :1.35 and oFono:1.21 After system start up, I am seeing that the oFono process gets exited,