>
> Hi List & Robert,
>
> I only found out one important thing:
>
> viking only crashes if "Autodownload Maps" is enabled while using real time 
> gps.
> If I do not select "autodownload maps" real time gps tracking works just fine.

Good stuff, I've been able to reproduce it now - and understand the problem.

However the solution is not obvious / easy :(

I've attached my stacktrace (NB line numbers may be tiny bit different as it 
was run on my own development branch)
I forgot to mention you need to break on gdk_x_error to (see 
http://wiki.debian.org/HowToGetABacktrace)

There's basically a conflict between the tile map drawing & and the gps keep it 
on screen which are done in separate threads.
They both generate vik_layer_emit_update events, which eventually call the low 
level pixbuf to screen. I think If the timing is such that both of these happen 
near enough the same time the X server (quite rightly) doesn't like it. 

Potential solutions:
. Use your workaround :)
. Some kind of lock/semaphores in the viewport to serialize the X drawing
. Some kind of redesign so only one thread updates the display
. Something simpler (that doesn't come immediately to my mind......)

These are a bit more involved than my level of Viking understanding. [Plus I'm 
really busy for the rest of this month]

HTH.
                                          
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to