This is not a new problem.  It existed also in 1.0.

When I use 'msh' to read an mmdf style mailbox, such as might be
created with packf -mmdf, it dies on a Bus error.

In my experience, a Bus error is usually an alignment problem.

Here is what gdb says of the error:

gdb uip/msh core
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.12 (sparc-sun-solaris2), Copyright 1994 Free Software Foundation, Inc...
Core was generated by `uip/msh /home/ux/rickert/Mail/OLD'.
Program terminated with signal 10, Bus error.
procfs (find_procinfo):  Couldn't locate pid 0
#0  0xdf5c56ac in _end ()
(gdb) where
#0  0xdf5c56ac in _end ()
#1  0xdf5c5628 in _end ()
#2  0xdf5c5544 in _end ()
#3  0xdf5b9bcc in _end ()
#4  0x4326c in m_unknown (iob=0x773f8) at m_getfld.c:572
#5  0x17274 in setup (file=0xdffffde4 "/home/ux/rickert/Mail/OLD") at msh.c:811
#6  0x15f68 in main (argc=2, argv=0xdffffd0c) at msh.c:403
(gdb)

Note that traditional MH has no comparable problem.

The line pointed to in m_getfld.c is:

    pat_map = (unsigned char **) calloc (256, sizeof(unsigned char *));

       ------------------

Does anybody have suggestions as to where I can go from here in
tracking down the problem.

 -NWR

Reply via email to