Bugs item #1715672, was opened at 2007-05-09 14:28
Message generated for change (Comment added) made by romulog
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1715672&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: SQL/Core
Group: SQL CVS Head
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Romulo Goncalves (romulog)
Assigned to: Niels Nes (nielsnes)
Summary: LOCAL AND GLOBAL temporary table
Initial Comment:
Just run:
[EMAIL PROTECTED] ~]$ mclient
sql>create LOCAL TEMPORARY table t1 (id int) ON COMMIT DROP;
sql>create GLOBAL TEMPORARY table t1 (id int) ON COMMIT DROP;
you will get:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1090525504 (LWP 10596)]
0x0000003973a6ed1a in _int_malloc () from /lib64/libc.so.6
(gdb) up
#1 0x0000003973a7086d in malloc () from /lib64/libc.so.6
(gdb) up
#2 0x00002aaaab405593 in GDKmallocmax (size=232, maxsize=0x41000a38,
emergency=1) at /ufs/goncalve/MonetDB/MonetDB/src/gdk/gdk_utils.mx:1046
1046 GDKmalloc_prefixsize(s, size);
(gdb) up
#3 0x00002aaaab405723 in GDKmalloc (size=232)
at /ufs/goncalve/MonetDB/MonetDB/src/gdk/gdk_utils.mx:1067
1067 return GDKmallocmax(size, &size, 1);
(gdb) up
#4 0x00002aaab8de96e2 in create_sql_table (name=0x1140c98 "t1", type=0,
system=0 '\0', persistence=2, commit_action=3)
at /ufs/goncalve/MonetDB/sql/src/storage/bat/bat_store.mx:2259
2259 sql_table *t = NEW(sql_table);
(gdb)
Regards,
Romulo
----------------------------------------------------------------------
>Comment By: Romulo Goncalves (romulog)
Date: 2007-05-10 11:27
Message:
Logged In: YES
user_id=1498628
Originator: YES
The bug is fixed and the test to cover it is:
sql/src/test/BugTracker/Test/local_global_temporary_table.SF-1715672.sql
Regards,
Romulo
----------------------------------------------------------------------
Comment By: Niels Nes (nielsnes)
Date: 2007-05-10 09:46
Message:
Logged In: YES
user_id=43556
Originator: NO
write after free problem. fixed in cvs.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1715672&group_id=56967
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs