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 358142 - crash in Document Viewer: Starting instances of ev...
crash in Document Viewer: Starting instances of ev...
Status: RESOLVED DUPLICATE of bug 374277
Product: evince
Classification: Core
Component: general
0.6.x
Other All
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-09-28 15:22 UTC by bugbuddy
Modified: 2006-11-26 17:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Bane of evince (1.66 KB, application/octet-stream)
2006-10-01 22:48 UTC, Stefan van der Walt
Details

Description bugbuddy 2006-09-28 15:22:07 UTC
Version: 0.6.0

What were you doing when the application crashed?
Starting instances of evince to preview documents from within LyX.

I also see:

** (evince:20672): WARNING **: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
*** glibc detected *** evince: double free or corruption (out): 0xb392ca28 ***



Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.0 2006-09-04 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 79134720 vsize: 0 resident: 79134720 share: 0 rss: 19685376 rss_rlim: 0
CPU usage: start_time: 1159456729 rtime: 0 utime: 86 stime: 0 cutime:79 cstime: 0 timeout: 7 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/evince'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1229220176 (LWP 20637)]
[New Thread -1230443616 (LWP 20658)]
0xffffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1230443616 (LWP 20658))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 font_find_mapped
  • #5 font_find_mapped
  • #6 font_find_mapped
  • #7 djvu_document_get_n_pages
  • #8 djvu_document_get_n_pages
  • #9 _egg_marshal_VOID__INT_INT
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 pthread_mutex_destroy
    from /lib/tls/i686/cmov/libpthread.so.0
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 __lll_mutex_unlock_wake
    from /lib/tls/i686/cmov/libpthread.so.0
  • #18 _L_mutex_unlock_269
    from /lib/tls/i686/cmov/libpthread.so.0
  • #19 ??
  • #20 ??
  • #21 __pthread_mutex_unlock_usercnt
    from /lib/tls/i686/cmov/libpthread.so.0
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 pthread_mutex_unlock
    from /lib/tls/i686/cmov/libpthread.so.0
  • #26 g_thread_create_full
    from /usr/lib/libglib-2.0.so.0
  • #27 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #28 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 1 Nickolay V. Shmyrev 2006-10-01 09:22:37 UTC
Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
Comment 2 Stefan van der Walt 2006-10-01 21:46:07 UTC
You are kind to thank me for such a lousy bug report.  I must admit, I wouldn't have filed it without looking into the problem further, but then bugbuddy popped up, and I chose the easy way out.. :^)

I'd be glad if I could get a developer to reproduce the bug reliably.  Unfortunately, that might not be so easy -- I'm not exactly sure how to do it myself.  The best way thus far seem to be:

1. Load a certain DVI file generated by LyX (it doesn't break on all).
2. Type "Ctrl-R" to refresh and wait while evince breaks.

I'm afraid that, in order to give you a better traceback, I'll have to recompile evince with debugging options.  I gather this (maybe incorrectly) from looking at the valgrind output:

==3051== Invalid read of size 4
==3051==    at 0x809FAA1: (within /usr/bin/evince)
==3051==    by 0x809E21F: (within /usr/bin/evince)
==3051==    by 0x809E602: (within /usr/bin/evince)
==3051==    by 0x809DC50: (within /usr/bin/evince)
==3051==    by 0x809AE9C: (within /usr/bin/evince)
==3051==    by 0x809A6B1: (within /usr/bin/evince)
==3051==    by 0x808B36F: (within /usr/bin/evince)
==3051==    by 0x805E90B: (within /usr/bin/evince)
==3051==    by 0x805D468: (within /usr/bin/evince)
==3051==    by 0x805D9DB: (within /usr/bin/evince)
==3051==    by 0x4B0B41E: g_thread_create_proxy (gthread.c:553)
==3051==    by 0x4D97503: start_thread (in /lib/tls/i686/cmov/libpthread-2.4.so)
==3051==  Address 0x7957820 is 7,000 bytes inside a block of size 21,420 free'd
==3051==    at 0x4020EF1: free (vg_replace_malloc.c:233)
==3051==    by 0x80A64B5: (within /usr/bin/evince)
==3051==    by 0x809F29A: (within /usr/bin/evince)
==3051==    by 0x809CA2A: (within /usr/bin/evince)
==3051==    by 0x809AC4E: (within /usr/bin/evince)
==3051==    by 0x4A33B8B: g_object_unref (gobject.c:1785)
==3051==    by 0x806A6D2: (within /usr/bin/evince)
==3051==    by 0x8072A83: (within /usr/bin/evince)
==3051==    by 0x4A3EBD8: g_cclosure_marshal_VOID__VOID (gmarshal.c:77)
==3051==    by 0x4A3183A: g_closure_invoke (gclosure.c:490)
==3051==    by 0x4A41C42: signal_emit_unlocked_R (gsignal.c:2438)
==3051==    by 0x4A43166: g_signal_emit_valist (gsignal.c:2197)

Comment 3 Nickolay V. Shmyrev 2006-10-01 21:53:00 UTC
Oh, great backtrace, thanks. Btw, Stefan, can you attach that dvi document?
Comment 4 Stefan van der Walt 2006-10-01 22:48:09 UTC
Created attachment 73795 [details]
Bane of evince
Comment 5 Nickolay V. Shmyrev 2006-11-26 17:48:37 UTC
Should be fixed in recent HEAD.

*** This bug has been marked as a duplicate of 374277 ***