man crashed with SIGSEGV

Bug #218336 reported by avinas
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
man-db (Fedora)
Fix Released
Undecided
man-db (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Binary package hint: man-db

I was installing updates.

ProblemType: Crash
Architecture: i386
Date: Mon Apr 14 16:31:13 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/lib/man-db/man
NonfreeKernelModules: nvidia
Package: man-db 2.5.1-3
PackageArchitecture: i386
ProcCmdline: man chown
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
Signal: 11
SourcePackage: man-db
Stacktrace:
 #0 0x08057481 in ?? ()
 #1 0x00000000 in ?? ()
StacktraceTop:
 ?? ()
 ?? ()
ThreadStacktrace:
 .
 Thread 1 (process 6846):
 #0 0x08057481 in ?? ()
 #1 0x00000000 in ?? ()
Title: man crashed with SIGSEGV
Uname: Linux 2.6.24-16-generic i686
UserGroups: adm audio cdrom dialout dip floppy lpadmin plugdev pulse pulse-access pulse-rt scanner users vboxusers video
SegvAnalysis:
 Segfault happened at: 0x8057481 <geteuid@plt+51997>: mov -0x4(%esi,%eax,1),%edx
 PC (0x08057481) ok
 source "-0x4(%esi,%eax,1)" (0x00000020) not located in a known VMA region (needed readable region)!
 destination "%edx" ok
SegvReason: reading NULL VMA

Tags: apport-crash

Related branches

Revision history for this message
avinas (avinas17) wrote :
Revision history for this message
avinas (avinas17) wrote :

I was installing updates. I got crashed man, F-spot, Firefox, Apport...

Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:_fini () from /usr/lib/libz.so.1
_dl_fini () from /lib/ld-linux.so.2
exit () from /lib/tls/i686/cmov/libc.so.6
error_tail () from /lib/tls/i686/cmov/libc.so.6
error () from /lib/tls/i686/cmov/libc.so.6

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in man-db:
importance: Undecided → Medium
Kees Cook (kees)
description: updated
Revision history for this message
In , Adam (adam-redhat-bugs) wrote :

abrt version: 1.1.17
architecture: x86_64
Attached file: backtrace, 5244 bytes
cmdline: man lround
component: man-db
Attached file: coredump, 1376256 bytes
crash_function: main
executable: /usr/bin/man
kernel: 2.6.35.11-83.fc14.x86_64
package: man-db-2.5.7-7.fc14
rating: 4
reason: Process /usr/bin/man was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
How to reproduce: 1. Close the window.
time: 1302135671
uid: 500

Revision history for this message
In , Adam (adam-redhat-bugs) wrote :

Created attachment 490452
File: backtrace

Revision history for this message
In , Colin (colin-redhat-bugs) wrote :

Thanks for your report! I've fixed this for man-db 2.6.0:

Thu Apr 7 12:46:34 BST 2011 Colin Watson <email address hidden>

        * lib/cleanup.c (do_cleanups): Set tos and nslots to 0 before
          freeing stack, in case do_cleanups_sigsafe is called again from a
          signal handler (Fedora bug #694332).
        * NEWS: Document this.

http://bazaar.launchpad.net/~cjwatson/man-db/trunk/revision/1338

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks for your report, and sorry for the delay. This is also https://bugzilla.redhat.com/show_bug.cgi?id=694332, which will be fixed in man-db 2.6.0.

visibility: private → public
Changed in man-db (Ubuntu):
status: New → Fix Committed
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
In , Ivana (ivana-redhat-bugs) wrote :

Thanks, now the rawhide version (man-db-2.6.0.2-1) fixes this problem.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package man-db - 2.6.0.2-1

---------------
man-db (2.6.0.2-1) unstable; urgency=low

  * New upstream release:
    - Fix a segfault when scanning links to empty pages (closes: #622104).
    - Once we've seen at least one record in a page's NAME section, ignore
      any further records that don't include a whatis description, as they
      tend to be noise.
  * Remove unnecessary .la files (closes: #622443).

man-db (2.6.0.1-1) unstable; urgency=low

  * New upstream release, fixing test failures in 2.6.0 (closes: #621867):
    - Ensure that the target of a symlink or .so chain is always recorded as
      a real page.
    - Read a user-specified configuration file even if HOME is unset.

man-db (2.6.0-1) unstable; urgency=low

  * New upstream release:
    - Search the full manpath when expanding .so directives in manual pages.
      As part of this, '.so name.1' should now work as well as '.so
      man1/name.1' (closes: #503472, LP: #411534).
    - Handle roff named glyphs and perldoc strings in NAME sections (closes:
      #601025).
    - Don't start a pager if stdout is not a tty.
    - Allow passing multiple sections to whatis and apropos (closes:
      #571285).
    - Provide byte positions in manconv errors (closes: #562789).
    - Make mandb error output neater when stderr is not a tty.
    - Fix failure to display manual pages in some encodings when installed
      setuid.
    - Don't ignore SIGPIPE while forking iconv (closes: #597756).
    - Remove obsolete subdirectories of cat directories (closes: #558804).
    - If mandb sees that A is a symlink to B, it should never store a whatis
      reference for B (closes: #204249).
    - Print commas in roman rather than bold (thanks, David Prévot; closes:
      #600002).
    - Consider .PD requests as paragraph breaks (closes: #611012).
    - Reset SIGPIPE to SIG_DFL on startup, to avoid noisy output in the
      event that mandb was started from a context where SIGPIPE was ignored.
    - SECTION entries in a user configuration file now override those in the
      system configuration file, rather than appending to them.
    - If the user asked for an explicit section, sort exact matches first.
    - Rewrite all remaining subprocess handling in terms of libpipeline,
      especially some crash-prone code in catman (LP: #27738).
    - The default less prompt now includes "(press h for help or q to quit)"
      to help novices find their way around
      (http://brainstorm.ubuntu.com/idea/25975).
    - Fix a segfault when 'man -K' tries to display certain pages.
    - Fix a segfault in some situations when processes are killed by SIGHUP,
      SIGINT, or SIGTERM (LP: #218336).
  * Avoid unnecessary metadata writes to /var/cache/man when doing recursive
    chown (thanks, Iustin Pop; closes: #619726).
 -- Ubuntu Archive Auto-Sync <email address hidden> Sat, 30 Apr 2011 13:16:26 +0000

Changed in man-db (Ubuntu):
status: Fix Committed → Fix Released
Changed in man-db (Fedora):
importance: Unknown → Undecided
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.