Bugs item #2027870, was opened at 2008-07-25 16:10 Message generated for change (Comment added) made by stmane You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2027870&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: Core Group: MonetDB4 4.24 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ying Zhang (yingying) Assigned to: Nobody/Anonymous (nobody) Summary: MIL: nil-value variable crashes Mserver Initial Comment: The following MIL commands cause Mserver to crash, when freeing the yytree: $ cat bugje.mil var a := nil; var b; b := "some text..."; if(and(not(isnil(a)), a != "")) print(a); $ Mserver bugje.mil # MonetDB Server v4.24.1 # based on GDK v1.24.1 # Copyright (c) 1993-2008, CWI. All rights reserved. # Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !ERROR: interpret: no matching MIL operator to '!=(void, str)'. !MAYBE YOU MEAN: ! !=(str, str) : bit ! !=(lng, lng) : bit ! !=(dbl, dbl) : bit ! !=(flt, flt) : bit ! !=(wrd, wrd) : bit ! !=(oid, oid) : bit ! !=(int, int) : bit ! !=(sht, sht) : bit ! !=(bte, bte) : bit ! !=(chr, chr) : bit ! !=(bit, bit) : bit ! !=(any::1, any::1) : bit !ERROR: interpret_params: and(param 2): evaluation error. !ERROR: BATSIGcrash: Mserver internal error (Segmentation fault), please restart. !ERROR: (One potential cause could be that your disk might be full...) Note that, the crash is only caused by the combination of the conditions: i) variable a is nil, ii) variable b is not initialized immediately, and iii) function and() is used. If one of the conditions doesn't hold, Mserver behaves correctly. Jennie ---------------------------------------------------------------------- >Comment By: Stefan Manegold (stmane) Date: 2008-07-25 17:29 Message: Logged In: YES user_id=572415 Originator: NO Jennie, did you by any chance run this in gdb to see where (and why) the crash happens? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2027870&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 [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
