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 150135 - gpdf crashes when link is email address
gpdf crashes when link is email address
Status: RESOLVED DUPLICATE of bug 150476
Product: gpdf
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Martin Kretzschmar
Martin Kretzschmar
Depends on:
Blocks:
 
 
Reported: 2004-08-14 16:28 UTC by Rob Staudinger
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Testcase source (329 bytes, text/x-tex)
2004-08-17 09:42 UTC, Rob Staudinger
Details
Testcase compiled (15.59 KB, application/pdf)
2004-08-17 09:43 UTC, Rob Staudinger
Details

Description Rob Staudinger 2004-08-14 16:28:00 UTC
(1) create document using pdflatex and hyperref package
(2) put some email address in it, as a hyperlink (using \url{} macro)
(3) open using gpdf
(4) click on email-link
(5) crash

Expected behaviour:
"New Email" dialog from say, Evolution should open to be consistent with mailto:
links in html documents.

Have to figure out how to provide bt, seems only the bonobo component is
crashing, not the whole app.
Comment 1 Martin Kretzschmar 2004-08-15 13:56:05 UTC
To get a backtrace, run /usr/lib/gpdf/gnome-pdf-viewer inside gdb (close all
instances of gpdf before doing that). When it crashes, get its bt.

What would help, is if you could attach the pdf to test it (or the TeX source)
Comment 2 Rob Staudinger 2004-08-17 09:42:41 UTC
Created attachment 30638 [details]
Testcase source
Comment 3 Rob Staudinger 2004-08-17 09:43:38 UTC
Created attachment 30639 [details]
Testcase compiled
Comment 4 Rob Staudinger 2004-08-17 09:45:14 UTC
Didn't manage to get the bt yet since /usr/local/libexec/gnome-pdf-viewer
doesn't startup but silently exits.
Hopefully the textcase helps.
Comment 5 Martin Kretzschmar 2004-08-17 10:07:27 UTC
Thanks for attaching the test files!

When gnome-pdf-viewer exits immediately, another instance of it is still
running. Close all gpdf windows (and maybe kill gnome-pdf-viewer), then you can
try in gdb again.
Comment 6 Rob Staudinger 2004-08-17 10:23:42 UTC
Dunno if it makes a difference but naive "./configure --prefix=/usr/local &&
make ..." gave me the gnome-pdf-viewer binary in /usr/local/libexec instead of
"lib" as you suggest.

In addition to that it doesn't exit immediately but after half a minute or so
after running it inside gdb.
Running /usr/local/libexec/gnome-pdf-viewer outside gdb behaves the same.
Maybe the reason is that because it's in /usr/local while all other stuff us in
/usr it's not known to bonobo-activation?
Comment 7 Martin Kretzschmar 2004-08-19 21:41:40 UTC
I said /usr/lib/gpdf/gnome-pdf-viewer because that's where debian puts it.
/usr/local/libexec is the default location.

You have to uncomment the /usr/local/lib/bonobo/servers line in
/etc/bonobo-activation/bonobo-activation-config.xml to use gnome-pdf-viewer from
/usr/local. Otherwise it autoexits IIRC.

Fortunately Dan Williams from Red Hat alread sent a patch to fix the problem
(but he didn't see this bug report)

I mark this as duplicate of the bug with the patch.
Comment 8 Martin Kretzschmar 2004-08-19 21:41:52 UTC

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