[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#336807: [SourceForge.net] [ xdvi-Bugs-1344956 ] segfault with hyperref



--- Begin Message ---
Bugs item #1344956, was opened at 2005-11-01 16:07
Message generated for change (Comment added) made by stefanulrich
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=377580&aid=1344956&group_id=23164

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
>Priority: 9
Submitted By: Frank Küster (kuesterei)
>Assigned to: Stefan Ulrich (stefanulrich)
Summary: segfault with hyperref

Initial Comment:
See http://bugs.debian.org/336807 and 
http://bugs.debian.org/336783:

From: Robert Hart <enxrah@nottingham.ac.uk>

Package: tetex-bin
Version: 3.0-10.1
Severity: normal

I have experience srgfaults with xdvi on a file containing
hyperrefs. The page that causes the crash contains a
(landscape)
table, which happens to contain links (but I don't
believe they are
part of the problem. The following page starts with a
hyperlink (due
to a \cite). I'm guessing that this link has been
broken across
several pages (due to the floatpage in between.

I reported this bug to xdvik-ja (as that is where I
discovered it) but
it applies to tetex-bin's version too. See bug 336783,
for debugging
info, which I hope is relevant to the tetex codebase too.



----------------------------------------------------------------------

>Comment By: Stefan Ulrich (stefanulrich)
Date: 2005-11-02 20:20

Message:
Logged In: YES 
user_id=177175

Thank you for the report and the sample file, I can
reproduce the problem by doing

latex thesis; bibtex thesis; latex thesis; latex thesis

after extracting the archive

testdoclite.tar.gz

which is attached to

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=336783

and then invoking xdvi on thesis.dvi and typing 'g' to go to
the last page. It also happens when going to any page >= 40,
also with `next page'.

The stack trace is:

#0  0xffffe410 in ?? ()
#1  0xbfffe8f0 in ?? ()
#2  0x00000006 in ?? ()
#3  0x00006f7c in ?? ()
#4  0x4046b7a1 in raise () from /lib/tls/libc.so.6
#5  0x4046cf79 in abort () from /lib/tls/libc.so.6
#6  0x0807f8df in do_abort () at util.c:442
#7  <signal handler called>
#8  0x404ab3f3 in strlen () from /lib/tls/libc.so.6
#9  0x080cee50 in xstrdup (s=0x0) at xstrdup.c:27
#10 0x0806ab4a in htex_prescan_carry_over (old_page=38,
new_page=39) at hypertex.c:442
#11 0x0805947f in prescan (fp=0x814f168) at dvi-draw.c:1809
#12 0x08064d1b in redraw_page () at events.c:5156
#13 0x080652c8 in do_pages () at events.c:5381
#14 0x080841f8 in run_dvi_file (filename=0x810b9c0
"/home/ulrich/testdoc/thesis.dvi", 
    data=0x810c9d0) at xdvi.c:3854
#15 0x08085d9d in main (argc=2, argv=0xbfffef84) at xdvi.c:4234

This looks like the bug in

http://sourceforge.net/tracker/index.php?func=detail&aid=1188866&group_id=23164&atid=377580

but is easier reproducible. I'll investigate.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=377580&aid=1344956&group_id=23164


--- End Message ---

-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer

Reply to: