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

Bug#378753: tetex-bin: texshow sometimes segfaults



Hello Frank,
On Wed, Jul 19, 2006 at 09:14:14AM +0200, Frank Küster wrote:
> Helge Kreutzmann <debian@helgefjell.de> wrote:
> 
> > Hello Frank,
> > I now booted into 2.6.10 (without grsec) and was unable to crash
> > texshow. But I was also unable to launch texshow via the menu option
> > (Help->TexShow), both in fvwm2 and windowmaker (my default here). Do
> > you know if / where errors with programm invocation from X menues are 
> > logged?
> 
> I think it is ~/.xsession-errors.  If I'm wrong, there's an other option
> to get debugging info:

Nope, as in my second email this morning to the bug, it goes to
standard out (and initially got lost in the chatty messages from
Xorg.7).

> Create a file /etc/menu/texshow-debug with the content:

I can still do this, but did you get my second email from this
morning, where I detailed my results after having found the output
channel for menu files?

> FYI, there was once an other Perl-TK segfault in tetex-bin,
> http://bugs.debian.org/348513 

I've read this now. So I'll provide the info from there, in case it is
useful:
ii  perl           5.8.8-4        Larry Wall's Practical Extraction and Report
ii  perl-tk        804.027-5      Perl module providing the Tk graphics librar
ii  xbase-clients  7.1.ds-2       miscellaneous X clients

The minimal test case in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=348513;msg=149
still segfaults here, although I have the version where this bug is
allegedly closed. Do you experience this bug still as well?
Should I report this against perl-tk?

> > Does invocation from the Help->Texshow entry work for you? If yes,
> > I'll have to find out how to debug this, I guess (since this might be
> > a second issue).
> 
> Yes, it works for me, no problems at all.  Err, no.  
> 
> It works on sarge with XOrg and backported tetex-bin package.  But I can
> reproduce the error on sid with texlive-context; even without using the
> menu:
> 
> frank@sid:~$ 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.059133 seconds
>                 status : loading 'cont-de' took 0.058673 seconds
>                 status : loading 'cont-it' took 0.057886 seconds
>                 status : loading 'cont-nl' took 0.057762 seconds
>                 status : loading 'cont-ro' took 0.05785 seconds
>                 status : loading 'cont-en' took 0.057636 seconds
>                 status : initializing display
> *** glibc detected *** malloc(): memory corruption: 0x087e19d4 ***
> /usr/bin/texshow: line 24:  8172 Aborted                 perl "$p" ${1+"$@"}
> frank@sid:~$ 
> 
> The line number is different, although the scripts are identical up to
> line 28 (where tetex-bin has a short patch added).

Here I have no idea how this comes about.

> So I guess we need to switch on the debugging machinery used in #348513.

If you need further input from me for this, please tell me.

Greetings

          Helge

-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature


Reply to: