Hi Alejandro,

I'm currently having issues with my Linux dev environment, I'm going to need
to rebuild it to get things rolling again.  I primarily work in Windows, and
things work fine there.

Can you build in debug and try to get a stack trace as Glenn suggested?

Thanks!

Jason

2009/5/13 Jason Beverage <[email protected]>

> Hi Alejandro,
>
> I just tried the latest osgGIS against OSG 2.8.0 on Linux and get segfaults
> as well.  I'm doing a debug build of OSG and osgGIS to hopefully track down
> what is going on.  I"ll probably get to it sometime tommorow.
>
> Thanks!
>
> Jason
>
> 2009/5/13 Glenn Waldron <[email protected]>
>
>  No clue. Can you run in debug and produce a stack trace?
>>
>>
>> Glenn Waldron : Pelican Mapping
>>
>>
>> 2009/5/13 Alejandro Aguilar Sierra <[email protected]>
>>
>> It helps, it apparently finishes the task. Then I run osggis_mapper
>>> and it dies noisily, droping a lot of hardware info:
>>>
>>> [osgGIS] Loading map default
>>> [osgGIS] Opened feature store at
>>> source/boston-buildings-downtown-utm19n-meters.shp
>>>   Extent = (326354.28860, 4687724.18966 => 332731.03306, 4693913.93281)
>>>   SRS = PROJCS["UTM Zone 19, Northern Hemisphere",GEOGCS["Geographic
>>> Coordinate System",DATUM["NAD83",SPHEROID["GRS
>>>
>>> 1980",6378137,298.2572220960423]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-69],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]]
>>> [...]
>>> 4a000-b7f4c000 rwxp 00000000 00:0d 1232       /dev/zero
>>> b7f4c000-b7f4e000 rw-p b7f4c000 00:00 0
>>> b7f4e000-b7f4f000 r-xp b7f4e000 00:00 0          [vdso]
>>> b7f4f000-b7f6b000 r-xp 00000000 08:04 150996684  /lib/ld-2.9.so
>>> b7f6b000-b7f6c000 r--p 0001b000 08:04 150996684  /lib/ld-2.9.so
>>> b7f6c000-b7f6d000 rw-p 0001c000 08:04 150996684  /lib/ld-2.9.so
>>> bfb57000-bfb6b000 rwxp bffeb000 00:00 0          [stack]
>>> bfb6b000-bfb6c000 rw-p bffff000 00:00 0
>>> Aborted
>>>
>>>
>>> Any hint?
>>>
>>> -- A.
>>>
>>>
>>>
>>> 2009/5/8 Glenn Waldron <[email protected]>:
>>> > Try using the "--threads 1" option and see if that helps.
>>> >
>>> > osggis_build --threads 1 project.xml
>>> >
>>> >
>>> > Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :
>>> > +1.703.652.4791
>>> >
>>> >
>>> > 2009/5/8 Alejandro Aguilar Sierra <[email protected]>
>>> >>
>>> >> Hi Jason,
>>> >>
>>> >> When I run osggis_build, it get stuck at some point. Sometimes at 37%,
>>> >> some others at 46% or 81%. I could left it running for hours and never
>>> >> go further.
>>> >>
>>> >> ...
>>> >> [osgGIS] 1>
>>> /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y5.ive:
>>> >> started
>>> >> [osgGIS] 38/49 tasks (77%) complete, 00:00:00 remaining
>>> >> [osgGIS] 1>
>>> /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y6.ive:
>>> >> started
>>> >> [osgGIS] 1>
>>> /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y6.ive:
>>> >> completed, time = 6e-06s
>>> >> [osgGIS] 39/49 tasks (79%) complete, 00:00:00 remaining
>>> >> [osgGIS] 0> out/buildings/gL0_X4_Y3.ive: completed, time = 2.62004s
>>> >> [osgGIS] 40/49 tasks (81%) complete, 00:00:00 remaining
>>> >>
>>> >>
>>> >> -- A.
>>> >>
>>> >> 2009/5/8 Jason Beverage <[email protected]>:
>>> >> > Hi Alejandro,
>>> >> >
>>> >> > When you say it gets stuck, does it get stuck building the VPB
>>> database
>>> >> > or
>>> >> > does it get stuck when you try to run the osggis_build?
>>> >> >
>>> >> > Jason
>>> >> >
>>> >> > 2009/5/8 Alejandro Aguilar Sierra <[email protected]>
>>> >> >>
>>> >> >> Hi,
>>> >> >>
>>> >> >> Good to know, but recently I tried to compile osggis with the
>>> current
>>> >> >> OSG and VPB branches. It compiles without a problem, but the
>>> example
>>> >> >> doesn't work. It is stucked building the example.
>>> >> >>
>>> >> >> Does anybody has been successful building the example?
>>> >> >>
>>> >> >> Regards,
>>> >> >>
>>> >> >> -- A.
>>> >> >>
>>> >> >>
>>> >> >> 2009/5/8 Jason Beverage <[email protected]>:
>>> >> >> > Hi Andrew,
>>> >> >> >
>>> >> >> > I would recommend using osgGIS for this.  It has the capability
>>> to
>>> >> >> > make
>>> >> >> > a
>>> >> >> > paged database from a vector dataset like a shapefile and clamp
>>> it to
>>> >> >> > an
>>> >> >> > existing terrain database (like an IVE).
>>> >> >> >
>>> >> >> >  http://www.osggis.org
>>> >> >> >
>>> >> >> > Thanks!
>>> >> >> >
>>> >> >> > Jason
>>> >> >> >
>>> >> >> > 2009/5/8 Jakob Ruhe <[email protected]>
>>> >> >> >>
>>> >> >> >> Hi Andrewxie!
>>> >> >> >>
>>> >> >> >> The ESRIShapeReaderWriter plugin can read ESRI shape files so if
>>> you
>>> >> >> >> build that plugin and the ive plugin you can convert a shape
>>> file
>>> >> >> >> with
>>> >> >> >> something like this:
>>> >> >> >>
>>> >> >> >> osg::Node* node = osgDB::readNodeFile("myshape.shp");
>>> >> >> >> osgDB::writerNodeFile(*node, "myhsape.ive");
>>> >> >> >>
>>> >> >> >> Good luck!
>>> >> >> >>
>>> >> >> >> /Jakob Ruhe
>>> >> >> >>
>>> >> >> >> 2009/5/8 Andrewxie <[email protected]>:
>>> >> >> >> > Hi,
>>> >> >> >> > how to clamp a shp file onto a ive file?
>>> >> >> >> >
>>> >> >> >> > ------------------
>>> >> >> >> > Read this topic online here:
>>> >> >> >> > http://forum.openscenegraph.org/viewtopic.php?p=11667#11667
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> > _______________________________________________
>>> >> >> >> > osg-users mailing list
>>> >> >> >> > [email protected]
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> >
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>> >> >> >> >
>>> >> >> >> _______________________________________________
>>> >> >> >> osg-users mailing list
>>> >> >> >> [email protected]
>>> >> >> >>
>>> >> >> >>
>>> >> >> >>
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>> >> >> >
>>> >> >> >
>>> >> >> > _______________________________________________
>>> >> >> > osg-users mailing list
>>> >> >> > [email protected]
>>> >> >> >
>>> >> >> >
>>> >> >> >
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>> >> >> >
>>> >> >> >
>>> >> >> _______________________________________________
>>> >> >> osg-users mailing list
>>> >> >> [email protected]
>>> >> >>
>>> >> >>
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>> >> >
>>> >> >
>>> >> > _______________________________________________
>>> >> > osg-users mailing list
>>> >> > [email protected]
>>> >> >
>>> >> >
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>> >> >
>>> >> >
>>> >> _______________________________________________
>>> >> osg-users mailing list
>>> >> [email protected]
>>> >>
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>> >
>>> >
>>> > _______________________________________________
>>> > osg-users mailing list
>>> > [email protected]
>>> >
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>> >
>>> >
>>> _______________________________________________
>>> osg-users mailing list
>>> [email protected]
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to