Bug#838915: saga: Segmentation fault in CSG_Projections::WKT_to_Proj4() with merge layers

Nelson A. de Oliveira naoliv at debian.org
Fri Sep 30 14:48:56 UTC 2016


Hi!

With 2.3.1+dfsg-2 I am still seeing a segmentation fault.
For example, with these new examples attached (they are in a custom
UTM projection).

A new gdb output is also attached.

Best regards,
Nelson
-------------- next part --------------
Starting program: /usr/bin/saga_cmd shapes_tools "Merge Layers" -INPUT "1.shp;2.shp" -SRCINFO true -MATCH true -MERGED output.shp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7477730 in CSG_Projections::WKT_to_Proj4(CSG_String&, CSG_String const&) const () from /usr/lib/x86_64-linux-gnu/libsaga_api-2.3.1.so

Thread 1 (Thread 0x7ffff7fa6a80 (LWP 21931)):
#0  0x00007ffff7477730 in CSG_Projections::WKT_to_Proj4(CSG_String&, CSG_String const&) const () at /usr/lib/x86_64-linux-gnu/libsaga_api-2.3.1.so
#1  0x00007ffff7479e3b in CSG_Projection::Assign(CSG_String const&, ESG_Projection_Format) () at /usr/lib/x86_64-linux-gnu/libsaga_api-2.3.1.so
#2  0x00007ffff747a36a in CSG_Projection::Load(CSG_String const&, ESG_Projection_Format) () at /usr/lib/x86_64-linux-gnu/libsaga_api-2.3.1.so
#3  0x00007ffff7484f78 in CSG_Shapes::_Load_ESRI(CSG_String const&) ()
    at /usr/lib/x86_64-linux-gnu/libsaga_api-2.3.1.so
#4  0x00007ffff74842d3 in CSG_Shapes::Create(CSG_String const&) ()
    at /usr/lib/x86_64-linux-gnu/libsaga_api-2.3.1.so
#5  0x00007ffff7484874 in CSG_Shapes::CSG_Shapes(CSG_String const&) ()
    at /usr/lib/x86_64-linux-gnu/libsaga_api-2.3.1.so
#6  0x00007ffff73f4e40 in CSG_Data_Manager::Add(CSG_String const&, ESG_Data_Object_Type) () at /usr/lib/x86_64-linux-gnu/libsaga_api-2.3.1.so
#7  0x000055555555d31f in CCMD_Module::_Load_Input(CSG_Parameter*) (this=this at entry=0x7fffffffdfc0, pParameter=pParameter at entry=0x555555dd54a0)
    at module_library.cpp:712
        FileNames = 
            {static npos = 18446744073709551615, m_impl = L"2.shp", m_convertedToChar = {m_str = 0x0, m_len = 140737488346000}}
        FileName = 
            {static npos = 18446744073709551615, m_impl = L"1.shp", m_convertedToChar = {m_str = 0x0, m_len = 93825005699376}}
#8  0x000055555555d97b in CCMD_Module::_Get_Input(CSG_Parameters*) (this=this at entry=0x7fffffffdfc0, pParameters=pParameters at entry=0x555555dd2d48)
    at module_library.cpp:613
        i = 0
#9  0x00005555555609db in CCMD_Module::_Get_Parameters(CSG_Parameters*, bool) (this=0x7fffffffdfc0, pParameters=0x555555dd2d48, bInitialize=<optimized out>)
    at module_library.cpp:408
#10 0x000055555556162b in CCMD_Module::Execute(int, char**) (this=0x7fffffffdfc0, argc=<optimized out>, argv=0x7fffffffe1a8) at module_library.cpp:199
        i = <optimized out>
        bResult = <optimized out>
#11 0x0000555555563ae0 in Execute(int, char**) (argc=11, argv=0x7fffffffe198)
    at saga_cmd.cpp:258
        pLibrary = 0x555555d23de0
        pTool = 0x555555dd2d40
        CMD_Module = 
            {_vptr.CCMD_Module = 0x5555557697e8 <vtable for CCMD_Module+16>, m_pLibrary = 0x555555d23de0, m_pModule = 0x555555dd2d40, m_CMD = {m_data = 0x555556248a70}}
#12 0x0000555555564785 in Run(int, char**) (argc=11, argv=0x7fffffffe198)
    at saga_cmd.cpp:208
#13 0x0000555555558a27 in main(int, char**) (argc=11, argv=0x7fffffffe198)
    at saga_cmd.cpp:132
        bResult = <optimized out>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newexamples.tar.gz
Type: application/x-gzip
Size: 3952 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20160930/aea950ba/attachment-0001.bin>


More information about the Pkg-grass-devel mailing list