Package: advi Version: 1.4.0-7 Severity: normal advi segfaults when trying to view a dvi file whose name is 22 characters long (including an eventual .dvi suffix).
21 or 23 characters long is fine, as well as some other lengths I have tried. I recompiled my own advi, and it turns out that the native code version segfaults, but the bytecode version works fine. I couldn't get gdb to give a sensible backtrace (setting CFLAGS to '-O0 -ggdb' didn't really help). Here's what I got: #0 _int_malloc (av=0x4016dd00, bytes=135766760) at malloc.c:3924 #1 0x400aed33 in __libc_malloc (bytes=22) at malloc.c:3293 #2 0x080f565a in stat_alloc () #3 0x080fb70c in sys_open () #4 0x080c91ad in Pervasives__open_in_gen_237 () #5 0x0808a7cd in Search__reload_database_124 () #6 0x0000000b in ?? () #7 0x0808aa12 in Search__database_font_path_133 () #8 0x40198b08 in ?? () #9 0x0808aa1f in Search__database_font_path_133 () #10 0xbffff434 in ?? () #11 0x0808a9c0 in Search__database_font_path_133 () #12 0x40196d5c in ?? () #13 0x000004b1 in ?? () #14 0x000004b1 in ?? () #15 0x080d0b62 in Hashtbl__find_118 () #16 0x0808ad01 in Search__unix_font_path_151 () #17 0xbffff448 in ?? () #18 0x0808ace0 in Search__unix_font_path_151 () #19 0x40196d5c in ?? () #20 0x000004b1 in ?? () #21 0x0808100f in Font__fun_306 () #22 0xbffff48c in ?? () #23 0x08080fb0 in Font__fun_306 () #24 0x0816ce0c in ?? () #25 0xbffff474 in ?? () #26 0x40198a7c in ?? () #27 0x40196d5c in ?? () #28 0x000004b1 in ?? () #29 0x0807f69a in Devfont__fun_132 () #30 0x0816ce18 in ?? () #31 0x00000b4b in ?? () #32 0x40196de4 in ?? () #33 0x40196d5c in ?? () #34 0x00ad7b45 in ?? () #35 0x40195078 in ?? () #36 0x955e1d22 in ?? () #37 0x4155af68 in ?? () #38 0x080586dc in Driver__build_257 () #39 0xbffff4a8 in ?? () #40 0x08058682 in Driver__build_257 () #41 0x40196d5c in ?? () #42 0x0816ce3c in ?? () #43 0x59215cdb in ?? () #44 0x3ff33426 in ?? () #45 0x08084d07 in Table__get_109 () #46 0xbffff4c0 in ?? () #47 0x08084c9f in Table__get_109 () #48 0x40199260 in ?? () #49 0x4019a684 in ?? () #50 0x0000001f in ?? () #51 0x08065e56 in Driver__eval_dvi_command_933 () #52 0xbffff4f4 in ?? () #53 0x08065de7 in Driver__eval_dvi_command_933 () #54 0x0816d064 in ?? () #55 0x0816d13c in ?? () #56 0x0816d13c in ?? () #57 0x0816ce64 in ?? () #58 0x08059767 in Driver__eval_992 () #59 0x0816d13c in ?? () #60 0x00000001 in ?? () #61 0x0816d0ac in ?? () #62 0x08067d8f in Dvi__iter_rec_463 () #63 0x0816d074 in ?? () #64 0x08052109 in Dviview__redraw_345 () #65 0xbffff4fc in ?? () #66 0x08052031 in Dviview__redraw_345 () #67 0xbffff504 in ?? () #68 0x08051fb8 in Dviview__redraw_345 () #69 0xbffff540 in ?? () #70 0x08051e39 in Dviview__redraw_345 () #71 0x0816d074 in ?? () #72 0x00000001 in ?? () #73 0x0814ec10 in ?? () #74 0x00000043 in ?? () #75 0x40198254 in ?? () #76 0x0814ecc4 in ?? () #77 0x0814ecec in ?? () #78 0x08056885 in Dviview__main_loop_687 () #79 0x00000001 in ?? () #80 0x40198254 in ?? () #81 0x0814f708 in ?? () #82 0x401a6d78 in ?? () #83 0x0804fe20 in Main__entry () #84 0xbffff558 in ?? () #85 0x0804fdde in Main__entry () #86 0x08154e30 in ?? () #87 0x08154e50 in ?? () #88 0x0804db59 in startup__code_begin () #89 0x080ff53e in caml_start_program () -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux linzen 2.4.22 #6 ven déc 5 18:57:31 CET 2003 i686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] Versions of packages advi depends on: ii gs 7.07-1 The Ghostscript Postscript interpr ii gs-esp [gs] 7.07.1-1 The Ghostscript Postscript interpr ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an ii libfreetype6 2.1.7-1.1 FreeType 2 font engine, shared lib ii libjpeg62 6b-9 The Independent JPEG Group's JPEG ii libpng12-0 1.2.5.0-4 PNG library - runtime ii libtiff3g 3.5.7-2 Tag Image File Format library ii libungif4g 4.1.0b1-6 shared library for GIF images (run ii tetex-bin 2.0.2-6 The teTeX binary files ii xlibs 4.2.1-15 X Window System client libraries ii zlib1g 1:1.2.1-3 compression library - runtime -- no debconf information

