Bug 19771

Summary: elm port in 4.0-RELEASE is broken
Product: Base System Reporter: cweber <cweber>
Component: miscAssignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description cweber 2000-07-08 01:50:01 UTC
Starting elm as a normal user produces a segmentation violation:
Reading in /var/mail/wefa, message: 0

Segment Violation signal!


Emergency exit taken! All temp files intact!

ABORTING...
Abort

Fix: 

no idea
How-To-Repeat: Install elm (i tried both the packagage and the port)
make sure there is no /var/mail/yourname
start elm
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-10 14:42:26 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports

Mis-filed PR. 

Christpoh, have you contacted the port's maintainer, 
toasty@dragondata.com?
Comment 2 cweber 2000-07-18 22:13:13 UTC
Hi,

sorry for the late response. For some reason your state 
change from Jul 10. wasn't mailed to me.

> Christpoh, have you contacted the port's maintainer, 
> toasty@dragondata.com? 

No. Should I ? I was under the impression that the gnats 
system is meant to be the central clearing point for that kind of
information ?

Regards

Christoph Weber-Fahr

Cc: toasty@dragondata.com
Comment 3 toasty 2000-08-11 22:19:44 UTC
Starting elm as a normal user produces a segmentation violation:
      Reading in /var/mail/wefa, message: 0

      Segment Violation signal!


      Emergency exit taken! All temp files intact!

      ABORTING...
      Abort



Sorry for the delay in responding to this, I'm not usually involved with
GNATS.

I usually see this when your mail file is corrupted in some way. Can you
send me the first message out of /var/mail/wefa? 

Also, would you be willing to do some testing with gdb to find where it's
segfaulting? If you need instructions, e-mail me privately.


Thanks,

Kevin
Comment 4 cweber 2000-08-13 01:18:59 UTC
Hello,

Kevin Day wrote:
> Sorry for the delay in responding to this, I'm not usually involved with
> GNATS.
> 
> I usually see this when your mail file is corrupted in some way. Can you
> send me the first message out of /var/mail/wefa?

No. There was no such file.

wefa@helena 2:16 [~] whoami
wefa
wefa@helena 2:16 [~] ll /var/mail/
total 34
drwxrwxr-x   2 root  mail     512 Aug 13 02:15 ./
drwxr-xr-x  18 root  wheel    512 Jun 27 19:14 ../
-rw-------   1 root  wheel  31942 Aug 13 02:03 root
wefa@helena 2:16 [~] elm

Reading in /var/mail/wefa, message: 0

Segment Violation signal!


Emergency exit taken! All temp files intact!

ABORTING...
Abort
wefa@helena 2:16 [~]

> Also, would you be willing to do some testing with gdb to find where it's
> segfaulting? If you need instructions, e-mail me privately.

Yes. I need.

Regards

Christoph Weber-Fahr
Comment 5 toasty 2000-08-14 00:24:39 UTC
This PR can be closed.

The originator was using elm-2.4ME+68, which was on the 4.0 CD set. From a
later elm-2.4ME ChangeLog, I found:

        - "Also, under Solaris 2.6/7, HP-UX 10.20 and
           FreeBSD 3.1, if the mailbox does not exist
           (i.e. /var/mail/user), elm will dump core.
           If the file exists but is zero length, there
           is no problem. This problem does not occur on linux
           (Redhat 6.0 in my tests)."
         Reported by: Zube <Zube@CS.ColoState.EDU>
        - Also happened on IRIX


Orginator was advised to upgrade to a newer ELM.

-- Kevin
Comment 6 dannyboy freebsd_committer freebsd_triage 2000-08-18 21:42:46 UTC
State Changed
From-To: open->closed

Problem resolved by MAINTAINER and closing requested, see Audit-Trail.