Re: [osg-users] vpbmaster vs osgdem
Hi Robert, jp, gbd pointed to crash in GDAL - sincos. I compiled GDAL 1.6.0 and presto... all good. Thanks for your help. Gert On Fri, 10 Apr 2009 00:56:59 +1200, osg-users-requ...@lists.openscenegraph.org wrote: Hi Gert, Could you run osgdem inside gdb i.e. gdb osgdem run -all-my-usual command line options Then once it crashes type: where To get a stack trace. I seem to remember having a few problems with gdal last year with Kubuntu 8.10, so there is chance that gdal was broken in 8.10. Compiling gdal from source fixed it for me. I'm using Kubuntu 9.04 beta right now at it works fine with gdal. Robert. On Thu, Apr 9, 2009 at 5:44 AM, Gert van Maren g...@k2vi.com wrote: Hi Robert, Try build this task on a different OS, there is a chance that it will either just work, or if it fails it will provide more clues as to what might be wrong. Done that - Installed Ubuntu 8.10 - ran your script to install latest OSG: http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg21880.html - installed latest VPBmaster Result: OSG runs fine. All examples run fine including osgprerender cow.osg --pbuffer. But: osgdem and vpbmaster give me: segmentation fault I did read the [osg-users] 'osgdem segmentation fault' thread but this doesn't appear to be a GLX/OpenGL driver bug. Using the 180 Nvidia drivers Gert -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd 3 Cliff Wilson street Level 2, 9305 Wanaka, New Zealand Phone: +64 21 2855581 Email: g...@k2vi.com Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpbmaster vs osgdem
Gert, You might want to build the newest libgeotiff and libtiff before GDAL. I was getting tiffread errors until they were all updated. - Mark -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Gert van Maren Sent: Friday, April 10, 2009 12:58 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] vpbmaster vs osgdem Hi Robert, jp, gbd pointed to crash in GDAL - sincos. I compiled GDAL 1.6.0 and presto... all good. Thanks for your help. Gert On Fri, 10 Apr 2009 00:56:59 +1200, osg-users-requ...@lists.openscenegraph.org wrote: Hi Gert, Could you run osgdem inside gdb i.e. gdb osgdem run -all-my-usual command line options Then once it crashes type: where To get a stack trace. I seem to remember having a few problems with gdal last year with Kubuntu 8.10, so there is chance that gdal was broken in 8.10. Compiling gdal from source fixed it for me. I'm using Kubuntu 9.04 beta right now at it works fine with gdal. Robert. On Thu, Apr 9, 2009 at 5:44 AM, Gert van Maren g...@k2vi.com wrote: Hi Robert, Try build this task on a different OS, there is a chance that it will either just work, or if it fails it will provide more clues as to what might be wrong. Done that - Installed Ubuntu 8.10 - ran your script to install latest OSG: http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg21880. html - installed latest VPBmaster Result: OSG runs fine. All examples run fine including osgprerender cow.osg --pbuffer. But: osgdem and vpbmaster give me: segmentation fault I did read the [osg-users] 'osgdem segmentation fault' thread but this doesn't appear to be a GLX/OpenGL driver bug. Using the 180 Nvidia drivers Gert -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd 3 Cliff Wilson street Level 2, 9305 Wanaka, New Zealand Phone: +64 21 2855581 Email: g...@k2vi.com Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpbmaster vs osgdem
Hi Gert, Could you run osgdem inside gdb i.e. gdb osgdem run -all-my-usual command line options Then once it crashes type: where To get a stack trace. I seem to remember having a few problems with gdal last year with Kubuntu 8.10, so there is chance that gdal was broken in 8.10. Compiling gdal from source fixed it for me. I'm using Kubuntu 9.04 beta right now at it works fine with gdal. Robert. On Thu, Apr 9, 2009 at 5:44 AM, Gert van Maren g...@k2vi.com wrote: Hi Robert, Try build this task on a different OS, there is a chance that it will either just work, or if it fails it will provide more clues as to what might be wrong. Done that - Installed Ubuntu 8.10 - ran your script to install latest OSG: http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg21880.html - installed latest VPBmaster Result: OSG runs fine. All examples run fine including osgprerender cow.osg --pbuffer. But: osgdem and vpbmaster give me: segmentation fault I did read the [osg-users] 'osgdem segmentation fault' thread but this doesn't appear to be a GLX/OpenGL driver bug. Using the 180 Nvidia drivers Gert -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd 3 Cliff Wilson street Level 2, 9305 Wanaka, New Zealand Phone: +64 21 2855581 Email: g...@k2vi.com Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpbmaster vs osgdem
Hi, can you also report what cpp flags were used in your build? Search for: CMAKE_CXX_FLAGS_RELEASE in CMakeCache.txt. I assume that the script made the release build. Also what does g++ -v give? I remember a problem on Debian once where -O3 caused osgdem to segfault. -O2 worked fine. jp Gert van Maren wrote: Hi Robert, Try build this task on a different OS, there is a chance that it will either just work, or if it fails it will provide more clues as to what might be wrong. Done that - Installed Ubuntu 8.10 - ran your script to install latest OSG: http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg21880.html - installed latest VPBmaster Result: OSG runs fine. All examples run fine including osgprerender cow.osg --pbuffer. But: osgdem and vpbmaster give me: segmentation fault I did read the [osg-users] 'osgdem segmentation fault' thread but this doesn't appear to be a GLX/OpenGL driver bug. Using the 180 Nvidia drivers Gert -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpbmaster vs osgdem
Hi Gert, Unfortunatly the extra details of the crash don't help too much, they just provide a few more clues but only scant ones. It's the stack trace that is the essential part to homing in on the cause. Try build this task on a different OS, there is a chance that it will either just work, or if it fails it will provide more clues as to what might be wrong. Another leads to follow up on is whether gdal is able to read earthmap_merged.tif file, try using gdalinfo on the file to see it can be read OK. Robert. On Wed, Apr 8, 2009 at 4:07 AM, Gert van Maren g...@k2vi.com wrote: Hi Robert, I did run osgdem in debug mode. No stack trace but the following error in the output log: First-chance exception at 0x7c812a5b in osgdemd.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x00dbe350.. The thread 'Win32 Thread' (0xca0) has exited with code 1 (0x1). The program '[2704] osgdemd.exe: Native' has exited with code 1 (0x1). Full log attached. Ran it multiple times now in debug and release. The log always stops with the same last line 3479.794 : DestinationTile::readFrom(SetName=, FileName=F:\K2Vi\Globe_data\earth\images\NEW_Global_texture\earthmap_with_clouds\earthmap_merged.tif) Does that give a clue? Maybe data issue? Only variation is the first number. The only other thing I could see was a error in the DOS window when running VPB but this happened in a earlier task: PixelBufferWin32::makeCurrentImplementation, wglMakeCurrent error: The handle is not valid also attached. Gert On Mon, 06 Apr 2009 10:05:22 +1200, osg-users-requ...@lists.openscenegraph.org wrote: So try simply running: osgdem --run-path F:\K2Vi\work_in_progress\Melbourne\osgdem -s build_master.source --subtile 13 7394 1195 --task tasks/build_subtile_L6_X57_Y9/build_subtile_L13_X7394_Y1195.task --log logs/build_subtile_L6_X57_Y9/build_subtile_L13_X7394_Y1195.log Hopefully this task will fail again, if it does then try and run it in a debugger to get a stack trace. Beyond this we don't really have any clues what have gone wrong. Another thing you could try is building under another OS. Windows isn't the best platform to do heavy duty lifting like large builds on as the file system is just too slow for this type of work. -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd 3 Cliff Wilson street Level 2, 9305 Wanaka, New Zealand Phone: +64 21 2855581 Email: g...@k2vi.com Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpbmaster vs osgdem
Hi Robert, Try build this task on a different OS, there is a chance that it will either just work, or if it fails it will provide more clues as to what might be wrong. Done that - Installed Ubuntu 8.10 - ran your script to install latest OSG: http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg21880.html - installed latest VPBmaster Result: OSG runs fine. All examples run fine including osgprerender cow.osg --pbuffer. But: osgdem and vpbmaster give me: segmentation fault I did read the [osg-users] 'osgdem segmentation fault' thread but this doesn't appear to be a GLX/OpenGL driver bug. Using the 180 Nvidia drivers Gert -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd 3 Cliff Wilson street Level 2, 9305 Wanaka, New Zealand Phone: +64 21 2855581 Email: g...@k2vi.com Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpbmaster vs osgdem
On Sat, Apr 4, 2009 at 8:45 PM, Gert van Maren g...@k2vi.com wrote: Hi Robert, Did you manage to open the zip file? If not I can attach only the last bits of the log files. Yes they just download fine. The three secondary split level tasks in the directory: vpb_task_logs/logs/build_subtile_L6_X57_Y9/ Have one of the files blank, one completed and one is incomplete. If they complete successfully then there will be an Elapsed time statement at end. The task that complete did so in a much quicker time than the task that didn't complete. Unfortunately there is no error messages that indicate why the build may have failed. What we can tell is that the task that generated build_subtile_L13_X7394_Y1195.log failed, so you could try to run this task in isolation. The task in question is tasks/build_subtile_L6_X57_Y9/build_subtile_L13_X7394_Y1195.task, where reads: application : osgdem --run-path F:\K2Vi\work_in_progress\Melbourne\osgdem -s build_master.source --subtile 13 7394 1195 --task tasks/build_subtile_L6_X57_Y9/build_subtile_L13_X7394_Y1195.task --log logs/build_subtile_L6_X57_Y9/build_subtile_L13_X7394_Y1195.log date : 2009/3/1 15:16:31 duration : 4465.65 hostname : guru3 pid : 3936 source : build_master.source status : pending So try simply running: osgdem --run-path F:\K2Vi\work_in_progress\Melbourne\osgdem -s build_master.source --subtile 13 7394 1195 --task tasks/build_subtile_L6_X57_Y9/build_subtile_L13_X7394_Y1195.task --log logs/build_subtile_L6_X57_Y9/build_subtile_L13_X7394_Y1195.log Hopefully this task will fail again, if it does then try and run it in a debugger to get a stack trace. Beyond this we don't really have any clues what have gone wrong. Another thing you could try is building under another OS. Windows isn't the best platform to do heavy duty lifting like large builds on as the file system is just too slow for this type of work. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpbmaster vs osgdem
Hi Robert, Did you manage to open the zip file? If not I can attach only the last bits of the log files. Gert Hi Robert, I've put a zip file in the same spot: vpb_task_logs.zip Weird thing is that all logs are small except the subtiles ones which are 20Mb+. That suppossed to be? Thanks Gert On Thu, 02 Apr 2009 01:44:56 +1300, osg-users-requ...@lists.openscenegraph.org wrote: HI Gert, I downloaded the file but on attempting to unpack the archive using unrar I get an error: unrar x vpb_task_logs.rar UNRAR 3.80 freeware Copyright (c) 1993-2008 Alexander Roshal The archive header is corrupt Extracting from vpb_task_logs.rar Unexpected end of archive No files to extract If I run md5sum I get: md5sum vpb_task_logs.rar 454388294a9cab627e7e60ac7d1d5e36 vpb_task_logs.rar Is the file OK? Could you try posting a zipped file? Robert. On Wed, Apr 1, 2009 at 7:56 AM, Gert van Maren g...@k2vi.com wrote: Hi Robert, I've put the tasks/logs on our ftp server: ftp.k2vi.com user: DIT_Guest password 33Karaka2oo9 (the two o's are the letter o, not numbers) file: /Download/OSG/vpb_task_logs.rar -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd 3 Cliff Wilson street Level 2, 9305 Wanaka, New Zealand Phone: +64 21 2855581 Email: g...@k2vi.com Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpbmaster vs osgdem
Hi Robert, I've put the tasks/logs on our ftp server: ftp.k2vi.com user: DIT_Guest password 33Karaka2oo9 (the two o's are the letter o, not numbers) file: /Download/OSG/vpb_task_logs.rar It does look like it goes down to level 21 looking at the log file that was last accessed but I can't see an error/warning. It just stops However when I compare this globe with a globe built by osgdem (also down to level 21) - the osgdem globe is way higher resolution both in terrain and aerial photo. Gert On Wed, 01 Apr 2009 02:59:53 +1300, osg-users-requ...@lists.openscenegraph.org wrote: Hi Gert, Could you post the .log files for the failed tasks. Robert. 2009/3/31 Gert van Maren g...@k2vi.com Hi Robert, Vpbmaster fires up, creates the task files and starts executing the tasks but in the very last task I get again errors. See attached dos output. Weird thing is that this last task appears to be at level 13 at least looking at the subtile naming. osgdem happily builds 21 levels with exactly the same input parameters. Maybe an issue with the task list creation? Have also attached the build_master.tasks and build_master.source files Any ideas? Cheers Gert -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd 3 Cliff Wilson street Level 2, 9305 Wanaka, New Zealand Phone: +64 21 2855581 Email: g...@k2vi.com Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpbmaster vs osgdem
HI Gert, I downloaded the file but on attempting to unpack the archive using unrar I get an error: unrar x vpb_task_logs.rar UNRAR 3.80 freeware Copyright (c) 1993-2008 Alexander Roshal The archive header is corrupt Extracting from vpb_task_logs.rar Unexpected end of archive No files to extract If I run md5sum I get: md5sum vpb_task_logs.rar 454388294a9cab627e7e60ac7d1d5e36 vpb_task_logs.rar Is the file OK? Could you try posting a zipped file? Robert. On Wed, Apr 1, 2009 at 7:56 AM, Gert van Maren g...@k2vi.com wrote: Hi Robert, I've put the tasks/logs on our ftp server: ftp.k2vi.com user: DIT_Guest password 33Karaka2oo9 (the two o's are the letter o, not numbers) file: /Download/OSG/vpb_task_logs.rar It does look like it goes down to level 21 looking at the log file that was last accessed but I can't see an error/warning. It just stops However when I compare this globe with a globe built by osgdem (also down to level 21) - the osgdem globe is way higher resolution both in terrain and aerial photo. Gert On Wed, 01 Apr 2009 02:59:53 +1300, osg-users-requ...@lists.openscenegraph.org wrote: Hi Gert, Could you post the .log files for the failed tasks. Robert. 2009/3/31 Gert van Maren g...@k2vi.com Hi Robert, Vpbmaster fires up, creates the task files and starts executing the tasks but in the very last task I get again errors. See attached dos output. Weird thing is that this last task appears to be at level 13 at least looking at the subtile naming. osgdem happily builds 21 levels with exactly the same input parameters. Maybe an issue with the task list creation? Have also attached the build_master.tasks and build_master.source files Any ideas? Cheers Gert -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd 3 Cliff Wilson street Level 2, 9305 Wanaka, New Zealand Phone: +64 21 2855581 Email: g...@k2vi.com Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpbmaster vs osgdem
Hi Robert, I've put a zip file in the same spot: vpb_task_logs.zip Weird thing is that all logs are small except the subtiles ones which are 20Mb+. That suppossed to be? Thanks Gert On Thu, 02 Apr 2009 01:44:56 +1300, osg-users-requ...@lists.openscenegraph.org wrote: HI Gert, I downloaded the file but on attempting to unpack the archive using unrar I get an error: unrar x vpb_task_logs.rar UNRAR 3.80 freeware Copyright (c) 1993-2008 Alexander Roshal The archive header is corrupt Extracting from vpb_task_logs.rar Unexpected end of archive No files to extract If I run md5sum I get: md5sum vpb_task_logs.rar 454388294a9cab627e7e60ac7d1d5e36 vpb_task_logs.rar Is the file OK? Could you try posting a zipped file? Robert. On Wed, Apr 1, 2009 at 7:56 AM, Gert van Maren g...@k2vi.com wrote: Hi Robert, I've put the tasks/logs on our ftp server: ftp.k2vi.com user: DIT_Guest password 33Karaka2oo9 (the two o's are the letter o, not numbers) file: /Download/OSG/vpb_task_logs.rar -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd 3 Cliff Wilson street Level 2, 9305 Wanaka, New Zealand Phone: +64 21 2855581 Email: g...@k2vi.com Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpbmaster vs osgdem
Hi Gert, Could you post the .log files for the failed tasks. Robert. 2009/3/31 Gert van Maren g...@k2vi.com Hi Robert, Vpbmaster fires up, creates the task files and starts executing the tasks but in the very last task I get again errors. See attached dos output. Weird thing is that this last task appears to be at level 13 at least looking at the subtile naming. osgdem happily builds 21 levels with exactly the same input parameters. Maybe an issue with the task list creation? Have also attached the build_master.tasks and build_master.source files Any ideas? Cheers Gert -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd 3 Cliff Wilson street Level 2, 9305 Wanaka, New Zealand Phone: +64 21 2855581 Email: g...@k2vi.com Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org