You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've compilled dataprocessing tools with mapnik 2.0.2 in both ubuntu 12.10 and ubuntu server 12.04. The first tool - ogCalcExtend - works as expected. The second one - ogCreateLayer - throws an exception:
1:
kasheftin@maincomputer:~/work/owg/DataProcessing/bin$ ./ogCreateLayer --name e020n40 --lod 10 --extent 568 387 682 483 --type elevation --force
[2012-Dec-28 15:01:58]: Logging started
[2012-Dec-28 15:01:58]: Target directory: p/e020n40
terminate called after throwing an instance of 'boost::filesystem2::basic_filesystem_error<boost::filesystem2::basic_path<std::string, boost::filesystem2::path_traits> >'
what(): boost::filesystem::create_directory: No such file or directory: "p/e020n40"
Aborted (core dumped)
So it says p directory does not exists, hovewer there're no changes in setup.xml file and the process directory is "process" but not "p".
2:
I've created "p" directory and run the same command again:
kasheftin@maincomputer:~/work/owg/DataProcessing/bin$ ./ogCreateLayer --name e020n40 --lod 10 --extent 568 387 682 483 --type elevation --force
[2012-Dec-28 15:08:18]: Logging started
[2012-Dec-28 15:08:18]: Target directory: p/e020n40
[2012-Dec-28 15:08:18]: Force option detected. Deleting already existing layer... this may take a while
[2012-Dec-28 15:08:18]: ok.. layer deleted.
Segmentation fault (core dumped)
3:
Let's delete both "process" and "p" directories. Then type the same command:
kasheftin@maincomputer:~/work/owg/DataProcessing/bin$ ./ogCreateLayer --name e020n40 --lod 10 --extent 568 387 682 483 --type elevation --force
ERROR: process path doesn't exist!
That means this case program checks for the correct, "process" directory.
Happened to me too. It seems for now DataProcessing only works on 32bit systems. I had no problems on a Ubuntu 12.04 32Bit machine, but ran into the exact same problems on a 64bit system as you did.
This has to do with the FilenameUtils code, this calls FileNameUtilsWide and this does not function. I do not know why but for example the search for the delimiter character returns -1 instead of the position (in retStr.rfind() for example). There seems to be some difference in handling wchar_t type between 32 and 64 bit systems. Anybody experience with those gremlins?
I've compilled dataprocessing tools with mapnik 2.0.2 in both ubuntu 12.10 and ubuntu server 12.04. The first tool - ogCalcExtend - works as expected. The second one - ogCreateLayer - throws an exception:
1:
kasheftin@maincomputer:~/work/owg/DataProcessing/bin$ ./ogCreateLayer --name e020n40 --lod 10 --extent 568 387 682 483 --type elevation --force
[2012-Dec-28 15:01:58]: Logging started
[2012-Dec-28 15:01:58]: Target directory: p/e020n40
terminate called after throwing an instance of 'boost::filesystem2::basic_filesystem_error<boost::filesystem2::basic_path<std::string, boost::filesystem2::path_traits> >'
what(): boost::filesystem::create_directory: No such file or directory: "p/e020n40"
Aborted (core dumped)
So it says p directory does not exists, hovewer there're no changes in setup.xml file and the process directory is "process" but not "p".
setup.xml:
<?xml version="1.0" encoding="UTF-8"?> <ProcessingSettings> <processpath>process</processpath> <logpath>log</logpath> </ProcessingSettings>
2:
I've created "p" directory and run the same command again:
kasheftin@maincomputer:~/work/owg/DataProcessing/bin$ ./ogCreateLayer --name e020n40 --lod 10 --extent 568 387 682 483 --type elevation --force
[2012-Dec-28 15:08:18]: Logging started
[2012-Dec-28 15:08:18]: Target directory: p/e020n40
[2012-Dec-28 15:08:18]: Force option detected. Deleting already existing layer... this may take a while
[2012-Dec-28 15:08:18]: ok.. layer deleted.
Segmentation fault (core dumped)
3:
Let's delete both "process" and "p" directories. Then type the same command:
kasheftin@maincomputer:~/work/owg/DataProcessing/bin$ ./ogCreateLayer --name e020n40 --lod 10 --extent 568 387 682 483 --type elevation --force
ERROR: process path doesn't exist!
That means this case program checks for the correct, "process" directory.
4:
Let's create only process directory again and run the same command without --force flag:
kasheftin@maincomputer:~/work/owg/DataProcessing/bin$ ./ogCreateLayer --name e020n40 --lod 10 --extent 568 387 682 483 --type elevation
[2012-Dec-28 15:13:55]: Logging started
[2012-Dec-28 15:13:55]: Target directory: p/
*** glibc detected *** ./ogCreateLayer: free(): invalid next size (fast): 0x0000000001264590 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f7b042d0b96]
./ogCreateLayer[0x4bd5a4]
./ogCreateLayer[0x4c0dc8]
./ogCreateLayer[0x5b134d]
./ogCreateLayer[0x48c284]
./ogCreateLayer[0x48e2d2]
./ogCreateLayer[0x4871c4]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f7b0427376d]
./ogCreateLayer[0x48908d]
======= Memory map: ========
00400000-006c8000 r-xp 00000000 08:06 707296 /home/kasheftin/work/owg/DataProcessing/bin/ogCreateLayer
008c7000-008d3000 r--p 002c7000 08:06 707296 /home/kasheftin/work/owg/DataProcessing/bin/ogCreateLayer
008d3000-008d5000 rw-p 002d3000 08:06 707296 /home/kasheftin/work/owg/DataProcessing/bin/ogCreateLayer
008d5000-008d7000 rw-p 00000000 00:00 0
01251000-01272000 rw-p 00000000 00:00 0 [heap]
7f7af6142000-7f7af6957000 r--p 00000000 08:06 7454 /usr/lib/locale/locale-archive
7f7af6957000-7f7af6960000 r-xp 00000000 08:06 670010 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f7af6960000-7f7af6b60000 ---p 00009000 08:06 670010 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f7af6b60000-7f7af6b61000 r--p 00009000 08:06 670010 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f7af6b61000-7f7af6b62000 rw-p 0000a000 08:06 670010 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f7af6b62000-7f7af6b90000 rw-p 00000000 00:00 0
7f7af6b90000-7f7af6bd5000 r-xp 00000000 08:06 8915 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f7af6bd5000-7f7af6dd5000 ---p 00045000 08:06 8915 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f7af6dd5000-7f7af6dd7000 r--p 00045000 08:06 8915 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f7af6dd7000-7f7af6dd9000 rw-p 00047000 08:06 8915 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f7af6dd9000-7f7af6dda000 rw-p 00000000 00:00 0
7f7af6dda000-7f7af6de8000 r-xp 00000000 08:06 8909 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f7af6de8000-7f7af6fe7000 ---p 0000e000 08:06 8909 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f7af6fe7000-7f7af6fe8000 r--p 0000d000 08:06 8909 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f7af6fe8000-7f7af6fe9000 rw-p 0000e000 08:06 8909 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f7af6fe9000-7f7af7011000 r-xp 00000000 08:06 9171 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f7af7011000-7f7af7210000 ---p 00028000 08:06 9171 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f7af7210000-7f7af7211000 r--p 00027000 08:06 9171 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f7af7211000-7f7af7212000 rw-p 00028000 08:06 9171 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f7af7212000-7f7af7226000 r-xp 00000000 08:06 9071 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f7af7226000-7f7af7425000 ---p 00014000 08:06 9071 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f7af7425000-7f7af7426000 r--p 00013000 08:06 9071 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f7af7426000-7f7af7427000 rw-p 00014000 08:06 9071 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f7af7427000-7f7af7458000 r-xp 00000000 08:06 8907 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f7af7458000-7f7af7658000 ---p 00031000 08:06 8907 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f7af7658000-7f7af7659000 r--p 00031000 08:06 8907 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f7af7659000-7f7af765a000 rw-p 00032000 08:06 8907 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f7af765a000-7f7af765b000 rw-p 00000000 00:00 0
7f7af765b000-7f7af76f6000 r-xp 00000000 08:06 8645 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f7af76f6000-7f7af78f5000 ---p 0009b000 08:06 8645 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f7af78f5000-7f7af78f7000 r--p 0009a000 08:06 8645 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f7af78f7000-7f7af78fb000 rw-p 0009c000 08:06 8645 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f7af78fb000-7f7af797b000 r-xp 00000000 08:06 8940 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f7af797b000-7f7af7b7b000 ---p 00080000 08:06 8940 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f7af7b7b000-7f7af7b7d000 r--p 00080000 08:06 8940 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f7af7b7d000-7f7af7b81000 rw-p 00082000 08:06 8940 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f7af7b81000-7f7af7b87000 r-xp 00000000 08:06 8911 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f7af7b87000-7f7af7d86000 ---p 00006000 08:06 8911 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f7af7d86000-7f7af7d87000 r--p 00005000 08:06 8911 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f7af7d87000-7f7af7d88000 rw-p 00006000 08:06 8911 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f7af7d88000-7f7af7d8d000 r-xp 00000000 08:06 8603 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f7af7d8d000-7f7af7f8c000 ---p 00005000 08:06 8603 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f7af7f8c000-7f7af7f8d000 r--p 00004000 08:06 8603 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f7af7f8d000-7f7af7f8e000 rw-p 00005000 08:06 8603 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f7af7f8e000-7f7af7f90000 r-xp 00000000 08:06 8592 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f7af7f90000-7f7af818f000 ---p 00002000 08:06 8592 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f7af818f000-7f7af8190000 r--p 00001000 08:06 8592 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f7af8190000-7f7af8191000 rw-p 00002000 08:06 8592 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f7af8191000-7f7af8194000 r-xp 00000000 08:06 658437 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f7af8194000-7f7af8393000 ---p 00003000 08:06 658437 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f7af8393000-7f7af8394000 r--p 00002000 08:06 658437 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f7af8394000-7f7af8395000 rw-p 00003000 08:06 658437 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f7af8395000-7f7af83a6000 r-xp 00000000 08:06 9008 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0
7f7af83a6000-7f7af85a5000 ---p 00011000 08:06 9008 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0
7f7af85a5000-7f7af85a6000 r--p 00010000 08:06 9008 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0
7f7af85a6000-7f7af85a7000 rw-p 00011000 08:06 9008 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0
7f7af85a7000-7f7af85b7000 r-xp 00000000 08:06 1015 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12
7f7af85b7000-7f7af87b6000 ---p 00010000 08:06 1015 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12
7f7af87b6000-7f7af87b7000 r--p 0000f000 08:06 1015 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12
7f7af87b7000-7f7af87b8000 rw-p 00010000 08:06 1015 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12
7f7af87b8000-7f7af87f2000 r-xp 00000000 08:06 8847 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f7af87f2000-7f7af89f2000 ---p 0003a000 08:06 8847 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f7af89f2000-7f7af89f3000 r--p 0003a000 08:06 8847 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f7af89f3000-7f7af89f6000 rw-p 0003b000 08:06 8847 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f7af89f6000-7f7af8a10000 r-xp 00000000 08:06 6743 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f7af8a10000-7f7af8c0f000 ---p 0001a000 08:06 6743 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f7af8c0f000-7f7af8c10000 r--p 00019000 08:06 6743 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f7af8c10000-7f7af8c11000 rw-p 0001a000 08:06 6743 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f7af8c11000-7f7af8c29000 r-xp 00000000 08:06 666933 /lib/x86_64-linux-gnu/libresolv-2.15.so
7f7af8c29000-7f7af8e29000 ---p 00018000 08:06 666933 /lib/x86_64-linux-gnu/libresolv-2.15.so
7f7af8e29000-7f7af8e2a000 r--p 00018000 08:06 666933 /lib/x86_64-linux-gnu/libresolv-2.15.so
7f7af8e2a000-7f7af8e2b000 rw-p 00019000 08:06 666933 /lib/x86_64-linux-gnu/libresolv-2.15.so
7f7af8e2b000-7f7af8e2d000 rw-p 00000000 00:00 0
7f7af8e2d000-7f7af8e30000 r-xp 00000000 08:06 658441 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f7af8e30000-7f7af902f000 ---p 00003000 08:06 658441 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f7af902f000-7f7af9030000 r--p 00002000 08:06 658441 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f7af9030000-7f7af9031000 rw-p 00003000 08:06 658441 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f7af9031000-7f7af9038000 r-xp 00000000 08:06 1027 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f7af9038000-7f7af9237000 ---p 00007000 08:06 1027 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f7af9237000-7f7af9238000 r--p 00006000 08:06 1027 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f7af9238000-7f7af9239000 rw-p 00007000 08:06 1027 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f7af9239000-7f7af925e000 r-xp 00000000 08:06 1020 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f7af925e000-7f7af945e000 ---p 00025000 08:06 1020 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f7af945e000-7f7af945f000 r--p 00025000 08:06 1020 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f7af945f000-7f7af9460000 rw-p 00026000 08:06 1020 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f7af9460000-7f7af9461000 rw-p 00000000 00:00 0
7f7af9461000-7f7af9590000 r-xp 00000000 08:06 8590 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f7af9590000-7f7af9790000 ---p 0012f000 08:06 8590 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f7af9790000-7f7af9791000 r--p 0012f000 08:06 8590 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f7af9791000-7f7af9795000 rw-p 00130000 08:06 8590 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f7af9795000-7f7af979e000 r-xp 00000000 08:06 8625 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f7af979e000-7f7af999d000 ---p 00009000 08:06 8625 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f7af999d000-7f7af999e000 r--p 00008000 08:06 8625 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f7af999e000-7f7af999f000 rw-p 00009000 08:06 8625 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f7af999f000-7f7af99bc000 r-xp 00000000 08:06 2699 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f7af99bc000-7f7af9bbb000 ---p 0001d000 08:06 2699 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f7af9bbb000-7f7af9bbc000 r--p 0001c000 08:06 2699 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f7af9bbc000-7f7af9bbd000 rw-p 0001d000 08:06 2699 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f7af9bbd000-7f7af9bc5000 r-xp 00000000 08:06 2736 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f7af9bc5000-7f7af9dc5000 ---p 00008000 08:06 2736 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f7af9dc5000-7f7af9dc6000 r--p 00008000 08:06 2736 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f7af9dc6000-7f7af9dc7000 rw-p 00009000 08:06 2736 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f7af9dc7000-7f7af9dc9000 r-xp 00000000 08:06 2743 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f7af9dc9000-7f7af9fc8000 ---p 00002000 08:06 2743 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f7af9fc8000-7f7af9fc9000 r--p 00001000 08:06 2743 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f7af9fc9000-7f7af9fca000 rw-p 00002000 08:06 2743 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f7af9fca000-7f7af9ffe000 r-xp 00000000 08:06 1011 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4
7f7af9ffe000-7f7afa1fe000 ---p 00034000 08:06 1011 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4
7f7afa1fe000-7f7afa1ff000 r--p 00034000 08:06 1011 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4
7f7afa1ff000-7f7afa200000 rw-p 00035000 08:06 1011 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4
7f7afa200000-7f7afa281000 r-xp 00000000 08:06 9034 /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.24.4
7f7afa281000-7f7afa480000 ---p 00081000 08:06 9034 /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.24.4
7f7afa480000-7f7afa486000 r--p 00080000 08:06 9034 /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.24.4
7f7afa486000-7f7afa487000 rw-p 00086000 08:06 9034 /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.24.4
7f7afa487000-7f7afa48b000 r-xp 00000000 08:06 9092 /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0.0.0
7f7afa48b000-7f7afa68a000 ---p 00004000 08:06 9092 /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0.0.0
7f7afa68a000-7f7afa68b000 r--p 00003000 08:06 9092 /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0.0.0
7f7afa68b000-7f7afa68c000 rw-p 00004000 08:06 9092 /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0.0.0
7f7afa68c000-7f7afa847000 r-xp 00000000 08:06 4274 /usr/lib/libicui18n.so.48.1.1
7f7afa847000-7f7afaa46000 ---p 001bb000 08:06 4274 /usr/lib/libicui18n.so.48.1.1
7f7afaa46000-7f7afaa52000 r--p 001ba000 08:06 4274 /usr/lib/lAborted (core dumped)
The text was updated successfully, but these errors were encountered: