[Vm-dev] seg fault with Pharo 6.1, 64 bit on macosx

Eliot Miranda eliot.miranda at gmail.com
Tue Apr 24 18:33:34 UTC 2018


Hi Paul,

    that VM is rather old, and there may have been changes to the Cairo
support library, not to mention important fixes to the GC.  Could you try
with one of the more recent Pharo VMs?

On Tue, Apr 24, 2018 at 8:14 AM, PAUL DEBRUICKER <pdebruic at gmail.com> wrote:

>
> The image/changes here will crash when opened:
>
> https://drive.google.com/open?id=1lq_WSvrMrmwvMdyL8g8TBA7o1TlWYCe7
>
>
>
>
> System Reporter reports
>
> Image
> -----
> /Users/paul/pharo/64bit/Pharo.image
> Pharo6.0
> Latest update: #60540
> Unnamed
>
> Virtual Machine
> ---------------
> /Users/paul/pharo/64bit/pharo-vm/Pharo.app/Contents/MacOS/Pharo
> CoInterpreter VMMaker.oscog-eem.2265 uuid: 76b62109-629a-4c39-9641-67b53321df9a
> Aug 27 2017
> StackToRegisterMappingCogit VMMaker.oscog-eem.2262 uuid:
> 8b531242-de02-48aa-b418-8d2dde0bec6c Aug 27 2017
> VM: 201708271955 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
> Date: Sun Aug 27 21:55:26 2017 +0200 $ Plugins: 201708271955
> https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
>
> Mac OS X built on Aug 27 2017 20:15:54 UTC Compiler: 4.2.1 Compatible
> Apple LLVM 6.1.0 (clang-602.0.53)
> VMMaker versionString VM: 201708271955 https://github.com/
> OpenSmalltalk/opensmalltalk-vm.git $ Date: Sun Aug 27 21:55:26 2017 +0200
> $ Plugins: 201708271955 https://github.com/OpenSmalltalk/opensmalltalk-
> vm.git $
> CoInterpreter VMMaker.oscog-eem.2265 uuid: 76b62109-629a-4c39-9641-67b53321df9a
> Aug 27 2017
> StackToRegisterMappingCogit VMMaker.oscog-eem.2262 uuid:
> 8b531242-de02-48aa-b418-8d2dde0bec6c Aug 27 2017
>
>
>
> The crash log is
>
>
>
>
> Segmentation fault Tue Apr 24 09:21:24 2018
>
>
> VM: 201708271955 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
> Date: Sun Aug 27 21:55:26 2017 +0200 $
> Plugins: 201708271955 https://github.com/OpenSmalltalk/opensmalltalk-
> vm.git $
>
> C stack backtrace & registers:
>         rax 0x0000000000000000 rbx 0x00007f8050861c00 rcx
> 0x0000000000000048 rdx 0x0000000000000000
>         rdi 0x00007f804fcc8150 rsi 0x00007f804fcc8150 rbp
> 0x00007ffee8558a30 rsp 0x00007ffee8558a20
>         r8  0x0000000000000048 r9  0x0000000000000048 r10
> 0x0000000000000000 r11 0x00007f8056200000
>         r12 0x00007f80563a2770 r13 0x000000011827e2f8 r14
> 0x0000000000000000 r15 0x00007f80563a2890
>         rip 0x00000001183787b0
> 0   libfreetype.6.dylib                 0x00000001183787b0 FT_Request_Size
> + 63
> 1   Pharo                               0x00000001076fc63e
> reportStackState + 884
> 2   Pharo                               0x00000001076fc989 sigsegv + 176
> 3   libsystem_platform.dylib            0x00007fff6352df5a _sigtramp + 26
> 4   ???                                 0x0000000000000000 0x0 + 0
> 5   libfreetype.6.dylib                 0x0000000118378884
> FT_Set_Char_Size + 116
> 6   libcairo.2.dylib                    0x000000011824fa17
> _cairo_ft_unscaled_font_set_scale + 456
> 7   libcairo.2.dylib                    0x000000011824e992
> _cairo_ft_font_face_scaled_font_create + 561
> 8   libcairo.2.dylib                    0x00000001182186fa
> cairo_scaled_font_create + 1191
> 9   Pharo                               0x0000000107732f56
> primitiveCalloutWithArgs + 1664
> 10  Pharo                               0x00000001076869cd
> executeNewMethod + 181
> 11  Pharo                               0x0000000107687872
> ceSendsupertonumArgs + 1027
> 12  ???                                 0x000000010b30910f 0x0 + 4482699535
> 13  Pharo                               0x000000010766fe6c interpret + 674
> 14  Pharo                               0x00000001076fdcc1
> -[sqSqueakMainApplication runSqueak] + 394
> 15  Foundation                          0x00007fff3d0a29a8
> __NSFirePerformWithOrder + 360
> 16  CoreFoundation                      0x00007fff3af27467
> __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
> 17  CoreFoundation                      0x00007fff3af2738f
> __CFRunLoopDoObservers + 527
> 18  CoreFoundation                      0x00007fff3af09908 __CFRunLoopRun
> + 1240
> 19  CoreFoundation                      0x00007fff3af091a3
> CFRunLoopRunSpecific + 483
> 20  HIToolbox                           0x00007fff3a1f1d96
> RunCurrentEventLoopInMode + 286
> 21  HIToolbox                           0x00007fff3a1f1a0f
> ReceiveNextEventCommon + 366
> 22  HIToolbox                           0x00007fff3a1f1884 _
> BlockUntilNextEventMatchingListInModeWithFilter + 64
> 23  AppKit                              0x00007fff384a4a73 _DPSNextEvent +
> 2085
> 24  AppKit                              0x00007fff38c3ae34
> -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
> + 3044
> 25  AppKit                              0x00007fff38499885 -[NSApplication
> run] + 764
> 26  AppKit                              0x00007fff38468a72
> NSApplicationMain + 804
> 27  libdyld.dylib                       0x00007fff6321f015 start + 1
>
>
> Smalltalk stack dump:
>    0x7ffee855d9e8 M CairoScaledFont class>primCreate:fontMatrix:userToDeviceMatrix:options:
> 0x10d0e28c8: a(n) CairoScaledFont class
>    0x7ffee855da50 M FFICalloutAPI>function:module: 0x10b70d100: a(n)
> FFICalloutAPI
>    0x7ffee855da90 M CairoScaledFont class(Object)>nbCall: 0x10d0e28c8:
> a(n) CairoScaledFont class
>    0x7ffee855dae0 I CairoScaledFont class>primCreate:fontMatrix:userToDeviceMatrix:options:
> 0x10d0e28c8: a(n) CairoScaledFont class
>    0x7ffee855db60 I CairoScaledFont class>fromFreetypeFont:cairoFace:
> 0x10d0e28c8: a(n) CairoScaledFont class
>    0x7ffee855dbb8 M [] in CairoScaledFont class>fromFreetypeFont:
> 0x10d0e28c8: a(n) CairoScaledFont class
>    0x7ffee855dc08 M [] in WeakIdentityKeyDictionary(Dictionary)>at:ifAbsentPut:
> 0x11667f758: a(n) WeakIdentityKeyDictionary
>    0x7ffee855dc40 M WeakIdentityKeyDictionary(Dictionary)>at:ifAbsent:
> 0x11667f758: a(n) WeakIdentityKeyDictionary
>    0x7ffee855dc80 M WeakIdentityKeyDictionary(Dictionary)>at:ifAbsentPut:
> 0x11667f758: a(n) WeakIdentityKeyDictionary
>    0x7ffee855dcd0 I CairoBackendCache>at:ifAbsentPut: 0x116647e18: a(n)
> CairoBackendCache
>    0x7ffee855dd28 I CairoScaledFont class>fromFreetypeFont: 0x10d0e28c8:
> a(n) CairoScaledFont class
>    0x7ffee855dd70 I CairoFreetypeFontRenderer>font: 0x10b4909a8: a(n)
> CairoFreetypeFontRenderer
>    0




-- 
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180424/9b3b58e0/attachment.html>


More information about the Vm-dev mailing list