You could build a debug VM from here https://github.com/pharo-project/pharo-vm
I also glimpsed some FreeBSD build options there you might try.
cheers -ben��

On Fri, Jun 24, 2016 at 12:05 PM, Petr Fischer <petr.fischer@me.com> wrote:
So... I compiled latest sources (blessed) on CentOS 6.8, fine, moved compiled binaries to FreeBSD and tried to load Seaside to the latest 50760 image.
Still stack errors, log here: http://pastebin.com/raw/bf1EpWNt

When I run this on CentOS, everything is fine (loading Seaside, no stack errors), but when I run the same on FreeBSD, stack errors (segfaults) occurs.

So... There is something bad on FreeBSD side? Can I debug more?

pf


> Try 50760 from...
> http://files.pharo.org/image/50/
>
> cheers -ben
>
> On Sat, Jun 18, 2016 at 12:49 AM, Petr Fischer <petr.fischer@me.com> wrote:
> > VM version (from https://swing.fit.cvut.cz/jenkins/job/pharo-vm-spur-swing/):
> >
> > 5.0 #1 Sun Jan 17 14:19:14 CET 2016 gcc 4.7.2 [Production Spur ITHB VM]
> > CoInterpreter VMMaker.oscog-eem.1630 uuid: 2ed025ea-f400-4440-8e8b-5aa46d06c9ab Jan 17 2016
> > StackToRegisterMappingCogit VMMaker.oscog-eem.1630 uuid: 2ed025ea-f400-4440-8e8b-5aa46d06c9ab Jan 17 2016
> > https://github.com/estebanlm/pharo-vm.git Commit: 21ec004cce7d26010c18d357c805a0e1a4ffe376 Date: 2016-01-14 11:42:33 +0100 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #498
> > Linux swing-hudson-lin64 3.2.0-4-amd64 #1 SMP Debian 3.2.73-2+deb7u2 x86_64 GNU/Linux
> > plugin path: /usr/home/pf/Work/Smalltalk/pharo5.0.centos/bin [default: /usr/home/pf/Work/Smalltalk/pharo5.0.centos/bin/]
> >
> > Image version (from official 5.0 download):
> >
> > [version] 5.0 #50723
> >
> > pf
> >
> >> in fact, this is not related to FFI��� but it should be fixed���
> >>
> >> along with the VM version, which version of Pharo are you using?
> >>
> >> Esteban
> >>
> >> > On 17 Jun 2016, at 14:04, Max Leske <maxleske@gmail.com> wrote:
> >> >
> >> > Hi Petr,
> >> >
> >> > That looks like a bug with FreeType with our FFI. It should actually have been fixed but I don���t know if the VM for FreeBSD is up to date. Can you post the output of ���Smalltalk vm version���?
> >> >
> >> > Cheers,
> >> > Max
> >> >
> >> >> On 17 Jun 2016, at 13:26, Petr Fischer <petr.fischer@me.com> wrote:
> >> >>
> >> >> Hello, I got some random segfaults (while loading Seaside) with 32 bit spur vm on FreeBSD - can someone (with low level knowledge) decode attached log?
> >> >> Is this some problem with stack size? Can I fix this?
> >> >>
> >> >> Log:
> >> >> http://pastebin.com/raw/NpFUnjh0
> >> >>
> >> >> There is "**StackOverflow**" lines n the log...
> >> >>
> >> >> Thanks! pf
> >> >>
> >> >
> >> >
> >>
> >>
> >
>