Bug#922675: segfault on dir chroot prepare (in sqlite)

2019-03-15 Thread Marc Haber
On Thu, Mar 07, 2019 at 06:02:17PM +0100, Stephan Sürken wrote:
> Could you recheck?

Current sid does not have the issue any more, please feel free to close
this bug report.

Greetings
Marc

-- 
-
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany|  lose things."Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



Bug#922675: segfault on dir chroot prepare (in sqlite)

2019-03-07 Thread Stephan Sürken
Hi Marc,

On Tue, 2019-02-19 at 11:34 +0100, Marc Haber wrote:
> Package: mini-buildd
> Version: 1.0.36
> Severity: important
> 
> Hi,
> 
> I log in to my mini-buildd instance, start configuring, call up the
> Dir
> chroots, mark one, click on "prepare". The browser immediately
> returns a
> "connection reset", no mini-buildd process is there any more, and the
> syslog shows:
> 
> Feb 19 11:27:10 spinturn kernel: mini-buildd[1368]: segfault at 8 ip
> 7f25f375ef91 sp 7f25daff88f0 error 4 in
> libsqlite3.so.0.8.6[7f25f36f8000+da000]

I just ran the whole testsuite (and also did some manual chroot
prepares) on the 1.0.x branch with current sid/amd64 -- could not
produce the problem.

Same libsqlite afaics (/usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6).

However, I hope this

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923038

is the same issue; then it might have been fixed in sqlite3 3.27.2-1
(w/o updating the so version)...

Could you recheck?

Thx!

S



Bug#922675: segfault on dir chroot prepare (in sqlite)

2019-02-19 Thread Marc Haber
Package: mini-buildd
Version: 1.0.36
Severity: important

Hi,

I log in to my mini-buildd instance, start configuring, call up the Dir
chroots, mark one, click on "prepare". The browser immediately returns a
"connection reset", no mini-buildd process is there any more, and the
syslog shows:

Feb 19 11:27:10 spinturn kernel: mini-buildd[1368]: segfault at 8 ip 
7f25f375ef91 sp 7f25daff88f0 error 4 in 
libsqlite3.so.0.8.6[7f25f36f8000+da000]
Feb 19 11:27:10 spinturn kernel: Code: 48 89 54 24 28 4c 89 44 24 20 64 48 8b 
0c 25 28 00 00 00 48 89 4c 24 48 31 c9 48 85 f6 0f 84 9e 02 00 00 48 8b 04 24 
48 8b 00 <66> 83 78 08 0d 76 58 48 8d 05 01 18 fd ff 48 89 44 24 08 48 8b 04
Feb 19 11:27:10 spinturn systemd[1]: mini-buildd.service: Main process exited, 
code=killed, status=11/SEGV
Feb 19 11:27:10 spinturn systemd[1]: mini-buildd.service: Failed with result 
'signal'.

spinturn is an amd64 box, but the same thing (sans the kernel messages,
but that might be a logging/klog issue) happens also on armhf.

I guess this might have something to do with the recent sqlite update,
maybe a recompile of the sqlite-related libraries can fix that.

Greetings
Marc


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.20.10-zgsrv20080 (SMP w/6 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mini-buildd depends on:
ii  adduser3.118
ii  debconf [debconf-2.0]  1.5.70
ii  debootstrap1.0.114
ii  devscripts 2.19.3
ii  dirmngr2.2.12-1
ii  dpkg-dev   1.19.4
ii  gnupg  2.2.12-1
ii  libjs-jquery   3.3.1~dfsg-1
ii  libjs-sphinxdoc1.8.4-1
ii  lintian2.7.0
ii  lsb-base   10.2018112800
ii  mini-buildd-common 1.0.36
ii  python 2.7.15-4
ii  python-cherrypy3   8.9.1-2
ii  python-daemon  2.2.3-1
ii  python-mini-buildd 1.0.36
ii  python-pyftpdlib   1.5.4-1
ii  reprepro   5.3.0-1
ii  sbuild 0.78.1-1
ii  schroot1.6.10-6+b1
ii  sudo   1.8.27-1

Versions of packages mini-buildd recommends:
ii  python-apt  1.8.3

Versions of packages mini-buildd suggests:
pn  binfmt-support  
pn  btrfs-progs 
ii  debian-archive-keyring  2018.1
ii  haveged 1.9.1-6
ii  lvm22.03.02-2
pn  qemu-user-static
pn  ubuntu-keyring  

-- Configuration Files:
/etc/default/mini-buildd changed [not included]
/etc/schroot/setup.d/15mini-buildd-workarounds changed [not included]
/etc/sudoers.d/mini-buildd-sudoers [Errno 13] Permission denied: 
'/etc/sudoers.d/mini-buildd-sudoers'

-- debconf information excluded