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

Bug#257855: advi segfaults on a particular dvi (supplied); xdvi ok



On Sun, Jul 18, 2004 at 06:03:09PM +0200, Lionel Elie Mamane wrote:
> On Tue, Jul 06, 2004 at 12:07:36PM +0100, Jon Dowland wrote:
> 
> > A particular dvi, produced using the tetex packages in debian,
> > causes advi to segfault.
> 
> It works fine for me, with both 1.0.0+cvs-2002.03.26-3 and 1.4.0-7.

I still experience this (1.4.0-7)... I have built the advi package using
`dpkg-buildpackage -rfakeroot`; checking debian/rules seems to suggest
debugging symbols are being generated[1]. Attached is a backtrace using gdb
and the coredump from the resulting binary.

I didn't change anything in the source package and yet it appears to have been
built with debugging symbols whereas the binary package wasn't..

[1] please instruct me as to the procedure to follow to enable debugging
    symbols if they aren't already... I'm not familiar with o'caml!
-- 
Jonathan Dowland
http://jon.dowland.name/
/tmp$ ~/code/advi-1.4.0/advi.opt kde-jon/cv.dvi 
Segmentation fault (core dumped)
/tmp$ gdb ~/code/advi-1.4.0/advi.opt core 
GNU gdb 6.1-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

Core was generated by `/home/jon/code/advi-1.4.0/advi.opt kde-jon/cv.dvi'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libtiff.so.3...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libungif.so.4...done.
Loaded symbols for /usr/lib/libungif.so.4
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x4108ad93 in mallopt () from /lib/libc.so.6
(gdb) bt
#0  0x4108ad93 in mallopt () from /lib/libc.so.6
#1  0x41089ed3 in malloc () from /lib/libc.so.6
#2  0x080f425a in stat_alloc ()
#3  0x080fa310 in sys_open ()
#4  0x080c938d in Pervasives__open_in_gen_237 ()
#5  0x0808a85d in Search__reload_database_124 ()
#6  0x0000000b in ?? ()
#7  0x0808aaa2 in Search__database_font_path_133 ()
#8  0x400cef04 in ?? ()
#9  0x0808aaaf in Search__database_font_path_133 ()
#10 0xbffffae4 in ?? ()
#11 0x0808aa50 in Search__database_font_path_133 ()
#12 0x400cd1b0 in ?? ()
#13 0x000004b1 in ?? ()
#14 0x000004b1 in ?? ()
#15 0x080d0d42 in Hashtbl__find_118 ()
#16 0x0808ad91 in Search__unix_font_path_151 ()
#17 0xbffffaf8 in ?? ()
#18 0x0808ad70 in Search__unix_font_path_151 ()
#19 0x400cd1b0 in ?? ()
#20 0x000004b1 in ?? ()
#21 0x0808104f in Font__fun_306 ()
#22 0xbffffb3c in ?? ()
---Type <return> to continue, or q <return> to quit---
#23 0x08080ff0 in Font__fun_306 ()
#24 0x0816bcd8 in ?? ()
#25 0xbffffb24 in ?? ()
#26 0x400cee78 in ?? ()
#27 0x400cd1b0 in ?? ()
#28 0x000004b1 in ?? ()
#29 0x0807f6da in Devfont__fun_132 ()
#30 0x0816bce4 in ?? ()
#31 0x00000c47 in ?? ()
#32 0x400cd238 in ?? ()
#33 0x400cd1b0 in ?? ()
#34 0x00908a3d in ?? ()
#35 0x400cb2cc in ?? ()
#36 0xae147ae1 in ?? ()
#37 0x41521147 in ?? ()
#38 0x0805871c in Driver__build_257 ()
#39 0xbffffb58 in ?? ()
#40 0x080586c2 in Driver__build_257 ()
#41 0x400cd1b0 in ?? ()
#42 0x0816bd08 in ?? ()
#43 0x00000000 in ?? ()
#44 0x3ff00000 in ?? ()
#45 0x08084d47 in Table__get_109 ()
---Type <return> to continue, or q <return> to quit---
#46 0xbffffb70 in ?? ()
#47 0x08084cdf in Table__get_109 ()
#48 0x400cf62c in ?? ()
#49 0x400d0a50 in ?? ()
#50 0x0000001d in ?? ()
#51 0x08065e96 in Driver__eval_dvi_command_933 ()
#52 0xbffffba4 in ?? ()
#53 0x08065e27 in Driver__eval_dvi_command_933 ()
#54 0x0816bf30 in ?? ()
#55 0x0816c008 in ?? ()
#56 0x0816c008 in ?? ()
#57 0x0816bd30 in ?? ()
#58 0x080597a7 in Driver__eval_992 ()
#59 0x0816c008 in ?? ()
#60 0x00000001 in ?? ()
#61 0x0816bf78 in ?? ()
#62 0x08067dcf in Dvi__iter_rec_463 ()
#63 0x0816bf40 in ?? ()
#64 0x08052109 in Dviview__redraw_345 ()
#65 0xbffffbac in ?? ()
#66 0x08052031 in Dviview__redraw_345 ()
#67 0xbffffbb4 in ?? ()
#68 0x08051fb8 in Dviview__redraw_345 ()
---Type <return> to continue, or q <return> to quit---
#69 0xbffffbf0 in ?? ()
#70 0x08051e39 in Dviview__redraw_345 ()
#71 0x0816bf40 in ?? ()
#72 0x00000001 in ?? ()
#73 0x0816ded8 in ?? ()
#74 0x0000001b in ?? ()
#75 0x400ce6b4 in ?? ()
#76 0x0816df8c in ?? ()
#77 0x0816dfb4 in ?? ()
#78 0x08056885 in Dviview__main_loop_687 ()
#79 0x00000001 in ?? ()
#80 0x400ce6b4 in ?? ()
#81 0x0814ec24 in ?? ()
#82 0x400ddd88 in ?? ()
#83 0x0804fe20 in Main__entry ()
#84 0xbffffc08 in ?? ()
#85 0x0804fdde in Main__entry ()
#86 0x0815424c in ?? ()
#87 0x0815426c in ?? ()
#88 0x0804db65 in startup__code_begin ()
#89 0x080fe142 in caml_start_program ()
#90 0x00000000 in ?? ()
#91 0xbffffc58 in ?? ()
---Type <return> to continue, or q <return> to quit---
#92 0xbffffcc4 in ?? ()
#93 0xbffffcc4 in ?? ()
#94 0x08149d60 in caml_termination_hook ()
#95 0x080f1ace in caml_main ()
Previous frame inner to this frame (corrupt stack?)
(gdb) 


Reply to: