← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2110511] [NEW] man/mandb command show segmentation fault (core dumped)

 

Public bug reported:

I tried reinstall man-db
shown:
hkgiadm@hkgiubuntu2:~$ sudo apt install man-db
[sudo] password for hkgiadm: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libpipeline1
The following NEW packages will be installed:
  libpipeline1 man-db
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,260 kB of archives.
After this operation, 3,067 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://hk.archive.ubuntu.com/ubuntu noble/main amd64 libpipeline1 amd64 1.5.7-2 [23.6 kB]
Get:2 http://hk.archive.ubuntu.com/ubuntu noble/main amd64 man-db amd64 2.12.0-4build2 [1,237 kB]
Fetched 1,260 kB in 0s (5,876 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libpipeline1:amd64.
(Reading database ... 232459 files and directories currently installed.)
Preparing to unpack .../libpipeline1_1.5.7-2_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.7-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.12.0-4build2_amd64.deb ...
Unpacking man-db (2.12.0-4build2) ...
Setting up libpipeline1:amd64 (1.5.7-2) ...
Setting up man-db (2.12.0-4build2) ...
Building database of manual pages ...
Segmentation fault (core dumped)
Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /usr/lib/systemd/system/man-db.timer.
man-db.service is a disabled or a static unit, not starting it.
Processing triggers for libc-bin (2.39-0ubuntu8.4) ...

debugging with gdb:
(gdb) run
Starting program: /usr/bin/man 
Downloading separate debug info for system-supplied DSO at 0x7b91c9110000
warning: could not find '.gnu_debugaltlink' file for /usr/lib/man-db/libmandb-2.12.0.so                                 
Downloading separate debug info for /usr/lib/man-db/libmandb-2.12.0.so
warning: could not find '.gnu_debugaltlink' file for /usr/lib/man-db/libman-2.12.0.so                                   
Downloading separate debug info for /usr/lib/man-db/libman-2.12.0.so
[Thread debugging using libthread_db enabled]                                                                           
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Downloading separate debug info for /lib/x86_64-linux-gnu/libgdbm.so.6
                                                                                                                        
Program received signal SIGSEGV, Segmentation fault.
Download failed: Invalid argument.  Continuing without source file ./string/../sysdeps/x86_64/multiarch/strnlen-evex.S.
__strnlen_evex () at ../sysdeps/x86_64/multiarch/strnlen-evex.S:403
warning: 403	../sysdeps/x86_64/multiarch/strnlen-evex.S: No such file or directory
(gdb) 

backtrace of gdb:
(gdb) bt
#0  __strnlen_evex () at ../sysdeps/x86_64/multiarch/strnlen-evex.S:403
#1  0x00007b91c8eb5009 in __GI___strndup (
    s=0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>, n=<optimized out>)
    at ./string/strndup.c:42
#2  0x00007b91c90e580d in xstrndup () from /usr/lib/man-db/libman-2.12.0.so
#3  0x00007b91c90cff4a in ?? () from /usr/lib/man-db/libman-2.12.0.so
#4  0x00007b91c90cffdf in ?? () from /usr/lib/man-db/libman-2.12.0.so
#5  0x00007b91c90d06c7 in ?? () from /usr/lib/man-db/libman-2.12.0.so
#6  0x00007b91c90d47b1 in sandbox_init () from /usr/lib/man-db/libman-2.12.0.so
#7  0x0000609efcf94a16 in ?? ()
#8  0x00007b91c8e2a1ca in __libc_start_call_main (main=main@entry=0x609efcf949c0, argc=argc@entry=1, 
    argv=argv@entry=0x7ffd63639528) at ../sysdeps/nptl/libc_start_call_main.h:58
#9  0x00007b91c8e2a28b in __libc_start_main_impl (main=0x609efcf949c0, argc=1, argv=0x7ffd63639528, 
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd63639518)
    at ../csu/libc-start.c:360
#10 0x0000609efcf95ba5 in ?? ()
(gdb)

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: man-db 2.12.0-4build2
ProcVersionSignature: Ubuntu 6.11.0-25.25~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-25-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue May 13 10:49:20 2025
InstallationDate: Installed on 2025-05-07 (6 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
SourcePackage: man-db
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: man-db (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to man-db in Ubuntu.
https://bugs.launchpad.net/bugs/2110511

Title:
  man/mandb command show segmentation fault (core dumped)

Status in man-db package in Ubuntu:
  New

Bug description:
  I tried reinstall man-db
  shown:
  hkgiadm@hkgiubuntu2:~$ sudo apt install man-db
  [sudo] password for hkgiadm: 
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  The following additional packages will be installed:
    libpipeline1
  The following NEW packages will be installed:
    libpipeline1 man-db
  0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  Need to get 1,260 kB of archives.
  After this operation, 3,067 kB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Get:1 http://hk.archive.ubuntu.com/ubuntu noble/main amd64 libpipeline1 amd64 1.5.7-2 [23.6 kB]
  Get:2 http://hk.archive.ubuntu.com/ubuntu noble/main amd64 man-db amd64 2.12.0-4build2 [1,237 kB]
  Fetched 1,260 kB in 0s (5,876 kB/s)
  Preconfiguring packages ...
  Selecting previously unselected package libpipeline1:amd64.
  (Reading database ... 232459 files and directories currently installed.)
  Preparing to unpack .../libpipeline1_1.5.7-2_amd64.deb ...
  Unpacking libpipeline1:amd64 (1.5.7-2) ...
  Selecting previously unselected package man-db.
  Preparing to unpack .../man-db_2.12.0-4build2_amd64.deb ...
  Unpacking man-db (2.12.0-4build2) ...
  Setting up libpipeline1:amd64 (1.5.7-2) ...
  Setting up man-db (2.12.0-4build2) ...
  Building database of manual pages ...
  Segmentation fault (core dumped)
  Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /usr/lib/systemd/system/man-db.timer.
  man-db.service is a disabled or a static unit, not starting it.
  Processing triggers for libc-bin (2.39-0ubuntu8.4) ...

  debugging with gdb:
  (gdb) run
  Starting program: /usr/bin/man 
  Downloading separate debug info for system-supplied DSO at 0x7b91c9110000
  warning: could not find '.gnu_debugaltlink' file for /usr/lib/man-db/libmandb-2.12.0.so                                 
  Downloading separate debug info for /usr/lib/man-db/libmandb-2.12.0.so
  warning: could not find '.gnu_debugaltlink' file for /usr/lib/man-db/libman-2.12.0.so                                   
  Downloading separate debug info for /usr/lib/man-db/libman-2.12.0.so
  [Thread debugging using libthread_db enabled]                                                                           
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  Downloading separate debug info for /lib/x86_64-linux-gnu/libgdbm.so.6
                                                                                                                          
  Program received signal SIGSEGV, Segmentation fault.
  Download failed: Invalid argument.  Continuing without source file ./string/../sysdeps/x86_64/multiarch/strnlen-evex.S.
  __strnlen_evex () at ../sysdeps/x86_64/multiarch/strnlen-evex.S:403
  warning: 403	../sysdeps/x86_64/multiarch/strnlen-evex.S: No such file or directory
  (gdb) 

  backtrace of gdb:
  (gdb) bt
  #0  __strnlen_evex () at ../sysdeps/x86_64/multiarch/strnlen-evex.S:403
  #1  0x00007b91c8eb5009 in __GI___strndup (
      s=0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>, n=<optimized out>)
      at ./string/strndup.c:42
  #2  0x00007b91c90e580d in xstrndup () from /usr/lib/man-db/libman-2.12.0.so
  #3  0x00007b91c90cff4a in ?? () from /usr/lib/man-db/libman-2.12.0.so
  #4  0x00007b91c90cffdf in ?? () from /usr/lib/man-db/libman-2.12.0.so
  #5  0x00007b91c90d06c7 in ?? () from /usr/lib/man-db/libman-2.12.0.so
  #6  0x00007b91c90d47b1 in sandbox_init () from /usr/lib/man-db/libman-2.12.0.so
  #7  0x0000609efcf94a16 in ?? ()
  #8  0x00007b91c8e2a1ca in __libc_start_call_main (main=main@entry=0x609efcf949c0, argc=argc@entry=1, 
      argv=argv@entry=0x7ffd63639528) at ../sysdeps/nptl/libc_start_call_main.h:58
  #9  0x00007b91c8e2a28b in __libc_start_main_impl (main=0x609efcf949c0, argc=1, argv=0x7ffd63639528, 
      init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd63639518)
      at ../csu/libc-start.c:360
  #10 0x0000609efcf95ba5 in ?? ()
  (gdb)

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: man-db 2.12.0-4build2
  ProcVersionSignature: Ubuntu 6.11.0-25.25~24.04.1-generic 6.11.11
  Uname: Linux 6.11.0-25-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue May 13 10:49:20 2025
  InstallationDate: Installed on 2025-05-07 (6 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
  SourcePackage: man-db
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/2110511/+subscriptions