Well, it segfaults if I run it from a utelnetd session or from poterm.app itself. Then I can see what gets printed out. I don't actually know that it crashes in the same place when run from the Application tab. Anyway, here's what I can see when it runs in either of the command-lines above:
bash-4.1$ ./pbterm.app
Atached mp shm: id 0 addr 404ed000 size 17260
Atached mqueue: id 8001
attach_shm: mtfb key=251331154 size=1028432
Atached mtfb shm: id 58006 addr 404f6000 size 1028432
ndepth:2 hqdepth:4
attach_shm: ref key=2130378752 size=993600
Atached ref shm: id 8001 addr 405f2000 size 993600
allocated 500912 bytes for ecmd
Segmentation fault
P.S. I tried to get gdb working on the PB device, but it relies on ncurses to handle the inputs, and that doesn't seem to work inside the utelnetd session unfortunately. Maybe I'll see if gdbserver can get around this somehow.
|