[OSM-dev] renderd

Richard Ive richard at xanox.net
Thu Sep 3 13:17:07 BST 2009


Further updates:

It appears to fall over on the bold line below.

struct item * lookup_item_idx(struct item * item) {
    struct item_idx * nextItem;
    struct item * test;

    int key = calcHashKey(item);

*    if (item_hashidx[key].item == NULL) {*
        return NULL;
    } else {
        nextItem = &(item_hashidx[key]);
        while (nextItem != NULL) {
            test = nextItem->item;
            if ((item->mx == test->mx) && (item->my == test->my)
                    && (item->req.z == test->req.z) && (!strcmp(
                    item->req.xmlname, test->req.xmlname))) {
                return test;
            } else {
                nextItem = nextItem->next;
            }
        }
    }
    return NULL;
}


2009/9/3 Richard Ive <richard at xanox.net>

> Have a little more info on this one.
>
>
> If I start the daemon, then run ./speedtest it output:
>
> [root at maps mod_tile]# ./speedtest
> Rendering client
> Initial startup costs
> Rendered 1 tiles in 4.24 seconds (0.24 tiles/s)
>
> Zoom(0) Now rendering 1 tiles
> Rendered 1 tiles in 0.00 seconds (38461.54 tiles/s)
>
> Zoom(1) Now rendering 2 tiles
> Rendered 2 tiles in 0.00 seconds (74074.07 tiles/s)
>
> Zoom(2) Now rendering 2 tiles
> Rendered 2 tiles in 0.00 seconds (74074.07 tiles/s)
>
> Zoom(3) Now rendering 2 tiles
> Rendered 2 tiles in 0.00 seconds (74074.07 tiles/s)
>
> Zoom(4) Now rendering 2 tiles
> Rendered 2 tiles in 0.00 seconds (74074.07 tiles/s)
>
> Zoom(5) Now rendering 2 tiles
> Rendered 2 tiles in 0.00 seconds (74074.07 tiles/s)
>
> Zoom(6) Now rendering 2 tiles
> Rendered 2 tiles in 0.00 seconds (54054.05 tiles/s)
>
> Zoom(7) Now rendering 2 tiles
> Rendered 2 tiles in 0.00 seconds (68965.52 tiles/s)
>
> *Zoom(8) Now rendering 4 tiles
> recv error: No such file or directory*
>
> Then when i check the window outputting renderd running in -f mode it
> displays:
>
> Running in foreground mode...
> renderd[20031]: Starting stats thread
> renderd[20031]: DEBUG: Got incoming connection, fd 9, number 1
> renderd[20031]: DEBUG: Got command Render fd(9) xml(default), z(0), x(0),
> y(0)
> renderd[20031]: DEBUG: DONE TILE default 0 0-0 0-0
> renderd[20031]: DEBUG: Got command Render fd(9) xml(default), z(8), x(127),
> y(84)
> *Segmentation fault*
>
>
>
>
> 2009/9/2 Lennard <ldp at xs4all.nl>
>
>> Replying to list again...
>>
>>
>> Richard Ive wrote:
>>
>> > Output:
>> > ...
>> > ...
>> > renderd[7412]: DEBUG: Got command Render fd(13) xml(default), z(14),
>> > x(8257), y(5463)
>> > renderd[7412]: DEBUG: DONE TILE default 14 8256-8263 5456-5463
>> > renderd[7412]: DEBUG: Got command Render fd(12) xml(default), z(14),
>> > x(8255), y(5462)
>> > renderd[7412]: DEBUG: DONE TILE default 14 8248-8255 5456-5463
>> > renderd[7412]: DEBUG: Got command Render fd(17) xml(default), z(15),
>> > x(16508), y(10928)
>> > Segmentation fault
>>
>> Oh dear, not a simple issue of missing fonts or syntax error in the
>> stylesheet, then.
>>
>> Do you at least find some tiles in the tiles dir you set in the config?
>> Are you running the latest version from svn? Are your other components
>> up to date?
>>
>>
>> --
>> Lennard
>>
>> _______________________________________________
>> dev mailing list
>> dev at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/dev
>>
>
>
>
> --
> Regards,
> Richard Ive.
>



-- 
Regards,
Richard Ive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090903/da68b2d3/attachment.html>


More information about the dev mailing list