qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1836763] [NEW] Firebird crashes on qemu-m68k-user with


From: John Paul Adrian Glaubitz
Subject: [Qemu-devel] [Bug 1836763] [NEW] Firebird crashes on qemu-m68k-user with pthread_mutex_init error
Date: Tue, 16 Jul 2019 14:54:18 -0000

Public bug reported:

Trying to use the Firebird database on qemu-m68k-user with a Debian
chroot fails with the database crashing with "ConfigStorage: mutex
pthread_mutex_init error, status = 95":

(sid-m68k-sbuild)root@epyc:/# apt install firebird3.0-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cpio libip4tc0
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  firebird3.0-common firebird3.0-common-doc firebird3.0-server-core 
firebird3.0-utils libfbclient2 libib-util
Suggested packages:
  firebird3.0-doc
The following NEW packages will be installed:
  firebird3.0-common firebird3.0-common-doc firebird3.0-server 
firebird3.0-server-core firebird3.0-utils libfbclient2 libib-util
0 upgraded, 7 newly installed, 0 to remove and 4 not upgraded.
Need to get 4,051 kB of archives.
After this operation, 15.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ftp.ports.debian.org/debian-ports unstable/main m68k 
firebird3.0-common-doc all 3.0.5.33100.ds4-3 [35.3 kB]
Get:2 http://ftp.ports.debian.org/debian-ports unstable/main m68k 
firebird3.0-common all 3.0.5.33100.ds4-3 [14.5 kB]
Get:3 http://ftp.ports.debian.org/debian-ports unstable/main m68k libfbclient2 
m68k 3.0.5.33100.ds4-3 [496 kB]
Get:4 http://ftp.ports.debian.org/debian-ports unstable/main m68k libib-util 
m68k 3.0.5.33100.ds4-3 [3,220 B]
Get:5 http://ftp.ports.debian.org/debian-ports unstable/main m68k 
firebird3.0-server-core m68k 3.0.5.33100.ds4-3 [2,368 kB]
Get:6 http://ftp.ports.debian.org/debian-ports unstable/main m68k 
firebird3.0-utils m68k 3.0.5.33100.ds4-3 [770 kB]
Get:7 http://ftp.ports.debian.org/debian-ports unstable/main m68k 
firebird3.0-server m68k 3.0.5.33100.ds4-3 [365 kB]
Fetched 4,051 kB in 2s (1,803 kB/s)          
debconf: delaying package configuration, since apt-utils is not installed
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package firebird3.0-common-doc.
(Reading database ... 33605 files and directories currently installed.)
Preparing to unpack .../0-firebird3.0-common-doc_3.0.5.33100.ds4-3_all.deb ...
Unpacking firebird3.0-common-doc (3.0.5.33100.ds4-3) ...
Selecting previously unselected package firebird3.0-common.
Preparing to unpack .../1-firebird3.0-common_3.0.5.33100.ds4-3_all.deb ...
Unpacking firebird3.0-common (3.0.5.33100.ds4-3) ...
Selecting previously unselected package libfbclient2:m68k.
Preparing to unpack .../2-libfbclient2_3.0.5.33100.ds4-3_m68k.deb ...
Unpacking libfbclient2:m68k (3.0.5.33100.ds4-3) ...
Selecting previously unselected package libib-util:m68k.
Preparing to unpack .../3-libib-util_3.0.5.33100.ds4-3_m68k.deb ...
Unpacking libib-util:m68k (3.0.5.33100.ds4-3) ...
Selecting previously unselected package firebird3.0-server-core:m68k.
Preparing to unpack .../4-firebird3.0-server-core_3.0.5.33100.ds4-3_m68k.deb ...
Unpacking firebird3.0-server-core:m68k (3.0.5.33100.ds4-3) ...
Selecting previously unselected package firebird3.0-utils.
Preparing to unpack .../5-firebird3.0-utils_3.0.5.33100.ds4-3_m68k.deb ...
Unpacking firebird3.0-utils (3.0.5.33100.ds4-3) ...
Selecting previously unselected package firebird3.0-server.
Preparing to unpack .../6-firebird3.0-server_3.0.5.33100.ds4-3_m68k.deb ...
Unpacking firebird3.0-server (3.0.5.33100.ds4-3) ...
Setting up firebird3.0-common-doc (3.0.5.33100.ds4-3) ...
Setting up firebird3.0-common (3.0.5.33100.ds4-3) ...
Setting up libib-util:m68k (3.0.5.33100.ds4-3) ...
Setting up libfbclient2:m68k (3.0.5.33100.ds4-3) ...
Setting up firebird3.0-utils (3.0.5.33100.ds4-3) ...
Setting up firebird3.0-server-core:m68k (3.0.5.33100.ds4-3) ...
Setting up firebird3.0-server (3.0.5.33100.ds4-3) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
Password for firebird 3.0
-------------------------

Firebird has a special user named SYSDBA, which is the user that has access to 
all databases. SYSDBA can also create new databases and users. Because of this, 
it is
necessary to secure SYSDBA with a password.

The password is stored in /etc/firebird/3.0/SYSDBA.password (readable only by 
root). You may modify it there (don't forget to update the security database 
too, using the
gsec utility), or you may use dpkg-reconfigure to update both.

If you don't enter a password, a random one will be used (and stored in
SYSDBA.password).

Password for SYSDBA:

adduser: Warning: The home directory `/var/lib/firebird' does not belong to the 
user you are currently creating.
ConfigStorage: mutex pthread_mutex_init error, status = 95
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted
dpkg: error processing package firebird3.0-server (--configure):
 installed firebird3.0-server package post-installation script subprocess 
returned error exit status 134
Processing triggers for systemd (241-6+b2) ...
Processing triggers for man-db (2.8.5-2) ...
Not building database; man-db/auto-update is not 'true'.
Processing triggers for libc-bin (2.28-10+qemu) ...
Errors were encountered while processing:
 firebird3.0-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
(sid-m68k-sbuild)root@epyc:/# SEC_SQL=/usr/share/firebird/3.0/security.sql 
T=/tmp/tmp.2kBDCgAevm T_SEC=/tmp/tmp.2kBDCgAevm/security.fdb isql-fb -q
SQL> create database '/tmp/tmp.2kBDCgAevm/security.fdb';
ConfigStorage: mutex pthread_mutex_init error, status = 95
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted
(sid-m68k-sbuild)root@epyc:/#

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1836763

Title:
  Firebird crashes on qemu-m68k-user with pthread_mutex_init error

Status in QEMU:
  New

Bug description:
  Trying to use the Firebird database on qemu-m68k-user with a Debian
  chroot fails with the database crashing with "ConfigStorage: mutex
  pthread_mutex_init error, status = 95":

  (sid-m68k-sbuild)root@epyc:/# apt install firebird3.0-server
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages were automatically installed and are no longer 
required:
    cpio libip4tc0
  Use 'apt autoremove' to remove them.
  The following additional packages will be installed:
    firebird3.0-common firebird3.0-common-doc firebird3.0-server-core 
firebird3.0-utils libfbclient2 libib-util
  Suggested packages:
    firebird3.0-doc
  The following NEW packages will be installed:
    firebird3.0-common firebird3.0-common-doc firebird3.0-server 
firebird3.0-server-core firebird3.0-utils libfbclient2 libib-util
  0 upgraded, 7 newly installed, 0 to remove and 4 not upgraded.
  Need to get 4,051 kB of archives.
  After this operation, 15.9 MB of additional disk space will be used.
  Do you want to continue? [Y/n] 
  Get:1 http://ftp.ports.debian.org/debian-ports unstable/main m68k 
firebird3.0-common-doc all 3.0.5.33100.ds4-3 [35.3 kB]
  Get:2 http://ftp.ports.debian.org/debian-ports unstable/main m68k 
firebird3.0-common all 3.0.5.33100.ds4-3 [14.5 kB]
  Get:3 http://ftp.ports.debian.org/debian-ports unstable/main m68k 
libfbclient2 m68k 3.0.5.33100.ds4-3 [496 kB]
  Get:4 http://ftp.ports.debian.org/debian-ports unstable/main m68k libib-util 
m68k 3.0.5.33100.ds4-3 [3,220 B]
  Get:5 http://ftp.ports.debian.org/debian-ports unstable/main m68k 
firebird3.0-server-core m68k 3.0.5.33100.ds4-3 [2,368 kB]
  Get:6 http://ftp.ports.debian.org/debian-ports unstable/main m68k 
firebird3.0-utils m68k 3.0.5.33100.ds4-3 [770 kB]
  Get:7 http://ftp.ports.debian.org/debian-ports unstable/main m68k 
firebird3.0-server m68k 3.0.5.33100.ds4-3 [365 kB]
  Fetched 4,051 kB in 2s (1,803 kB/s)          
  debconf: delaying package configuration, since apt-utils is not installed
  E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such 
device)
  Selecting previously unselected package firebird3.0-common-doc.
  (Reading database ... 33605 files and directories currently installed.)
  Preparing to unpack .../0-firebird3.0-common-doc_3.0.5.33100.ds4-3_all.deb ...
  Unpacking firebird3.0-common-doc (3.0.5.33100.ds4-3) ...
  Selecting previously unselected package firebird3.0-common.
  Preparing to unpack .../1-firebird3.0-common_3.0.5.33100.ds4-3_all.deb ...
  Unpacking firebird3.0-common (3.0.5.33100.ds4-3) ...
  Selecting previously unselected package libfbclient2:m68k.
  Preparing to unpack .../2-libfbclient2_3.0.5.33100.ds4-3_m68k.deb ...
  Unpacking libfbclient2:m68k (3.0.5.33100.ds4-3) ...
  Selecting previously unselected package libib-util:m68k.
  Preparing to unpack .../3-libib-util_3.0.5.33100.ds4-3_m68k.deb ...
  Unpacking libib-util:m68k (3.0.5.33100.ds4-3) ...
  Selecting previously unselected package firebird3.0-server-core:m68k.
  Preparing to unpack .../4-firebird3.0-server-core_3.0.5.33100.ds4-3_m68k.deb 
...
  Unpacking firebird3.0-server-core:m68k (3.0.5.33100.ds4-3) ...
  Selecting previously unselected package firebird3.0-utils.
  Preparing to unpack .../5-firebird3.0-utils_3.0.5.33100.ds4-3_m68k.deb ...
  Unpacking firebird3.0-utils (3.0.5.33100.ds4-3) ...
  Selecting previously unselected package firebird3.0-server.
  Preparing to unpack .../6-firebird3.0-server_3.0.5.33100.ds4-3_m68k.deb ...
  Unpacking firebird3.0-server (3.0.5.33100.ds4-3) ...
  Setting up firebird3.0-common-doc (3.0.5.33100.ds4-3) ...
  Setting up firebird3.0-common (3.0.5.33100.ds4-3) ...
  Setting up libib-util:m68k (3.0.5.33100.ds4-3) ...
  Setting up libfbclient2:m68k (3.0.5.33100.ds4-3) ...
  Setting up firebird3.0-utils (3.0.5.33100.ds4-3) ...
  Setting up firebird3.0-server-core:m68k (3.0.5.33100.ds4-3) ...
  Setting up firebird3.0-server (3.0.5.33100.ds4-3) ...
  debconf: unable to initialize frontend: Dialog
  debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
  debconf: falling back to frontend: Readline
  Password for firebird 3.0
  -------------------------

  Firebird has a special user named SYSDBA, which is the user that has access 
to all databases. SYSDBA can also create new databases and users. Because of 
this, it is
  necessary to secure SYSDBA with a password.

  The password is stored in /etc/firebird/3.0/SYSDBA.password (readable only by 
root). You may modify it there (don't forget to update the security database 
too, using the
  gsec utility), or you may use dpkg-reconfigure to update both.

  If you don't enter a password, a random one will be used (and stored
  in SYSDBA.password).

  Password for SYSDBA:

  adduser: Warning: The home directory `/var/lib/firebird' does not belong to 
the user you are currently creating.
  ConfigStorage: mutex pthread_mutex_init error, status = 95
  qemu: uncaught target signal 6 (Aborted) - core dumped
  Aborted
  dpkg: error processing package firebird3.0-server (--configure):
   installed firebird3.0-server package post-installation script subprocess 
returned error exit status 134
  Processing triggers for systemd (241-6+b2) ...
  Processing triggers for man-db (2.8.5-2) ...
  Not building database; man-db/auto-update is not 'true'.
  Processing triggers for libc-bin (2.28-10+qemu) ...
  Errors were encountered while processing:
   firebird3.0-server
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  (sid-m68k-sbuild)root@epyc:/# SEC_SQL=/usr/share/firebird/3.0/security.sql 
T=/tmp/tmp.2kBDCgAevm T_SEC=/tmp/tmp.2kBDCgAevm/security.fdb isql-fb -q
  SQL> create database '/tmp/tmp.2kBDCgAevm/security.fdb';
  ConfigStorage: mutex pthread_mutex_init error, status = 95
  qemu: uncaught target signal 6 (Aborted) - core dumped
  Aborted
  (sid-m68k-sbuild)root@epyc:/#

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1836763/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]