Linux SecurityPlugin problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Linux SecurityPlugin problem

Bert Freudenberg
 
Segmentation fault

2032281096 ByteString>?
2031934628 ProjectLoading class>checkSecurity:preStream:projStream:
2030862272 ProjectLoading  
class>morphOrList:stream:fromDirectory:archive:
2030860572 ProjectLoading  
class>openName:stream:fromDirectory:withProjectView:
[...]

This looks very much like the problem on Windows

http://squeakland.org/forums/viewtopic.php?t=4203

which I thought was traced to the stack balancing issue:

http://bugs.squeak.org/view.php?id=7349

However, it supposedly was fixed in VMMaker-dtl.122 and Ian used vmm-
dtl-126 for his latest release (I'm testing the pre-compiled 3.10-6  
Linux binary).

Any idea?

- Bert -


Reply | Threaded
Open this post in threaded view
|

Re: Linux SecurityPlugin problem

Bert Freudenberg
 
On 10.08.2009, at 13:53, Bert Freudenberg wrote:

> Segmentation fault
>
> 2032281096 ByteString>?
> 2031934628 ProjectLoading class>checkSecurity:preStream:projStream:
> 2030862272 ProjectLoading  
> class>morphOrList:stream:fromDirectory:archive:
> 2030860572 ProjectLoading  
> class>openName:stream:fromDirectory:withProjectView:
> [...]
>
> This looks very much like the problem on Windows
>
> http://squeakland.org/forums/viewtopic.php?t=4203
>
> which I thought was traced to the stack balancing issue:
>
> http://bugs.squeak.org/view.php?id=7349
>
> However, it supposedly was fixed in VMMaker-dtl.122 and Ian used vmm-
> dtl-126 for his latest release (I'm testing the pre-compiled 3.10-6  
> Linux binary).
>
> Any idea?


It appears the SecurityPlugin fixes were not checked into the unix  
tree. The generated sources at

platforms/unix/src/vm/intplugins/SecurityPlugin

are from 2008 according to the SVN log:

------------------------------------------------------------------------
r1999 | piumarta | 2009-07-30 08:22:51 +0200 (Thu, 30 Jul 2009) | 1 line
Changed paths:
    M /trunk/platforms/unix/src/vm/interp.c
    M /trunk/platforms/unix/src/vm/interp.h
    M /trunk/platforms/unix/src/vm/sqNamedPrims.h

regenerate src from vmm-dtl-126
------------------------------------------------------------------------
r1935 | piumarta | 2008-11-11 00:56:06 +0100 (Tue, 11 Nov 2008) | 1 line
Changed paths:
    [...]
    M /trunk/platforms/unix/src/vm/intplugins/SecurityPlugin/
SecurityPlugin.c

new unix generated src
------------------------------------------------------------------------

Apparently you only took the new interpreter but not the rest, Ian? Why?

- Bert -