Bugs item #2927174, was opened at 2010-01-06 21:21
Message generated for change (Settings changed) made by nielsnes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2927174&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: MonetDB5 CVS Head
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Stefan de Konink (skinkie)
Assigned to: Niels Nes (nielsnes)
Summary: SQL: not(invalidtable.bla) segfaults

Initial Comment:
>include sql;
# MonetDB/SQL module v2.35.0 loaded
[New Thread 0x7fffe4f37710 (LWP 24664)]
>sql.start();
>select not(invalidtable.bla) from tables;

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe540aa4f in exp_subtype (e=0x0) at ../../../src/server/rel_exp.mx:446
446             switch(e->type) {
(gdb) bt
#0  0x00007fffe540aa4f in exp_subtype (e=0x0) at 
../../../src/server/rel_exp.mx:446
#1  0x00007fffe53fca28 in rel_unop_ (sql=0x11b0138, e=0x0, s=0x118ae08, 
fname=0x7fffe547414e "not", table_func=0)
    at ../../../src/server/rel_select.mx:2927
#2  0x00007fffe53fa66b in rel_logical_value_exp (sql=0x11b0138, 
rel=0x7fffffffd188, sc=0x11b2368, f=3) at ../../../src/server/rel_select.mx:2395
#3  0x00007fffe5400d7f in rel_value_exp2 (sql=0x11b0138, rel=0x7fffffffd188, 
se=0x11b2368, f=3, ek=..., is_last=0x7fffffffd084)
    at ../../../src/server/rel_select.mx:4053
#4  0x00007fffe5400e0a in rel_value_exp (sql=0x11b0138, rel=0x7fffffffd188, 
se=0x11b2368, f=3, ek=...) at ../../../src/server/rel_select.mx:4068
#5  0x00007fffe5400ed5 in column_exp (sql=0x11b0138, rel=0x7fffffffd188, 
column_e=0x11b2408, f=3) at ../../../src/server/rel_select.mx:4081
#6  0x00007fffe5400fef in rel_column_exp (sql=0x11b0138, rel=0x7fffffffd188, 
column_e=0x11b2408, f=3) at ../../../src/server/rel_select.mx:4109
#7  0x00007fffe5402242 in rel_select_exp (sql=0x11b0138, rel=0x11fa4d8, 
outer=0x0, sn=0x11b26c8, ek=...) at ../../../src/server/rel_select.mx:4413
#8  0x00007fffe5402deb in rel_query (sql=0x11b0138, rel=0x0, sq=0x11b26c8, 
toplevel=1, ek=...) at ../../../src/server/rel_select.mx:4604
#9  0x00007fffe540426a in rel_subquery (sql=0x11b0138, rel=0x0, sq=0x11b26c8, 
ek=...) at ../../../src/server/rel_select.mx:4947
#10 0x00007fffe5404be1 in rel_selects (sql=0x11b0138, s=0x11b26c8) at 
../../../src/server/rel_select.mx:5111
#11 0x00007fffe53f30d9 in rel_semantic (sql=0x11b0138, s=0x11b26c8) at 
../../../src/server/rel_semantic.mx:320
#12 0x00007fffe5361748 in sql_symbol2stmt (c=0x11b0138, sym=0x11b26c8) at 
../../../../src/backends/monet5/sql.mx:1263
#13 0x00007fffe53a16f2 in SQLparser (c=0x604d20) at 
../../../../src/backends/monet5/sql_scenario.mx:1153
#14 0x00007ffff7b0a58f in runPhase (c=0x604d20, phase=1) at 
../../../src/mal/mal_scenario.mx:602
#15 0x00007ffff7b0a6e6 in runScenarioBody (c=0x604d20) at 
../../../src/mal/mal_scenario.mx:645
#16 0x00007ffff7b0a942 in runScenario (c=0x604d20) at 
../../../src/mal/mal_scenario.mx:679
#17 0x00007ffff7ac080c in MSserveClient (dummy=0x604d20) at 
../../../src/mal/mal_session.mx:474
#18 0x00000000004033b1 in main (argc=3, av=0x7fffffffdd08) at 
../../../src/tools/mserver5.mx:640


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

>Comment By: Niels Nes (nielsnes)
Date: 2010-01-11 21:55

Message:
fixed by properly handling the error. Added test to BugTracker-2009

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

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

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to