-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource error cannot be caught #246
Comments
Now two observations: After the first answer, I type a for all. But only all answers are produced up to the first resource error. Typing a again gives me only the next answer. This until I get the following error:
|
All with
|
The interaction problem is gone, but
|
Now:
|
Not what I get at all. With the same ulimit -v 50000 if get to I = 18+
…On Mon, Jul 10, 2023 at 6:30 PM UWN ***@***.***> wrote:
Now:
***@***.***:~$ ulimit -v 50000
***@***.***:~$ /opt/gupu/new-trealla/tpl
Trealla with .tplrc
Trealla Prolog (c) Infradig 2020-2023, v2.21.31
?- ***@***.***:~$ /opt/gupu/new-trealla/tpl -f
Trealla Prolog (c) Infradig 2020-2023, v2.21.31
?- length(_,I),N is 2^2^I, catch(length(L,N),Err,true).
I = 0, N = 2, L = [_A,_B]
; I = 1, N = 4, L = [_A,_B,_C,_D]
; I = 2, N = 16, L = [_A,_B,_C,_D,_E,_F,_G,_H,_I|...]
; I = 3, N = 256, L = [_A,_B,_C,_D,_E,_F,_G,_H,_I|...]
; I = 9, N = 13407807929942597099574024998205846127479365820592393377723561443721764030073546976801874298166903427690031858186486050853753882811946569946433649006084096, Err = null
; *** Error in `/opt/gupu/new-trealla/tpl': corrupted size vs. prev_size: 0x0000000001724e80 ***
I = 10, N = Aborted (core dumped)
—
Reply to this email directly, view it on GitHub
<#246 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNKSEVXIHWK7I3RF3R6JYLXPO4SXANCNFSM6AAAAAA2C6MEEU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
On my newer lab-top. After git reset --hard && make clean
|
After complete rebuild on p0:
That there are different addresses in both runs is not surprising, because by default, memory is always allocated at a random place to prevent buffer overflow attacks and the like. |
Now:
|
The text was updated successfully, but these errors were encountered: