Bugs item #1975402, was opened at 2008-05-27 20:05
Message generated for change (Comment added) made by nielsnes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1975402&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Modules
Group: Geom CVS Head
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Stefan de Konink (skinkie)
Assigned to: Nobody/Anonymous (nobody)
Summary: Copy into segfaults

Initial Comment:
sql>drop table nodes;
sql>CREATE TABLE nodes (id serial, p POINT);
sql>insert into nodes (id, p) values (45111955, 'POINT(52.0697 4.3723)');
Rows affected 1
sql>COPY 1 RECORDS INTO nodes from '/tmp/insert/split/file0' USING DELIMITERS 
',', '\n';


file0:
45111956, 'POINT(52.0697 4.3723)'


GDB:
(gdb) bt
#0  0x00002ad4bb689f3e in memset () from /lib/libc.so.6
#1  0x00002ad4b9b06a15 in GDKfree (blk=0xbc6ea8) at 
/usr/include/bits/string3.h:85
#2  0x00002ad4b9a9309c in HEAPfree (h=0x13168e8) at gdk_heap.mx:252
#3  0x00002ad4b9bae195 in BATdelete (b=0x13d0a18) at gdk_storage.mx:775
#4  0x00002ad4b9a91ee8 in BBPdestroy (b=0x13d0a18) at gdk_bbp.mx:2435
#5  0x00002ad4b9a902fd in decref (i=1421, logical=0, releaseShare=<value 
optimized out>) at gdk_bbp.mx:1383
#6  0x00002aaaaf8763b3 in TABLETdestroy_format (as=0x42002910) at tablet.mx:1127
#7  0x00002aaab3c13d7e in mvc_import_table (m=0x11e1308, bs=0x140b6f0, 
sname=<value optimized out>, tname=<value optimized out>, 
    sep=0x136d728 '�' <repeats 200 times>..., rsep=0x1398f28 '�' <repeats 200 
times>..., ssep=0x11ccf38 '�' <repeats 200 times>..., 
    ns=0x1398e78 '�' <repeats 200 times>..., sz=1, offset=<value optimized 
out>) at sql_result.mx:484
#8  0x00002aaab3bea3ea in mvc_import_table_wrap (res=0x13f9fa8, s=0x13f9f88, 
sname=0x13f9fb8, tname=0x13f9fc8, T=<value optimized out>, 
    R=<value optimized out>, S=0x13f9ff8, N=0x13fa008, sz=0x13fa018, 
offset=0x13fa028) at sql.mx:1779
#9  0x00002ad4b9051494 in runMALsequence (cntxt=0x6046d0, mb=0x13fb048, 
startpc=1, stoppc=0, stk=0x13f9eb8, env=0x0, pcicaller=0x0)
    at mal_interpreter.mx:1178
#10 0x00002ad4b9056c95 in callMAL (cntxt=0x6046d0, mb=0x13fb048, 
env=0x42003018, argv=0x42002ff0, debug=0 '\0') at mal_interpreter.mx:412
#11 0x00002aaab3c0a71d in SQLexecutePrepared (c=0x6046d0, be=<value optimized 
out>, q=0x13fae88) at sql_scenario.mx:1189
#12 0x00002aaab3c0c9ca in SQLengineIntern (c=0x6046d0, be=0x134f2b8) at 
sql_scenario.mx:1300
#13 0x00002ad4b9075b1d in runScenario (c=0x6046d0) at mal_scenario.mx:630
#14 0x00002ad4b904d308 in MSserveClient (dummy=<value optimized out>) at 
mal_session.mx:471
#15 0x00002ad4ba7cc067 in start_thread () from /lib/libpthread.so.0
#16 0x00002ad4bb6d7bdd in clone () from /lib/libc.so.6
#17 0x0000000000000000 in ?? ()



----------------------------------------------------------------------

>Comment By: Niels Nes (nielsnes)
Date: 2008-05-28 09:45

Message:
Logged In: YES 
user_id=43556
Originator: NO

fixed bug in wkb from string which didn't return atom nil on errors. Also
added a test to geom/BugTracker/copy_into_crash.SF-1975402

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1975402&group_id=56967

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to