Argh, just noticed recent email from Eliot about new vm (I've been in a digest mode). printf examples work there(qsort prim fails but that's probably not a vm issue) 2011/6/20 danil osipchuk <danil.osipchuk@gmail.com>
Hello, all
Is there a combination of Pharo image, linux vm and alien packages which is known to be working?
I've tried one-click 1.2.1 Pharo releases with following:
Gofer it squeaksource:'MetacelloRepository' ; package: 'ConfigurationOfAlien'; load.
ConfigurationOfAlien loadCore. ConfigurationOfAlien loadTests. ConfigurationOfAlien loadLibC.
Both cog and plain-vm releases load the above fine. However the plain vm doesn't have IA32ABI in >>Smalltalk listBuiltinModules (neither does have external plugin) and cog vm segfaults on every example i tried. Any clues?
regards, Danil
Segmentation fault Mon Jun 20 12:24:14 2011
C stack backtrace: ./Contents/Linux/squeakvm[0x805ad7a] ./Contents/Linux/squeakvm[0x805b0ef] [0xb77cd40c] /lib/i686/cmov/libc.so.6(_IO_vfprintf+0x133)[0xb7638773] /lib/i686/cmov/libc.so.6(vsprintf+0x8c)[0xb765a34c] /lib/i686/cmov/libc.so.6(sprintf+0x2b)[0xb764255b] ./Contents/Linux/squeakvm(callIA32IntegralReturn+0x2bd)[0x80fbdf9] ./Contents/Linux/squeakvm[0x80fba1c] ./Contents/Linux/squeakvm[0x806bcf5] ./Contents/Linux/squeakvm[0x8086a84] ./Contents/Linux/squeakvm(interpret+0x5ea5)[0x8063d15] ./Contents/Linux/squeakvm[0x8072e1d] ./Contents/Linux/squeakvm[0x8078c9d] ./Contents/Linux/squeakvm(interpret+0x18)[0x805de88] ./Contents/Linux/squeakvm(main+0x266)[0x805cf37] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb760f455] ./Contents/Linux/squeakvm[0x8059fd1]
Smalltalk stack dump: 0xbfb33bdc I LibCLibrary>sprintfWithArguments: 2027450576: a(n) LibCLibrary 0xbfb33c0c I AlienExamples>exampleSprintf 2027449520: a(n) AlienExamples 0xbfb33c24 M AlienExamples class>? 2022153212: a(n) AlienExamples class .... cut basicNew: sizeFieldPut: addressFieldPut: primFFICallResult:withArguments: Aborted