assertion failed: (width_r >= 0 && height_r >= 0)

Bug #495784 reported by nikman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evince
Fix Released
Critical
evince (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: evince

I tried to open a djvu document and got the assert:

** (evince:4956): WARNING **: DjvuLibre error: DjVuFile.cpp:2252

** (evince:4956): WARNING **: DjvuLibre error: DjVuFile.cpp:2252

** (evince:4956): WARNING **: DjvuLibre error: DjVuFile.cpp:2252
**
EvinceDocument:ERROR:ev-document-misc.c:56:ev_document_misc_get_thumbnail_frame: assertion failed: (width_r >= 0 && height_r >= 0)
Aborted (core dumped)

Core was generated by `evince'.
Program terminated with signal 6, Aborted.
#0 0x00007fab963374b5 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
 in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) where
#0 0x00007fab963374b5 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007fab9633af50 in *__GI_abort () at abort.c:92
#2 0x00007fab96a22540 in IA__g_assertion_message (
    domain=<value optimized out>, file=<value optimized out>,
    line=<value optimized out>,
    func=0x7fab9a81da40 "ev_document_misc_get_thumbnail_frame",
    message=0x8631a0 "assertion failed: (width_r >= 0 && height_r >= 0)")
    at /build/buildd/glib2.0-2.22.2/glib/gtestutils.c:1317
#3 0x00007fab96a22ab0 in IA__g_assertion_message_expr (
    domain=0x7fab9a81ad5f "EvinceDocument",
    file=0x7fab9a81d9a7 "ev-document-misc.c", line=56,
    func=0x7fab9a81da40 "ev_document_misc_get_thumbnail_frame",
    expr=<value optimized out>)
    at /build/buildd/glib2.0-2.22.2/glib/gtestutils.c:1328
#4 0x00007fab9a81ac86 in ev_document_misc_get_thumbnail_frame (
    width=<value optimized out>, height=<value optimized out>,
    source_pixbuf=<value optimized out>) at ev-document-misc.c:56
#5 0x000000000043b88d in ev_sidebar_thumbnails_get_loading_icon (
    sidebar_thumbnails=0xaabdb0, width=-2147483648, height=-2147483648)
    at ev-sidebar-thumbnails.c:197
#6 0x000000000043b935 in ev_sidebar_thumbnails_fill_model (
    sidebar_thumbnails=0xaabdb0) at ev-sidebar-thumbnails.c:427
#7 0x000000000043c57f in ev_sidebar_thumbnails_set_document (
    sidebar_page=<value optimized out>, document=0xb6bd90)
    at ev-sidebar-thumbnails.c:681
#8 0x0000000000436e9b in ev_sidebar_set_document (
    sidebar=<value optimized out>, document=0xb6bd90) at ev-sidebar.c:512
#9 0x000000000042e580 in ev_window_setup_document (ev_window=0x92a140)
    at ev-window.c:1201
#10 0x00007fab969fcbbe in g_main_dispatch (context=0x75b790)
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#11 IA__g_main_context_dispatch (context=0x75b790)
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#12 0x00007fab96a00588 in g_main_context_iterate (context=0x75b790,
    block=<value optimized out>, dispatch=<value optimized out>,
    self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#13 0x00007fab96a009e5 in IA__g_main_loop_run (loop=0x74b840)
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2799
#14 0x00007fab99f01177 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkmain.c:1218
#15 0x000000000043d3d4 in main (argc=1, argv=0x7fff2050a6f8) at main.c:497

ProblemType: Bug
Architecture: amd64
Date: Sat Dec 12 10:57:35 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/evince
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: evince 2.28.1-0ubuntu1.2
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: evince
Uname: Linux 2.6.31-16-generic x86_64

Revision history for this message
nikman (nikita-manovich) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, trace matches: https://bugzilla.gnome.org/show_bug.cgi?id=594408 ; linking the report, thanks.

Changed in evince (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Medium
status: New → Triaged
Changed in evince:
status: Unknown → Confirmed
Changed in evince:
importance: Unknown → Critical
Changed in evince:
status: Confirmed → Fix Released
Revision history for this message
penalvch (penalvch) wrote :

nikman, thank you for reporting this and helping make Ubuntu better. However, your crash report is missing. Please follow these instructions to have apport report a new bug about your crash that can be dealt with by the automatic retracer. First, execute at a terminal:
cd /var/crash && sudo rm * ; sudo apt-get update && sudo apt-get -y upgrade && sudo service apport start force_start=1

If you are running the Ubuntu Stable Release you might need to enable apport in /etc/default/apport and restart.

Now reproduce the crash, then open your file manager, navigate to your /var/crash directory and open the crash report you wish to submit.
If this fails you will have to open a terminal and file your report with 'ubuntu-bug /var/crash/_my_crash_report.crash' where _my_crash_report.crash is the crash you would like to report. If you get an error that you aren't allowed to access this report you will have to file it with 'sudo ubuntu-bug /var/crash/_my_crash_report.crash'. If you run the command against the crash report and a window pops up asking you to report this, but then never opens a new report, you would be affected by https://bugs.launchpad.net/ubuntu/+source/apport/+bug/994921 . In order to WORKAROUND this, one would need to open the following file via a command line:
sudo nano /etc/apport/crashdb.conf

and comment out the line:
'problem_types': ['Bug', 'Package'],

by changing it to:
# 'problem_types': ['Bug', 'Package'],

Save, close, and try to file the crash report again via:
ubuntu-bug /var/crash/_my_crash_report.crash

I'm closing this bug report since the process outlined above will automatically open a new bug report which can then dealt with more efficiently.

Please do not attach your crash report manually to this report and reopen it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in evince (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Triaged → Invalid
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.