On Fri, Nov 16, 2007 at 09:36:44AM +0100, Niels Nes wrote:
On Thu, Nov 15, 2007 at 02:58:05PM -0700, m h wrote:
Hello-
The simple python example from the website is crashing [0]. I get the following output when I try to run it:
Matt
On which version of MonetDB are you trying this?
works fine for me with the latest CVS version (stable branches), both M5 & M4; the released ("-0") version fails to load CMapi: ======== Traceback (most recent call last): File "/tmp/mdb.py", line 1, in ? import MonetSQLdb File "/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Stable_X-20/prefix.--enable-strict_--disable-optimize_--enable-debug_--enable-assert/lib64/python2.4/site-packages/MonetSQLdb/__init__.py", line 45, in ? from CMapi import * ImportError: No module named CMapi ========
Niels
matt@r52 ~/work/II/svn/trunk/2MonetDB $ python testmdb.py (981, 'schemas', 980, None, '0', True, '0', '0') *** glibc detected *** python: free(): invalid pointer: 0x080cf8d8 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7cdea00] /lib/libc.so.6(cfree+0x89)[0xb7ce06f9] /usr/lib/libMapi.so.0(mapi_destroy+0x77)[0xb7b4a40f] /home/matt/work/vpython/lib/python2.4/site-packages/MonetDB/_MapiLib.so[0xb7fa25a5] /usr/lib/libpython2.4.so.1.0(PyCFunction_Call+0x10d)[0xb7eef420]
[...]
/usr/lib/libpython2.4.so.1.0(Py_Main+0x9ad)[0xb7f3b1e9] python(main+0x1a)[0x804866e] /lib/libc.so.6(__libc_start_main+0xdc)[0xb7c8efdc] python[0x80485b1] ======= Memory map: ======== 08048000-08049000 r-xp 00000000 08:03 1772622 /home/matt/work/vpython/bin/python 08049000-0804a000 rw-p 00000000 08:03 1772622 /home/matt/work/vpython/bin/python 0804a000-080f5000 rw-p 0804a000 00:00 0 [heap] [...] bff36000-bff58000 rw-p bff36000 00:00 0 [stack] Aborted matt@r52 ~/work/II/svn/trunk/2MonetDB $
I'm running the latest ebuild for gentoo.
I don't know, which version of the code the latest ebuild for gentoo is based on. Stefan
Any suggestions to remove crashing would be great.
thanks much,
matt
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |