Package: tetex-bin Version: 3.0-17 Severity: normal A few moments ago I found "texshow" in the help section of my window manager and wanted to try it out, which did not produce any screen output (i.e. no window appeared). Subsequent search turned out, that the menu entry calls /usr/bin/texshow
Running it from an xterm seemed to work at first. But sometimes it
crashes also:
[EMAIL PROTECTED]:~$ /usr/bin/texshow
TeXShow-XML 0.2 beta / Taco Hoekwater 2004
interface : cont-en
status : searching for setup files
status : loading setups
status : loading 'cont-cz' took 0.022478 seconds
status : loading 'cont-de' took 0.021468 seconds
status : loading 'cont-it' took 0.021893 seconds
status : loading 'cont-nl' took 0.021685 seconds
status : loading 'cont-ro' took 0.02173 seconds
status : loading 'cont-en' took 0.02171 seconds
status : initializing display
*** glibc detected *** malloc(): memory corruption: 0x0000000000f784f0 ***
/usr/bin/texshow: line 22: 25369 Abgebrochen perl "$p" ${1+"$@"}
(Abgebrochen == Aborted)
I tried to figure out a pattern when it starts and when it does not,
but failed. The point of the memory corruption varies from call to
call, btw.:
*** glibc detected *** malloc(): memory corruption: 0x0000000000f7cfa0 ***
*** glibc detected *** malloc(): memory corruption: 0x0000000000f7fb90 ***
*** glibc detected *** malloc(): memory corruption: 0x0000000000f77ba0 ***
(but not the line number, i.e. 22).
I figured out, what was actually called (I use bash as sh):
perl /usr/share/texmf-tetex/scripts/context/perl/texshow.pl
Unfortunately, now I don't get a line number:
[EMAIL PROTECTED]:~$ perl /usr/share/texmf-tetex/scripts/context/perl/texshow.pl
TeXShow-XML 0.2 beta / Taco Hoekwater 2004
interface : cont-en
status : searching for setup files
status : loading setups
status : loading 'cont-cz' took 0.022417 seconds
status : loading 'cont-de' took 0.022009 seconds
status : loading 'cont-it' took 0.022181 seconds
status : loading 'cont-nl' took 0.021942 seconds
status : loading 'cont-ro' took 0.021467 seconds
status : loading 'cont-en' took 0.021812 seconds
status : initializing display
*** glibc detected *** malloc(): memory corruption: 0x0000000000f85770 ***
Abgebrochen
It dies in
show_command ($command);
When I add the line
print "After setup $command\n";
before this line in texshow.pl it seems to work properly always.
But $command is empty, i.e. this line prints:
After setup
Please tell me what else to try to narrow this down.
Could this be related to me using grsec?
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.6-grsec-cz02
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages tetex-bin depends on:
ii debconf [debconf-2.0] 1.5.2 Debian configuration management sy
ii debianutils 2.16.2 Miscellaneous utilities specific t
ii dialog 1.0-20060221-1 Displays user-friendly dialog boxe
ii dpkg 1.13.21 package maintenance system for Deb
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libfontconfig1 2.3.2-7 generic font configuration library
ii libfreetype6 2.2.1-2 FreeType 2 font engine, shared lib
ii libgcc1 1:4.1.1-5 GCC support library
ii libice6 1:1.0.0-3 X11 Inter-Client Exchange library
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libkpathsea4 3.0-17 path search library for teTeX (run
ii libpaper1 1.1.19 Library for handling paper charact
ii libpng12-0 1.2.8rel-5.1 PNG library - runtime
ii libpoppler0c2 0.4.5-4.1 PDF rendering library
ii libsm6 1:1.0.0-4 X11 Session Management library
ii libstdc++6 4.1.1-5 The GNU Standard C++ Library v3
ii libt1-5 5.1.0-2 Type 1 font rasterizer library - r
ii libx11-6 2:1.0.0-7 X11 client-side library
ii libxaw7 1:1.0.1-5 X11 Athena Widget library
ii libxext6 1:1.0.0-4 X11 miscellaneous extension librar
ii libxmu6 1:1.0.1-3 X11 miscellaneous utility library
ii libxpm4 1:3.5.4.2-3 X11 pixmap library
ii libxt6 1:1.0.0-5 X11 toolkit intrinsics library
ii mime-support 3.36-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.8-4 Larry Wall's Practical Extraction
ii sed 4.1.5-1 The GNU sed stream editor
ii tetex-base 3.0-19 Basic library files of teTeX
ii ucf 2.0012 Update Configuration File: preserv
ii whiptail 0.52.2-4 Displays user-friendly dialog boxe
ii zlib1g 1:1.2.3-11 compression library - runtime
Versions of packages tetex-bin recommends:
ii libxml-parser-perl 2.34-4 Perl module for parsing XML files
ii perl-tk 1:804.027-5 Perl module providing the Tk graph
ii psutils 1.17-23 A collection of PostScript documen
Versions of packages tetex-base depends on:
ii tex-common 0.25 Common infrastructure for using an
ii ucf 2.0012 Update Configuration File: preserv
Versions of packages tetex-extra depends on:
ii tetex-base 3.0-19 Basic library files of teTeX
ii ucf 2.0012 Update Configuration File: preserv
-- debconf information:
tetex-base/olddat: true
tetex-base/fmtutil-failed:
tetex-bin/cnf_name:
tetex-base/oldupdm:
tetex-base/updmap-failed:
--
Dr. Helge Kreutzmann [EMAIL PROTECTED]
Dipl.-Phys. http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: Digital signature

