Hi, I have the pharo crash again, now in my production system on a windows machine. I can not yet reproduce it and ask for your help. What does " a(n) bad class" in the stack dump mean? Regards Sabine Smalltalk stack dump: 0x256720 M Dictionary>at:ifAbsent: 0x79f46c0: a(n) Dictionary 0x256740 M RKACurrency class>currencyFor: 0x70af390: a(n) RKACurrency class 0x256764 M RKAMoney class>amount:currencyCode: 0x70acafc: a(n) RKAMoney class 0x256784 M SmallInteger(Number)>eur 0x1=0 0x2567f4 M [] in INVALID RECEIVER>monthReportTripsTableData 0xbb5988c: a(n) bad class 0x256818 M INVALID RECEIVER>do:with:when: 0xbb614e8: a(n) bad class 0x256844 I INVALID RECEIVER>do:with: 0xbb614e8: a(n) bad class 0x25686c I INVALID RECEIVER>datesDo: 0xbb614e8: a(n) bad class 0x2568a8 I INVALID RECEIVER>monthReportTripsTableData 0xbb5988c: a(n) bad class 0x2568cc I INVALID RECEIVER>addMonthReportTripsTable 0xbb5988c: a(n) bad class 0x2568ec I INVALID RECEIVER>createMonthReport: --------------------------------------------------------------------- Mon Jun 15 15:32:56 2015 Exception code: C0000005 Exception addr: 004239D0 Access violation (read access) at 00000016 EAX:00000016 EBX:0000005C ECX:0000000E EDX:0BB41FB4 ESI:0BD58C48 EDI:00000060 EBP:0BD58C48 ESP:0023DF30 EIP:004239D0 EFL:00210246 FP Control: 0000027F FP Status: 00000020 FP Tag: 0000FFFF Crashed in the VM thread Hardware information: Manufacturer: Unknown Model: Unknown Number of processors: 2 Page size: 4096 Memory Information (upon launch): Physical Memory Size: 4193908 kbytes Physical Memory Free: 3054672 kbytes Page File Size: 4194303 kbytes Page File Free: 3502492 kbytes Virtual Memory Size: 2097024 kbytes Virtual Memory Free: 2029820 kbytes Memory Load: 27 percent Processor 0: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz Identifier: Intel64 Family 6 Model 62 Stepping 4 ~MHZ: 2500 Processor 1: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz Identifier: Intel64 Family 6 Model 62 Stepping 4 ~MHZ: 2500 Operating System: Windows Server 2008 R2 Datacenter (Build 7601 Service Pack 1) Registered Owner: Amazon Registered Company: Amazon.com SP major version: 1 SP minor version: 0 Suite mask: 190 Product type: 3 Display Information: Graphics adapter name: RDPDD Chained DD Primary monitor resolution: 2560 x 1440 Device: RDPDD Chained DD Adapter String: ??? Bios String: ??? Chip Type: ??? DAC Type: ??? Memory Size: 0xFFFFFFFF Driver Versions: RDPDD: VM Version: Cog VM 4.0.0 (release) from Sep 25 2014 Compiler: gcc 4.6.2 Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014 Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014 Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano <[hidden email]> Jenkins build #14858 Current byte code: -1 Primitive index: -1 Loaded plugins: JPEGReaderPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i) DSAPrims VMMaker.oscog-jeanbaptistearnaud.783 (i) SqueakSSL SqueakSSL-Plugin-ar.3 (e) Win32OSProcessPlugin VMConstruction-Plugins-OSProcessPlugin.oscog-EstebanLorenzano.43 (i) SocketPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i) B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i) Kernel32 ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i) NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i) BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i) JPEGReadWriter2Plugin VMMaker.oscog-jeanbaptistearnaud.783 (i) FT2Plugin Freetype-Plugin-IgorStasenko.64 (e) SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i) FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i) MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i) LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i) LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i) Module information: 00400000 - 006ee000: C:\Users\Administrator\Desktop\Pharo4.0\Pharo.exe 02480000 - 02580004: CogCode 63000000 - 631ba000: C:\Users\Administrator\Desktop\Pharo4.0\LIBEAY32.dll 66e40000 - 66f02000: C:\Users\Administrator\Desktop\Pharo4.0\libfreetype-6.dll 69f40000 - 69f5a000: C:\Users\Administrator\Desktop\Pharo4.0\FT2Plugin.DLL 6c240000 - 6c267000: C:\Windows\system32\crtdll.dll 6cb80000 - 6cb99000: C:\Users\Administrator\Desktop\Pharo4.0\SqueakSSL.DLL 6e400000 - 6e467000: C:\Users\Administrator\Desktop\Pharo4.0\SSLEAY32.dll 73f50000 - 73f55000: C:\Windows\system32\SHFolder.dll 743b0000 - 74434000: C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\COMCTL32.dll 74800000 - 74813000: C:\Windows\system32\dwmapi.dll 74820000 - 74826000: C:\Windows\system32\DCIMAN32.dll 74830000 - 74917000: C:\Windows\system32\DDRAW.dll 74920000 - 74942000: C:\Windows\system32\GLU32.dll 74950000 - 74a18000: C:\Windows\system32\OPENGL32.DLL 74a20000 - 74a52000: C:\Windows\system32\WINMM.dll 74a60000 - 74a85000: C:\Windows\system32\dinput.dll 74dc0000 - 74e0c000: C:\Windows\system32\apphelp.dll 74f00000 - 74f07000: C:\Windows\system32\WSOCK32.DLL 74f10000 - 74f4b000: C:\Windows\system32\rsaenh.dll 74f50000 - 74f66000: C:\Windows\system32\CRYPTSP.dll 74f70000 - 74f76000: C:\Windows\system32\rasadhlp.dll 74f80000 - 74fb8000: C:\Windows\System32\fwpuclnt.dll 74fc0000 - 74fc7000: C:\Windows\system32\WINNSI.DLL 74fd0000 - 74fec000: C:\Windows\system32\IPHLPAPI.DLL 74ff0000 - 74ff8000: C:\Windows\System32\winrnr.dll 75000000 - 75044000: C:\Windows\system32\DNSAPI.dll 75050000 - 75060000: C:\Windows\system32\napinsp.dll 75060000 - 75070000: C:\Windows\system32\NLAapi.dll 75070000 - 75075000: C:\Windows\System32\wshtcpip.dll 75090000 - 750cc000: C:\Windows\System32\mswsock.dll 75190000 - 75199000: C:\Windows\system32\VERSION.dll 75260000 - 7526c000: C:\Windows\syswow64\CRYPTBASE.dll 75270000 - 752d0000: C:\Windows\syswow64\SspiCli.dll 752d0000 - 7537c000: C:\Windows\syswow64\msvcrt.dll 75390000 - 75480000: C:\Windows\syswow64\RPCRT4.dll 75480000 - 760ca000: C:\Windows\syswow64\SHELL32.dll 76120000 - 76230000: C:\Windows\syswow64\kernel32.dll 76230000 - 762c0000: C:\Windows\syswow64\GDI32.dll 76540000 - 765cf000: C:\Windows\syswow64\OLEAUT32.dll 76700000 - 7685c000: C:\Windows\syswow64\OLE32.dll 76860000 - 76900000: C:\Windows\syswow64\ADVAPI32.DLL 769c0000 - 769d9000: C:\Windows\SysWOW64\sechost.dll 769e0000 - 76a5b000: C:\Windows\syswow64\COMDLG32.DLL 76a70000 - 76c0d000: C:\Windows\syswow64\SETUPAPI.dll 76ca0000 - 76cb2000: C:\Windows\syswow64\DEVOBJ.dll 76cc0000 - 76cc5000: C:\Windows\syswow64\psapi.dll 76cd0000 - 76d27000: C:\Windows\syswow64\SHLWAPI.dll 76d40000 - 76d75000: C:\Windows\syswow64\WS2_32.dll 76d90000 - 76dd7000: C:\Windows\syswow64\KERNELBASE.dll 76de0000 - 76dea000: C:\Windows\syswow64\LPK.dll 76df0000 - 76e50000: C:\Windows\system32\IMM32.DLL 76fc0000 - 770c0000: C:\Windows\syswow64\USER32.dll 770c0000 - 770e7000: C:\Windows\syswow64\CFGMGR32.dll 772b0000 - 7734d000: C:\Windows\syswow64\USP10.dll 77350000 - 7741c000: C:\Windows\syswow64\MSCTF.dll 777f0000 - 777f6000: C:\Windows\syswow64\NSI.dll 77820000 - 779a0000: C:\Windows\SysWOW64\ntdll.dll Primitive trace: basicNew at:put: stringHash:initialHash: basicNew at:put: new: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: basicNew at:put: new: at:put: at:put: at:put: basicNew basicNew basicNew new: basicNew new: basicNew new: basicNew new: basicNew at:put: at:put: basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew perform:with: basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew new: basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew new: basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew basicNew: replaceFrom:to:with:startingAt: replaceFrom:to:with:startingAt: basicNew: replaceFrom:to:with:startingAt: replaceFrom:to:with:startingAt: basicNew: basicNew basicNew indexOfAscii:inString:startingAt: basicNew: replaceFrom:to:with:startingAt: basicNew basicNew replaceFrom:to:with:startingAt: at:put: indexOfAscii:inString:startingAt: basicNew: replaceFrom:to:with:startingAt: basicNew basicNew replaceFrom:to:with:startingAt: basicNew: replaceFrom:to:with:startingAt: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: new: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: new: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: basicNew at:put: new: at:put: at:put: at:put: basicNew basicNew basicNew new: basicNew new: basicNew new: basicNew new: basicNew at:put: perform:with: truncated new: replaceFrom:to:with:startingAt: at:put: basicNew **IncrementalGC** Stack backtrace: [004239D0] ??? + 145872 in Pharo.exe [002567F5] ??? + 0 in (null) Smalltalk stack dump: 0x256720 M Dictionary>at:ifAbsent: 0x79f46c0: a(n) Dictionary 0x256740 M RKACurrency class>currencyFor: 0x70af390: a(n) RKACurrency class 0x256764 M RKAMoney class>amount:currencyCode: 0x70acafc: a(n) RKAMoney class 0x256784 M SmallInteger(Number)>eur 0x1=0 0x2567f4 M [] in INVALID RECEIVER>monthReportTripsTableData 0xbb5988c: a(n) bad class 0x256818 M INVALID RECEIVER>do:with:when: 0xbb614e8: a(n) bad class 0x256844 I INVALID RECEIVER>do:with: 0xbb614e8: a(n) bad class 0x25686c I INVALID RECEIVER>datesDo: 0xbb614e8: a(n) bad class 0x2568a8 I INVALID RECEIVER>monthReportTripsTableData 0xbb5988c: a(n) bad class 0x2568cc I INVALID RECEIVER>addMonthReportTripsTable 0xbb5988c: a(n) bad class 0x2568ec I INVALID RECEIVER>createMonthReport: |
Hi Sabine,
On Fri, Jul 10, 2015 at 12:51 AM, Sabine Manaa <[hidden email]> wrote:
It means that when the code that prints the stack dump tries to print a receiver, attempting to fetch the receiver's class's name, the object's class doesn't look like a class object. What version of the VM are you using? This looks like it might be an old bug. What happens if you use the most up-to-date Pharo VM? The idea with VMs is that they are backward-compatible, while images are forward compatible. You may not be able to run a Pharo image on an older VM, but you should be able to run any Pharo image that supports the closure bytecodes on later VMs.
best,
Eliot |
Hi Eliot,
I downloaded the latest version from the Pharo website and the Pharo.exe has date 25.9.2014. Is this not the most up-to-date Pharo VM? I had the problem also on my mac machine with the download of pharo 4. I am trying to create a demo for reproducing but not yet successful. The problem is that the error seems to occur randomly. I start the image, work with my app and then after clicking a few times on the same button, it suddenly appears. Running exactly the same code! I wonder why no one else has this problem with pharo 4. I went back to pharo3 for production. Help would be great! Regards Sabine |
Hi Sabine, the vm from 29/09/2014 is not the last one. You can try this one: but… current Pharo VM is based in an old branch from Eliot sources, because in a moment I moved all development to a different branch for work on spur. While the spur branch should be able to produce regular Cog VMs, making a Pharo VM (with NB support) would be hard because I didn’t keep all NB related changes :( (this is because we realigned VM sources and it was a lot easier like that). If you want a newer VM, and your code does not rely on any NB stuff, I suggest you try with latest Cog from Eliot site: it should work without problems (but beware, some command line options can be different) Please, keep us informed if you have any progression :) cheers! Esteban
|
In reply to this post by Sabine Manaa
2015-07-13 18:34 GMT+02:00 Sabine Manaa <[hidden email]>:
The most up-to-date pharo vm is from 09.07.15 (files.pharo.org/vm/pharo/ win|linux|mac/.../latest) this is the "latest" not the current "stable". But it works well. I had the problem also on my mac machine with the download of pharo 4. |
Hi Nicolai and Esteban, will there be an official release for Pharo4 with a stable vm which does not include this bug? In this case I would wait and proceed with Pharo3 till then. I don not do very special things and I wonder why I am the only person having this problem. Btw I had the crashed Image problem, too. Another reason to go back to Pharo3 and wait. Regards Sabine 2015-07-13 19:25 GMT+02:00 Nicolai Hess [via Smalltalk] <[hidden email]>:
|
Hi Sabine,
We can release a new stable VM if we found it fixes the problem… but is hard for me to test it since I do not have a reproducible case :( Some feedback about the new VMs I suggested you to try would be cool, but I understand that doing experiments in production is not the best scenario possible :) In any case, if you can collect any other data, please keep us informed. Esteban
|
Hi Esteban, ok, I will try to find a reproducible case and try with the newer vm and come back to you! Regards Sabine 2015-07-16 8:39 GMT+02:00 EstebanLM [via Smalltalk] <[hidden email]>:
|
Hi Esteban,
I downloaded the Pharo vm with file date 16.7.2015 and startet it with a pharo 4 image (curl get.pharo.org/vmLatest50 | bash). The problem remains - also with the newer vm. I reproduced it twice, please see the stack dump below. Can you see in the dump below that I used the right vm? Is this helpful? Now I try to create a reproducible case. regards Sabine ---------------------------------- Segmentation fault Sun Jul 19 14:45:32 2015 https://github.com/pharo-project/pharo-vm.git Commit: b292ce7c18d004482a2534c09000aa270583141f Date: 2015-06-15 16:45:13 +0200 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #14979 C stack backtrace: 0 Pharo 0x0004cb0f reportStackState + 159 Smalltalk stack dump: 0xbffc4b54 M Dictionary>at:ifAbsent: 0x23f5c340: a(n) Dictionary 0xbffc4b74 M RKACurrency class>currencyFor: 0x235ec820: a(n) RKACurrency class 0xbffc4b98 M RKAMoney class>amount:currencyCode: 0x235ea04c: a(n) RKAMoney class 0xbffc4bb8 M SmallInteger(Number)>eur 0x1=0 0xbffc4c28 M [] in INVALID RECEIVER>monthReportTripsTableData 0x2974394c: a(n) bad class 0xbffc4c54 I INVALID RECEIVER>do:with:when: 0x2974b558: a(n) bad class 0x2974b5c0 is not a context Most recent primitives new: basicNew new: basicNew at:put: at:put: basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew perform:with: basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew new: basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew new: basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew basicNew: replaceFrom:to:with:startingAt: replaceFrom:to:with:startingAt: basicNew: replaceFrom:to:with:startingAt: replaceFrom:to:with:startingAt: basicNew: basicNew basicNew indexOfAscii:inString:startingAt: basicNew: replaceFrom:to:with:startingAt: basicNew basicNew replaceFrom:to:with:startingAt: at:put: indexOfAscii:inString:startingAt: basicNew: replaceFrom:to:with:startingAt: basicNew basicNew replaceFrom:to:with:startingAt: basicNew: replaceFrom:to:with:startingAt: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: new: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: new: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: basicNew at:put: new: at:put: at:put: at:put: basicNew basicNew basicNew new: basicNew new: basicNew new: basicNew new: basicNew at:put: at:put: basicNew **IncrementalGC** (Segmentation fault) Segmentation fault Sun Jul 19 14:50:23 2015 https://github.com/pharo-project/pharo-vm.git Commit: b292ce7c18d004482a2534c09000aa270583141f Date: 2015-06-15 16:45:13 +0200 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #14979 C stack backtrace: 0 Pharo 0x0004cb0f reportStackState + 159 Smalltalk stack dump: 0xbffc6b10 M Array(OrderedCollection)>do: 0x24d390a0: a(n) Array 0xbffc6b30 M Array(Collection)>inject:into: 0x24d390a0: a(n) Array 0xbffc6ba4 M [] in INVALID RECEIVER>monthReportTripsTableData 0x24d30acc: a(n) bad class 0xbffc6bd0 I INVALID RECEIVER>do:with:when: 0x24d38790: a(n) bad class 0xbffc6bfc I INVALID RECEIVER>do:with: 0x24d38790: a(n) bad class 0xbffc6c24 I INVALID RECEIVER>datesDo: 0x24d38790: a(n) bad class 0xbffc6c60 I INVALID RECEIVER>monthReportTripsTableData 0x24d30acc: a(n) bad class 0x24d3864c is not a context Most recent primitives basicNew new: basicNew new: basicNew at:put: at:put: basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew perform:with: basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew stringHash:initialHash: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: compare:with:collated: basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew basicNew basicNew basicNew perform:with: basicNew perform:with: basicNew basicNew basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew new: basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew new: basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew new: basicNew: basicNew basicNew: replaceFrom:to:with:startingAt: basicNew basicNew: replaceFrom:to:with:startingAt: replaceFrom:to:with:startingAt: basicNew: replaceFrom:to:with:startingAt: replaceFrom:to:with:startingAt: basicNew: basicNew basicNew indexOfAscii:inString:startingAt: basicNew: replaceFrom:to:with:startingAt: basicNew basicNew replaceFrom:to:with:startingAt: at:put: indexOfAscii:inString:startingAt: basicNew: replaceFrom:to:with:startingAt: basicNew basicNew replaceFrom:to:with:startingAt: basicNew: replaceFrom:to:with:startingAt: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: new: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: stringHash:initialHash: basicNew at:put: new: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: at:put: stringHash:initialHash: basicNew at:put: new: at:put: at:put: at:put: basicNew basicNew basicNew new: basicNew new: basicNew new: basicNew new: basicNew at:put: at:put: **IncrementalGC** (Segmentation fault) |
Hi Sabine, you have a reproducible case. Does the image require any surrounding infrastructure to reproduce the problem or is it self-contained? Do you use any special Pharo facilities such as Native Boost? If the problem is self-contained would you be willing to try one of my recent VMs and see if it crashes there-on? If it does, I'd like either you to run the system using an assert-enabled VM and/or you to send me the image and changes and let me take a look at the crash. An assert-enabled VM is one full of run-time consistency checks and it tends to move the point of detection in a bug earlier, before things are so messed up that the VM actually crashes. It is significantly slower than the production VM, which is why its only used to debug/verify. Ideally a reproducible case crashes from start-up without user intervention. This makes it more straight-forward to debug. If you can package the crash as a doit that starts with a snapshot that's ideal. Something like Smalltalk image snapshot: true andQuit: true. self doSomethingThatCrashes This can be run from inside an inspector on a live instance if necessary, avoiding needing to initialize the application, etc. HTH On Sun, Jul 19, 2015 at 5:59 AM, Sabine Manaa <[hidden email]> wrote:
_,,,^..^,,,_ best, Eliot |
Hi Eliot,
I use MongoDB and the Problem occurs when the user clicks within its web browser. I don't use Native Boost etc. Only lots of Pharo features like Artifact, Zinc etc. Yes, sure, I can try with other vms. I can try to force the bug with a smalltalk script instead of clicking within the application but the need of mongo db remains. I will think about how to create a straight forward reproducible case to you. You can send the vm to me I will test it. Regards Sabine 2015-07-19 18:28 GMT+02:00 Eliot Miranda-2 [via Smalltalk] <[hidden email]>:
|
Hi Sabine,
On Sun, Jul 19, 2015 at 11:13 PM, Sabine Manaa <[hidden email]> wrote:
So the first step is simply to test with an up-to-date Cog VM and see if it still crashes. You can download them here: Are you on Mac OS X or Linux?
_,,,^..^,,,_ best, Eliot |
On 20/07/15 22:55, Eliot Miranda wrote: > > Are you on Mac OS X or Linux? Windows Server 2008 R2 Datacenter says the first mail in this thread Stephan |
This is production: Windows Server 2008 R2 Datacenter Development is MacOs 2015-07-20 23:04 GMT+02:00 Stephan Eggermont [via Smalltalk] <[hidden email]>:
|
In reply to this post by Stephan Eggermont-3
2015-07-21 9:24 GMT+02:00 Sabine Manaa <[hidden email]>:
|
In reply to this post by Stephan Eggermont-3
Hi Eliot, I tried with Cog.app-15.28.3410.tgz and a new pharo4 image and changes file - and the problem remains, see dump below. I reproduced it twice. Also, I was not able to open a browser but it worked also without, I used a script for initialization of my application. The dump is short, it is not a copy and paste error. I am asking myself if there is a problem in MY code but independly from the code - pharo should not crash - or? Is it possible that I do something wrong? I don't want to create time consuming create confusion based on my errors! Could it be that there is a problem with the garbage collection? Because if I take an image with all my stuff loaded in the pharo4 vm and start it with cog vm above, I get this dump: ... Smalltalk stack dump: 0xbff6eb58 M INVALID RECEIVER>do: 0x125b63b4: a(n) bad class 0xbff6eb78 M INVALID RECEIVER>grow 0x125b6254 is in old space 0xbff6eb90 M INVALID RECEIVER>fullCheck 0x125b6254 is in old space 0xbff6eba8 M INVALID RECEIVER>atNewIndex:put: 0x125b6254 is in old space 0xbff6ebd0 M INVALID RECEIVER>at:put: 0x125b6254 is in old space 0xbff6ec44 M [] in INVALID RECEIVER>monthReportTripsTableData 0x125ad1bc is in old space 0xbff6ec70 I INVALID RECEIVER>do:with:when: 0x125b4db0: a(n) 0xbff6ec9c I INVALID RECEIVER>do:with: 0x125b4db0: a(n) 0xbff6ecc4 I INVALID RECEIVER>datesDo: 0x125b4db0: a(n) 0xbff6ed00 I INVALID RECEIVER>monthReportTripsTableData 0x125ad1bc is in old space 0xbff6ed24 I INVALID RECEIVER>addMonthReportTripsTable 0x125ad1bc is in old space 0xbff6ed44 I INVALID RECEIVER>createMonthReport: 0x125ad1bc is in old space 0xbff6ed70 I [] in INVALID RECEIVER>renderContentOn: 0x125ab250: a(n) bad class ... Regards Sabine ################################### Segmentation fault Tue Jul 21 11:05:06 2015 /Users/sabine/Desktop/Cog.app/Contents/MacOS/Squeak Squeak VM version: 4.5 4.0.3410 Mac OS X built on Jul 19 2015 04:40:14 UTC Compiler: 4.2.1 (Apple Inc. build 5666) (dot 3) [Production VM] Built from: CoInterpreter VMMaker.oscog-eem.1426 uuid: 94ab92ba-c5c4-4953-8566-a4cd9c38df1f Jul 19 2015 With: StackToRegisterMappingCogit VMMaker.oscog-eem.1427 uuid: c5cb18c5-f69e-4e41-8f87-943a495659b4 Jul 19 2015 Revision: VM: r3410 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-07-18 19:15:20 -0700 Plugins: r3405 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins C stack backtrace & registers: eax 0x00000016 ebx 0x0d8526d4 ecx 0x133ce35f edx 0x0d63a5b8 edi 0x0d852678 esi 0x0d852678 ebp 0xbff5cc18 esp 0xbff5cbd0 eip 0x000e1535 (0 Squeak 0x000e1535 mapPointersInObjectsFromto + 1461) Smalltalk stack dump: 0xbff9eba8 M Array(OrderedCollection)>do: 0xd65b13c: a(n) Array 0xbff9ebc8 M Array(Collection)>inject:into: 0xd65b13c: a(n) Array 0xbff9ec3c M [] in Segmentation fault Tue Jul 21 11:07:54 2015 /Users/sabine/Desktop/Cog.app/Contents/MacOS/Squeak Squeak VM version: 4.5 4.0.3410 Mac OS X built on Jul 19 2015 04:40:14 UTC Compiler: 4.2.1 (Apple Inc. build 5666) (dot 3) [Production VM] Built from: CoInterpreter VMMaker.oscog-eem.1426 uuid: 94ab92ba-c5c4-4953-8566-a4cd9c38df1f Jul 19 2015 With: StackToRegisterMappingCogit VMMaker.oscog-eem.1427 uuid: c5cb18c5-f69e-4e41-8f87-943a495659b4 Jul 19 2015 Revision: VM: r3410 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-07-18 19:15:20 -0700 Plugins: r3405 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins C stack backtrace & registers: eax 0x00000016 ebx 0x0dc903b0 ecx 0x01aae35f edx 0x0da8c780 edi 0x0dc90354 esi 0x0dc90354 ebp 0xbff5cc18 esp 0xbff5cbd0 eip 0x000e1535 (0 Squeak 0x000e1535 mapPointersInObjectsFromto + 1461) Smalltalk stack dump: 0xbff76bd8 M INVALID RECEIVER>inject:into: 0xda9ba34: a(n) 2015-07-21 9:27 GMT+02:00 Sabine Manaa <[hidden email]>:
|
In reply to this post by Sabine Manaa
Hi Sabine,
On Tue, Jul 21, 2015 at 12:27 AM, Sabine Manaa <[hidden email]> wrote:
That's Mac OS X. You'll want cogwin-15.28.3410.zip
_,,,^..^,,,_ best, Eliot |
Hi Eliot, please see my other post. I develop with mac os. Regards Sabine 2015-07-22 22:49 GMT+02:00 Eliot Miranda-2 [via Smalltalk] <[hidden email]>:
|
Hi Eliot,
me again. I develop with Mac and production is Windows. The problem is independent from the OS. Please see my post from Jul 21, 2015; 11:21am. Do you want to send me the assert-enabled VM now? Regards Sabine |
Hi,
I am still waiting for Eliots answer. Does anyone knows - is he on holidays? I was asking him to send me the assert enabled vm, he suggested. regards Sabine |
Free forum by Nabble | Edit this page |