I have a problem with segfault on Linux. I have tested both 2.9.6 and 2.9.7-pre0.
Configuration, compilation and installation goes without any problems but when I start joe:
Processing '/etc/joerc'...Segmentation fault
I have traced down the problem to termcap.c and it seems that the segfault occurs in the tcompile function, at the call to texec (I am in the source just before the call but I never reach texec body).
I _think_ the problem can be related to my compiler - GCC 3.0. Is there anyone out there who has compiled joe using GCC-3? I have not been able to compile joe at my computer with gcc 2.95.3, but I have done that at a computer running Slackware 7.1 and it work excellent (using Joe 2.9.6). I have also tested Joe 2.9.7-pre0 on a computer running Redhat 6.2 (egcs-2.91.66) and it works on both computers.
BTW. During digging through the code I noticed that most functions (in the header file) does not explicitly declare what parameters they expect. This could be a problem and it is something that I think we should fix asap. There are also lot of warnings during compilation (if you use -Wall). I would be glad to help with these [simple] matters.
joe-editor (at) addelei.nu
Log in to post a comment.