Menu

#237 xdvi: File corrupted, not reloading -> segmentation fault

closed-fixed
None
5
2004-10-27
2004-06-07
No

xdvi-xaw.bin: Fatal error:
/home/scholz/Lehre/2004SS/Uebung/pk1.dvi: DVI file
corrupted.
xdvi: File corrupted (will try to reload) ...
xdvi: File corrupted, not reloading.
xdvi-xaw.bin 22.84 (Xaw toolkit): events.c:4131:
Shouldn't happen: Segmentation fault - trying to clean
up and aborting ...

(gdb) bt
#0 0x40258861 in kill () from /lib/libc.so.6
#1 0x40258665 in raise () from /lib/libc.so.6
#2 0x40259c81 in abort () from /lib/libc.so.6
#3 0x0807dc20 in expand_homedir (path=0xbfffed34
"\r\004") at util.c:444
#4 0x080655cf in handle_sigsegv (signo=11) at
events.c:4131
#5 <signal handler called>
#6 0x4029e114 in chunk_alloc () from /lib/libc.so.6
#7 0x4029df64 in malloc () from /lib/libc.so.6
#8 0x40290b01 in fopen@@GLIBC_2.1 () from /lib/libc.so.6
#9 0x080c6b79 in kpse_fopen_trace (filename=0x82f8220
"/usr/share/texmf/fonts/vf/adobe/times/ptmb7t.vf",
mode=0x80d69e0 "r") at debug.c:32
#10 0x0807da29 in try_fopen (fname=0x82f8220
"/usr/share/texmf/fonts/vf/adobe/times/ptmb7t.vf",
mode=0x80d69e0 "r") at util.c:332
#11 0x0807e457 in XFOPEN (path=0x82f8220
"/usr/share/texmf/fonts/vf/adobe/times/ptmb7t.vf",
mode=0x80d69e0 "r") at util.c:862
#12 0x080687d2 in font_open (font=0x82f88d0 "ptmb7t",
font_ret=0xbfffed2c, dpi=1036.800048828125,
dpi_ret=0xbfffed30, filename_ret=0x82f87bc,
t1id=0x82f87f0) at font-open.c:461
#13 0x080591d4 in load_font (fontp=0x82f87a8,
use_t1lib=1) at dvi-init.c:381
#14 0x08059a29 in define_font (load_font_now=1,
file=0x8141bb0, cmnd=243, vfparent=0x0,
tntable=0x8115de0, tn_table_len=30,
tn_headpp=0x80f9be4, not_found_flag=0xbfffee03 "")
at dvi-init.c:644
#15 0x0805a09a in read_postamble (fp=0x8141bb0,
errflag=0xbfffeeb4, load_fonts=1 '\001') at dvi-init.c:847
#16 0x0805b530 in internal_init_dvi
(errflag=0xbfffeeb4, load_fonts=1 '\001') at
dvi-init.c:1385
#17 0x0805bbb6 in load_dvi_file (load_fonts=1 '\001',
errflag=0xbfffeeb4) at dvi-init.c:1538
#18 0x08066e22 in do_pages () at events.c:5301
#19 0x08084469 in run_dvi_file (filename=0x8109160
"/home/scholz/Lehre/2004SS/Uebung/pk1.dvi",
data=0x810a160) at xdvi.c:3857
#20 0x08084e7d in main (argc=2, argv=0xbffff024) at
xdvi.c:4232
#21 0x402477ee in __libc_start_main () from /lib/libc.so.6
(gdb)

Discussion

  • Stefan Ulrich

    Stefan Ulrich - 2004-06-07

    Logged In: YES
    user_id=177175

    Please write a bit more of what you did: was `watchfile'
    active, or did you click on the window, or didn't you do
    anything after the `xdvi: File corrupted, not reloading.'
    message?

     
  • Stefan Ulrich

    Stefan Ulrich - 2004-06-07
    • assigned_to: nobody --> stefanulrich
     
  • Anonymous

    Anonymous - 2004-06-07

    Logged In: YES
    user_id=810188

    Sorry. I often work so fast that it's hard to remember what
    exactly I did.

    I have watchfile active. I guess, I corrected the tex file,
    restarted latex and clicked xdvi to bring it on top.

    Uli

     
  • Stefan Ulrich

    Stefan Ulrich - 2004-07-17

    Logged In: YES
    user_id=177175

    Let's see if it still happens with 22.84.4-CVS1? (I closed
    #873746 and #876753 since i think they have been fixed by
    the change, maybe this one is related too).

     
  • Stefan Ulrich

    Stefan Ulrich - 2004-10-09
    • status: open --> closed-out-of-date
     
  • Stefan Ulrich

    Stefan Ulrich - 2004-10-27
    • status: closed-out-of-date --> closed-fixed
     
  • Stefan Ulrich

    Stefan Ulrich - 2004-10-27

    Logged In: YES
    user_id=177175

    Actually, this was a different bug, which should be fixed
    now in 22.84.5-CVS4.

    The reason was a read_events() call in load_font() which was
    supposed to update the `creating fonts ...' popup, but which
    caused a recursive call to the file loading code when user
    clicked on window, thus messing up the m_dvi_fp (bloody
    static variables!).

     

Log in to post a comment.

Auth0 Logo