On 09.08.13 22:21, Eeri Kask wrote:
> On 08.08.13 00:33, [email protected] wrote:
>> On Tue, Aug 06, 2013 at 09:12:36PM +0200, [email protected] 
>> wrote:
>>
>>> Program received signal EXC_BAD_ACCESS, Could not access memory.
>>> Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
>>> 0x00000000 in ?? ()
>>
>> at this point you would type 
>>  bt
>> and hope it shows a meaningful stacktrace. Also what version did you compile?
>>
>> Richard
> 
> 
> 
> It looks like the crash occurs during startup in "navit/graphics.c" by
> calling (possibly uninitialised, i.e.) a zero-pointer "get_data":
> 
> 
>      void * graphics_get_data(struct graphics *this_, const char *type)
>      {
> ==>       return (this_->meth.get_data(this_->priv, type));
>      }


The above crash is in "graphics_qt_qpainter_new()" caused by

#ifndef QT_QPAINTER_USE_FREETYPE
#define QT_QPAINTER_USE_FREETYPE 1
#endif

found in "graphics_qt_qpainter.h", probably due to the assumption that
QT runs in X11 environment featuring XOrg's freetype font system which
is under MacOSX Aqua usually not the case.


Having fixed this, the next problem:

navit:plugin_load:can't load
'/usr/local/navit/lib/navit/vehicle/libvehicle_gpsd.so', Error
'dlopen(/usr/local/navit/lib/navit/vehicle/libvehicle_gpsd.so, 2):
Symbol not found: _gps_data
  Referenced from: /usr/local/navit/lib/navit/vehicle/libvehicle_gpsd.so
  Expected in: flat namespace
'

which suggests that /usr/local/gpsd/lib/libgps.dylib is not loaded by
dlopen() or something.


Though, if I specify a "demo" vehicle instead of "gpsd" in navit.xml,
then a navit window appears, with a fat red road in the middle with some
thinner streets visible as well, on a green background; though showing a
busy "rainbow" cursor, so all one can do is to hit Ctrl-C in a terminal
window.  (But it is a success anyways to be at this point.)  :-)

    Eeri Kask


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Navit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/navit-users

Reply via email to