Segfault on GNU/Linux 32bit

If you have found a bug and would like to report it, it's here...

Segfault on GNU/Linux 32bit

Postby dbstp » 02 Feb 2017 19:06

Hello,
I've downloaded the binaries for Linux but starting oforth (with --i or with file as argument) gives me a segmentation fault and the whole terminal session freezes.
This happens with Korora 25 (a Fedora spin-off) 32bit.

I've also installed oforth on my elementary (Ubuntu 16.04 based) laptop on 64 bit where it runs fine and without problems.

Any hints or suggestions?

Thanks and best regards,
Marc
dbstp
 
Posts: 2
Joined: 02 Feb 2017 13:43

Re: Segfault on GNU/Linux 32bit

Postby Franck » 02 Feb 2017 19:34

Hello,

The only thing I'am thinking of is the version of Linux kernel. Do you know what is this version on Korora 25 ? Is it an old version ? Or the same than the one on Ubuntu ?
Also, are you sure that Korora 25 is a 32 bits distribution ? (if not, perhap's you will need to get 32bits libraries to run oforth : libc, ...).

I won't be able to install Korora 25 right now to find what is wrong.
If you want, I can send you Oforth sources so you can compile Oforth on this platform. If so, send me your mail address so I can send you those sources.

Otherwise, I have no clue for this distribution...
Thank you for reporting, I note this bug to check when I will be able to.

Best regards,
Franck
Franck
 
Posts: 140
Joined: 29 Oct 2014 19:01

Re: Segfault on GNU/Linux 32bit

Postby dbstp » 02 Feb 2017 20:16

Hello Franck,

yes, my Korora installation (which is the same as Fedora, only with some additions) runs on 32bit and has kernel 4.9.6. My Ubuntu installation runs on 64bit with an 4.x kernel, too... When I have a look at dmesg it gives me

Code: Select all
segfault at f74de34c ip 0804bb23 sp bf895790 error 5 in oforth[8048000+1b000]


It would be really nice if you could give me the sources. Do I need special dependencies to compile it?

Thanks and best regards,
Marc
dbstp
 
Posts: 2
Joined: 02 Feb 2017 13:43

Re: Segfault on GNU/Linux 32bit

Postby Franck » 02 Feb 2017 21:04

ok, no problem.

Oforth has no dependencies (it uses pthread, math and dl, that's all).
There is a makefile.l32 to compile it (that you will have to copy to makefile file).
Into the CIBLE variable, you can change the -march option if you want.

I hope this will work. Otherwise, tell me what happen's...

Best regards,
Franck
Franck
 
Posts: 140
Joined: 29 Oct 2014 19:01


Return to Report a bug

Who is online

Users browsing this forum: No registered users and 1 guest

cron