Package: texmacs
Version: 1:1.0.6.11-1
Followup-For: Bug #447790

Hi,

The command is now named "pfbtopfa" instead of pfb2pfa, in the package
"ghostscript".

I tried to compile from CVS using debug info and found that the
problem is in line 395 of
Graphics/Renderer/printer.cpp:
        system ("pfb2pfa", u, v);
It seems to me that more than just renaming pfb2pfa -> pfbtopfa,
which by the way solves the problem, the function
"generate_tex_fonts()" should check if
that call to system() went fine and handle a possible error more
nicely without crashing.

I copy the full backtrace below:

#0  0x00002b5dc21e4fd5 in raise () from /lib/libc.so.6
#1  0x00002b5dc21e6a30 in abort () from /lib/libc.so.6
#2  0x00000000006bf96f in fatal_error ([EMAIL PROTECTED],
[EMAIL PROTECTED],
[EMAIL PROTECTED]) at ./Kernel/Types/string.cpp:349
#3  0x0000000000592c57 in load_string ([EMAIL PROTECTED],
[EMAIL PROTECTED], fatal=true) at
./System/Files/file.cpp:93
#4  0x000000000069384a in printer_rep::generate_tex_fonts (this=0x19b9468) at
./Graphics/Renderer/printer.cpp:397
#5  0x0000000000697ccc in ~printer_rep (this=0x19b9468) at
./Graphics/Renderer/printer.cpp:119
#6  0x0000000000505a81 in edit_main_rep::print (this=0x2086038,
[EMAIL PROTECTED], conform=false, first=1,
last=1000000) at ./Edit/Editor/edit_main.cpp:208
#7  0x0000000000504728 in edit_main_rep::print_to_file
(this=0x2086038, [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]) at ./Edit/Editor/edit_main.cpp:218
#8  0x00000000005dcc2b in tmg_print_to_file (arg1=0x2b5dc404eef0) at
Guile/Glue/glue_editor.cpp:2525
#9  0x00000000007992a1 in deval ()
#10 0x000000000079f673 in scm_dapply ()
#11 0x000000000058e94d in TeXmacs_call (args=0x7fffea3e5be0) at
./Guile/Scheme/evaluate.cpp:153
#12 0x00000000007e6047 in scm_c_with_throw_handler ()
#13 0x000000000058e87d in TeXmacs_lazy_call_scm (args=0x7fffea3e5be0)
at ./Guile/Scheme/evaluate.cpp:173
#14 0x00000000007e63d5 in scm_c_catch ()
#15 0x00000000007e64e4 in scm_internal_catch ()
#16 0x000000000058e575 in TeXmacs_call_scm (args=0x7fffea3e5be0) at
./Guile/Scheme/evaluate.cpp:180
#17 0x000000000058e7f3 in call_scheme (fun=0x2b5dc404f1d0) at
./Guile/Scheme/evaluate.cpp:186
#18 0x0000000000653802 in call ([EMAIL PROTECTED]) at
./Guile/Scheme/object.cpp:347
#19 0x0000000000655161 in exec_pending_commands () at
./Guile/Scheme/object.cpp:385
#20 0x00000000007035a8 in tm_server_rep::interpose_handler (this=0xb58718) at
./Texmacs/Server/tm_server.cpp:301
#21 0x0000000000701df5 in texmacs_interpose_handler () at
./Texmacs/Server/tm_server.cpp:47
#22 0x000000000078bcd1 in x_gui_rep::event_loop (this=0xbc1248) at
./Plugins/X11/x_loop.cpp:365
#23 0x000000000078270e in gui_start_loop () at ./Plugins/X11/x_init.cpp:821
#24 0x00000000006dde27 in TeXmacs_main (argc=1, argv=0x7fffea3e6898)
at ./Texmacs/Texmacs/texmacs.cpp:226
#25 0x000000000058e3bf in new_call_back (closure=0x0, argc=1,
argv=0x7fffea3e6898) at
./Guile/Scheme/evaluate.cpp:29
#26 0x00000000007ae99f in invoke_main_func ()
#27 0x00000000007fad7a in c_body ()
#28 0x00000000007e63d5 in scm_c_catch ()
#29 0x00000000007fb152 in scm_i_with_continuation_barrier ()
#30 0x00000000007fb1eb in scm_c_with_continuation_barrier ()
#31 0x00000000007e55d3 in scm_i_with_guile_and_parent ()
#32 0x00000000007ae963 in scm_boot_guile ()
#33 0x000000000058ec18 in start_guile (argc=1, argv=0x7fffea3e6898,
call_back=0x6dc3c8 <TeXmacs_main(int,
char**)>) at ./Guile/Scheme/evaluate.cpp:37
#34 0x00000000006dc3c1 in main (argc=1, argv=0x7fffea3e6898) at
./Texmacs/Texmacs/texmacs.cpp:290



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages texmacs depends on:
ii  ghostscript [gs-gp 8.61.dfsg.1~svn8187-2 The GPL Ghostscript PostScript/PDF
ii  groff              1.18.1.1-13           GNU troff text-formatting system
ii  gs-gpl             8.61.dfsg.1~svn8187-2 Transitional package
ii  guile-1.8-libs     1.8.2+1-2             Main Guile libraries
ii  libc6              2.7-3                 GNU C Library: Shared libraries
ii  libfreetype6       2.3.5-1+b1            FreeType 2 font engine, shared lib
ii  libgcc1            1:4.2.2-3             GCC support library
ii  libgmp3c2          2:4.2.2+dfsg-1        Multiprecision arithmetic library
ii  libltdl3           1.5.24-2              A system independent dlopen wrappe
ii  libstdc++6         4.2.2-3               The GNU Standard C++ Library v3
ii  libx11-6           2:1.0.3-7             X11 client-side library
ii  libxext6           1:1.0.3-2             X11 miscellaneous extension librar
ii  texlive-base       2007-13               TeX Live: Essential programs and f
ii  texlive-base-bin   2007-14               TeX Live: Essential binaries
ii  texlive-extra-util 2007-14               TeX Live: TeX auxiliary programs
ii  texmacs-common     1:1.0.6.11-1          WYSIWYG mathematical text editor u
ii  xbase-clients      1:7.3+3               miscellaneous X clients - metapack
ii  zlib1g             1:1.2.3.3.dfsg-7      compression library - runtime

Versions of packages texmacs recommends:
ii  imagemagick            7:6.2.4.5.dfsg1-2 Image manipulation programs
ii  ispell                 3.1.20.0-4.4      International Ispell (an interacti
ii  libjpeg-progs          6b-14             Programs for manipulating JPEG fil
ii  librsvg2-bin           2.18.2-1          command-line and graphical viewers
ii  libtiff-tools          3.8.2-7           TIFF manipulation and conversion t
ii  netpbm                 2:10.0-11         Graphics conversion tools
ii  texmacs-extra-fonts    0.2               extra fonts for the mathematical t
ii  xfig                   1:3.2.5-rel-2     Facility for Interactive Generatio

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to