[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rc4 make check hang
On Jan 29, 2007, at 4:01 AM, Love Hörnquist Åstrand wrote:
>>> ==================
>>> All 1 tests passed
>>> ==================
>>> Making check in ftpd
>>> make check-local
>>
>> <<hang>>
>
> This is strange since check-local only checks that the command
> supports --version. Are you sure that the right process
> that is hanging ?
>
> Love
Don't know how careful I was the last time. I can say that "make
check-local" is in the ps list. Also in ps is:
> USER PID %CPU %MEM VSZ RSS TT STAT STARTED
> TIME COMMAND
> root 19491 89.9 0.1 41940 1144 p1 R 10:33AM
> 0:18.17 /usr/local/dist/kth/heimdal-0.8-rc4/appl/ftp/ftpd/.libs/
> ftpd --version
From top:
> Processes: 103 total, 3 running, 1 stuck, 99 sleeping... 305
> threads 10:39:21
> Load Avg: 1.12, 0.95, 0.59 CPU usage: 9.9% user, 90.1% sys,
> 0.0% idle
> SharedLibs: num = 205, resident = 48.8M code, 4.92M data, 7.70M
> LinkEdit
> MemRegions: num = 14805, resident = 572M + 17.6M private, 164M
> shared
> PhysMem: 149M wired, 454M active, 514M inactive, 1.09G used,
> 417M free
> VM: 8.34G + 122M 89707(0) pageins, 2331(0) pageouts
>
> PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD
> RSIZE VSIZE
> 19491 ftpd 82.4% 5:06.40 1 13 50 264K 2.98M
> 1.11M 41.0M
> 20605 top 11.6% 0:04.50 1 18 22 548K 448K
> 992K 26.9M
> 68 WindowServ 3.0% 53:05.83 2 444 1042 19.0M+ 50.7M
> 59.7M+ 259M+
> 343 Safari 2.0% 1:45:38 35 >>> 2988 373M 82.7M
> 411M 1.09G
> 610 Terminal 0.9% 5:36.01 11 176 220 5.76M 17.0M
> 15.6M 175M
I may have looked at the wrong process before, but here's a check of
ftpd.
> [laphotz:ftp/ftpd/.libs] hotz% pwd
> /usr/local/dist/kth/heimdal-0.8-rc4/appl/ftp/ftpd/.libs
> [laphotz:ftp/ftpd/.libs] hotz% sudo gdb ./ftpd 19491
> Password:
> GNU gdb 6.3.50-20050815 (Apple version gdb-563) (Wed Jul 19
> 05:17:43 GMT 2006)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License,
> and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "powerpc-apple-darwin"...Reading symbols
> for shared libraries ............. done
>
> /usr/local/dist/kth/heimdal-0.8-rc4/appl/ftp/ftpd/.libs/19491: No
> such file or directory.
> Attaching to program: `/usr/local/dist/kth/heimdal-0.8-rc4/appl/ftp/
> ftpd/.libs/ftpd', process 19491.
> Reading symbols for shared libraries ..+......... done
> 0x90001b04 in ioctl ()
> (gdb) bt
> #0 0x90001b04 in ioctl ()
> #1 0x00072e90 in do_ioctl (data=0xbffff238) at afssys.c:218
> #2 0x000731d0 in k_setpag () at afssys.c:321
> #3 0x00006330 in main (argc=2, argv=0xbffff4dc) at ftpd.c:285
> (gdb) quit
> The program is running. Quit anyway (and detach it)? (y or n) y
> Detaching from program: `/usr/local/dist/kth/heimdal-0.8-rc4/appl/
> ftp/ftpd/.libs/ftpd', process 19491 thread 0x113.
> [laphotz:ftp/ftpd/.libs] hotz% cd ..
> [laphotz:appl/ftp/ftpd] hotz% sudo gdb ./ftpd 19491
> GNU gdb 6.3.50-20050815 (Apple version gdb-563) (Wed Jul 19
> 05:17:43 GMT 2006)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License,
> and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "powerpc-apple-darwin"..."/usr/local/
> dist/kth/heimdal-0.8-rc4/appl/ftp/ftpd/ftpd": not in executable
> format: File format not recognized
>
> /usr/local/dist/kth/heimdal-0.8-rc4/appl/ftp/ftpd/19491: No such
> file or directory.
> Attaching to process 19491.
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries ............... done
> 0x90001b04 in ioctl ()
> (gdb) bt
> #0 0x90001b04 in ioctl ()
> #1 0x00072e90 in do_ioctl (data=0xbffff238) at afssys.c:218
> #2 0x000731d0 in k_setpag () at afssys.c:321
> \#3 0x00006330 in main (argc=2, argv=0xbffff4dc) at ftpd.c:285
> (gdb) q
> The program is running. Quit anyway (and detach it)? (y or n) y
> Detaching from process 19491 thread 0x113.
Also significant is the fan behavior of my laptop. ;-)
After I "sudo kill 19491"ed, the check script picked right up and ran
to completion with no other failures.
Did the same "make check" on an Intel Mac and got no hang.
------------------------------------------------------------------------
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu