Opened 6 years ago

Last modified 6 years ago

#1352 new defect/bug

Android crashes if dbg_printf() is called

Reported by: Owned by: KaZeR
Priority: major Milestone:
Component: core Version: git master
Severity: normal Keywords:


Android version seems to crash with default nvit.xml

I have found that offending config line is

<debug name="navit:popup_printf_cb" dbg_level="debug" level="0"/>

If I switch dbg_level to "error" or remove that line completely, no crash happens.

Changing name to point to existing or not existing function makes no change.

As we currently have no popup_printf_cb function, this line makes no sense.

As a workaround, I will remove this line from the navit_shipped.xml.

But we have to investigate, why entering dbg_printf() on Android makes Navit crash.

Linux version seems to be unaffected.

Change History (2)

comment:1 Changed 6 years ago by

The workaround is applied with

We still have to figure out what makes navit crash if debug is activated.

comment:2 Changed 6 years ago by

Note: See TracTickets for help on using tickets.