photon file manager

Hi,
There is a problem with pfm in QNX RTP 6.1A. If photon is launched by ph script and when current
working directory (PWD var on the moment of photon start) is removed in Photon later, pfm crashes.
I inspected my files under /usr/share/locale/ru in text console. Then I launched photon and removed
Midnight Commander by pkg-installer. Then I launch pfm and get the message box Error: Directory ‘’,
not found [continue]. But pfm fails on any next action. Is this knowen issue? BTW, pterm prints
“/bin/sh: Cannot determine current working directory” and continue to work. To reproduce situation:

  1. login in text console
  2. mkdir /tmp/dddd
  3. cd /tmp/dddd
  4. ph
  5. Launch “File Manager” and delete ‘dddd’ directory, exit pfm
  6. Launch “File Manager” second time, done.
    Here is result for ‘coreinfo pfm.core’
    ==================
    pfm.core:
    processor=X86 num_cpus=1
    cpu 1 cpu=586 name=Pentium/MMX Stepping 3 speed=167
    flags=0xc00000bf FPU MMU CPUID RDTSC INVLPG WP BSWAP MMX PSE
    cyc/sec=167104300 tod_adj=1004887306237952892 nsec=8770547900830 inc=999847
    boot=1004894506 epoch=1970 intr=0
    rate=838095345 scale=-15 load=1193
    MACHINE=“x86pc” HOSTNAME=“localhost”
    hwflags=0x000540
    valid=512 heads=255 cyls=524 sectors=63 nblocks=4129408 spare=0
    valid=512 heads=64 cyls=1023 sectors=63 nblocks=4129409 spare=0
    pid=2592805 parent=2482208 child=0 pgrp=2592805 sid=159761
    flags=0x002210 umask=02 base_addr=0x8048000 init_stack=0x8047c7c
    ruid=0 euid=0 suid=0 rgid=0 egid=0 sgid=0
    ign=0000000000020000 queue=ff00000000000000 pending=0000000000000000
    fds=8 threads=1 timers=0 chans=1
    thread 1 SIGNALLED-SIGSEGV code=1 MAPERR refaddr=0 fltno=11
    ip=0xb033a4ce sp=0x8046cd0 stkbase=0x7fc7000 stksize=528384
    state=STOPPED flags=0 last_cpu=1 timeout=00000000
    pri=10 realpri=10 policy=OTHER
    ==================

Best regards,
Eduard.

Hello Eduard

I have submitted a bug against both pfm and shell. Thanks for the report

Rodney

ed1k <ed1k@yahoo.com> wrote:

Hi,
There is a problem with pfm in QNX RTP 6.1A. If photon is launched by ph script and when current
working directory (PWD var on the moment of photon start) is removed in Photon later, pfm crashes.
I inspected my files under /usr/share/locale/ru in text console. Then I launched photon and removed
Midnight Commander by pkg-installer. Then I launch pfm and get the message box Error: Directory ‘’,
not found [continue]. But pfm fails on any next action. Is this knowen issue? BTW, pterm prints
“/bin/sh: Cannot determine current working directory” and continue to work. To reproduce situation:

  1. login in text console
  2. mkdir /tmp/dddd
  3. cd /tmp/dddd
  4. ph
  5. Launch “File Manager” and delete ‘dddd’ directory, exit pfm
  6. Launch “File Manager” second time, done.
    Here is result for ‘coreinfo pfm.core’
    ==================
    pfm.core:
    processor=X86 num_cpus=1
    cpu 1 cpu=586 name=Pentium/MMX Stepping 3 speed=167
    flags=0xc00000bf FPU MMU CPUID RDTSC INVLPG WP BSWAP MMX PSE
    cyc/sec=167104300 tod_adj=1004887306237952892 nsec=8770547900830 inc=999847
    boot=1004894506 epoch=1970 intr=0
    rate=838095345 scale=-15 load=1193
    MACHINE=“x86pc” HOSTNAME=“localhost”
    hwflags=0x000540
    valid=512 heads=255 cyls=524 sectors=63 nblocks=4129408 spare=0
    valid=512 heads=64 cyls=1023 sectors=63 nblocks=4129409 spare=0
    pid=2592805 parent=2482208 child=0 pgrp=2592805 sid=159761
    flags=0x002210 umask=02 base_addr=0x8048000 init_stack=0x8047c7c
    ruid=0 euid=0 suid=0 rgid=0 egid=0 sgid=0
    ign=0000000000020000 queue=ff00000000000000 pending=0000000000000000
    fds=8 threads=1 timers=0 chans=1
    thread 1 SIGNALLED-SIGSEGV code=1 MAPERR refaddr=0 fltno=11
    ip=0xb033a4ce sp=0x8046cd0 stkbase=0x7fc7000 stksize=528384
    state=STOPPED flags=0 last_cpu=1 timeout=00000000
    pri=10 realpri=10 policy=OTHER
    ==================

Best regards,
Eduard.