After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 526517 - Segfaults when jumping to a page in a specific DjVu file
Segfaults when jumping to a page in a specific DjVu file
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-06 15:05 UTC by Sven Arvidsson
Modified: 2008-04-08 09:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
DjVu file mentioned in bug report (577.77 KB, image/vnd.djvu)
2008-04-06 15:06 UTC, Sven Arvidsson
Details

Description Sven Arvidsson 2008-04-06 15:05:38 UTC
[ From http://bugs.debian.org/442955 by Lionel Elie Mamane ]

"evince /the/attached/DjVu/file
type "6" in the page number box

Get this message on stderr:

(evince:11171): GLib-CRITICAL **: g_utf8_casefold: assertion `str != NULL' failed"

This happens with Evince 2.22.0 and libdjvulibre21 3.5.20.

Backtrace:

LD_LIBRARY_PATH=/usr/lib/debug/:/usr/lib/debug/lib/:/usr/lib/debug/usr/lib/ gdb evince
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run SCH-A562engRev11.pdf.djvu
Starting program: /usr/bin/evince SCH-A562engRev11.pdf.djvu
[Thread debugging using libthread_db enabled]
[New Thread 0x2b1ba3851620 (LWP 7434)]
[New Thread 0x40800950 (LWP 7437)]
[New Thread 0x41001950 (LWP 7438)]
[Thread 0x41001950 (LWP 7438) exited]
[New Thread 0x41001950 (LWP 7439)]
[New Thread 0x41802950 (LWP 7440)]
[Thread 0x41802950 (LWP 7440) exited]
[Thread 0x41001950 (LWP 7439) exited]
[New Thread 0x41001950 (LWP 7441)]
[Thread 0x41001950 (LWP 7441) exited]
[New Thread 0x41001950 (LWP 7442)]
[Thread 0x41001950 (LWP 7442) exited]

(evince:7434): GLib-CRITICAL **: g_utf8_casefold: assertion `str != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b1ba3851620 (LWP 7434)]
0x00002b1b9eb20899 in *__GI_strstr (phaystack=<value optimized out>, pneedle=0xec5b00 "6") at strstr.c:60
60	strstr.c: No such file or directory.
	in strstr.c
(gdb) thread apply all bt full

Thread 1 (Thread 0x2b1ba3851620 (LWP 7434))

  • #0 *__GI_strstr
    at strstr.c line 60
  • #1 match_completion
    at /home/master/src/evince/evince-2.22.0/./shell/ev-page-action-widget.c line 192
  • #2 gtk_entry_completion_visible_func
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkentrycompletion.c line 818
  • #3 gtk_tree_model_filter_visible
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtktreemodelfilter.c line 749
  • #4 gtk_tree_model_filter_row_changed
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtktreemodelfilter.c line 1194
  • #5 gtk_tree_model_filter_refilter_helper
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtktreemodelfilter.c line 3285
  • #6 gtk_tree_model_foreach_helper
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtktreemodel.c line 1578
  • #7 IA__gtk_tree_model_foreach
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtktreemodel.c line 1624
  • #8 IA__gtk_entry_completion_complete
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkentrycompletion.c line 1182
  • #9 gtk_entry_completion_timeout
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkentry.c line 5729
  • #10 gdk_threads_dispatch
    at /build/buildd/gtk+2.0-2.12.9/gdk/gdk.c line 470
  • #11 ??
    from /usr/lib/libglib-2.0.so.0
  • #12 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #13 ??
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #15 IA__gtk_main
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c line 1163
  • #16 main
    at /home/master/src/evince/evince-2.22.0/./shell/main.c line 401

Comment 1 Sven Arvidsson 2008-04-06 15:06:17 UTC
Created attachment 108716 [details]
DjVu file mentioned in bug report
Comment 2 Carlos Garcia Campos 2008-04-08 09:51:41 UTC
Fixed in svn trunk. Thanks for reporting.