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

Bug#378753: tetex-bin: texshow sometimes segfaults



Hello Frank,
scratch my last e-mail, it was premature. I found out, that errors
from programms started via menus are printend on stdout/stderr (which
I did not see previously, as X has become very chatty since X.org 7).

So my results are (2.6.10 without, 2.6.14 with grsec):

Kernel    Invocation    Observation
2.6.10    in xterm      does not seem to crash
2.6.10    from menu     Always crashes, always same glibc-address
                        (even after X shutdown and new start)
			0x0000000000ef39a0
2.6.14    in xterm      Crashes roughly 50% of the time, always
                        different address, crash less likly if started
			succesfully already (i.e. in a row, once an
			instance actually started)
2.6.14     from menu    Except one attempt always crashes but
                        different glibc-adress each time:
			0x0000000000eff0d0
			0x0000000000ef7bf0
			0x0000000000ef6bf0
			0x0000000000efdf40
			0x0000000000efe6e0
			0x0000000000efcad0
			0x0000000000efc2a0
			0x0000000000efa5f0

Of course, I did not run any statistics, so the numbers are not
accurate, i.e. the succesfull launch from the menu just happend during
the last test (I tried this yesterday quite a few times already,
always without success).

The reason the addresses are different in 2.6.14 probably *is* grsec
specific (due to memory randomization). So looking at the above data
from 2.6.10, there is a bug in texshow, just that grsec sometimes
(seldom) hides it, approx. 50% of the time hits it (where command line
execution is involved). 

Can you launch texshow reliably from the menu entry? (If you are not
on an 64bit machine, or more precisely a amd64, maybe we can ask on
the amd64 list for other oppinions).

If you think 2.6.14 could be an additional cause, I could run a few
tests with 2.6.11 (also with grsec). 

No, I cannot test a stock Debian kernel, because it depends on udev
which I do not want at this time (due to the strong interlink with the
kernel version).

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: