The Old Wolf <kane(_at_)accesscomm(_dot_)net> writes:
Dan Harkless wrote:
Has anyone successfully installed nmh 0.21 on HP-UX? I just upgraded from
0.20, and the new version has MAJOR problems.
I have only tried scan and show so far, but scan seg faults and show calls
mhl, which seg faults.
I guess I will have to reconfigure and recompile debuggable to investigate
further -- anyone else tried 0.21 on HP-UX yet?
I have, not successfully yet.
In hosts.c fopen hostable was gripeing. I couldn't find anything to tell
me it was a variable so I stuck quotes on it, now I'm getting complaints
about vsnprintf (Think it may just be a typo) any suggestions?
No idea. It compiled fine for me.
Update: I reconfigured and recompiled debuggable, and both scan and show
are seg faulting in the same place, line 125 of lexstring.c:
Program received signal SIGSEGV, Segmentation fault.
0x28c38 in lex_string (strptr=0x7b041874, start_cond=0) at lexstring.c:125
125 if (tran->verify == statenum){
(gdb) list
120 #ifdef LEXDEBUG
121 if (debug) {
122 fprintf(stderr," compressed");
123 }
124 #endif
125 if (tran->verify == statenum){
126 if ((statenum = tran->advance) == 0)
127 /* error transitions */
128 break;
When I ran the debugger, 'tran' was set to 0x8000575. Not NULL, but
apparently not a valid address in the program's space, either.
Does any of this sound familiar, Richard? I'm somewhat at a loss as to how
to track this down further. Do you have access to an HP machine?
--------------------------------------
| Dan Harkless | |
| dan_nmh(_at_)unitech(_dot_)com | MH FOREVER! |
| Unitech Research, Inc. | |
--------------------------------------