|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
[ monetdb-Bugs-2019349 ] assert fails on algebra versionBugs item #2019349, was opened at 2008-07-16 09:52
Message generated for change (Comment added) made by nielsnes You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2019349&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: Open >Resolution: Fixed Priority: 5 Private: No Submitted By: Romulo Goncalves (romulog) Assigned to: Niels Nes (nielsnes) Summary: assert fails on algebra version Initial Comment: This bug only occurs in the current branch and for mclient -G. If you run the following sql code you will crash mserver: create table prop1 (subj int, obj int, prop int); create table prop2 (subj int, obj int, prop int); explain WITH A(subj, obj) as (SELECT * FROM prop1 where obj = 14660332) SELECT prop, obj, cnt from ( ( SELECT 'prop14657240_pso' as prop, B.obj, count(*) as cnt FROM A, prop2 as B WHERE A.subj = B.subj GROUP BY B.obj HAVING count(*) > 1 ) ) as trip; drop table prop1; drop table prop2; Some debug information: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1107310928 (LWP 32432)] 0x00002aaabe74dddc in sql_ref_dec (r=0x21) at /ufs/goncalve/MonetDB/current/sql/src/common/sql_mem.mx:50 50 assert(r->refcnt > 0); Missing separate debuginfos, use: debuginfo-install bzip2.x86_64 e2fsprogs.x86_64 glibc.x86_64 keyutils.x86_64 krb5.x86_64 libselinux.x86_64 ncurses.x86_64 openssl.x86_64 pcre.x86_64 readline.x86_64 zlib.x86_64 (gdb) up #1 0x00002aaabe6bf89e in stmt_destroy (s=0x21) at /ufs/goncalve/MonetDB/current/sql/src/server/sql_statement.mx:634 634 if (sql_ref_dec(&s->ref) == 0) { (gdb) up #2 0x00002aaabe6bfd23 in stmt_destroy (s=0xde9db8) at /ufs/goncalve/MonetDB/current/sql/src/server/sql_statement.mx:810 810 stmt_destroy(s->t); (gdb) bt ---------------------------------------------------------------------- >Comment By: Niels Nes (nielsnes) Date: 2008-07-21 07:51 Message: Logged In: YES user_id=43556 Originator: NO fixed in stable. Incorrectly used stmt_destroy (exp's != stmt). Also we now return an error on not matching column lists. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2019349&group_id=56967 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Monetdb-bugs mailing list Monetdb-bugs@... https://lists.sourceforge.net/lists/listinfo/monetdb-bugs |
| Free Forum Powered by Nabble | Forum Help |