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 140084 - crash attempting to open a PDF.
crash attempting to open a PDF.
Status: RESOLVED DUPLICATE of bug 138577
Product: gpdf
Classification: Deprecated
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Martin Kretzschmar
Martin Kretzschmar
Depends on:
Blocks:
 
 
Reported: 2004-04-14 19:54 UTC by Jing Su
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
copy of the PDF that causes the crash (814.81 KB, application/octet-stream)
2004-04-18 19:33 UTC, Jing Su
Details

Description Jing Su 2004-04-14 19:54:46 UTC
Distribution: Red Hat Linux release 9 (Shrike)
Package: gpdf
Severity: normal
Version: GNOME2.6. unspecified
Gnome-Distributor: GNOME.Org
Synopsis: crash attempting to open a PDF.
Bugzilla-Product: gpdf
Bugzilla-Component: general
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.6.0)
Description:
Description of the crash:
Attempting to open a PDF from ACM digital library.  Causes crash at
startup.

Steps to reproduce the crash:
1. http://doi.acm.org/10.1145/860176.860182
2. try to open the PDF (need to have access to the ACM digital library)
3. the PDF kills gpdf.
4. After the crash (and subsequently closing the bug reporter), I get
the error message:
(gpdf:25916): Bonobo-CRITICAL **: file bonobo-control-frame.c: line 539
(bonobo_control_frame_control_deactivate): assertion
`frame->priv->control != CORBA_OBJECT_NIL' failed

Expected Results:


How often does this happen?
reproducable every time with this PDF.

Additional Information:
I built Gnome2.6 from source, on a RedHat9 system.
I've built from source many times before, and I have made sure that
there are no conflicts with existing RPM packages.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-04-14 15:54 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gpdf".
   Setting to default milestone for this product, '---'
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was jingsu@cs.toronto.edu.
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Martin Kretzschmar 2004-04-18 18:54:00 UTC
If you can't attach (or privately mail me) the file for licensing reasons,
please attach the output of pdfinfo and pdffonts (from xpdf).

A backtrace of gnome-pdf-viewer would be nice, too (start
/usr/local/libexec/gnome-pdf-viewer under gdb before running gpdf)
Comment 2 Jing Su 2004-04-18 19:33:58 UTC
Created attachment 26788 [details]
copy of the PDF that causes the crash
Comment 3 Jing Su 2004-04-18 19:35:36 UTC
===============================
pdfinfo produces:

Producer:     Acrobat Distiller 3.0 for Power Macintosh
CreationDate: Thu Jul  3 18:45:43 2003
ModDate:      Thu Jul  3 19:04:11 2003
Tagged:       no
Pages:        20
Encrypted:    no
Page size:    612 x 792 pts (letter)
File size:    834367 bytes
Optimized:    no
PDF version:  1.2


===================================
pdffonts produces:

name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
GCKPNA+MTSY                          Type 1C      yes yes no       4  0
Helvetica                            Type 1       no  no  no       5  0
GCKPHN+NewCenturySchlbk-Roman        Type 1C      yes yes no       6  0
GCKPIN+NewCenturySchlbk-Bold         Type 1C      yes yes no       7  0
GCKPJO+NewCenturySchlbk-Italic       Type 1C      yes yes no       8  0
GCNPEG+RMTMI                         Type 1C      yes yes no      46  0

============================
Running the GDB/gpdf combination as you suggested:

The xterm running gpdf produces:
[jingsu@washington papers]$ gpdf p373-s_unsal.pdf 

(gpdf:24852): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 761 (gdk_pixbuf_
new_from_file): assertion `filename != NULL' failed

(gpdf:24852): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 761 (gdk_pixbuf_
new_from_file): assertion `filename != NULL' failed

(gpdf:24852): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 761 (gdk_pixbuf_
new_from_file): assertion `filename != NULL' failed

(gpdf:24852): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 761 (gdk_pixbuf_
new_from_file): assertion `filename != NULL' failed
Xlib:  extension "RENDER" missing on display ":1.0".

(gpdf:24852): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 761 (gdk_pixbuf_
new_from_file): assertion `filename != NULL' failed

(gpdf:24852): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 761 (gdk_pixbuf_
new_from_file): assertion `filename != NULL' failed

(gpdf:24852): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 761 (gdk_pixbuf_
new_from_file): assertion `filename != NULL' failed

(gpdf:24852): GdkPixbuf-CRITICAL **: file gdk-pixbuf-io.c: line 761 (gdk_pixbuf_
new_from_file): assertion `filename != NULL' failed


The xterm running the GDB produces:

(gdb) file /usr/local/libexec/gnome-pdf-viewer 
Reading symbols from /usr/local/libexec/gnome-pdf-viewer...done.
(gdb) run
Starting program: /usr/local/libexec/gnome-pdf-viewer 
[New Thread 16384 (LWP 24851)]

** (gnome-pdf-viewer:24851): WARNING **: Could not find base font Dingbats Regul
ar
Xlib:  extension "RENDER" missing on display ":1.0".

(gnome-pdf-viewer:24851): GnomePrint-WARNING **: PS name is NULL, for "/tmp/gnom
e-print-BtDvik" using fallback

(gnome-pdf-viewer:24851): GnomePrint-WARNING **: PS name is NULL, for "/tmp/gnom
e-print-pPBLU7" using fallback

(gnome-pdf-viewer:24851): GnomePrint-WARNING **: PS name is NULL, for "/tmp/gnom
e-print-V5TgEV" using fallback

(gnome-pdf-viewer:24851): GnomePrint-WARNING **: PS name is NULL, for "/tmp/gnom
e-print-jeQ9KM" using fallback

Program received signal SIGSEGV, Segmentation fault.

Thread 16384 (LWP 24851)

  • #0 ThumbColorMap::getRGB(unsigned char*, GfxRGB*)
    at Thumb.cc line 182
  • #1 Thumb::getPixbufData()
    at Thumb.cc line 322
  • #2 gpdf_thumbnails_view_render_thumbnail_image
    at gpdf-thumbnails-view.cc line 1166
  • #3 gpdf_thumbnails_view_populate_idle
    at Thumb.h line 88
  • #4 g_child_watch_add
    from /usr/local/lib/libglib-2.0.so.0
  • #5 g_main_depth
    from /usr/local/lib/libglib-2.0.so.0
  • #6 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #7 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #8 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.0
  • #9 bonobo_main
    from /usr/local/lib/libbonobo-2.so.0
  • #10 bonobo_generic_factory_main_timeout
    from /usr/local/lib/libbonobo-2.so.0
  • #11 bonobo_generic_factory_main
    from /usr/local/lib/libbonobo-2.so.0
  • #12 main
    at bonobo-application-x-pdf.cc line 102
  • #13 __libc_start_main
    from /lib/libc.so.6

Comment 4 Martin Kretzschmar 2004-04-18 21:03:29 UTC
Thanks.

Out of curiosity: did you run make install? The gdk-pixbuf warning look like
gpdf can't find some pngs. Anyway, that's not the reason for the crash.

The backtrace helps because someone else has attached a pdf where I can get the
same trace.
Comment 5 Martin Kretzschmar 2004-04-18 21:04:21 UTC

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