View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1598
Originally Posted by Kossuth View Post
I can make Modrana deliberately crash, by draggin long way to undownloaded area and staying there for a while. Below is the pastee from terminal:

Code:
nan, nan, nan, nan, nan, nan)
position,bearing,speed (in descending order):
(62.905630180612206, 27.67623751424253)
None
None
#############################
storeTiles: sqlite commit OK
sqlite tiles: initializing db for layer: Google Maps
storeTiles: sqlite commit OK
modules/gui_modules/gui_gtk.py:243: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  gtk.main()
python: cairo-surface.c:429: cairo_surface_destroy: Assertion `((*&(&surface->ref_count)->ref_count) > 0)' failed.
Aborted
and second time

Code:
############################
storeTiles: sqlite commit OK
storeTiles: sqlite commit OK
## N900 GPS debugging info ##
fix tuple from the Location API:
(2, 16, nan, 0.0, 62.903130361810327, 27.689069202169776, 71890.0, nan, 32767.5, nan, nan, nan, nan, nan, nan)
position,bearing,speed (in descending order):
(62.903130361810327, 27.689069202169776)
None
None
#############################
python: cairo-surface.c:429: cairo_surface_destroy: Assertion `((*&(&surface->ref_count)->ref_count) > 0)' failed.
Aborted
These came from scrolling like insane, doubt that they would appear when in normal use like driving.
Thanks for the logs - that one Cairo error looks particularly ugly - might be some sort of race condition when working with Cairo image surfaces (will have to check if I can reproduce it) or some general Cairo/GTK bug. Good thing it does not happen often.

Originally Posted by Xagoln View Post
I've had a few crashes with Modrana also, particularly if I use it for a bit then lock my phone without closing it. I assumed it was an out of memory/swap thrashing type situation.
That's quite probably - or resource starvation might be uncovering some bugs in the underlying frameworks - I doubt there are many other Maemo applications as taxing as modRana these days.

Anyway unless some concrete root cause in modRana is found that causes these freezes/crashes (which is IMHO quite unlikely) I'm thinking about a possible workaround - exporting settings for tweaking the resource intensive things that modRana does, such as the amount of tile download threads, tile cache size, tile download request queue size, etc. People will then be able to tweak these values to possibly alleviate these issue or maybe even pinpointing what might be causing them.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 2 Users Say Thank You to MartinK For This Useful Post: