← Back to team overview

desktop-packages team mailing list archive

[Bug 730183] Re: evince crashed with SIGSEGV in getenv()

 

Is it possible that setenv() is being called from another thread?

This could end up being a huge can of worms -- all of our libraries do
things like calling into gettext() from random arbitrary worker threads
and gettext() calls (thread-unsafe) getenv().

In effect, it's not safe to call setenv() from any program that uses
GLib, which is a bit.... scary.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/730183

Title:
  evince crashed with SIGSEGV in getenv()

Status in “evince” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: evince

  Description:	Ubuntu Natty (development branch)
  Release:	11.04

  evince:
    Installed: 2.32.0-0ubuntu10
    Candidate: 2.32.0-0ubuntu10
    Version table:
   *** 2.32.0-0ubuntu10 0
          500 http://nl.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
          100 /var/lib/dpkg/status

  I tried opening a DVI file (I didn't even know that evince supports
  DVIs) and it crashed. It was started up from Fileroller, as the DVI is
  inside a ZIP.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: evince 2.32.0-0ubuntu10
  ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
  Uname: Linux 2.6.38-5-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  CrashCounter: 1
  Date: Sun Mar  6 16:02:08 2011
  ExecutablePath: /usr/bin/evince
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  ProcCmdline: evince /home/username/.cache/.fr-ZUBicI/2010\ practice\ class/PAexams/exam2010/exam2010Jun.dvi
  ProcCmdline_: BOOT_IMAGE=/boot/vmlinuz-2.6.38-5-generic root=UUID=a4475d80-6ca3-42f0-81bb-7cb272b51fbf ro i8042.nomux=1 acpi_apic_instance=0 crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_ZA.utf8
   LC_MESSAGES=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature_: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
  SegvAnalysis:
   Segfault happened at: 0xde50e4 <getenv+100>:	cmp    (%edi),%ax
   PC (0x00de50e4) ok
   source "(%edi)" (0x00000100) not located in a known VMA region (needed readable region)!
   destination "%ax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: evince
  StacktraceTop:
   getenv (name=0x6d6199 "URSOR_PATH") at getenv.c:90
   XcursorLibraryPath () from /usr/lib/libXcursor.so.1
   ?? () from /usr/lib/libXcursor.so.1
   XcursorLibraryLoadImages () from /usr/lib/libXcursor.so.1
   XcursorShapeLoadImages () from /usr/lib/libXcursor.so.1
  Title: evince crashed with SIGSEGV in getenv()
  UpgradeStatus: Upgraded to natty on 2011-02-26 (8 days ago)
  UserGroups: adm admin cdrom dialout lpadmin mythtv plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/730183/+subscriptions