Bugs item #2556566, was opened at 2009-02-02 12:07
Message generated for change (Comment added) made by romulog
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2556566&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 "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Romulo Goncalves (romulog)
Assigned to: Martin Kersten (mlkersten)
Summary: select from history 

Initial Comment:
The following query crashes the M5-SQL

select * from history;

The crash:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe1433950 (LWP 23049)]
0x00007fffe2520ce2 in rel_projections (sql=0x7fffe200b2a8, rel=0x7fffe1ea7c68, 
tname=0x0, settname=1, intern=1) at 
/ufs/goncalve/MonetDB/stable/sql/src/server/rel_select.mx:386
386                             for (en = rel->exps->h; en; en = en->next) {
Missing separate debuginfos, use: debuginfo-install 
bzip2-libs-1.0.5-3.fc10.x86_64 e2fsprogs-libs-1.41.3-2.fc10.x86_64 
glibc-2.9-3.x86_64 keyutils-libs-1.2-3.fc9.x86_64 
krb5-libs-1.6.3-16.fc10.x86_64 libselinux-2.0.73-1.fc10.x86_64 
ncurses-libs-5.6-20.20080927.fc10.x86_64 openssl-0.9.8g-12.fc10.x86_64 
pcre-7.8-1.fc10.x86_64 readline-5.2-13.fc9.x86_64 zlib-1.2.3-18.fc9.x86_64
(gdb) 


The tname argument in the function is NULL.

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

>Comment By: Romulo Goncalves (romulog)
Date: 2009-02-02 12:12

Message:
Test added at:

sql/src/tests/BugTracker-2009/Tests/select_from_history.SF-2556566.sql

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

Comment By: Romulo Goncalves (romulog)
Date: 2009-02-02 12:09

Message:
Sorry

The problem is not with tname, it is the rel->exps :)
386                             for (en = rel->exps->h; en; en = en->next) {
(gdb) p rel->exps
$2 = (list *) 0xdbdbdbdbdbdbdbdb
(gdb) 


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

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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to