Subject: Bug (ID 2O3CP): pine 3.93 -- completion bug -- crasher!

From: "Timothy J. Luoma" <[email-masked]>
Date: Wed, 17 Apr 1996 12:07:47 -0400

How to Crash Pine

In the body, do CONTROL-R (to 'read file') then enter a directory (which
exists), and then the first few letters of a filename.  Do 'tab' to
complete the filename (it will be completed).  Then hit return and you
will get 

Problem detected: "Received abort signal".
Pine Exiting.

Bang.  Gone.

Works every time.

To test, do this:

cd
mkdir testdir
touch testdir/somefile
pine test (this will start a compose message to 'test')
(go to body of the message)
Control-R
testdir/some
TAB
ENTER

Pine will crash.

Tested under 3.92 and 3.93

TjL

(note: I do not generally keep up with comp.mail.pine, so please CC me if
you reply to this message and you want me to see it)

--
Timothy J. Luoma 	<[email-masked]> 
USENET: Please CC this address on replies to my posts, things vanish fast.
NeXT Info available via email! 	Send message with SUBJECT 'send info'
>>>> Please: No NeXTMail, use MIME for attachments <<<<

Pine built Wed Apr 17 09:52:05 EDT 1996 on host: capitalist
========== struct pine * ==========
ui:	login = luomat, full = Timothy J. Luoma
	home = /Users/luomat
home_dir=	/Users/luomat
hostname=	capitalist.princeton.edu
localdom=	princeton.edu
userdom=	NULL
maildom=	capitalist.princeton.edu
cur_cntxt=	Mailboxes/[]
cur_fldr=	INBOX
actual mbox=	/usr/spool/mail/luomat
msgmap: tot=28, cur=28, del=0, hid=0, exld=0, slct=0, sort=OrderedSubj
inbox is mail_stream
term type=vt220, ttyname=/dev/ttyp2, size=24x80, speed=normal
======= Current_val options set =======
        personal-name : Timothy J. Luoma
              user-id : luomat
          smtp-server : localhost
          nntp-server : nntpserver
           inbox-path : inbox
   folder-collections : Mailboxes/[]
     news-collections : *{nntpserver/nntp}[]
          default-fcc : outgoing
 default-saved-msg-fo : next
     postponed-folder : drafts
       mail-directory : /Users/luomat/Mailboxes
       signature-file : /dev/null
  global-address-book : /Users/luomat/.pine-address
         address-book : .addressbook
         feature-list : auto-open-next-unread
                      : enable-tab-completion
                      : news-post-without-validation
                      : show-selected-in-boldface
                      : expanded-view-of-folders
                      : expunge-without-confirm
                      : enable-suspend
                      : preserve-start-stop-characters
                      : news-approximates-new-status
                      : save-will-advance
                      : delete-skips-deleted
                      : enable-flag-cmd
                      : enable-full-header-cmd
                      : enable-jump-shortcut
                      : enable-mail-check-cue
                      : news-read-in-newsrc-order
                      : enable-aggregate-command-set
                      : signature-at-bottom
                      : enable-unix-pipe-cmd
                      : expanded-view-of-addressbooks
                      : enable-bounce-cmd
                      : compose-cut-from-cursor
                      : enable-cruise-mode
                      : enable-dot-files
                      : enable-dot-folders
                      : reply-always-uses-reply-to
                      : show-cursor
                      : tab-visits-next-new-message-only
                      : use-current-dir
                      : quell-dead-letter-on-cancel
                      : allow-talk
 default-composer-hdr : CC:
                      : BCC:
                      : To:
                      : Subject:
                      : Attchmnt:
                      : Return-Receipt-To:
                      : Fcc:
                      : Newsgrps:
                      : Cc:
                      : Followup-To:
      customized-hdrs : Return-Receipt-To:
                      : Followup-To:
                      : Reply-To: [email-masked]
  saved-msg-name-rule : last-folder-used
        fcc-name-rule : default-fcc
             sort-key : OrderedSubj
   addrbook-sort-rule : fullname-with-lists-last
        character-set : iso-8859-1
               editor : /usr/local/bin/pico
 composer-wrap-column : 74
  reply-indent-string : > 
 empty-header-message : Undisclosed recipients
 use-only-domain-name : no
              printer : attached-to-ansi
     standard-printer : lpr
 last-time-prune-ques : 96.4
    last-version-used : 3.93
        bugs-fullname : Pine Developers
         bugs-address : [email-masked]
     suggest-fullname : Pine Developers
      suggest-address : [email-masked]
       local-fullname : Local Support
        local-address : postmaster
  kblock-passwd-count : 1
        sendmail-path : /usr/local/lib/sendmail/sendmail
        alt-addresses : luomat@capitalist
       viewer-overlap : 2
        scroll-margin : 0
 status-message-delay : 0
  mail-check-interval : 150
          newsrc-path : /Users/luomat/.newsrc
       elm-style-save : no
      header-in-reply : no
        feature-level : sapling
      old-style-reply : no
       save-by-sender : no
======= Command_line_val options set =======
======= User_val options set (/Users/luomat/.pinerc) =======
        personal-name : Timothy J. Luoma
          smtp-server : localhost
          default-fcc : outgoing
 default-saved-msg-fo : next
     postponed-folder : drafts
       signature-file : /dev/null
  global-address-book : ~/.pine-address
         feature-list : auto-open-next-unread
                      : enable-tab-completion
                      : news-post-without-validation
                      : show-selected-in-boldface
                      : expanded-view-of-folders
                      : expunge-without-confirm
                      : enable-suspend
                      : preserve-start-stop-characters
                      : news-approximates-new-status
                      : save-will-advance
                      : delete-skips-deleted
                      : enable-flag-cmd
                      : enable-full-header-cmd
                      : enable-jump-shortcut
                      : enable-mail-check-cue
                      : news-read-in-newsrc-order
                      : enable-aggregate-command-set
                      : signature-at-bottom
                      : enable-unix-pipe-cmd
                      : expanded-view-of-addressbooks
                      : enable-bounce-cmd
                      : compose-cut-from-cursor
                      : enable-cruise-mode
                      : enable-dot-files
                      : enable-dot-folders
                      : reply-always-uses-reply-to
                      : show-cursor
                      : tab-visits-next-new-message-only
                      : use-current-dir
                      : quell-dead-letter-on-cancel
                      : allow-talk
 default-composer-hdr : CC:
                      : BCC:
                      : To:
                      : Subject:
                      : Attchmnt:
                      : Return-Receipt-To:
                      : Fcc:
                      : Newsgrps:
                      : Cc:
                      : Followup-To:
      customized-hdrs : Return-Receipt-To:
                      : Followup-To:
                      : Reply-To: [email-masked]
  saved-msg-name-rule : last-folder-used
             sort-key : OrderedSubj
        character-set : iso-8859-1
               editor : /usr/local/bin/pico
 last-time-prune-ques : 96.4
    last-version-used : 3.93
        alt-addresses : luomat@capitalist
          newsrc-path : ~/.newsrc
======= Global_val options set (/usr/local/lib/pine.conf) =======
          nntp-server : nntpserver
           inbox-path : inbox
   folder-collections : Mailboxes/[]
          default-fcc : sent-mail
 default-saved-msg-fo : saved-messages
     postponed-folder : postponed-msgs
       mail-directory : ~/Mailboxes
       signature-file : .signature
  global-address-book : /usr/local/lib/pine-addressbook
         address-book : .addressbook
  saved-msg-name-rule : default-folder
        fcc-name-rule : default-fcc
             sort-key : arrival
   addrbook-sort-rule : fullname-with-lists-last
 composer-wrap-column : 74
  reply-indent-string : > 
 empty-header-message : Undisclosed recipients
 use-only-domain-name : no
              printer : attached-to-ansi
     standard-printer : lpr
        bugs-fullname : Pine Developers
         bugs-address : [email-masked]
     suggest-fullname : Pine Developers
      suggest-address : [email-masked]
       local-fullname : Local Support
        local-address : postmaster
  kblock-passwd-count : 1
        sendmail-path : /usr/local/lib/sendmail/sendmail
       viewer-overlap : 2
        scroll-margin : 0
 status-message-delay : 0
  mail-check-interval : 150
       elm-style-save : no
      header-in-reply : no
        feature-level : sapling
      old-style-reply : no
       save-by-sender : no
======= Fixed_val options set (NO pine.conf.fixed) =======
========== Feature settings ==========
     allow-talk
  no-assume-slow-link
  no-auto-move-read-msgs
     auto-open-next-unread
  no-auto-zoom-after-select
  no-auto-unzoom-after-apply
     compose-cut-from-cursor
  no-compose-maps-delete-key-to-ctrl-d
  no-compose-rejects-unqualified-addrs
  no-compose-send-offers-first-filter
  no-compose-sets-newsgroup-without-confirm
     delete-skips-deleted
  no-disable-config-cmd
  no-disable-keyboard-lock-cmd
  no-disable-keymenu
  no-disable-password-cmd
  no-disable-update-cmd
  no-disable-signature-edit-cmd
  no-enable-8bit-esmtp-negotiation
  no-enable-8bit-nntp-posting
     enable-aggregate-command-set
  no-enable-alternate-editor-cmd
  no-enable-alternate-editor-implicitly
     enable-bounce-cmd
     enable-cruise-mode
  no-enable-cruise-mode-delete
     enable-dot-files
     enable-dot-folders
     enable-flag-cmd
  no-enable-flag-screen-implicitly
     enable-full-header-cmd
  no-enable-incoming-folders
     enable-jump-shortcut
     enable-mail-check-cue
  no-enable-mouse-in-xterm
  no-enable-newmail-in-xterm-icon
     enable-suspend
     enable-tab-completion
     enable-unix-pipe-cmd
  no-enable-verbose-smtp-posting
     expanded-view-of-addressbooks
  no-expanded-view-of-distribution-lists
     expanded-view-of-folders
     expunge-without-confirm
  no-fcc-on-bounce
  no-include-attachments-in-reply
  no-include-header-in-reply
  no-include-text-in-reply
     news-approximates-new-status
     news-post-without-validation
     news-read-in-newsrc-order
  no-pass-control-characters-as-is
     preserve-start-stop-characters
  no-print-offers-custom-cmd-prompt
  no-print-index-enabled
  no-print-formfeed-between-messages
     quell-dead-letter-on-cancel
  no-quell-lock-failure-warnings
  no-quell-status-message-beeping
  no-quell-user-lookup-in-passwd-file
  no-quit-without-confirm
     reply-always-uses-reply-to
  no-save-will-quote-leading-froms
  no-save-will-not-delete
     save-will-advance
  no-select-without-confirm
     show-cursor
     show-selected-in-boldface
     signature-at-bottom
  no-single-column-folder-list
     tab-visits-next-new-message-only
     use-current-dir
  no-use-function-keys
  no-use-sender-not-x-sender
  no-use-subshell-for-suspend
========== Latest keystrokes ==========
	^L	(0x000c)
	y	(0x0079)
	i	(0x0069)
	 	(0x0020)
	 	(0x0020)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	RETURN	(0x000d)
	f	(0x0066)
	^E	(0x0005)
	e	(0x0065)
	p	(0x0070)
	i	(0x0069)
	n	(0x006e)
	e	(0x0065)
	-	(0x002d)
	c	(0x0063)
	r	(0x0072)
	a	(0x0061)
	s	(0x0073)
	h	(0x0068)
	RETURN	(0x000d)
	m	(0x006d)
	b	(0x0062)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	RETURN	(0x000d)

---

From: Lea <[email-masked]>
Date: Thu, 18 Apr 1996 13:49:22 -0600 (MDT)

> Problem detected: "Received abort signal".

If I start Pine 3.92 from my Unix prompt, hit c for compose,
and follow the above instructions, hitting return
pulls the file into the buffer.
I wonder what else in your environment might be having
an effect on this?  Is anyone else out  there getting the same
results as Timothy?

Lea

---

From: Lea <[email-masked]>
Date: Thu, 18 Apr 1996 14:03:58 -0600 (MDT)

> (go to body of the message)

I tried this method too, down to the letter.
Also tried selecting Pine from the Lynx shell menu.
No matter what I do, I *can't* get Pine to crash.

We're running AIX 4.1.3 and 3.92 Pine, for whatever that's
worth.

Lea
-----------------------------------------------------------------------------
             Marianne Aldridge (Lea)  CNS Consulting Team; Helpdesk
         [email-masked]  OR  [email-masked]
                 492-9380 (voicemail)  OR  492-9400 (helpdesk)
             http://www.ualberta.ca/~maldridg/tutor/Tutorials.html
                http://gpu.srv.ualberta.ca/~maldridg/Wiz/Wizard

..'But I didn't *mean* to be brave - it just sort of happened when
    I panicked...'...               -Piglet
-----------------------------------------------------------------------------

---

From: Steve Hubert <[email-masked]>
Date: Thu, 18 Apr 1996 23:19:46 -0700 (PDT)

This does seem to happen for some people and not others and on some
systems and not others.  We have found a bug that might be causing this
and will hopefully have it fixed in the next version.  The bug has to do
with locales and the toupper function, so it is very dependent on the
implementation on a particular system and on what you might have in your
environment relating to locales.  Thanks.

Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle