What steps will reproduce the problem? 1. Download pforth24_090220.zip 2. unzip file 3. cd build/unix 4. make all
Here is the end of the make:
cd /home/jsissom/pforth/pforth_v24/fth;
/home/jsissom/pforth/pforth_v24/fth/pforth -i system.fth ; mv pfdicdat.h
/home/jsissom/pforth/pforth_v24/csrc/pfdicdat.h
PForth V24-LE, built Oct 14 2009 23:05:10
Including: system.fth
/bin/sh: line 1: 5249 Segmentation fault
/home/jsissom/pforth/pforth_v24/fth/pforth -i system.fth
mv: cannot stat `pfdicdat.h': No such file or directory
make: * [/home/jsissom/pforth/pforth_v24/csrc/pfdicdat.h] Error 1
[jsissom@localhost unix]$
If I go into the fth folder and run pforth -i system.fth, I get this:
[jsissom@localhost fth]$ ./pforth -i system.fth PForth V24-LE, built Oct 14 2009 23:05:10 Including: system.fth Segmentation fault [jsissom@localhost fth]$
This is running Centos 5.3 32 bit under vmware fusion.
Any ideas? Thanks
Comment #1
Posted on Aug 20, 2010 by Massive OxNot enough information. Rebuild with debug symbols, reproduce problem and provide backtrace.
Comment #2
Posted on Aug 21, 2010 by Happy ElephantComment deleted
Comment #4
Posted on Aug 23, 2010 by Massive OxIt is always good to check the most recent version rather than playing with old one.
Comment #5
Posted on Aug 23, 2010 by Happy ElephantComment deleted
Comment #6
Posted on Aug 23, 2010 by Happy Giraffe[jsissom@jaguar fth]$ gdb GNU gdb Fedora (6.8-37.el5) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". (gdb) file pforth Reading symbols from /home/jsissom/pforth_v24/fth/pforth...done. (gdb) run -i system.fth Starting program: /home/jsissom/pforth_v24/fth/pforth -i system.fth PForth V24-LE, built Aug 23 2010 09:05:35 Including: system.fth
Program received signal SIGSEGV, Segmentation fault. 0x0000000000403cce in pfCatch () (gdb) backtrace
0 0x0000000000403cce in pfCatch ()
1 0x0000000000401b9f in ffInterpret ()
at /home/jsissom/pforth_v24/csrc/pfcompil.c:763
2 0x0000000000401ce7 in ffOuterInterpreterLoop ()
at /home/jsissom/pforth_v24/csrc/pfcompil.c:918
3 0x0000000000401d1d in ffIncludeFile (InputFile=)
at /home/jsissom/pforth_v24/csrc/pfcompil.c:941
4 0x0000000000403538 in pfIncludeFile (FileName=0x7fff300c2b2c "system.fth")
at /home/jsissom/pforth_v24/csrc/pf_core.c:374
5 0x0000000000403afa in pfDoForth (DicName=0x0,
SourceName=0x7fff300c2b2c "system.fth", IfInit=<value optimized out>)
at /home/jsissom/pforth_v24/csrc/pf_core.c:534
6 0x0000000000406388 in main ()
(gdb)
Comment #7
Posted on Aug 23, 2010 by Massive OxV24 doesn't support 64-bit platforms. Use the recent version.
Comment #8
Posted on Aug 23, 2010 by Happy GiraffeV24 is the most recent release on the web site.
Comment #9
Posted on Aug 23, 2010 by Massive OxRecent version is V26, get it from VCS.
Comment #10
Posted on Aug 23, 2010 by Happy GiraffeThere are no branches or tags in the svn repository. How do I get V26?
Comment #11
Posted on Aug 23, 2010 by Massive OxFrom the trunk.
Comment #12
Posted on Aug 23, 2010 by Happy GiraffeHow can you guarantee that the trunk will always work properly as developers check in their code? Also, how can you guarantee that trunk is always V26? At some point it won't be anymore.
Wouldn't it be better to say that 64-bit support doesn't exist and put that on the web page until version 26 is actually ready and released and the web site updated?
Comment #13
Posted on Aug 24, 2010 by Massive OxNo, it wouldn't because pForth supports 64-bit platforms since V26. You could have figured the revision already instead of writing pointless complains.
As such this PR is useless since the issue was fixed. I'm not interested in returning to it again unless you find problem in recent version.
Comment #14
Posted on Aug 24, 2010 by Happy GiraffeThank you for your help and your very professional attitude. You are a credit to open source and attitudes like this are what keeps commercial software companies in business.
I'm glad that when I followed the instructions posted for gforth, it worked correctly and I didn't have to check with someone to find the undocumented secrets to making it work.
I too am completely not interested in your comments.
Comment #15
Posted on Aug 24, 2010 by Massive OxYou didn't hire me to help you.
Comment #16
Posted on Aug 24, 2010 by Swift PandaTo asau, please be nice.
To jsissom, I'm sorry for the comments here from our volunteers.
The fixes for 64-bit are in SVN. They have not been released yet because we are still making a few tweaks and doing some testing. Someone reported some minor issues yesterday that we will fix. We hope to prepare a release soon.
Some people prefer to work with the latest code from SVN. Some prefer to wait for a stable release. You are welcome to do either. If you don't get a chance to test the mods then I will fire up my CentOS and give it a try.
And yes, gforth is a great full featured Forth. It is probably the best choice for desktop development. PForth is a small portable Forth that was designed for testing embedded systems that do not have an OS. They each have their place.
Status: Fixed
Labels:
Type-Defect
Priority-Medium