← Back to team overview

desktop-packages team mailing list archive

[Bug 592082] Re: Evince crashes with SIGSEGV in ev_metadata_get_string

 

I experience this crash as well, using evince 2.30.3-0ubuntu1.2 on
Ubuntu 10.04 (not upgraded from a previous installation). The system
uses LDAP for authentication (a server beyond my control, BTW), and this
error occurs with some users but not others. Errors reported on the
console and stack trace are virtually identical to that originally
described by the original reporter (aside from my system being in US
English).

The suggestion by Superna fails with:

########@ubuntu:~$ touch .gnome2/evince/last_settings
touch: cannot touch `.gnome2/evince/last_settings': No such file or directory

On closer inspection, the directory ~/.gnome2/evince doesn't exist.
Creating the directory ~/.gnome2/evince followed by the touch command
succeeds, and evince appears to work. However, mucking around with a
command line shouldn't be necessary for a simple PDF viewer to function.
Reopening the bug.

Please be aware that it is NOT possible to check on this system if a
newer version of evince (e.x. that of a newer Ubuntu release) would
function properly - the video card in this system is antiquated and
can't properly run X in newer versions of Ubuntu.

** Changed in: evince (Ubuntu)
       Status: Invalid => New

-- 
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/592082

Title:
  Evince crashes with SIGSEGV in ev_metadata_get_string

Status in “evince” package in Ubuntu:
  New

Bug description:
  Binary package hint: evince

  Running evince without any options nor documents crashes.

  Running GDB reveals :
  (gdb) r
  Starting program: /usr/bin/evince
  [Thread debugging using libthread_db enabled]

  (evince:28219): EggSMClient-WARNING **: Failed to connect to the
  session manager: None of the authentication protocols specified are
  supported

  (evince:28219): Gtk-WARNING **: Attempting to read the recently used
  resources file at `/users/narmstrong/.recently-used.xbel', but the
  parser failed: L'ouverture du fichier « /users/narmstrong/.recently-
  used.xbel » a échoué : Permission non accordée.

  ** (evince:28219): WARNING **: Error creating last_settings file:
  Erreur lors de l'ouverture du fichier «
  /users/narmstrong/.gnome2/evince/last_settings » : Permission non
  accordée

  Program received signal SIGSEGV, Segmentation fault.
  0xb77134dc in ev_metadata_get_string (metadata=0x0,
      key=0xb7744a0c "show_toolbar", value=0xbfad034c) at ev-metadata.c:148
  148	ev-metadata.c: Aucun fichier ou dossier de ce type.
   in ev-metadata.c
  (gdb) bt
  #0  0xb77134dc in ev_metadata_get_string (metadata=0x0,
      key=0xb7744a0c "show_toolbar", value=0xbfad034c) at ev-metadata.c:148
  #1  0xb77135bb in ev_metadata_get_int (metadata=0x0,
      key=0xb7744a0c "show_toolbar", value=0xbfad037c) at ev-metadata.c:211
  #2  0xb771361f in ev_metadata_get_boolean (metadata=0x0,
      key=0xb7744a0c "show_toolbar", value=0xbfad0428) at ev-metadata.c:273
  #3  0xb7726027 in setup_chrome_from_metadata (ev_window=0xb7aaf058)
      at ev-window.c:911
  #4  ev_window_init (ev_window=0xb7aaf058) at ev-window.c:6495
  #5  0xb6cbd9c2 in IA__g_type_create_instance (type=3081424168)
      at /build/buildd/glib2.0-2.24.1/gobject/gtype.c:1885
  #6  0xb6ca1a18 in g_object_constructor (type=3081424168,
      n_construct_properties=2, construct_params=0xb7aac260)
      at /build/buildd/glib2.0-2.24.1/gobject/gobject.c:1396
  #7  0xb6ca2c4c in IA__g_object_newv (object_type=3081424168, n_parameters=1,
      parameters=0xb7aad140)
      at /build/buildd/glib2.0-2.24.1/gobject/gobject.c:1261
  #8  0xb6ca390c in IA__g_object_new_valist (object_type=3081424168,
      first_property_name=0xb7743e5d "type", var_args=0xbfad079c "")
      at /build/buildd/glib2.0-2.24.1/gobject/gobject.c:1377
  #9  0xb6ca3a27 in IA__g_object_new (object_type=3081424168,
      first_property_name=0xb7743e5d "type")
      at /build/buildd/glib2.0-2.24.1/gobject/gobject.c:1095
  #10 0xb771cb25 in ev_window_new () at ev-window.c:6527
  #11 0xb7710122 in ev_application_open_window (application=0xb7a9d980,
      screen=0xb7a660e8, timestamp=0) at ev-application.c:707
  #12 0xb7730109 in load_files (argc=1, argv=0xbfad0914) at main.c:178
  #13 main (argc=1, argv=0xbfad0914) at main.c:313

  Running Ubuntu 10.04 32bit all up to date, updated from a 9.10
  installation.

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