The very first time I tried to use “qcc” on QNX 6.3,
invoking it from a makefile, it hung, using 100% of the CPU.
Even wierder, it was really hard to kill. Using “slay process”
from System Information didn’t work. Even “kill -9” didn’t
work. I had to reboot the machine.
But before I did, I was able to capture a process info dump
from System Information, which appears below. Search for
“ethernet.cc” to find the compiler command line.
Further invocations of “qcc”, after reboot, worked fine.
Is this a problem with the copy protection?
John Nagle
Team Overbot
%%SINBEG%%
13
13
13 1
13 Couldn’t read stack (0).
13 procnto
13 /sbin/tinit -p
13 _=/sbin/tinit
13 PATH=/bin:/usr/bin
13 /dev/zero
13 sbin/tinit
13 ldqnx.so.2
13 slogger -s32
13 proc/boot/slogger
13 mqueue
13 _=/sbin/mqueue
13 PATH=/sbin:/usr/sbin:/bin:/usr/bin
13 sbin/mqueue
13 pci-bios
13 proc/boot/pci-bios
13 7
13 4
13 devb-eide blk auto=partition dos exe=all cam quiet
13 proc/boot/devb-eide
13 libcam.so.2
13 cam-disk.so
13 io-blk.so
13 cam-cdrom.so
13 fs-cd.so
13 fs-qnx4.so
13 devc-con -n4
13 PATH=/proc/boot
13 BOOTSRC=disk
13 ROOTDEV=/dev/hd0t79
13 proc/boot/devc-con
13 /dev/mem
13 pipe
13 _=/sbin/pipe
13 sbin/pipe
13 2
13 phfont -d /usr/photon/font_repository
13 _=/usr/photon/bin/phfont
13
PATH=/bin:/usr/bin:/usr/photon/bin:/usr/photon/appbuilder:/opt/X11R6/bin:/usr/X11R6/bin
13 PHFONT=/dev/phfont
13 HOSTNAME=coyote
13 PHTK_PATH=/usr/photon
13 PHWM=pwm
13 TERM=qansi-m
13 PHOTON_PATH=/usr/photon
13 PHOTON=/dev/photon
13 ABLPATH=/usr/photon/translations
13
LD_LIBRARY_PATH=/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib:/usr/photon/lib:/usr/photon/dll:/usr/local/lib:/opt/X11R6/lib:/usr/X11R6/lib
13 DISPLAY=127.1:0
13 USER_NAME=/dev/photon
13 PHOTON2_PATH=/usr/photon
13 FONTSLEUTH=/dev/fontsleuthctrl
13 SYSNAME=nto
13 usr/photon/bin/phfont
13 libfont.so.1
13 phfont.so
13 libfontharnessutils.so.1
13 FCcore.so
13 libblkcache.so.2
13 libFF-T2K-fm.so.1
13 libFF-T2K-cache.so.2
13 libFF-T2K.so.2
13 PHFcore.so
13 libfontutils.so.1
13 ttfFFcore.so
13 devc-ser8250 -u1 3f8,4 -u2 2f8,3
13 _=/sbin/enum-devices
13 sbin/devc-ser8250
13 devc-pty -n 32
13 _=/sbin/devc-pty
13 sbin/devc-pty
13 random -t
13 _=/usr/sbin/random
13 usr/sbin/random
13 libm.so.2
13 libz.so.2
13 dumper -d /var/dumps
13 _=/usr/sbin/dumper
13 usr/sbin/dumper
13 devc-par -p0x378
13 sbin/devc-par
13 fontsleuth -d /usr/photon/font_repository
13 _=/usr/photon/bin/fontsleuth
13 usr/photon/bin/fontsleuth
13 libph.so.3
13 5
13 20
13 25
13 B827BDD4
13 io-net -ptcpip
13 sbin/io-net
13 npm-tcpip.so
13 devn-rtl.so
13 npm-qnet.so
13 fs-nfs3 -t tux:/data/home/common /common
13 _=/usr/sbin/fs-nfs3
13 usr/sbin/fs-nfs3
13 libsocket.so.2
13 69646
13 spooler -d/dev/par1
13 usr/sbin/spooler
13 login
13 bin/login
13 /usr/sbin/spooler -d /dev/null -c /etc/printers/remoteps.cfg -n lp
13 _=/usr/sbin/spooler
13 lpd
13 _=/usr/bin/lpd
13 usr/bin/lpd
13 pterm
13 _=/usr/photon/bin/shelf
13
PATH=/bin:/usr/bin:/usr/photon/bin:/usr/photon/appbuilder:/opt/X11R6/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/usr/qnx630/host/qnx6/x86/usr/qde/eclipse/jre/bin:/usr/qnx630/host/qnx6/x86/usr/bin:/usr/qnx630/host/qnx6/x86/usr/sbin:/usr/qnx630/host/qnx6/x86/sbin:/usr/qnx630/host/qnx6/x86/bin:/usr/qnx630/host/qnx6/x86/usr/photon/appbuilder:/common/qnx/local/bin:/home/nagle/sandbox/gc/src/qnx/common/bin
13 EDITOR=ped
13 SHELL=/bin/sh
13 MAKEFLAGS=-I/usr/qnx630/target/qnx6/usr/include
13 TMPDIR=/tmp
13
QNX_HELP_HOME_PAGE=/usr/qnx630/target/qnx6/usr/help/product/momentics/bookset.html
13 PROCESSOR=x86
13 QNX_HOST=/usr/qnx630/host/qnx6/x86
13 QNX_TARGET=/usr/qnx630/target/qnx6
13 IVE_HOME=/usr/qnx630/host/qnx6/x86/usr/qde/eclipse/jre
13 QNX_HELP_PATH=/usr/qnx630/target/qnx6/usr/help/product
13 PHSTART=1
13 LOGNAME=nagle
13 QNX_CONFIGURATION=/etc/qnx
13 CVSROOT=:pserver:nagle@tux:/cvs
13
LD_LIBRARY_PATH=/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib:/usr/photon/lib:/usr/photon/dll:/usr/local/lib:/opt/X11R6/lib:/usr/X11R6/lib:/usr/qnx630/host/qnx6/x86/usr/qde/eclipse/jre/bin:/common/qnx/local/lib
13 J9PLUGIN_ARGS=-jcl:max
-Djava.home=/usr/qnx630/host/qnx6/x86/usr/qde/eclipse/jre
-jxeshare:/j9plugin.jxe -debug
13 HOME=/home/nagle
13 PHINSTANCE=3
13 ABLANG=
13 CVS_RSH=ssh
13 usr/photon/bin/pterm
13 libphexlib.so.3
13 libAp.so.3
13 /dev/con1
13 /dev/phfont
13 /dev/ptyp0
13 /dev/ttyp0
13 Photon -g -lphlogin2 “-Sphshutdown -l”
13 _=/usr/photon/bin/Photon
13 usr/photon/bin/Photon
13 126987
13 /bin/sh
13 bin/sh
13 pwm
13 _=/usr/photon/bin/pwm
13 usr/photon/bin/pwm
13 wframe_updated.so
13 274447
13 225306
13 io-graphics -dvesabios vid=0x5333 -pphoton
13 _=/usr/bin/crttrap
13 usr/photon/bin/io-graphics
13 libgri.so.2
13 libdisputil.so.2
13 devg-vesabios.so
13 libffb.so.2
13 gri-photon.so
13 libphrender.so.2
13 /usr/photon/bin/devi-hirun kbd fd -d/dev/kbd ps2 mousedev
13 _=/usr/photon/bin/inputtrap
13 usr/photon/bin/devi-hirun
13 0806CEBC
13 shelf
13 usr/photon/bin/shelf
13 launchmenu.so
13 taskbar.so
13 clock.so
13 launcher.so
13 pload.so
13 cdplayer.so
13 libmmedia.so.1
13 libaoi.so.1
13 volume.so
13 libasound.so.2
13 worldview.so
13 /usr/photon/dll/shelf/taskbar.so
13 /dev/hd0
13 bkgdmgr
13 _=/usr/photon/bin/bkgdmgr
13 usr/photon/bin/bkgdmgr
13 libphimg.so
13 pi_io_bmp.so
13 pi_io_gif.so
13 pi_io_jpeg.so
13 libjpeg.so.3
13 wmswitch
13 _=/usr/photon/bin/wmswitch
13 usr/photon/bin/wmswitch
13 /usr/photon/bin/wmswitch
13 saver
13 _=/usr/photon/bin/saver
13 usr/photon/bin/saver
13 phs-to-ps /var/spool/printers/lp.coyote/00000.phs
13 usr/bin/phs-to-ps
13 /usr/photon/savers/phmatrix
13 usr/photon/savers/phmatrix
13 /dev/ptyp1
13 /dev/ttyp1
13 make
13 _=/usr/qnx630/host/qnx6/x86/usr/bin/make
13 usr/qnx630/host/qnx6/x86/usr/bin/make
13 /dev/pipe
13 make -j 1 -Cx86 -fMakefile
13 QBUILDLIST=buildlist.mk
13 EXCLUDE_CPULIST=
13 MAKEFILE_LIST= Makefile
/usr/qnx630/target/qnx6/usr/include/recurse.mk
/usr/qnx630/target/qnx6/usr/include/buildlist.mk
/home/nagle/sandbox/gc/src/qnx/common/make/lib.mk
13 QRECURSE=recurse.mk
13 goals=all
13 SANDBOX=/home/nagle/sandbox
13 DEFCPULIST=
13 CPULIST=
13 OSLIST=nto
13 INSTALLDIR=…//home/nagle/sandbox/gc/src/qnx/common/lib
13 PUBLIC_HEADERS=serial.h serialmenu.h ethernet.h ethernetmenu.h
13 MAKEFLAGS=I /usr/qnx630/target/qnx6/usr/include
13 MFLAGS=-I /usr/qnx630/target/qnx6/usr/include
13 x_list=
13 HOST_SYSTEM=nto
13 INSTALL_ROOT_HEADERS=/home/nagle/sandbox/gc/src/qnx/common/include
13 QRDIR=
13 MAKELEVEL=1
13 make -j 1 -Ca -fMakefile
13 MAKEFILE_LIST= Makefile /usr/qnx630/target/qnx6/usr/include/recurse.mk
13 MAKEFLAGS=wI /usr/qnx630/target/qnx6/usr/include
13 MFLAGS=-wI /usr/qnx630/target/qnx6/usr/include
13 MAKELEVEL=2
13 /usr/qnx630/host/qnx6/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses -O -DNDEBUG -I.
-I/home/nagle/sandbox/gc/src/qnx/common/lib/gccomm/x86/a
-I/home/nagle/sandbox/gc/src/qnx/common/lib/gccomm/x86
-I/home/nagle/sandbox/gc/src/qnx/common/lib/gccomm
-I/home/nagle/sandbox/gc/src/qnx/common/include
-I/usr/qnx630/target/qnx6/usr/include -DVARIANT_a
/home/nagle/sandbox/gc/src/qnx/common/lib/gccomm/ethernet.cc
13 MAKEFILE_LIST= Makefile …/…/common.mk
/usr/qnx630/target/qnx6/usr/include/qconfig.mk
/usr/qnx630/target/qnx6/usr/include/mk/qtargets.mk
/usr/qnx630/target/qnx6/usr/include/mk/qrules.mk
/usr/qnx630/target/qnx6/usr/include/mk/qmacros.mk
/usr/qnx630/target/qnx6/usr/include/mk/qlevel.mk
/usr/qnx630/target/qnx6/usr/include/mk/qlevel.mk
/usr/qnx630/target/qnx6/usr/include/mk/os_nto.mk
/usr/qnx630/target/qnx6/usr/include/mk/nto_x86.mk
/home/nagle/sandbox/gc/src/qnx/common/make/depends.mk
/home/nagle/sandbox/gc/src/qnx/common/lib/gccomm/dependencies.mk
13 MAKELEVEL=3
13 usr/qnx630/host/qnx6/x86/usr/bin/qcc
13 (unavailable)
13 helpviewer
13 usr/photon/bin/helpviewer
13 libPtWeb.so.3
13 vserver.file
13 usr/photon/bin/vserver.file
13 psin
13 usr/photon/bin/psin
13 /usr/photon/bin/psin
13 coyote/proc
13 AMD 686 F6M8S1
14 243 373993472 1 1807 244
0 1 0 1245212 1 0 0 0 0 0 0 0 113377536 0 0 1 64286269188 0 0 0 0 4
6 1 2 1 0 1 61502588664 -1 0 4026601696 0 52 :0 0 4026480576 4026518600
4026518360 4026601698 4026498044 2 4026601696 29 4614 4026498044 153
6 2 5 2 255 2 1 -4194561 0 4026600950 0 52 :4026216460 4026889216
4026228540 0 4026216456 4026600950 4026228520 14 4026600950 29 4614
4026228520 153
6 3 5 2 10 2 70997419 -4194561 0 4026600950 0 52 :4026249228 4026889216
4026261308 4026518072 4026249224 4026600950 4026261288 14 4026600950 29
4614 4026261288 153
6 4 5 2 10 2 117989778 -4194561 0 4026600950 0 52 :4026232844 4026889216
4026244924 4026517808 4026232840 4026600950 4026244904 14 4026600950 29
4614 4026244904 153
6 5 1 1 10 2 722913342 -4194561 0 4026601698 0 52 :4026682132 4026211924
4026211744 4026517544 4024975424 4026601698 4026211716 2 4026601698 29
4614 4026211716 153
6 6 5 2 10 2 316964606 -4194561 0 4026600950 0 52 :4026183692 4026889216
4026195772 4026517280 4026183688 4026600950 4026195752 14 4026600950 29
4614 4026195752 153
6 7 5 2 10 2 1107837234 -4194561 0 4026600950 0 52 :4026159116
4026889216 4026171196 4026516752 4026159112 4026600950 4026171176 14
4026600950 29 4614 4026171176 153
6 8 5 2 10 2 446978155 -4194561 0 4026600950 0 52 :4024567604 4026889216
4024540988 4024556392 4024567600 4026600950 4024540968 14 4026600950 29
4614 4024540968 153
3 0 6 -1 0 0 0
3 1 6 -1 0 0 0
3 2 6 -1 0 0 0
3 3 6 -1 0 0 0
3 4 6 -1 0 0 0
3 5 6 -1 0 0 0
3 6 6 -1 0 0 0
3 7 6 -1 0 0 0
3 8 6 -1 0 0 0
3 9 6 -1 0 0 0
3 10 6 -1 0 0 0
3 11 6 -1 0 0 0
3 12 6 -1 0 0 0
[about 2000 more lines like that follow].