Good! That worked! I'm able to get my core dump when I commented out the signal 
handling sections under src/main.c and src/log.c.

I'm wondering, core dump are very useful when debugging. Why not to mainline 
the fact that ofono does it's own backtrace and core dumping at the same time 
or maybe to choose between one of them.


De : Jonas Bonn <jo...@southpole.se>
Envoyé : jeudi 2 novembre 2017 11:37
À : ofono@ofono.org; Bassem BOUBAKER
Objet : Re: Ofono is not generating core dump
  

On 11/02/2017 11:35 AM, Bassem BOUBAKER wrote:
> Hi,
>
> When trying to trace ofono crushes, I have noticed that it does not generate 
> any core dump on my file system.
>
> I'm sure that the issue is not coming from my system because I have verified 
> that my kernel is good for handling core dump when an app crashes.
>
> Is this related to signal catching from ofono side?

Yes.

src/main.c sets up signal handling whereby it catches SEG faults and 
does it's own backtrace.  Comment this out of ofono and you'll get your 
core dumps back!

/Jonas

>
>
> Regards,
> Bassem.
> _______________________________________________
> ofono mailing list
> ofono@ofono.org
> https://lists.ofono.org/mailman/listinfo/ofono


ofono Info Page
lists.ofono.org
To see the collection of prior postings to the list, visit the ofono Archives. 
Using ofono: To post a message to all the list members, send email ...



    
_______________________________________________
ofono mailing list
ofono@ofono.org
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to