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

Re: [MiNT] GDB problem



On 09/27/11 18:57, Alan Hourihane wrote:
> On 09/27/11 18:45, Adam Kłobukowski wrote:
>> W dniu 27.09.2011 19:36, Miro Kropáček pisze:
>>>     No -O at all.
>>>
>>>     Still the same :(
>>>
>>> Specially, do what has been suggested from the beginning -- try gcc
>>> 2.95. If this doesn't work, your files are corrupted.
>> Tried that. Gcc 2.95 can't compile it at all :(
>>
>> Ok, I've put it here (sources +my binaries) here for anyone intrested
>> to try: http://dl.dropbox.com/u/174491/procps-3.2.8-adamk.tar.bz2
>>
>> You can trigger bug I'm after trying ps u.
> I'll take a look.
>

You can disable the sighandler code for now so ps doesn't catch it, and
"ps u" works, but I think there's a lot of output problems that need
fixing, and you'll probably bump into the real bug by fixing the display
output. I get output like this.....

falcon procps-3.2.8 # ./ps/ps u
Non-standard uts for running kernel:
release 1.18a=1.18.0 gives version code 70144
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1 20.9  0.0   1464     0 ?        Ds   20:59   0:07
U:/j/bin/bash
root         2  0.0  0.0     96     0 ?        S    20:59   0:00 [update]
root        13 113236  0.0 1496     0 ?        Rs   20:59 679:25 U:/bin/bash
root       260 85.8  0.0   3024     0 ?        T    20:59   0:30
U:/bin/bash /usr/lib/portage/bin/ebuild.sh
root       278  681  0.0   3024     0 ?        T    20:59   4:05
U:/bin/bash /usr/lib/portage/bin/ebuild.sh
root       431 5178  0.0   4352     0 ?        T    20:59  31:04
U:/usr/bin/gmake -j 1
root       451  0.4  0.0    696     0 ?        Rs   20:59   0:00
U:\j\root\procps-3.2.8\./ps/ps u
root       515 3255  0.0   1696     0 ?        T    20:59  19:31
U:/bin/sh ./bootstrap --prefix=/j/var/tmp/
root       577  502  0.0   2792     0 ?        T    20:59   3:00
U:/usr/lib/ccache/bin/m68k-atari-mint-g++
root       580  0.1  0.0    496     0 ?        T    20:59   0:00
U:/usr/m68k-atari-mint/gcc-bin/4.5.2/m68k-
root       581 12550  0.0 114808    0 ?        T    20:59  75:18
U:/j/usr/m68k-atari-mint/gcc-bin/4.5.2/../
root       582 37.6  0.0   3368     0 ?        T    20:59   0:13
U:/j/usr/m68k-atari-mint/gcc-bin/4.5.2/../
root       947 8450  0.0  27664     0 ?        Ts   20:59  50:42
U:/usr/bin/python2.7 /usr/bin/emerge dev-u

Note that %CPU is wrong, TTY shows ?, they're all at the same START time
too.

Alan.