Opened 13 years ago
Closed 11 years ago
#1559 closed defect (fixed)
v.in.ogr segfault with CSV file
Reported by: | neteler | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.5.0 |
Component: | Vector | Version: | svn-develbranch6 |
Keywords: | Cc: | ||
CPU: | x86-64 | Platform: | Linux |
Description
Using db.in.ogr on a CSV file, the internal call to v.in.ogr fails:
GRASS 6.5.svn (piemonte_utm32_wgs84):~/compilati/grass65 > v.in.ogr --q dsn=/incoming/dati_piemonte/vector_piemonte/Torino_1jan2010.csv out=Torino_1jan2010_csv -o Segmentation fault GRASS 6.5.svn (piemonte_utm32_wgs84):~/compilati/grass65 > v.in.ogr dsn=/incoming/dati_piemonte/vector_piemonte/Torino_1jan2010.csv out=Torino_1jan2010_csv -o Over-riding projection check Segmentation fault GRASS 6.5.svn (piemonte_utm32_wgs84):~/compilati/grass65 > gdb v.in.ogr GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2 ... Reading symbols from /home/luca/compilati/grass6_devel/dist.x86_64-unknown-linux-gnu/bin/v.in.ogr...done. (gdb) r dsn=/incoming/dati_piemonte/vector_piemonte/Torino_1jan2010.csv out=Torino_1jan2010_csv -o Starting program: /home/luca/compilati/grass6_devel/dist.x86_64-unknown-linux-gnu/bin/v.in.ogr dsn=/incoming/dati_piemonte/vector_piemonte/Torino_1jan2010.csv out=Torino_1jan2010_csv -o [Thread debugging using libthread_db enabled] Over-riding projection check Program received signal SIGSEGV, Segmentation fault. __libc_free (mem=0x100000000) at malloc.c:3709 3709 malloc.c: No such file or directory. in malloc.c (gdb) bt full #0 __libc_free (mem=0x100000000) at malloc.c:3709 ar_ptr = <value optimised out> p = <value optimised out> hook = 0 #1 0x00007ffff7bb9960 in Vect_set_organization (Map=0x7fffffffd5c0, str=0x7ffff7bce88d "") at header.c:257 No locals. #2 0x00007ffff7bba830 in Vect__init_head (Map=0x100000000) at init_head.c:40 buf = "\000\000\000\000\000\000\000\000\340\222\377\377\377\177\000\000\240$a\000\000\000\000\000\225\a\337\367\377\177\000\000\001\000\000\000\000\000\000\000\200\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\345%\275\367\377\177\000" #3 0x00007ffff7bc4328 in Vect_open_new (Map=0x7fffffffd5c0, name=0x6124a0 "Torino_1jan2010_csv", with_z=0) at open.c:525 ret = <value optimised out> ferror = <value optimised out> errmsg = "LC_MESSAGES/grasslibs.mo\000\232\061\365\377\177\000\000\000\000\000\000\000\000\000\000\300\231V\365\377\177\000\000\300\231V\365\377\177\000\000\000\000\000\000\000\000\000\000\034", '\000' <repeats 15 times>, "\001\000\000\000\000\000\000\000Ȋ-\365\377\177\000\000\030\000\000\000\060\000\000\000`\213\377\377\377\177\000\000\220\212\377\377\377\177\000\000s\347$\365\377\177\000\000PO%\000\000\000\000\000\300\231V\365\377\177\000\000\300\231V\365\377\177\000\000\000\000\000\000\000\000\000\000`\261V\365\377\177\000\000`\267\372\367\377\177\000\000\377\377\377\377\000\000\000\000\005\000\000\000\000\000\000\000\300\231V\365\377\177\000\000\005\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000\376\346$\365\377\177\000\000\200\213\377\377\377\177\000\000\300\231V\365\377\177\000\000\005\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000\034", '\000' <repeats 15 times>... buf = "ȿ\271\367\377\177\000\000\060\246\377\367\377\177\000\000@\314a\000\000\000\000\000\000\344t\367\377\177\000\000\377\377\377\377\000\000\000\000\t\000\000\000\000\000\000\000Г\377\377\377\177\000\000\020\227\377\377\377\177\000\000P\244`", '\000' <repeats 19 times>"\360, ?\200p\230\367\377\177\000\000\000\000\000\000\000\000\000\000$\235\336\367\377\177\000\000\001", '\000' <repeats 15 times>, "ȿ\271\367\377\177\000\000\005\000\000\000\377\177\000\000Г\377\377\377\177\000\000\020\227\377\377\377\177\000\000\000\205a\000\000\000\000\000@\314a\000\000\000\000\000`\307a\000\000\000\000\000\225\a\337\367\377\177\000\000\320\fa\000\000\000\000" xname = "\221\222Y\032\000\000\000\000\354_\336\367\377\177", '\000' <repeats 18 times>, "\001\000\000\000\377\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\377\177\000\000\350\342\377\367\377\177\000\000\377\277\377\377\377\177\000\000\060\270\377\377\377\177\000\000\377\277\377\377\377\177", '\000' <repeats 18 times>, "7~@", '\000' <repeats 13 times>, "@\346\377\367\377\177\000\000\006\000\000\000\001\000\000\000 \336`\000\000\000\000\000\340\224\377\377\377\177\000\000J\027@\000\000\000\000\000C\000_GB.UTF-8\000\377\177\000\000\002\000\000\000\000\000\000\000\361\245 \365\377\177\000\000LC_MESSAGES/grassmods.mo\000\232\061\365\377\177\000\000\200p\230\367\377\177\000\000\231\245 \365\377\177\000\000en_GB.UTF-8\000\000\000\000" xmapset = "\221\222Y\032\000\000\000\000K]\336\367\377\177\000\000`\320a\000\000\000\000\000Jfi\000\000\000\000\000\021\000\000\000\000\000\000\000\000\224\377\377\377\177\000\000Ԙ\271\367\377\177\000\000X\234\271\367\377\177\000\000\001\000\000\000\000\000\000\000ȿ\271\367\377\177\000\000\310\306\036\365\001\000\000\000\325G\030\366\377\177\000\000\005\000\000\000\000\000\000\000\200\223\377\377\377\177\000\000\240\244V\365\377\177\000\000\000\000\000\000\000\000\000\000\350\342\377\367\377\177", '\000' <repeats 18 times>, "0\246\377\367\377\177\000\000J\027@\000\000\000\000\000\310Թ\367\377\177\000\000\210\020@\000\000\000\000\000\000\000\000\000\001\000\000\000z\001\000\000\001\000\000\000P\335`\000\000\000\000\000\240\223\377\377\377\177\000\000@\346\377\367\377\177\000\000@\224\377\377\377\177\000\000\000\000\000\000\000\000\000\000`\224\377\377\377\177\000\000\350\342\377\367\377\177\000" #4 0x00000000004065fc in main (argc=0, argv=0x0) at main.c:618 i = <value optimised out> j = <value optimised out> layer = <value optimised out> arg_s_num = <value optimised out> nogeom = <value optimised out> ncnames = 0 xmin = 0 ymin = 0 xmax = 0 ymax = 0 ncols = 0 type = 0 module = <value optimised out> min_area = 0.0001 snap = -1 dsn_opt = <value optimised out> out_opt = 0x610cd0 layer_opt = <value optimised out> spat_opt = <value optimised out> ---Type <return> to continue, or q <return> to quit--- where_opt = 0x611bc0 min_area_opt = <value optimised out> snap_opt = <value optimised out> type_opt = 0x0 outloc_opt = 0x611ec0 cnames_opt = 0x611f80 list_flag = <value optimised out> no_clean_flag = 0x6120b0 z_flag = 0x612100 notab_flag = 0x612150 region_flag = 0x6121f0 over_flag = 0x7fffffffd5c0 extend_flag = 0x612240 formats_flag = 0x0 tolower_flag = 0x612290 buf = "Torino_1jan2010_csv\000\377\177\000\000H\017\304\365\377\177\000\000P\253\373\367\377\177\000\000?\216\336\367\377\177\000\000p\205\377\367\377\177\000\000؊\377\367\377\177\000\000 0\374\367\377\177\000\000\300\032\374\367\377\177\000\000\200\020\374\367\377\177\000\000\000\000\374\367\377\177\000\000\330\004\374\367\377\177", '\000' <repeats 11 times>"\314, \377\377\377\177\000\000\000\000\240\217\377\377\377\377\000\000VN\275\357\377\377\200\020\374\367\377\177\000\000\022\000\000\000\000\000\000\000X\236\325\365\377\177\000\000\000\314\377\377\377\177\000\000\000\000\000\220\377\377\377\377\000\000VN\275\357\377\377\200\020\374\367\377\177\000\000\020\000\000\000\000\000\000\000?\236\325\365\377\177\000\000\000\314\377\377\377\177\000\000\000\000`\220\377\377\377\377\000\000VN\275\357\377\377\200\020\374\367\377\177\000\000\017\000\000\000\000\000\000\000\062\236\325\365\377\177\000\000\000\314\377\377\377\177\000\000\000\000\300\220\377\377\377\377\000\000VN\275\357\377\377\370\026\177\366\377\177\000\000`\252\373\367\377\177\000\000?\216\336\367\377\177\000\000\001\000\000\000\377\177\000\000\360\244\373\367\377\177\000\000\000\305\377\377\377\177\000\000\000\000\000\000\000\000\000\000\270\025\177\366"... namebuf = "\000\000VN\275\357\377\377\000\340\373\367\377\177\000\000\001\000\000\000\000\000\000\000\320\310m\364\377\177\000\000\340\300\377\377\377\177\000\000\000\000`\177\377\377\377\377\000\000VN\275\357\377\377\020\302\000\005\201\006\205@\020\020P\r \206\000\000\300A\000\244\060@d P\024\000\001:\002m\000\000\002*\340\n\004\020\020\b@\021\000\220\002f\211p\332\377\377\377\177\000\000\360\332\377\377\377\177\000\000\020\367\373\367\377\177\000\000\000\000\000\000\000\000\000\000\177\065\271\364\377\177\000\000\340\301\377\377\377\177\000\000\330ȶ\364\377\177\000\000P\232\373\367\377\177\000\000?\216\336\367\377\177\000\000\001\000\000\000\377\177\000\000h\225\373\367\377\177\000\000p\275\377\377\377\177\000\000\000\000\000\000\000\000\000\000hǶ\364\377\177\000\000V\215\336\367\377\177\000\000\350\344\373\367\377\177\000\000h\225\373\367\377\177\000\000\000\240\373\367\377\177\000\000\360\244\373\367\377\177\000\000\330\004\374\367\377\177", '\000' <repeats 18 times>, "\177\065\271\364\377\177\000\000\340\301\377\377\377\177\000\000\000\000`\201\377\377\377\377\000\000VN\275\357\377\377\006@\214\b\006\021\000\230@B@$P\000\200\000p\332\377\377\377\177\000\000\360\332\377\377\377\177"... tempvect = "Torino_1jan2010_csv_tmp\000\000\000\000\000\000\000\000\000\240\026.\363\377\177\000\000V\215\336\367\377\177\000\000Ё\373\367\377\177\000\000\230\206\373\367\377\177\000\000\000p\373\367\377\177\000\000\350t\373\367\377\177\000\000\330y\373\367\377\177\000\000\000`\373\367\377\177\000\000\340d\373\367\377\177\000\000\350\344\373\367\377\177\000\000\330\004\374\367\377\177", '\000' <repeats 12 times>"\340, \265\377\377\377\377\350\304\373\367\377\177\000\000\002\000\000\000\000\000\000\000\334p.\363\377\177\000\000\220\271\377\377\377\177\000\000\000\000\300p\377\377\377\377\000\000VN\275\357\377\377@\000\000\000\000\000\000\000X/\016\000\000\000\000\000\000\000\000\000@\000\070\000\a\000@\000\034\000\033\000\001\000\000\000\005", '\000' <repeats 11 times>, "p\332\377\377\377\177\000\000\360\332\377\377\377\177\000\000\000\300\373\367\377\177\000\000\000\000\000\000\000\000\000\000\325\312P\363\377\177\000\000\220\272\377\377\377\177\000\000\222\206\336\367\377\177\000\000\000\000\000\000\000\000\000\000F\247\336\367\377\177\000\000\270\340\377\367\377\177"... separator = <value optimised out> loc_proj_info = <value optimised out> loc_proj_units = <value optimised out> proj_info = 0x0 proj_units = 0x0 cellhd = {format = 1374601869, compressed = 1032227395, rows = 1, rows3 = 1, cols = 1, cols3 = 1, depths = 1, proj = 1, zone = 32, ew_res = 1, ew_res3 = 1, ns_res = 1, ns_res3 = 1, tb_res = 1, north = 1, south = 0, east = 1, west = 0, top = 1, bottom = 1} loc_wind = {format = 0, compressed = -1, rows = 266273, rows3 = 266273, cols = 203786, cols3 = 203786, depths = 1, proj = 1, zone = 32, ew_res = 1, ew_res3 = 1, ns_res = 1, ns_res3 = 1, tb_res = 1, north = 5145796, south = 4879523, east = 516968, west = 313182, top = 1, bottom = 0} cur_wind = {format = 400, compressed = 0, rows = 8, rows3 = 0, cols = 4, cols3 = 4, depths = 456, proj = 0, zone = 456, ew_res = 2.2529393450360842e-321, ew_res3 = 1.7786363250284876e-322, ns_res = 1.7786363250284876e-322, ns_res3 = 1.9762625833649862e-323, tb_res = 9.320672747331811e-314, north = 5.292431198251433e-320, south = 5.292431198251433e-320, east = 5.292431198251433e-320, west = 4.150151425066471e-322, top = 4.150151425066471e-322, bottom = 1.9762625833649862e-323} error_msg = "\360\230\377\377\377\177\000\000\000\000\200/\377\377\377\377\000\000VN\275\357\377\377\000\000\000\000\000\000\000\000\243\000\000\000\022", '\000' <repeats 19 times>, "p\332\377\377\377\177\000\000\360\332\377\377\377\177\000\000\250*\373\367\377\177\000\000\001\000\000\000\000\000\000\000\252\061\351\355\377\177\000\000\020\232\377\377\377\177\000\000\222\206\336\367\377\177\000\000\000\000\000\000\000\000\000\000F\247\336\367\377\177\000\000\270\340\377\367\377\177\000\000\240\332\377\377\377\177\000\000\260\332\377\377\377\177\000\000\277\332\3---Type <return> to continue, or q <return> to quit--- 77\377\377\177\000\000`\206\336\367\377\177\000\000p\357\350\355\377\177\000\000\360\332\377\377\377\177\000\000?\216\336\367\377\177\000\000\330\004\374\367\377\177", '\000' <repeats 12 times>"\340, \265\377\377\377\377\250*\373\367\377\177\000\000\001\000\000\000\000\000\000\000\252\061\351\355\377\177\000\000\020\232\377\377\377\177\000\000\000\000`1\377\377\377\377\000\000VN\275\357\377\377\250*\373\367\377\177\000\000\000\000\000\000\000\000\000\000\230\061\351\355\377\177\000\000\020\232\377\377\377\177\000\000\000\000\300\061\377\377\377\377\000\000VN\275\357\377\377", '\000' <repeats 12 times>, "\003\000\n\000\340\026", '\000' <repeats 14 times>"\251, \002\000\000\022", '\000' <repeats 11 times>... Map = {format = -134467552, temporary = 32767, dblnk = 0x7ffff7fc2060, plus = {Version_Major = -134470200, Version_Minor = 32767, Back_Major = -134464848, Back_Minor = 32767, spidx_Version_Major = -134468816, spidx_Version_Minor = 32767, spidx_Back_Major = -134466240, spidx_Back_Minor = 32767, cidx_Version_Major = -134250496, cidx_Version_Minor = 32767, cidx_Back_Major = -134475648, cidx_Back_Minor = 32767, with_z = -134479872, spidx_with_z = 32767, head_size = 140737353876696, spidx_head_size = 0, cidx_head_size = 0, release_support = -9552, port = {byte_order = 32767, dbl_cnvrt = "P\236`\000\000\000\000", flt_cnvrt = "\000\000", <incomplete sequence \340\265>, lng_cnvrt = "\377\377\377\377", int_cnvrt = "\350\342\377", <incomplete sequence \367>, shrt_cnvrt = "\377\177", dbl_quick = 0, flt_quick = 0, lng_quick = 4201981, int_quick = 0, shrt_quick = 0}, spidx_port = {byte_order = 0, dbl_cnvrt = "\000\000\300\253\377\377\377\377", flt_cnvrt = "\000\000VN", lng_cnvrt = "\275\357\377\377", int_cnvrt = "\350\342\377", <incomplete sequence \367>, shrt_cnvrt = "\377\177", dbl_quick = 0, flt_quick = 0, lng_quick = 4201957, int_quick = 0, shrt_quick = 0}, cidx_port = { byte_order = 0, dbl_cnvrt = "\000\000 \254\377\377\377\377", flt_cnvrt = "\000\000VN", lng_cnvrt = "\275\357\377\377", int_cnvrt = "\350\342\377", <incomplete sequence \367>, shrt_cnvrt = "\377\177", dbl_quick = 0, flt_quick = 0, lng_quick = 4201944, int_quick = 0, shrt_quick = 0}, mode = 0, built = -1400897536, box = {N = -nan(0xfefbd4e560000), S = 6.9533491762301775e-310, E = 0, W = 2.0760149313259797e-317, T = 4.9406564584124654e-324, B = 6.9533491637077872e-310}, Node = 0x7fffffffd3a0, Line = 0x0, Area = 0x609e50, Isle = 0x7ffff7de8d56, n_nodes = 1, n_edges = 0, n_lines = -134479872, n_areas = 32767, n_isles = -10528, n_faces = 32767, n_volumes = -136424518, n_holes = 32767, n_plines = 6331968, n_llines = 0, n_blines = -10272, n_clines = 32767, n_flines = 1, n_klines = 0, alloc_nodes = 15, alloc_edges = 0, alloc_lines = 58, alloc_areas = 0, alloc_isles = -134544936, alloc_volumes = 32767, alloc_holes = 479434334, Node_offset = 140737351933259, Edge_offset = 1, Line_offset = 7491161, Area_offset = 140733193388062, Isle_offset = 140737488345472, Volume_offset = 140737305770552, Hole_offset = 140737305771104, Spidx_built = 2090266759, Node_spidx_offset = 140737305819920, Edge_spidx_offset = 140737488344944, Line_spidx_offset = 140737351930810, Area_spidx_offset = 7, Isle_spidx_offset = 140737351930810, Volume_spidx_offset = 58, Hole_spidx_offset = 140737351930810, Node_spidx = 0x7ffff7fba000, Line_spidx = 0x0, Area_spidx = 0x7ffff7fae210, Isle_spidx = 0x7ffff7fc04d8, update_cidx = -230316781, n_cidx = 32767, a_cidx = -182532096, cidx = 0x7ffff243d108, cidx_up_to_date = 0, coor_size = 4294969330, coor_mtime = 140737353810392, do_uplist = 1525626798, uplines = 0x7ffff7fba358, alloc_uplines = -9792, n_uplines = 32767, upnodes = 0x7ffff7fae210, alloc_upnodes = -9760, n_upnodes = 32767}, graph_line_type = -134504448, graph = { iErrno = 479434334, Version = 0 '\000', Endian = 0 '\000', NodeAttrSize = 140737351930810, EdgeAttrSize = 0, aOpaqueSet = {140737353802256, 1, 140737351930810, 58, 140737488345408, 814159578, 15, 58, 140737353810392, 221883709, 140737351930810, 58, 140737488345472, 61, 140737351930810, 58}, cNode = 140737351930810, cHead = 2552235633, cTail = 140737488345520, cAlone = 58, cEdge = 15, nnCost = 58, Flags = 140737353810392, nFamily = 725871085, nOptions = 140737351933259, pNodeTree = 0x7fff00000007, pEdgeTree = 0xad0fa7, pNodeBuffer = 0x7fff0000002d <Address 0x7fff0000002d out of bounds>, iNodeBuffer = 140737488345936, pEdgeBuffer = 0x7ffff51de6c8 "\354\351C+ñ3\b\252D\244\254J\360)\020\fG\356뿨]\215X\036\213\245қݯ&D+]\261r\nb:\230\\\270ۋ\020;\345b\210\vN|\371\211ʙ\272\a\274Z)\245_\331Vv\326\031\024ٸ\377C\275\271\377C\275,\300)(`\371U\315b>\264dϴG@\215o\270\205\070\222\343p\315|\320\355D\231WH\262 -\371\363\373\004\351\271\022l%,/1\270\202\r\353o\247\367\016t4\033\307_\277%xH\340/\037.\274\251`\327\034\023\004Ϊ\250\251\233\265\254@\243(\022c\022\036\061\302O$s\\\374\237|\343Ar\360\273T|\360\063\321\017_\250d\227|"..., iEdgeBuffer = 140737305771104, edgePrioritizer = {cEdge = -230437872, iEdge = 32767, pEdgePri32Item = 0x7ffff51e4670, pvAVL = 0x7ffff7fb9000}, nodePrioritizer = {pvAVL = 0x0}}, spCache = { nStartNode = 140737353803024, NodeHeap = {index = 140737353850880, count = 140737353879680, block = 140737351930810, pnode = 0x7ffff7fc1080}, pvVisited = 0x7fffffffda60, pvPredist = 0x7ffff7fb0b10}, edge_fcosts = 0xf, edge_bcosts = 0x3a, node_costs = 0x7ffff7fb01d8, cost_multip = -163754450, open = 0, mode = -136422069, level = 32767, head_only = 790, support_updated = 1, next_line = 64550200, name = 0x7fff0000002e <Address 0x7fff0000002e out of bounds>, mapset = 0x7fffffffdc00 "", location = 0x7ffff51dfa6c "/N=\366\316\030L\017\371\304-\327\370ԏӄ\"\233|\204\"\233|%\301\324\361\354\373\300=\260\"\225\303\070\307\031u\377\001\304\022\311BY\020\334\317쵶w\035\rG\336\315%\265V1\375\307r1\035\a;\372L\214\t)\020\t~\222\034\070\265\357\060j\335\371{\004\\H\261ԡ\034\240\002\352\331\017\071\265\357\060X?\227|\030\034s\354T\200\314sقc\002;H\205\033\066\rf\375\062v\340ը\247KἜ#\217\326\036h\233\243\230\313\362\234\002Y1\n\264\006\337\275\350e\235J\032\223\250P\265\250\020\205)%~\016|\030\271\321\070\a\221\222\376\206\357\246:V\323\361I\265$\202\241\067\344Qho", <incomplete sequence \354>..., gisdbase = 0x7ffff51dfc60 "", Constraint_region_flag = -9296, Constraint_type_flag = 32767, Constraint_N = 6.9533467894029949e-310, Constraint_S = 3.5862796640801137e-315, Constraint_E = 6.9533490677224922e-310, Constraint_W = 0, Constraint_T = 6.9533491605485339e-310, Constraint_B = 4.9406564584124654e-324, Constraint_type = 0, proj = 0, dig_fp = {file = 0x7ffff7ffe2e8, start = 0x0, current = 0x7ffff7fb03f0 "*\037@", end = 0x7ffff7fc04d8 "", size = 4202097, alloc = 140737305823232, loaded = 0}, head = {organization = 0x100000000 <Address 0x100000000 out of bounds>, date = 0x1000007ff <Address 0x1000007ff out of bounds>, your_name = 0x7ffff7fc13d8 "\240\345\377\367\377\177", map_name = 0x1f271fe40 <Address 0x1f271fe40 out of bounds>, source_date = 0x7ffff7ffe640 "\240\345\377\367\377\177", orig_scale = 140737488346176, line_3 = 0x7ffff7fb03f0 "*\037@", plani_zone = -9120, digit_thresh = 6.9533491762301775e-310, Version_Major = -163754450, Version_Minor = 0, Back_Major = -136421396, Back_Minor = 32767, with_z = 0, size = 140737353810928, head_size = 140733193388033, port = {byte_order = 0, dbl_cnvrt = "\000\000\000\000\001\000\000", flt_cnvrt = "\000\000\000", lng_cnvrt = "\350\342\377", <incomplete sequence \367>, int_cnvrt = "\377\177\000", shrt_cnvrt = "@", <incomplete sequence \333>, dbl_quick = 32767, flt_quick = -134504448, lng_quick = 32767, int_quick = -182565264, shrt_quick = 32767}, last_offset = 140737353876696, recycle = 0xffffffff, Map = 0x7ffff556b1c0}, fInfo = { i = 0, ogr = {dsn = 0x7ffff7ffe640 "\240\345\377\367\377\177", layer_name = 0x100bb3030 <Address 0x100bb3030 out of bounds>, ds = 0x7ffff55695c8, layer = 0x410, lines = 0x401e71, lines_types = 0x1e770, lines_alloc = 6346896, lines_num = 0, lines_next = -178867776, feature_cache = 0x7ffff5259a6a, feature_cache_id = 1, offset = 0x0, offset_num = -182565264, offset_alloc = 32767, next_line = -159720328}}, hist_fp = 0x7fffffffdc50, site_att = 0x4078b0, n_site_att = 0, n_site_dbl = 0, n_site_str = 4206347} Tmp = {format = -12048, temporary = 32767, dblnk = 0x7ffff7de8692, plus = {Version_Major = 0, Version_Minor = 0, Back_Major = -136403130, Back_Minor = 32767, spidx_Version_Major = -134225736, spidx_Version_Minor = 32767, spidx_Back_Major = -9568, spidx_Back_Minor = 32767, cidx_Version_Major = -9552, cidx_Version_Minor = 32767, ---Type <return> to continue, or q <return> to quit--- cidx_Back_Major = -9537, cidx_Back_Minor = 32767, with_z = -136411552, spidx_with_z = 32767, head_size = 140737488345712, spidx_head_size = 2108776, cidx_head_size = 0, release_support = 792, port = {byte_order = 0, dbl_cnvrt = "\020/\020\367\377\177\000", flt_cnvrt = "\360\332\377\377", lng_cnvrt = "\377\177\000", int_cnvrt = "?\216\336", <incomplete sequence \367>, shrt_cnvrt = "\377\177", dbl_quick = -134478632, flt_quick = 32767, lng_quick = 0, int_quick = 0, shrt_quick = -12048}, spidx_port = {byte_order = 32767, dbl_cnvrt = "\000\000\200\237\377\377\377\377", flt_cnvrt = "\000\000VN", lng_cnvrt = "\275\357\377\377", int_cnvrt = "\b\000\000", shrt_cnvrt = "\000", dbl_quick = 4, flt_quick = 4, lng_quick = 568, int_quick = 0, shrt_quick = 568}, cidx_port = {byte_order = 0, dbl_cnvrt = "p\332\377\377\377\177\000", flt_cnvrt = "\360\332\377\377", lng_cnvrt = "\377\177\000", int_cnvrt = " 0\374", <incomplete sequence \367>, shrt_cnvrt = "\377\177", dbl_quick = 0, flt_quick = 0, lng_quick = -147787160, int_quick = 32767, shrt_quick = -11808}, mode = 32767, built = -136411502, box = {N = 0, S = 6.9533490686249525e-310, E = 6.9533491762025098e-310, W = 6.9533558073622823e-310, T = 6.9533558073630728e-310, B = 6.9533558073638139e-310}, Node = 0x7ffff7de8660, Line = 0x7ffff730cf80, Area = 0x7ffff7fbf0f0, Isle = 0x7ffff7de8e3f, n_nodes = -134250496, n_edges = 32767, n_lines = -134249104, n_areas = 32767, n_isles = -134247720, n_faces = 32767, n_volumes = -134467552, n_holes = 32767, n_plines = -134478632, n_llines = 32767, n_blines = 0, n_clines = 0, n_flines = -11808, n_klines = 32767, alloc_nodes = -1587544064, alloc_edges = -1, alloc_lines = 1314258944, alloc_areas = -4163, alloc_isles = 3, alloc_volumes = 5590599, alloc_holes = 769524067, Node_offset = -8565855822508077423, Edge_offset = 18529531472, Line_offset = 140737488345712, Area_offset = 140737488345840, Isle_offset = 140737354107608, Volume_offset = 0, Hole_offset = 140737342763532, Spidx_built = -11568, Node_spidx_offset = 140737351943826, Edge_spidx_offset = 0, Line_spidx_offset = 140737351952198, Area_spidx_offset = 140737354129592, Isle_spidx_offset = 140737488345760, Volume_spidx_offset = 140737488345776, Hole_spidx_offset = 140737488345791, Node_spidx = 0x7ffff7de8660, Line_spidx = 0x7ffff7524f50, Area_spidx = 0x7fffffffdaf0, Isle_spidx = 0x7ffff7de8e3f, update_cidx = -134478632, n_cidx = 32767, a_cidx = 0, cidx = 0xffffffffb5e00000, cidx_up_to_date = -134247720, coor_size = 0, coor_mtime = 140737342763532, do_uplist = -11568, uplines = 0xffffffffa3400000, alloc_uplines = 1314258944, n_uplines = -4163, upnodes = 0x7fffffffda70, alloc_upnodes = -9488, n_upnodes = 32767}, graph_line_type = -134249104, graph = {iErrno = 4, Version = 0 '\000', Endian = 0 '\000', NodeAttrSize = 140737344935962, EdgeAttrSize = 140737488344016, aOpaqueSet = {140737351943826, 0, 140737351952198, 140737354129592, 140737488345760, 140737488345776, 140737488345791, 140737351943776, 140737488345712, 140737354129592, 0, 140737488345776, 140737344888688, 140737488345840, 140737351945791, 140737353876696}, cNode = 0, cHead = 140737488344016, cTail = -1528823808, cAlone = -17878634594304, cEdge = 140737354106224, nnCost = 3, Flags = 140737344935951, nFamily = 140737488344016, nOptions = -1522532352, pNodeTree = 0xffffefbd4e560000, pEdgeTree = 0x189710, pNodeBuffer = 0x389710 <Address 0x389710 out of bounds>, iNodeBuffer = 3708688, pEdgeBuffer = 0x47f0 <Address 0x47f0 out of bounds>, iEdgeBuffer = 140737488345712, edgePrioritizer = {cEdge = -9488, iEdge = 32767, pEdgePri32Item = 0x7ffff7ff8000, pvAVL = 0x3}, nodePrioritizer = {pvAVL = 0x7ffff798c541}}, spCache = { nStartNode = 140737488344256, NodeHeap = {index = 140737351982542, count = 0, block = 140737347333952, pnode = 0x7ffff7fbf038}, pvVisited = 0x7ffff7de8e3f, pvPredist = 0x7fff00000001}, edge_fcosts = 0x7ffff7fc0ae8, edge_bcosts = 0x7fffffffcbd0, node_costs = 0x0, cost_multip = -141021696, open = 32767, mode = -136409770, level = 32767, head_only = -134467552, support_updated = 32767, next_line = -134247720, name = 0x7ffff7fc0000 "", mapset = 0x7ffff7fc0ae8 "", location = 0x7ffff7fc04d8 "", gisdbase = 0x0, Constraint_region_flag = -11072, Constraint_type_flag = 32767, Constraint_N = -nan(0xfffffa7200000), Constraint_S = -nan(0xfefbd4e560000), Constraint_E = 7.0074121054697343e-318, Constraint_W = 1.2744917400120796e-319, Constraint_T = 1.2744917400120796e-319, Constraint_B = 1.9762625833649862e-323, Constraint_type = -9616, proj = 32767, dig_fp = {file = 0x7fffffffdaf0, start = 0x7ffff7ffa630 "", current = 0xb <Address 0xb out of bounds>, end = 0x7ffff7b9fe37 "libc.so.6", size = 140737488344496, alloc = 140737351943826, loaded = 0}, head = {organization = 0x7ffff7dea746 "H\213\204$\030\001", date = 0x7ffff7ffe0b8 "", your_name = 0x7fffffffdaa0 "\377\a", map_name = 0x7fffffffdab0 "@\376q\362\001", source_date = 0x7fffffffdabf "", orig_scale = 140737351943776, line_3 = 0x7ffff7b97f30 "", plani_zone = -134477160, digit_thresh = 6.9533490683084046e-310, Version_Major = -134249104, Version_Minor = 32767, Back_Major = -134247720, Back_Minor = 32767, with_z = -134467552, size = 140737353876696, head_size = 0, port = {byte_order = -138805705, dbl_cnvrt = "\377\177\000\000\260\325\377\377", flt_cnvrt = "\377\177\000", lng_cnvrt = "\000\000\000\251", int_cnvrt = "\377\377\377\377", shrt_cnvrt = "\000", dbl_quick = -4163, flt_quick = -1863974008, lng_quick = 9192901, int_quick = 524480, shrt_quick = 1610645509}, last_offset = 288244163214868672, recycle = 0x402e083244880010, Map = 0x48220e202c345088}, fInfo = {i = -1933540314, ogr = { dsn = 0xc066041aaca10e02 <Address 0xc066041aaca10e02 out of bounds>, layer_name = 0x15000c00032c000 <Address 0x15000c00032c000 out of bounds>, ds = 0x2820200b84088120, layer = 0x5810005020040024, lines = 0x800600284244ca80, lines_types = 0x80402000421810, lines_alloc = 1358974985, lines_num = 1065098, lines_next = 134217728, feature_cache = 0x7fffffffdd00, feature_cache_id = -134478664, offset = 0x80800408019e40, offset_num = 1280344068, offset_alloc = -2147442105, next_line = -136474800}}, hist_fp = 0x7ffff7fc0a00, site_att = 0x7ffff7de8e3f, n_site_att = -134249104, n_site_dbl = 32767, n_site_str = -134247720} cat = <value optimised out> Fi = <value optimised out> driver = <value optimised out> sql = {string = 0x7ffff7994b18 "", nalloc = 0} strval = {string = 0x7ffff7994b18 "", nalloc = 0} dim = <value optimised out> with_z = <value optimised out> Ogr_ds = 0x61ba30 Ogr_layer = <value optimised out> Ogr_field = <value optimised out> Ogr_fieldname = <value optimised out> Ogr_ftype = <value optimised out> ---Type <return> to continue, or q <return> to quit--- Ogr_feature = <value optimised out> Ogr_featuredefn = <value optimised out> Ogr_geometry = <value optimised out> Ogr_oRing = <value optimised out> poSpatialFilter = <value optimised out> Ogr_projection = <value optimised out> oExt = {MinX = 0, MaxX = 0, MinY = 0, MaxY = 0} layer_names = 0x61cdd0 layers = 0x61cd90 nlayers = 1 available_layer_names = 0x0 navailable_layers = 0 layer_id = <value optimised out> overwrite = 1 area_size = 1 (gdb)
It happens in lib/vector/Vlib/header.c, l559
int Vect_set_organization(struct Map_info *Map, const char *str) { G_free(Map->head.organization); ...
In GRASS 6.4 no such problem.
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Retested, works ok now. Closing.
Note:
See TracTickets
for help on using tickets.
Hi,
I reverted a small change which added a G_debug() statement but I don't really see why that would break it. Can you try again with the latest svn? If not, maybe distclean helps?
can you look in the vector/$MAP/head file and see that there is no weird chars in there from a missing null terminator or something like that?
I tried to reproduce it locally but no luck, worksforme.
Hamish