View Single Post
Old 09-07-2013, 01:11 PM   #17
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,768
Karma: 4368476
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623
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.
rkomar is offline   Reply With Quote