ba-st / Willow-Playground

Examples on how to use Willow to develop a complete interactive web application
MIT License
8 stars 2 forks source link

Crashing Pharo 6.1-64 Linux image #21

Closed wdelias closed 6 years ago

wdelias commented 6 years ago

After installing Willow, loading Willow-Playground causes Pharo 6.1-64 Linux image to crash on Ubuntu 16.0.4. Loading Willow-Playground into Mac 64-bit Pharo works fine on Mac OS X High Sierra.

gcotelli commented 6 years ago

Can you attach the crash dump? I'm using it on Linux so it should work. It crashes consistently? Can you paste the information that shows the Pharo System report?

On Nov 19, 2017 13:43, "wdelias" notifications@github.com wrote:

After installing Willow, loading Willow-Program causes Pharo 6.1-64 Linux image to crash on Ubuntu 16.0.4. Loading Willow-Program into Mac 64-bit Pharo works fine on Mac OS X High Sierra.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ba-st/Willow-Playground/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/ACAleN0-oFVFithT9SMdsNsC1HcJm65qks5s4FqogaJpZM4QjceO .

wdelias commented 6 years ago

Crash dump attached... crash.dmp.zip The image crashes consistently when trying to load Willow-Playground. System Report:

Image

/home/wdelias/pharo6.1-64/shared/Pharo6.1-64.image Pharo6.0 Latest update: #60520 Unnamed

Image Commandline Parameters

none

Image Sources

SourceFileArray MultiByteFileStream: '/home/wdelias/pharo6.1-64/shared/PharoV60.sources' MultiByteFileStream: '/home/wdelias/pharo6.1-64/shared/Pharo6.1-64.changes'

Monticello Repositories

/home/wdelias/pharo6.1-64/shared/pharo-local/package-cache http://smalltalkhub.com/mc/Pharo/Athens/main/ http://smalltalkhub.com/mc/PharoExtras/CatalogBrowser/main/ http://smalltalkhub.com/mc/PharoExtras/Tool-DependencyAnalyser/main/ http://smalltalkhub.com/mc/MartinDias/Epicea/main/ http://smalltalkhub.com/mc/estebanlm/FastTable/main/ http://smalltalkhub.com/mc/YuriyTymchuk/ScrapYard/main/ http://smalltalkhub.com/mc/Pharo/Fuel/main/ http://smalltalkhub.com/mc/Moose/GToolkit/main/ http://smalltalkhub.com/mc/Moose/Glamour/main/ http://www.squeaksource.com/Pharo http://smalltalkhub.com/mc/Pharo/OSWindow/main/ http://smalltalkhub.com/mc/NicolaiHess/Playground/main/ http://smalltalkhub.com/mc/StephaneDucasse/AutomaticMethodCategorizer/main/ http://smalltalkhub.com/mc/Pharo/SessionManager/main/ http://smalltalkhub.com/mc/dalsat/ShoreLine-Reporter/main/ http://ss3.gemstone.com/ss/STON http://smalltalkhub.com/mc/Pharo/TxText/main/ http://smalltalkhub.com/mc/Pharo/FFI-NB/main/ http://smalltalkhub.com/mc/PharoExtras/Versionner/main/ http://smalltalkhub.com/mc/PharoExtras/BitmapCharacterSet/main/ http://smalltalkhub.com/mc/PharoExtras/XMLParser/main/ http://smalltalkhub.com/mc/Pharo/XMLWriter/main/ http://mc.stfx.eu/ZincHTTPComponents http://smalltalkhub.com/mc/Pharo/Pharo60/main http://smalltalkhub.com/mc/Pharo/Pharo60Inbox/main github://ba-st/Willow:master/source github://ba-st/RenoirSt:v3.3.0/source github://SeasideSt/Seaside:v3.2.4/repository github://SeasideSt/Grease:master/repository github://ba-st/Buoy:master/source github://ba-st/Willow-Bootstrap:master/source github://ba-st/Willow:v4.0.0/source github://ba-st/Willow-JQueryUI:master/source

Monticello Working Copies

AST-Core (TheIntegrator.496) AST-Tests-Core (TheIntegrator.134) Alien (RonieSalgado.40) Announcements-Core (TheIntegrator.84) Announcements-Help (TheIntegrator.12) Announcements-Tests-Core (TheIntegrator.39) Athens-Balloon (MarcusDenker.20) Athens-Cairo (TheIntegrator.148) Athens-CairoPools (NicolaiHess.14) Athens-Core (AliakseiSyrel.57) Athens-Examples (TheIntegrator.47) Athens-Morphic (TheIntegrator.69) Athens-Text (HenrikNergaard.17) Balloon (TheIntegrator.139) Balloon-Tests (TheIntegrator.2) BaselineOfBasicTools (TheIntegrator.8) BaselineOfBuoy (JulianMaestri.7) BaselineOfDisplay (TheIntegrator.4) BaselineOfFileTree (ThierryGoubier.32) BaselineOfGrease (topa.1496564074) BaselineOfIDE (TheIntegrator.55) BaselineOfIceberg (cypress.1) BaselineOfLibGit (cypress.1) BaselineOfMetacello (EstebanLorenzano.89) BaselineOfMorphic (TheIntegrator.34) BaselineOfMorphicCore (TheIntegrator.7) BaselineOfPharoBootstrap (TheIntegrator.4) BaselineOfRenoirSt (GabrielOmarCotelli.9) BaselineOfSUnit (TheIntegrator.4) BaselineOfSeaside3 (MarianoMartinezPeck.61) BaselineOfTonel (cypress.1) BaselineOfUI (TheIntegrator.11) BaselineOfUnifiedFFI (TheIntegrator.4) BaselineOfWillow (MaximilianoTabacman.15) BaselineOfWillowBootstrap (MaximilianoTabacman.7) BaselineOfWillowJQueryUI (MaximilianoTabacman.5) BlueInk-Core (TheIntegrator.29) BlueInk-Extras (TheIntegrator.12) BlueInk-Tests (TheIntegrator.12) Buoy-Assertions (MaximilianoTabacman.2) Buoy-Collections (GabrielOmarCotelli.2) Buoy-Conditions (JulianMaestri.1) Buoy-Dynamic-Binding (GabrielOmarCotelli.6) Buoy-Math (GabrielOmarCotelli.1) Buoy-Metaprogramming (GabrielOmarCotelli.1) CodeExport (TheIntegrator.23) CodeImport (TheIntegrator.92) CodeImportCommandLineHandlers (TheIntegrator.17)

Virtual Machine

/home/wdelias/pharo6.1-64/bin/lib/pharo/5.0-201707201942/pharo CoInterpreter VMMaker.oscog-eem.2254 uuid: 4f2c2cce-f4a2-469a-93f1-97ed941df0ad Jul 20 2017 StackToRegisterMappingCogit VMMaker.oscog-eem.2252 uuid: 2f3e9b0e-ecd3-4adf-b092-cce2e2587a5c Jul 20 2017 VM: 201707201942 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Thu Jul 20 12:42:21 2017 -0700 $ Plugins: 201707201942 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $

Unix built on Jul 20 2017 20:40:36 Compiler: 4.6.3 VMMaker versionString VM: 201707201942 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Thu Jul 20 12:42:21 2017 -0700 $ Plugins: 201707201942 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ CoInterpreter VMMaker.oscog-eem.2254 uuid: 4f2c2cce-f4a2-469a-93f1-97ed941df0ad Jul 20 2017 StackToRegisterMappingCogit VMMaker.oscog-eem.2252 uuid: 2f3e9b0e-ecd3-4adf-b092-cce2e2587a5c Jul 20 2017

Virtual Machine Commandline Options

1 --plugins

2 /home/wdelias/pharo6.1-64/bin

3 --encoding

4 utf8

5 -vm-display-X11

6 /home/wdelias/pharo6.1-64/shared/Pharo6.1-64.image

Loaded VM Modules

B2DPlugin VMMaker.oscog-eem.2252 (i) BitBltPlugin VMMaker.oscog-eem.2243 (i) FT2Plugin Freetype-Plugin-EstebanLorenzano.70 (e) FilePlugin VMMaker.oscog-nice.2233 (i) LargeIntegers v2.0 VMMaker.oscog-eem.2079 (i) LocalePlugin VMMaker.oscog-eem.2064 (i) MiscPrimitivePlugin VMMaker.oscog-eem.2254 (i) SecurityPlugin VMMaker.oscog-eem.2166 (i) SocketPlugin VMMaker.oscog-eem.2064 (i) SqueakFFIPrims SurfacePlugin Jul 20 2017 (e) libc.so.6

VM Built-in Modules

ADPCMCodecPlugin VMMaker.oscog-eem.2079 (i) AsynchFilePlugin VMMaker.oscog-eem.2030 (i) B2DPlugin VMMaker.oscog-eem.2252 (i) BMPReadWriterPlugin VMMaker.oscog-eem.1975 (i) BitBltPlugin VMMaker.oscog-eem.2243 (i) CroquetPlugin VMMaker.oscog-eem.2243 (i) DSAPrims CryptographyPlugins-eem.12 (i) DropPlugin VMMaker.oscog-eem.1975 (i) FFTPlugin VMMaker.oscog-eem.2243 (i) FileCopyPlugin VMMaker.oscog-nice.1982 (i) FilePlugin VMMaker.oscog-nice.2233 (i) FloatArrayPlugin VMMaker.oscog-eem.2254 (i) FloatMathPlugin VMMaker.oscog-eem.1975 (i) IA32ABI VMMaker.oscog-eem.2156 (i) JoystickTabletPlugin VMMaker.oscog-eem.1975 (i) LargeIntegers v2.0 VMMaker.oscog-eem.2079 (i) LocalePlugin VMMaker.oscog-eem.2064 (i) MIDIPlugin VMMaker.oscog-eem.2064 (i) Matrix2x3Plugin VMMaker.oscog-eem.1975 (i) MiscPrimitivePlugin VMMaker.oscog-eem.2254 (i) Mpeg3Plugin VMMaker.oscog-eem.2064 (i) SecurityPlugin VMMaker.oscog-eem.2166 (i) SerialPlugin VMMaker.oscog-eem.2064 (i) SocketPlugin VMMaker.oscog-eem.2064 (i) SoundCodecPrims VMMaker.oscog-eem.1975 (i) SoundGenerationPlugin VMMaker.oscog-eem.2079 (i) SoundPlugin VMMaker.oscog-eem.2218 (i) SqueakFFIPrims StarSqueakPlugin VMMaker.oscog-eem.2079 (i) UnixOSProcessPlugin VMConstruction-Plugins-OSProcessPlugin.oscog-dtl.56 (i) VMProfileLinuxSupportPlugin VMMaker.oscog-eem.2079 (i) ZipPlugin VMMaker.oscog-eem.2243 (i)

Virtual Machine Parameters

1 108627744 end (v3)/size(Spur) of old-space (0-based, read-only)

2 5491328 end (v3)/size(Spur) of young/new-space (read-only)

3 117579776 end (v3)/size(Spur) of heap (read-only)

4 nil nil (was allocationCount (read-only))

5 nil nil (was allocations between GCs (read-write)

6 0 survivor count tenuring threshold (read-write)

7 0 full GCs since startup (read-only)

8 0 total milliseconds in full GCs since startup (read-only)

9 113 incremental GCs (SqueakV3) or scavenges (Spur) since startup (read-only)

10 39 total milliseconds in incremental GCs (SqueakV3) or scavenges (Spur) since startup (read-only)

11 26174 tenures of surving objects since startup (read-only)

12 0 12-20 were specific to ikp's JITTER VM, now 12-19 are open for use

13 0 12-20 were specific to ikp's JITTER VM, now 12-19 are open for use

14 0 12-20 were specific to ikp's JITTER VM, now 12-19 are open for use

15 0 12-20 were specific to ikp's JITTER VM, now 12-19 are open for use

16 33771000 12-20 were specific to ikp's JITTER VM, now 12-19 are open for use

17 0 12-20 were specific to ikp's JITTER VM, now 12-19 are open for use

18 0 12-20 were specific to ikp's JITTER VM, now 12-19 are open for use

19 5135773 12-20 were specific to ikp's JITTER VM, now 12-19 are open for use

20 3688643571064223 utc microseconds at VM start-up (actually at time initialization, which precedes image load).

21 132 root table size (read-only)

22 0 root table overflows since startup (read-only)

23 0 bytes of extra memory to reserve for VM buffers, plugins, etc (stored in image file header).

24 33554432 memory threshold above which shrinking object memory (rw)

25 16777216 memory headroom when growing object memory (rw)

26 2 interruptChecksEveryNms - force an ioProcessEvents every N milliseconds (rw) 27 number of times mark loop iterated for current IGC/FGC (read-only) includes ALL marking

28 0 number of times sweep loop iterated for current IGC/FGC (read-only)

29 0 number of times make forward loop iterated for current IGC/FGC (read-only) 30 number of times compact move loop iterated for current IGC/FGC (read-only)

31 1 number of grow memory requests (read-only)

32 0 number of shrink memory requests (read-only)

33 130 number of root table entries used for current IGC/FGC (read-only)

34 586306632 number of allocations done before current IGC/FGC (read-only)

35 4175 number of survivor objects after current IGC/FGC (read-only)

36 340446449 millisecond clock when current IGC/FGC completed (read-only)

37 0 number of marked objects for Roots of the world, not including Root Table entries for current IGC/FGC (read-only)

38 0 milliseconds taken by current IGC (read-only)

39 0 Number of finalization signals for Weak Objects pending when current IGC/FGC completed (read-only)

40 8 BytesPerOop for this image

41 68021 imageFormatVersion for the VM

42 50 number of stack pages in use

43 0 desired number of stack pages (stored in image file header, max 65535)

44 6854880 size of eden, in bytes

45 0 desired size of eden, in bytes (stored in image file header)

46 1433600 machine code zone size, in bytes (Cog only; otherwise nil)

47 0 desired machine code zone size (stored in image file header; Cog only; otherwise nil)

48 0 various header flags. See getCogVMFlags.

49 256 max size the image promises to grow the external semaphore table to (0 sets to default, which is 256 as of writing)

50 nil nil; reserved for VM parameters that persist in the image (such as eden above)

51 nil nil; reserved for VM parameters that persist in the image (such as eden above)

52 131072 root table capacity

53 2 number of segments (Spur only; otherwise nil)

54 23160544 total size of free old space (Spur only, otherwise nil)

55 0.33333298563957214 ratio of growth and image size at or above which a GC will be performed post scavenge

56 11710 number of process switches since startup (read-only)

57 2009 number of ioProcessEvents calls since startup (read-only)

58 21925 number of ForceInterruptCheck calls since startup (read-only)

59 21297 number of check event calls since startup (read-only)

60 31208 number of stack page overflows since startup (read-only)

61 0 number of stack page divorces since startup (read-only) 62 compiled code compactions since startup (read-only; Cog only; otherwise nil)

63 6 total milliseconds in compiled code compactions since startup (read-only; Cog only; otherwise nil)

64 3212 the number of methods that currently have jitted machine-code

65 3 whether the VM supports a certain feature, MULTIPLE_BYTECODE_SETS is bit 0, IMMTABILITY is bit 1

66 8192 the byte size of a stack page

67 0 the max allowed size of old space (Spur only; nil otherwise; 0 implies no limit except that of the underlying platform)

68 9.008849557522124 the average number of live stack pages when scanned by GC (at scavenge/gc/become et al)

69 14 the maximum number of live stack pages when scanned by GC (at scavenge/gc/become et al)

70 1 the vmProxyMajorVersion (the interpreterProxy VM_MAJOR_VERSION)

71 14 the vmProxyMinorVersion (the interpreterProxy VM_MINOR_VERSION)

Virtual Machine Statistics

uptime 0h0m41s memory 117,579,776 bytes old 108,627,744 bytes (92.4%) young 871,896 bytes (0.7000000000000001%) used 80,356,112 bytes (68.3%) free 29,143,528 bytes (24.8%) GCs 114 (367ms between GCs) full 0 totalling 0ms (0.0% uptime) incr 114 totalling 40ms (0.1% uptime), avg 0.4ms tenures 26,174 (avg 0 GCs/tenure) Since last view 14 (76ms between GCs) uptime 1.1s full 0 totalling 0ms (0.0% uptime) incr 14 totalling 3ms (0.30000000000000004% uptime), avg 0.2ms tenures 0

Operating System/Hardware

unix linux-gnu x86_64

Operating System Environment

CINNAMON_VERSION=3.6.2 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-2ibaACCJ3D,guid=0b98fe2bf915f7d227258ca35a12e116 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DERBY_HOME=/usr/lib/jvm/java-8-oracle/db DESKTOP_SESSION=cinnamon DISPLAY=:0 GDMSESSION=cinnamon GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/home/wdelias/.local/share/applications/alacarte-made-71b3d334-cbc3-11e7-a6fb-fcf8ae0546aa.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=8417 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GTK2_MODULES=overlay-scrollbar GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME=/home/wdelias J2REDIR=/usr/lib/jvm/java-8-oracle/jre J2SDKDIR=/usr/lib/jvm/java-8-oracle JAVA_HOME=/usr/lib/jvm/java-8-oracle LANG=en_US.UTF-8 LANGUAGE=en_US LD_LIBRARY_PATH=/home/wdelias/pharo6.1-64/bin/lib/pharo/5.0-201707201942:/lib/x86_64-linux-gnu:/lib:/usr/lib/x86_64-linux-gnu:/usr/lib: LOGNAME=wdelias MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path PATH=/home/wdelias/bin:/home/wdelias/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin PWD=/home/wdelias QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/wdelias-inspiron-773-smalltalk-dev:@/tmp/.ICE-unix/1596,unix/wdelias-inspiron-773-smalltalk-dev:/tmp/.ICE-unix/1596 SHELL=/bin/bash SHLVL=0 SQUEAK_PLUGINS=/home/wdelias/pharo6.1-64/bin/lib/pharo/5.0-201707201942 SSH_AGENT_PID=1683 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh USER=wdelias VISUALWORKS=/home/wdelias/vw8.3-jul17.3 VWPROJECTS=/home/wdelias XAUTHORITY=/home/wdelias/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/wdelias XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7

gcotelli commented 6 years ago

Confirmed it fails with the 64 bits image and VM, works with the 32 bits version. Seems to be a bug in Pharo, it gives a segmentation fault loading the code. So I opened the following issue: https://pharo.fogbugz.com/f/cases/20737/Segmentation-fault-trying-to-load-code-into-a-64-bits-Pharo-6-1-Linux.

Thank you for reporting. We need to wait to be fixed upstream.