|
|
|
William G. Miller
|
Greetings,
OSSIM svn 15762 worked well for me! The only exception was imagelinker (qt4). I am, however, having problems with svn 15867 which is working better than 15855. I have taken the following steps better identify my problems with OSSIM on FEDORA-11. I have two machines one 32bit and one 64bit. Based on your kind email suggestion, I started over. Always good to have a clean start. I performed memtest on both machines... no errors. 1) I erased OSSIM from both machines. I erased then re-installed gdal, gdal-devel, qt4, and qt4-devel on both machines. 2) I downloaded a fresh copy and recompiled OSSIM on both machines using svn 15867. 3) ~/.ossim points to the same nfs mounted volume on each machine. 4) attached is my ossim_preferences file. ====================================================================== I have the following observations for the X86 architecture. imagelinker (qt3) works fine with ERDAS img files, nitf, geotiff, png, etc. iview (qt3) works fine! imagelinker (qt4) Neither Vce-> New Chain nor Vce-> Components do anything. The rest seems to work! iview (qt4) works fine! ossimplanet works fine except! The moon is not rendered though present. moon.jpg, sun.jpg, and earth.jpg show under image layers. ossimplanet throws a segmentation violation on exit. In gdb ... On File->quit .... Program received signal SIGSEGV, Segmentation fault. 0x00932bda in strcmp () from /lib/libc.so.6 .... (gdb) where #0 0x00932bda in strcmp () from /lib/libc.so.6 #1 0x020d5e9a in RTTITypeinfo::same (p=<value optimized out>, this=<value optimized out>) at /media/disk2/ossim/ossim/ossim/include/ossim/base/ossimRtti.h:216 #2 RTTItypeid::operator== (p=<value optimized out>, this=<value optimized out>) at /media/disk2/ossim/ossim/ossim/include/ossim/base/ossimRtti.h:246 #3 ossimPngReader::RTTI_cast (p=<value optimized out>, this=<value optimized out>) at ossimPngReader.cpp:33 #4 0x035662b1 in ossimListenerManager::fireEvent (this=0x81554ac, event= @0xbfffe704) at ossimListenerManager.cpp:38 #5 0x034f55d6 in ossimConnectableObject::disconnectMyOutput (this=0x81554a0, outputIndex=0, disconnectInputFlag=true, createEvent=true) at ossimConnectableObject.cpp:667 #6 0x034f4e32 in ossimConnectableObject::disconnectAllOutputs (this=0x81554a0) at ossimConnectableObject.cpp:771 #7 0x034f4c3e in ossimConnectableObject::disconnect (this=0x81554a0, object=0x0) at ossimConnectableObject.cpp:514 #8 0x002dab77 in ossimPlanetOssimImageLayer::~ossimPlanetOssimImageLayer() () from /usr/local/lib/libossimPlanet.so #9 0x00719caf in osg::Referenced::unref (this=<value optimized out>) at /usr/include/osg/Referenced:183 #10 ~ref_ptr (this=<value optimized out>) at /usr/include/osg/ref_ptr:33 #11 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer> > ( this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_construct.h:83 #12 __destroy<osg::ref_ptr<ossimPlanetTextureLayer>*> ( this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_construct.h:93 #13 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer>*> ( this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_construct.h:116 #14 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer>*, osg::ref_ptr<ossimPlanetTextureLayer> > (this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_construct.h:142 #15 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::_M_destroy_data_aux ( this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/deque.tcc:733 #16 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::_M_destroy_data (this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_deque.h:1653 #17 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::~deque (this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_deque.h:790 #18 0x008e91e2 in __cxa_finalize () from /lib/libc.so.6 #19 0x006ffc94 in __do_global_dtors_aux () from /usr/local/lib/libossimPlanetQt.so.1 #20 0x007a14b0 in _fini () from /usr/local/lib/libossimPlanetQt.so.1 #21 0x00b96256 in _dl_fini () from /lib/ld-linux.so.2 #22 0x008e8e0f in exit () from /lib/libc.so.6 #23 0x008d0a6e in __libc_start_main () from /lib/libc.so.6 #24 0x08049a61 in _start () ====================================================================== I have the following observations for the X86_64 architecture. imagelinker (qt) works fine with ERDAS img files, nitf, geotiff, png, etc. iview (qt3) works fine! imagelinker (qt4) file->open image works fine! Neither Vce-> New Chain nor Vce-> Components do anything. The rest seems to work! iview (qt4) works fine! ossimplanet comes up with globe. The moon is not rendered though present. moon.jpg, sun.jpg, and earth.jpg show under image layers. "File->open image" brings up a an open dialog box with two blank sections. A click in the left section displays the appropriate places but the files section remains blank. "File->open video", "File->open kml", and "File->open session" behave as "File->open image". "File->open WMS" works file. ossimplanet has a segmentation violation on "File->quit" see attachment (basically same as X86). ossim-icp ossim-icp ossim_png --disable-elev 9doq_matched_gray.tiff 9doq_matched_gray.png.... WORKS! ossim-height ossim-height 38.8 -77.6 Did not find cell for point! Geoid offset: -32.0238 Height above MSL: 107.75 Height above ellipsoid: 75.7262 move .ossim out of the way and execute ossim-height: ossim-height ossim-height 38.8 -77.6 Opened cell: /md0/ossim/dot_ossim/elevation/srtm/1arc/N38W078.hgt Geoid offset: -32.0238 Height above MSL: 111 Height above ellipsoid: 78.9762 .ossim overrides ossim_preferences? The actual data is on nfs and is the same. What is the proper structure for .ossim? My .ossim structure is attached. ------------------------------------------------- William G. Miller, computer scientist U.S. Geological Survey 12201 Sunrise Valley Drive Reston, VA 20192 (703) 648-6721 [ossim_preferences] // ------------------------------------------------------------------------ // $Id: ossim_preferences_template 14810 2009-06-30 20:33:21Z dburken $ // // Description: ossim_preferences_template // // This file will be automatically loaded by ossim applications provided the // environment variable "OSSIM_PREFS_FILE" is set to point to some form of // this file. // // Note: c++ comments "//" can be used to comment a line. // // To set the environment variable for automatic preference file loading: // // This assumes a preference file in your home called "ossim_preferences". // Typically this would be put in a dot file read at startup of a shell. // // tcsh and csh users: setenv OSSIM_PREFS_FILE ~/ossim_preferences // // bash and sh users: export OSSIM_PREFS_FILE=~/ossim_preferences // // windoze users: I'll have to look this up... // // You can also use the "-P <preference_file>" option at application startup. // where <preference_file> is full path and filename. // // ------------------------------------------------------------------------ // --- // Keyword pair: // elevation_source.type // elevation_source.filename // // Indicates an elevation source. These should be listed in pairs. Numbering // should start with 1 with lowest number being the highest resolution. This // can be a cell(file) or a directory. // // There are four elevation_source.type types: // elevation_source.type: dted_cell // elevation_source.type: srtm_cell // elevation_source.type: dted_directory // elevation_source.type: srtm_directory // elevation_source.type: general_raster_directory // // The elevation_source.filename keyword should point to a cell or a directory. // // NOTES: // 1) Put your highest resolution first, 1rc, then 3arc and so on. // 2) DTED factories are in front of srtm factories. // // Examples: //--- //elevation_source1.filename: /images/elevation/srtm/1arc //elevation_source1.type: srtm_directory // //elevation_source2.filename: /images/elevation/dted/3arc //elevation_source2.type: dted_directory // //elevation_source3.filename: /images/elevation/dted/1arc/w090/n40.dt1 //elevation_source3.type: dted_cell // //elevation_source4.filename: /images/elevation/srtm/1arc/N40W092.hgt //elevation_source4.type: srtm_cell // //elevation_source4.filename: /images/elevation/srtm/half_arc_raster //elevation_source4.type: general_raster_directory // elevation_source1.filename: /md0/ossim/dot_ossim/elevation/srtm/1arc elevation_source1.type: srtm_directory // --- // --- // Keyword: default_elevation_path // Default path for the elevation manager popup "Add" to start at. default_elevation_path: /md0/ossim/dot_ossim/elevation/srtm/1arc // --- // --- // Keyword: elevation.enabled // If disabled calls to the elevation manager getHeightAboveMSL and // getHeightAboveEllipsoid will return a null height. (default=true) // Use: "true", "yes", "y" or "1" to enable, // "false", "no", "n" or "0" to disable. elevation.enabled: true // --- // --- // Keyword: elevation.auto_load_dted.enabled // Enable autoloading of dted elevation as need from above directories. // (default=true) // Use: "true", "yes", "y" or "1" to enable, // "false", "no", "n" or "0" to disable. elevation.auto_load_dted.enabled: true // --- // --- // Keyword: elevation.auto_sort.enabled // Enable sorting of elevation cells on an add by the lowest(best) mean post // spacing. (default=true) // Use: "true", "yes", "y" or "1" to enable, // "false", "no", "n" or "0" to disable. elevation.auto_sort.enabled: true // --- // --- // Keyword: elevation.compute_statistics.enabled // // Enable computations of min and max height of each elevation cell. This // will force a write of a statistics file if one does not exists. If disabled // and the statistics file is not present the min and max value will be // undefined. Typically if you are doing mosaics of elevation you would want // this on. If you don't want a pause computing stats like in a 3d viewer // you would want this off. (default=true) // // Use: "true", "yes", "y" or "1" to enable, // "false", "no", "n" or "0" to disable. elevation.compute_statistics.enabled: true // --- // --- // Location of datum grids: // // Snip from: http://www.ngs.noaa.gov/TOOLS/Nadcon/Nadcon.html // // Advances in the accuracies now obtainable in geodetic surveys, specifically // through use of differential GPS, has allowed for the creation of state // High Precision Geodetic Networks (HPGNs), also referred to as High Accuracy // Reference Networks (HARNs) throughout the country. // --- // datum_grids: /data/ossim/elevation/nadcon-grids datum_grids: /md0/ossim/dot_ossim/elevation/nadcon-grids // --- // For state plane projection factory. Note do not add harn if you do not // have the harn datum grids. // --- state_plane_csv_file1: /md0/ossim/dot_ossim/projection/state_plane.csv state_plane_csv_file2: /md0/ossim/dot_ossim/projection/harn_state_plane_epsg.csv // --- // deprecated for new geoid_ngs_directory keyword // // Geoid support: // Note: Since the sensor models do earth intersects at height above the // ellipsoid and the vertical datum of DTED is geoid_egm_96_grid, you // should have a geoid grid in place for accurate earth intersections. // --- // --- // GEOID 99: Set keyword to the directory containing the GEOID 99 grids. // // Notes: // - Grids must be in the native byte order. // - Can be downloaded from: // http://www.ngs.noaa.gov/GEOID/GEOID99 // --- // geoid_99_directory: /data/ele1/geoid/geoid99 // // current release only allows for a single directory // we will allow for multiple directories later and auto detecting // if possible. // // currently the file names are hard coded and need to be from the NGS distribution // also downloadable from ftp.remotesensing.org under/ossim/test_data.tgz // //geoid_ngs_directory: /data/ear1/geoid/geoid99 //geoid_ngs_directory.byte_order: big_endian geoid_ngs_directory: /md0/ossim/dot_ossim/geoids/geoid99 geoid_ngs_directory.byte_order: big_endian // -- // --- // Generic support has been added to each NGS geoid grid. You can download // ngs grids for 1999, 2003, ... and should should work. // byte order can be big_endian or little_endian //geoid_ngs_directory1: /data/ear1/geoidngs99 //geoid_ngs_directory1.byte_order: little_endian // --- // GEOID EGM 96: Set keyword to the path to the egm96.grd // // Notes: // - Grid must be in BIG ENDIAN (UNIX) format. // - Can be downloaded from svn: // svn co http://svn.osgeo.org/ossim/trunk/ossim_package_support/geoids geoids // --- geoid_egm_96_grid: /md0/ossim/dot_ossim/geoids/geoid1996/egm96.grd // --- // Font support: // NOTE: To use the MapCompositionSource you must at least have "font.dir1" // set to some default. // --- // font.file1: /usr/share/fonts/default/Type1/b018032l.pfb // font.dir1: /usr/share/fonts/default/Type1 font.dir1: /md0/ossim/dot_ossim/fonts //--- // OSSIM plugin support: // // Notes: // // Embedded trace debug can be turned on using "ossimDynamic" // eg using icp application: // $ icp -T ossimDynamic // ossimDynamicLibrary::load DEBUG: // Loaded library: /usr/local/lib/libossimpng_plugin.so // ossimDynamicLibrary::load DEBUG: // Loaded library: /usr/local/lib/libossimgdal_plugin.so // ossimDynamicLibrary::load DEBUG: // Loaded library: /usr/local/lib/libossimreg_plugin.so // ossimDynamicLibrary::load DEBUG: // Loaded library: /usr/local/lib/libossimcontrib_plugin.so // // Keywords: // // plugin.dir1: < directory where plugins are > // // you can also list by individual file names // // plugin.file1: < full path and file name > //--- // Example, edit/uncomment as needed: plugin.file1: /usr/local/lib/libossimpng_plugin.so plugin.file2: /usr/local/lib/libossimgdal_plugin.so plugin.file3: /usr/local/lib/libossimreg_plugin.so plugin.file4: /usr/local/lib/libossimndf_plugin.so plugin.file5: /usr/local/lib/libossimOpenJpeg_plugin.so //plugin.file5: /usr/local/lib/libossimcontrib_plugin.so // //plugin.dir1: /md0/ossim/dot_ossim/plugins // END OSSIM plugin support //--- // Toggles for recceVue application: statusLatLon: true statusHeight: true statusDatum: true statusGSD: true statusUpdateOnClick: true // --- // Keyword: cache_size // The cache size is in megabytes // --- cache_size: 1000 // --- // Keyword: overview_stop_dimension // // Affects any overview building from img2rr, imagelinker, iview. Controls // the amount of resLevels created. // // This is the point where "img2rr" or the overview builder will stop // decimating the image down. So in other words, if the // overview_stop_dimension keyword is 64, img2rr application will build // overviews, decimating each level by 2 until both the width and heigh are // less than or equal to 64. Note the larger the dimension the less levels // created. // // Uncomment one below. // --- // overview_stop_dimension: 32 overview_stop_dimension: 64 // overview_stop_dimension: 128 // overview_stop_dimension: 256 // overview_stop_dimension: 512 // --- // Keyword: tile_size // // Tile size x y // // Affects all ossim application. This is the internal tile size of any // image chain unless overridden by the filter. // // Notes: // 1) OSSIM can handle any tile size; however it is best to use a size that // is a power of two. // 2) // // Uncomment one below. // --- // tile_size: 32 32 tile_size: 64 64 // tile_size: 128 128 // tile_size: 256 256 // tile_size: 512 512 // tile_size: 1024 1024 // --- // Keyword: shapefile_colors_auto // // Shape file colors set to automatic. // This is a boolean value. If true pen and brush color of shape files will // be determined by indexing a color table in a round robin approach. If set // to true the auto colors override keywords for "pen" and "brush" color. // Default value if not found if "false". // // Value can be: true, yes, y, 1, false, no, n or 0 // --- shapefile_colors_auto: false // --- // Shape file pen color: // Three values for red, green and blue between 0 and 1.0 with 1.0 being // brightness and 0.0 being black. // --- shapefile_normalized_rgb_pen_color: 0.004 1.0 0.004 // --- // Shape file pen color: // Three values for red, green and blue between 0 and 1.0 with 1.0 being // brightness and 0.0 being black. // --- shapefile_normalized_rgb_brush_color: 0.004 1.0 0.004 // --- // Shape file point size: // Width and height for points in pixels. // --- shapefile_point_size: 6.0 6.0 // -------------------------- // Some keywords for the OSSIM GUI application // // // igen spec files output./ This is the directory location you would // like the igen export GUI to default to when outputing spec files //ossim.igen_spec_output_directory: /work/gpotts/igen_test ossim.igen_spec_output_directory: /md0/ossim/dot_ossim/igen_test // this is the igen executable. Make sure you put the full path ossim.igen_executable: /usr/local/bin/ossim-igen // END keywords for OSSIM GUI //-------------------------- //--------------------------------------- // osgPlanet Reference background setup // Image type // // ossimosgplanet.background.type: local // each image listed with file0 ... file<n> // ossimosgplanet.background.file0: /md0/ossim/dot_ossim/images/reference/earth.jpg ossimosgplanet.background.transparent_color_flag:0 ossimosgplanet.background.transparent_color: 0 0 0 ossimosgplanet.background.opacity: 255 // END osgPlanet Reference Background //--------------------------------------------- // --- //archive0.type: local //archive0.file0: /md0/ossim/dot_ossim/images/reference/land_shallow_topo_east_tiled.tif //archive0.file1: /md0/ossim/dot_ossim/images/reference/land_shallow_topo_west_tiled.tif //archive0.transparent_color_flag:0 //archive0.transparent_color: 0 0 0 //archive0.opacity: 255 // --- // --- // Position Quality Evaluator (PQE) keywords. // Note Circulay Error(CE) and Linear Error (LE) units are in meters. // These keywords are for the imagelinker->image-window->PQE dialog box. // They allow the user to calculater position quality factoring in backdrop // and elevation uncertainty. // --- // Backdrop enter "name,ce90,le90" like "JOG-A,77,38". pqe_backdrop1: TLM50,31,25 pqe_backdrop2: TLM100,61,25 pqe_backdrop3: JOG-A,77,38 pqe_backdrop4: TPC,613,47 pqe_backdrop5: ONC,1226,93 pqe_backdrop6: JNC,2452,187 pqe_backdrop7: GNC,6129,465 // Elevation enter "name,ce90,le90" like "SRTM_1ARC,20,16" // Accuracies vary widely depending on terrain and how they were computed. // These are just examples. pqe_elev1: SRTM_3ARC,20,16 pqe_elev2: SRTM_1ARC,20,10 pqe_elev3: DTED_LEVEL2,40,20 pqe_elev4: DTED_LEVEL1,50,30 pqe_elev5: RPC_No_DEM_State,-2,-1.6449 // Special Case // RPC_No_DEM_State, Scale Divisor, 1-Sigma Divisor (minus signs required) pqe_normalized_rgb_ellipse_color: 0.004 1.0 0.004 // End of PQE keywords... System: Linux 2.6.30.9-96.fc11.x86_64 #1 SMP Wed Nov 4 00:02:04 EST 2009 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10603901 Selinux: No Accessibility: Disabled GTK+ Theme: Nodoka Icon Theme: Fedora GTK+ Modules: canberra-gtk-module, pk-gtk-module, gnomebreakpad Memory status: size: 1176305664 vsize: 1176305664 resident: 105299968 share: 55115776 rss: 105299968 rss_rlim: 18446744073709551615 CPU usage: start_time: 1257545356 rtime: 9094 utime: 7132 stime: 1962 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/hd2/ossim_15842/ossimPlanetQt/bin/ossimplanet' [?1034h[Thread debugging using libthread_db enabled] 0x000000397500ea2d in __libc_waitpid (pid=3912, stat_loc=<value optimized out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41 41 int result = INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL); Current language: auto; currently minimal #0 0x000000397500ea2d in __libc_waitpid (pid=3912, stat_loc=<value optimized out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41 #1 0x0000003e5786e829 in IA__g_spawn_sync ( working_directory=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>, flags=<value optimized out>, child_setup=<value optimized out>, user_data=<value optimized out>, standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x7fff6f7fe958) at gspawn.c:386 #2 0x0000003e5786eb39 in IA__g_spawn_command_line_sync ( command_line=<value optimized out>, standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x7fff6f7fe958) at gspawn.c:700 #3 0x00007ffe0626bdc1 in run_bug_buddy (pid=<value optimized out>, appname=<value optimized out>, minidump_path=<value optimized out>) at gnome-breakpad.cc:409 #4 check_if_gdb (pid=<value optimized out>, appname=<value optimized out>, minidump_path=<value optimized out>) at gnome-breakpad.cc:480 #5 bugbuddy_segv_handle (pid=<value optimized out>, appname=<value optimized out>, minidump_path=<value optimized out>) at gnome-breakpad.cc:223 #6 <signal handler called> #7 strcmp () at ../sysdeps/x86_64/strcmp.S:30 #8 0x00007ffe01f6113b in ossimPngReader::RTTI_cast(RTTItypeid) () from /usr/local/lib/libossimpng_plugin.so #9 0x00007ffe108be9b2 in ossimListenerManager::fireEvent(ossimEvent&) () from /usr/local/lib/libossim.so.1 #10 0x00007ffe1085476b in ossimConnectableObject::disconnectMyOutput(int, bool, bool) () from /usr/local/lib/libossim.so.1 #11 0x00007ffe10853f69 in ossimConnectableObject::disconnectAllOutputs() () from /usr/local/lib/libossim.so.1 #12 0x00007ffe10853d98 in ossimConnectableObject::disconnect(ossimConnectableObject*) () from /usr/local/lib/libossim.so.1 #13 0x00007ffe1154c78c in ossimPlanetOssimImageLayer::~ossimPlanetOssimImageLayer() () from /usr/local/lib/libossimPlanet.so #14 0x00007ffe118bb60e in osg::Referenced::unref (this=<value optimized out>) at /usr/include/osg/Referenced:183 #15 ~ref_ptr (this=<value optimized out>) at /usr/include/osg/ref_ptr:33 #16 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer> > ( this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_construct.h:83 #17 __destroy<osg::ref_ptr<ossimPlanetTextureLayer>*> ( this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_construct.h:93 #18 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer>*> ( this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_construct.h:116 #19 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer>*, osg::ref_ptr<ossimPlanetTextureLayer> > (this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_construct.h:142 #20 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::_M_destroy_data_aux ( this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/deque.tcc:733 #21 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::_M_destroy_data (this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_deque.h:1653 #22 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::~deque (this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_deque.h:790 #23 0x0000003974436bc0 in __cxa_finalize (d=0x7ffe11b5b5c0) at cxa_finalize.c:56 #24 0x00007ffe118a2c66 in __do_global_dtors_aux () from /usr/local/lib/libossimPlanetQt.so.1 #25 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ffe0c721850 (LWP 3904)): #0 0x000000397500ea2d in __libc_waitpid (pid=3912, stat_loc=<value optimized out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41 _a3 = 0 _a1 = 3912 resultvar = <value optimized out> _a4 = 0 _a2 = 140735064041392 oldtype = 0 result = <value optimized out> #1 0x0000003e5786e829 in IA__g_spawn_sync ( working_directory=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>, flags=<value optimized out>, child_setup=<value optimized out>, user_data=<value optimized out>, standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x7fff6f7fe958) at gspawn.c:386 outpipe = -1 errpipe = -1 pid = 3912 fds = {__fds_bits = {140735064041816, 16, 16, 0, 3, 140735064041816, 32565776, 37040176, 3, 0, 37040200, 267756320437, 140735064041400, 140735064041392, 140735064041512, 0}} ret = -512 outstr = 0x0 errstr = 0x0 failed = 0 status = <value optimized out> __PRETTY_FUNCTION__ = "IA__g_spawn_sync" #2 0x0000003e5786eb39 in IA__g_spawn_command_line_sync ( command_line=<value optimized out>, standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x7fff6f7fe958) at gspawn.c:700 retval = 0 argv = 0x2353030 __PRETTY_FUNCTION__ = "IA__g_spawn_command_line_sync" #3 0x00007ffe0626bdc1 in run_bug_buddy (pid=<value optimized out>, appname=<value optimized out>, minidump_path=<value optimized out>) at gnome-breakpad.cc:409 res = <value optimized out> warning_file = 0x0 exec_str = 0x21a8e60 "bug-buddy --appname=\"<unknown>\" --pid=3904" args_str = <value optimized out> error = 0x0 #4 check_if_gdb (pid=<value optimized out>, appname=<value optimized out>, minidump_path=<value optimized out>) at gnome-breakpad.cc:480 gdb = 0x2c1e790 "/usr/bin/gdb" pid = 3904 mypath = 0x3c0b4e0 "\360C\362\1" has_debug_symbols = <value optimized out> appname = 0x1f81640 "<unknown>" #5 bugbuddy_segv_handle (pid=<value optimized out>, appname=<value optimized out>, minidump_path=<value optimized out>) at gnome-breakpad.cc:223 in_segv = 1 #6 <signal handler called> No locals. #7 strcmp () at ../sysdeps/x86_64/strcmp.S:30 No locals. #8 0x00007ffe01f6113b in ossimPngReader::RTTI_cast(RTTItypeid) () from /usr/local/lib/libossimpng_plugin.so No symbol table info available. #9 0x00007ffe108be9b2 in ossimListenerManager::fireEvent(ossimEvent&) () from /usr/local/lib/libossim.so.1 No symbol table info available. #10 0x00007ffe1085476b in ossimConnectableObject::disconnectMyOutput(int, bool, bool) () from /usr/local/lib/libossim.so.1 No symbol table info available. #11 0x00007ffe10853f69 in ossimConnectableObject::disconnectAllOutputs() () from /usr/local/lib/libossim.so.1 No symbol table info available. #12 0x00007ffe10853d98 in ossimConnectableObject::disconnect(ossimConnectableObject*) () from /usr/local/lib/libossim.so.1 No symbol table info available. #13 0x00007ffe1154c78c in ossimPlanetOssimImageLayer::~ossimPlanetOssimImageLayer() () from /usr/local/lib/libossimPlanet.so No symbol table info available. #14 0x00007ffe118bb60e in osg::Referenced::unref (this=<value optimized out>) at /usr/include/osg/Referenced:183 No locals. #15 ~ref_ptr (this=<value optimized out>) at /usr/include/osg/ref_ptr:33 No locals. #16 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer> > ( this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_construct.h:83 No locals. #17 __destroy<osg::ref_ptr<ossimPlanetTextureLayer>*> ( this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_construct.h:93 No locals. #18 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer>*> ( this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_construct.h:116 No locals. #19 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer>*, osg::ref_ptr<ossimPlanetTextureLayer> > (this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_construct.h:142 No locals. #20 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::_M_destroy_data_aux ( this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/deque.tcc:733 No locals. #21 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::_M_destroy_data (this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_deque.h:1653 No locals. #22 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::~deque (this=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_deque.h:790 No locals. #23 0x0000003974436bc0 in __cxa_finalize (d=0x7ffe11b5b5c0) at cxa_finalize.c:56 check = <value optimized out> cxafn = 0x21ee6b8 cxaarg = 0x1f06630 f = 0x1f0a6b0 funcs = 0x1f0a3a0 #24 0x00007ffe118a2c66 in __do_global_dtors_aux () from /usr/local/lib/libossimPlanetQt.so.1 No symbol table info available. #25 0x0000000000000000 in ?? () No symbol table info available. The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal] ----------- .xsession-errors (2711 sec old) --------------------- gnome-session[2254]: WARNING: could not read /root/.config/autostart/xfce4-settings-helper-autostart.desktop GNOME_KEYRING_SOCKET=/tmp/keyring-t79L3v/socket SSH_AUTH_SOCK=/tmp/keyring-t79L3v/socket.ssh Failed to play sound: Not available ** (gnome-user-share:2374): WARNING **: gnome-user-share cannot be started as root for security reasons. W: main.c: This program is not intended to be run as root (unless --system is specified). Initializing nautilus-open-terminal extension Unable to open desktop file nautilus-computer.desktop for panel launcher Unable to open desktop file nautilus-computer.desktop for panel launcher Unable to open desktop file nautilus-home.desktop for panel launcher Unable to open desktop file nautilus-computer.desktop for panel launcher Initializing nautilus-search-tool extension ** (nautilus:2366): WARNING **: Unable to add monitor: Not supported -------------------------------------------------- . ./planet ./planet/wms ./planet/wms/cache ./planet/wms/cache/neowms_sci_gsfc_nasa_gov ./planet/wms/cache/neowms_sci_gsfc_nasa_gov/GEBCO_BATHY ./planet/wms/cache/neowms_sci_gsfc_nasa_gov/GEBCO_BATHY/rgb ./planet/wms/cache/neowms_sci_gsfc_nasa_gov/BlueMarbleNG-TB ./planet/wms/cache/neowms_sci_gsfc_nasa_gov/MYDAL2_D_CLD_RD ./planet/wms/cache/neowms_sci_gsfc_nasa_gov/MYDAL2_D_CLD_RD/rgb ./planet/wms/cache/neowms_sci_gsfc_nasa_gov/TRMM_3B43D ./planet/wms/cache/neowms_sci_gsfc_nasa_gov/TRMM_3B43D/rgb ./planet/wms/cache/wms_telascience_org ./planet/wms/cache/wms_telascience_org/world_topo_bathy ./planet/wms/cache/wms_telascience_org/ndvi ./planet/wms/cache/wms_telascience_org/world ./planet/wms/cache/wms_jpl_nasa_gov ./planet/wms/cache/wms_jpl_nasa_gov/global_mosaic_base ./planet/wms/cache/wms_jpl_nasa_gov/global_mosaic_base/visual ./planet/wms/cache/wms_jpl_nasa_gov/daily_planet ./planet/wms/cache/wms_jpl_nasa_gov/daily_planet/default ./planet/wms/cache/wms_jpl_nasa_gov/us_ned ./planet/wms/cache/wms_jpl_nasa_gov/us_ned/default ./planet/wms/cache/wms_jpl_nasa_gov/us_ned/real ./planet/wms/cache/wms_jpl_nasa_gov/huemapped_srtm ./planet/wms/cache/wms_jpl_nasa_gov/huemapped_srtm/default ./planet/wms/cache/wms_jpl_nasa_gov/BMNG ./planet/wms/cache/wms_jpl_nasa_gov/BMNG/Dec_ns ./planet/wms/cache/wms_jpl_nasa_gov/modis ./planet/wms/cache/wms_jpl_nasa_gov/modis/default ./planet/wms/cache/wms_jpl_nasa_gov/daily_terra_ndvi ./planet/wms/cache/wms_jpl_nasa_gov/daily_terra_ndvi/default ./planet/session ./reference ./plugins_hold ./cache ./geoids ./geoids/geoid99 ./geoids/geoid03 ./geoids/geoid1996 ./icons ./images ./images/large ./images/reference ./images/reference/earth ./projection ./igen_test ./doc ./kml ./shapefiles ./elevation ./elevation/nadcon-grids ./elevation/srtm ./elevation/srtm/1arc ./elevation/general_raster ./elevation/general_raster/srtm30plus ./fonts ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ www.ossim.org Ossim-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/ossim-developer |
||||||||||||||||
|
David R. Burken
|
Hi William,
Glad to hear you're kind of up and running. I suspect there is a refptr mismatch somewhere and that someone is self destructing prematurely. I have to defer this to Garrett though as currently don't have planet built. Dave ________________________________________ From: William Miller [[hidden email]] Sent: Friday, November 06, 2009 5:38 PM To: [hidden email] Subject: [OSSIM] Experinces with SVN 15867 Greetings, OSSIM svn 15762 worked well for me! The only exception was imagelinker (qt4). I am, however, having problems with svn 15867 which is working better than 15855. I have taken the following steps better identify my problems with OSSIM on FEDORA-11. I have two machines one 32bit and one 64bit. Based on your kind email suggestion, I started over. Always good to have a clean start. I performed memtest on both machines... no errors. 1) I erased OSSIM from both machines. I erased then re-installed gdal, gdal-devel, qt4, and qt4-devel on both machines. 2) I downloaded a fresh copy and recompiled OSSIM on both machines using svn 15867. 3) ~/.ossim points to the same nfs mounted volume on each machine. 4) attached is my ossim_preferences file. ====================================================================== I have the following observations for the X86 architecture. imagelinker (qt3) works fine with ERDAS img files, nitf, geotiff, png, etc. iview (qt3) works fine! imagelinker (qt4) Neither Vce-> New Chain nor Vce-> Components do anything. The rest seems to work! iview (qt4) works fine! ossimplanet works fine except! The moon is not rendered though present. moon.jpg, sun.jpg, and earth.jpg show under image layers. ossimplanet throws a segmentation violation on exit. In gdb ... On File->quit .... Program received signal SIGSEGV, Segmentation fault. 0x00932bda in strcmp () from /lib/libc.so.6 .... (gdb) where #0 0x00932bda in strcmp () from /lib/libc.so.6 #1 0x020d5e9a in RTTITypeinfo::same (p=<value optimized out>, this=<value optimized out>) at /media/disk2/ossim/ossim/ossim/include/ossim/base/ossimRtti.h:216 #2 RTTItypeid::operator== (p=<value optimized out>, this=<value optimized out>) at /media/disk2/ossim/ossim/ossim/include/ossim/base/ossimRtti.h:246 #3 ossimPngReader::RTTI_cast (p=<value optimized out>, this=<value optimized out>) at ossimPngReader.cpp:33 #4 0x035662b1 in ossimListenerManager::fireEvent (this=0x81554ac, event= @0xbfffe704) at ossimListenerManager.cpp:38 #5 0x034f55d6 in ossimConnectableObject::disconnectMyOutput (this=0x81554a0, outputIndex=0, disconnectInputFlag=true, createEvent=true) at ossimConnectableObject.cpp:667 #6 0x034f4e32 in ossimConnectableObject::disconnectAllOutputs (this=0x81554a0) at ossimConnectableObject.cpp:771 #7 0x034f4c3e in ossimConnectableObject::disconnect (this=0x81554a0, object=0x0) at ossimConnectableObject.cpp:514 #8 0x002dab77 in ossimPlanetOssimImageLayer::~ossimPlanetOssimImageLayer() () from /usr/local/lib/libossimPlanet.so #9 0x00719caf in osg::Referenced::unref (this=<value optimized out>) at /usr/include/osg/Referenced:183 #10 ~ref_ptr (this=<value optimized out>) at /usr/include/osg/ref_ptr:33 #11 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer> > ( this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_construct.h:83 #12 __destroy<osg::ref_ptr<ossimPlanetTextureLayer>*> ( this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_construct.h:93 #13 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer>*> ( this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_construct.h:116 #14 _Destroy<osg::ref_ptr<ossimPlanetTextureLayer>*, osg::ref_ptr<ossimPlanetTextureLayer> > (this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_construct.h:142 #15 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::_M_destroy_data_aux ( this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/deque.tcc:733 #16 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::_M_destroy_data (this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_deque.h:1653 #17 std::deque<osg::ref_ptr<ossimPlanetTextureLayer>, std::allocator<osg::ref_ptr<ossimPlanetTextureLayer> > >::~deque (this=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c ++/4.4.1/bits/stl_deque.h:790 #18 0x008e91e2 in __cxa_finalize () from /lib/libc.so.6 #19 0x006ffc94 in __do_global_dtors_aux () from /usr/local/lib/libossimPlanetQt.so.1 #20 0x007a14b0 in _fini () from /usr/local/lib/libossimPlanetQt.so.1 #21 0x00b96256 in _dl_fini () from /lib/ld-linux.so.2 #22 0x008e8e0f in exit () from /lib/libc.so.6 #23 0x008d0a6e in __libc_start_main () from /lib/libc.so.6 #24 0x08049a61 in _start () ====================================================================== I have the following observations for the X86_64 architecture. imagelinker (qt) works fine with ERDAS img files, nitf, geotiff, png, etc. iview (qt3) works fine! imagelinker (qt4) file->open image works fine! Neither Vce-> New Chain nor Vce-> Components do anything. The rest seems to work! iview (qt4) works fine! ossimplanet comes up with globe. The moon is not rendered though present. moon.jpg, sun.jpg, and earth.jpg show under image layers. "File->open image" brings up a an open dialog box with two blank sections. A click in the left section displays the appropriate places but the files section remains blank. "File->open video", "File->open kml", and "File->open session" behave as "File->open image". "File->open WMS" works file. ossimplanet has a segmentation violation on "File->quit" see attachment (basically same as X86). ossim-icp ossim-icp ossim_png --disable-elev 9doq_matched_gray.tiff 9doq_matched_gray.png.... WORKS! ossim-height ossim-height 38.8 -77.6 Did not find cell for point! Geoid offset: -32.0238 Height above MSL: 107.75 Height above ellipsoid: 75.7262 move .ossim out of the way and execute ossim-height: ossim-height ossim-height 38.8 -77.6 Opened cell: /md0/ossim/dot_ossim/elevation/srtm/1arc/N38W078.hgt Geoid offset: -32.0238 Height above MSL: 111 Height above ellipsoid: 78.9762 .ossim overrides ossim_preferences? The actual data is on nfs and is the same. What is the proper structure for .ossim? My .ossim structure is attached. ------------------------------------------------- William G. Miller, computer scientist U.S. Geological Survey 12201 Sunrise Valley Drive Reston, VA 20192 (703) 648-6721 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ www.ossim.org Ossim-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/ossim-developer |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |