neomutt-20200313-gpgme-sasl error sending from command line

2020-03-18 Thread myportslist20190323
Synopsis: neomutt-20200313-gpgme-sasl error sending command line email

Environment:
System  : OpenBSD 6.6
Details : OpenBSD 6.6-current (GENERIC.MP) #56: Sun Mar 15 12:44:04 
MDT 2020
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
Description:
Sending email from the command line with neomutt-20200313-gpgme-sasl
gives error "Error initializing terminal"
This started with this version. neomutt-20191207-gpgme-sasl worked fine.
This happens for me on several different machines running amd64 
-current.
Something perhaps goes wrong with initscr in main.c in the neomutt 
port. 
I think line 214 and/or 1001. 
Installed from packages, but I will build and look more also.

How-To-Repeat:
mutt -s "hi" anyemailaddress < somefile



neomutt segmentation faults when command line email sent

2019-11-06 Thread myportslist20190323
Synopsis: neomutt segmentation faults when command line email sent

Category:   user
Environment:OpenBSD 6.6 Details : OpenBSD 6.6-current
  (GENERIC.MP) #427: Sat Nov  2 13:23:11 MDT 2019
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64 Machine : amd64
Description:
Neomutt segmentation faults when command line email is sent.
How-To-Repeat:
echo "hi there" | neomutt -s hi root@localhost
OR
neomutt -s somesubject somebody@any.where < sometextfile

This happens with or without a subject, to any email address. It
also happens with or without a muttrc or neomuttrc file present.

It happens on several different current boxes with different
hardware, including one box with kern.version=OpenBSD 6.6-current
   (GENERIC) #410: Tue Nov  5 17:00:09 MST 2019
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC,
and no packages other than neomutt dependencies.

Sending email with neomutt from the command line stopped working
for me around Oct 27. I use cwm and have tried from an xterm
with and without tmux. 

Sending does with neomutt-20180716p1-gpgme-sasl on one box that 
runs 6-6.current GENERIC.MP #389.

I've tried neomutt-20191102-gpgme-sasl and neomutt-20191102 on a
few current boxes, but it always seg faults.

I'm very sorry that I don't know where to start fixing it. I
will also build it from ports on another current box. I can
include a diff of neomutt -D  5 on a working vs nonworking
version if needed. I could run gdb on neomutt, but I'm not sure
how to run it on something like "neomutt some@company.domain


man ports has deprecated PLIST_DB instead of PLIST_REPOSITORY, doas settings in man bsd.port.mk

2019-05-28 Thread myportslist20190323
man ports: In the Using a Read-Only Ports Tree section of man ports, I believe
it should read  PLIST_REPOSITORY instead of PLIST_DB.

(Please note that man bsd.port.mk says PLIST_DB is deprecated. Also,
make fix-permissions won't change permission if PLIST_DB is set
in /etc/mk.conf, but it does work if PLIST_REPOSITORY is set.)

man bsd.port.mk: in the PORTS_PRIVSEP section, where one adds
these commands to doas.conf: /usr/bin/touch, /usr/sbin/pkg_add, and 
/usr/sbin/pkg_delete, I think an additional line is needed:

permit nopass setenv { TERM } solene cmd /usr/bin/env

(Please see these lines in /usr/ports/infrastructure/mk/bsd.port.mk:
SETENV ?= /usr/bin/env -i
and
===> Installing . . . @${SUDO} ${SETENV}  . . .)





gnucash 3.5 use after free crash when closing account tab

2019-04-16 Thread myportslist20190323
Hi, ports, gnucash crashes for me with use after free error whenever
I close an account tab. It runs fine otherwise.

This started months ago for me while running current around the
time of 6.4. I'm sorry to be so late in reporting it. It happens
on three different machines. I've uninstalled and reinstalled
gnucash and tried it from many snapshots. It happens even if I
create a new gnucash file, open a few tabs, then try closing one
(this is what I do in the example below).

Please let me know if I can provide further information. Thanks for
your help!

johannesv$ gnucash --version

GnuCash 3.5
Build ID: 3.5+(2019-03-30)

johannesv$ sysctl kern.version

kern.version=OpenBSD 6.5 (GENERIC.MP) #849: Wed Apr 10 04:03:54 MDT 2019
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP


# Here I start gnucash, open a couple tabs, then try to close one:

johannesv$ gnucash
gnucash(97036) in free(): use after free 0xd5f9774d80
Abort trap (core dumped)

# with gdb and (gdb) bt:

johannesv$ gdb gnucash -c gnucash.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.5"...
(no debugging symbols found)

Core was generated by `gnucash'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.26.1...done.
Loaded symbols for /usr/lib/libpthread.so.26.1
Loaded symbols for /usr/local/bin/gnucash
Reading symbols from /usr/local/lib/libgnc-gnome.so.1.0...done.
Loaded symbols for /usr/local/lib/libgnc-gnome.so.1.0
Reading symbols from /usr/local/lib/libguile-2.2.so.0.2...done.
Loaded symbols for /usr/local/lib/libguile-2.2.so.0.2
Reading symbols from /usr/local/lib/libgc.so.4.0...done.
Loaded symbols for /usr/local/lib/libgc.so.4.0
Reading symbols from /usr/local/lib/libglib-2.0.so.4201.1...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.4201.1
Reading symbols from /usr/local/lib/libintl.so.6.0...done.
Loaded symbols for /usr/local/lib/libintl.so.6.0
Reading symbols from /usr/local/lib/libgtk-3.so.2201.0...done.
Loaded symbols for /usr/local/lib/libgtk-3.so.2201.0
Reading symbols from /usr/local/lib/libgdk-3.so.2201.1...done.
Loaded symbols for /usr/local/lib/libgdk-3.so.2201.1
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3800.1...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3800.1
Reading symbols from /usr/local/lib/libpango-1.0.so.3800.2...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.3800.2
Reading symbols from /usr/local/lib/libatk-1.0.so.21809.2...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.21809.2
Reading symbols from /usr/local/lib/libcairo-gobject.so.2.0...done.
Loaded symbols for /usr/local/lib/libcairo-gobject.so.2.0
Reading symbols from /usr/local/lib/libcairo.so.13.0...done.
Loaded symbols for /usr/local/lib/libcairo.so.13.0
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.3200.1...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.3200.1
Reading symbols from /usr/local/lib/libgio-2.0.so.4200.8...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.8
Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.8...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.8
Reading symbols from /usr/local/lib/gnucash/libgncmod-ledger-core.so...done.
Loaded symbols for /usr/local/lib/gnucash/libgncmod-ledger-core.so
Reading symbols from /usr/local/lib/gnucash/libgncmod-report-gnome.so...done.
Loaded symbols for /usr/local/lib/gnucash/libgncmod-report-gnome.so
Reading symbols from /usr/local/lib/gnucash/libgncmod-html.so...done.
Loaded symbols for /usr/local/lib/gnucash/libgncmod-html.so
Reading symbols from /usr/local/lib/libwebkit2gtk-4.0.so.3.0...done.
Loaded symbols for /usr/local/lib/libwebkit2gtk-4.0.so.3.0
Reading symbols from /usr/local/lib/libsoup-2.4.so.10.2...done.
Loaded symbols for /usr/local/lib/libsoup-2.4.so.10.2
Reading symbols from /usr/local/lib/libjavascriptcoregtk-4.0.so.3.0...done.
Loaded symbols for /usr/local/lib/libjavascriptcoregtk-4.0.so.3.0
Reading symbols from /usr/local/lib/gnucash/libgncmod-report-system.so...done.
Loaded symbols for /usr/local/lib/gnucash/libgncmod-report-system.so
Reading symbols from /usr/local/lib/gnucash/libgncmod-register-gnome.so...done.
Loaded symbols for /usr/local/lib/gnucash/libgncmod-register-gnome.so
Reading symbols from /usr/local/lib/gnucash/libgncmod-register-core.so...done.
Loaded symbols for /usr/local/lib/gnucash/libgncmod-register-core.so
Reading symbols from /usr/local/lib/gnucash/libgncmod-gnome-search.so...done.
Loaded symbols for /usr/local/lib/gnucash/libgncmod-gnome-search.so
Reading symbols from /usr/local/lib/gnucash/libgncmod-gnome-utils.so...done.
Loaded symbols for