Code:
$ ./notes -new
Notes: Error opening your $HOME/.notes directory.
Segmentation fault (core dumped)
$ dbx ./notes core
dbx version 7.3.4 (86441_Nov11 MR) Nov 11 2002 11:31:55
Core from signal SIGSEGV: Segmentation violation
(dbx) where
> 0 _closedir(0x0, 0xffffffff, 0x2, 0x0, 0x0, 0x0, 0x72, 0x10007c04) ["/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/gen/closedir.c":31, 0xfa673b8]
1 App::loadNotes(void)(0x0, 0xffffffff, 0x2, 0x0, 0x0, 0x0, 0x72, 0x10007c04) ["/usr/people/stuart/devel/notes-0.9/Main.C":59, 0x10007bfc]
2 ::main(0x2, 0xffffffff, 0x2, 0x0, 0x0, 0x0, 0x72, 0x10007c04) ["/usr/people/stuart/devel/notes-0.9/Main.C":158, 0x10006e78]
3 __start() ["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177, 0x10006ae8]
It seems to run fine if I first manually create a "~/.notes" directory, but seems to reliably segfault if this doesn't exist!