TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Bob Jones
from: Vince Coen
date: 2003-08-18 16:23:36
subject: Seg faults

Hello Bob!

17 Aug 03 16:00, you wrote to me:

 VC>> Despite using the libs from 3.03b release as suggested by Bo I still
 VC>> get seg faults when entering menus options such as file areas or
 VC>> message areas.

 BJ> Have you compiled any MEX code?  If so, remove the compiled mex files.
 BJ> That can cause seg faults all over the place because a lot of the
 BJ> default BBS displayed info is actually output from Mex code, and the
 BJ> mex virtual machine is broken, broken, broken, broken....  But the Mex
 BJ> compiler does execute when run.....  So, take a look in things like
 BJ> etc\m and other places, and see if temporarily moving certain files
 BJ> (say to a temporary subdirectory) keeps you from seg faulting.....

 BJ> If you think you can work on the mex virutal machine, let me know.
 BJ> Wes was scratching his head on this one....  :(

Ok, mv  etc/m/*.mex etc/m/mex

and rerun with the following:

=== Cut ===

+ 18 Aug 16:14:39 MAX  Begin, v3.03 (task=14)
+ 18 Aug 16:14:40 MAX  Vince Coen calling
# 18 Aug 16:14:43 MAX  Given 1441 min.
! 18 Aug 16:14:49 MAX  MEX:  can't read file 'm/headfile'
: 18 Aug 16:15:15 MAX  File area SDS.MAXIMUS
! 18 Aug 16:15:15 MAX  MEX:  can't read file 'm/headfile'
! 18 Aug 16:15:19 MAX  MEX:  can't read file 'm/headfile'
! 18 Aug 16:15:23 MAX  MEX:  can't read file 'm/headfile'
! 18 Aug 16:15:25 MAX  MEX:  can't read file 'm/curstag'
! 18 Aug 16:15:25 MAX  MEX:  can't read file 'm/headfile'
! 18 Aug 16:15:52 MAX  MEX:  can't read file 'm/headfile'
: 18 Aug 16:15:59 MAX  File area SDS.FRONTDOOR
! 18 Aug 16:15:59 MAX  MEX:  can't read file 'm/headfile'
: 18 Aug 16:16:25 MAX  File area AALOCAL.GENERAL
! 18 Aug 16:16:25 MAX  MEX:  can't read file 'm/headfile'
! 18 Aug 16:16:44 MAX  MEX:  can't read file 'm/headfile'
! 18 Aug 16:18:41 MAX  MEX:  can't read file 'm/headfile'
! 18 Aug 16:18:49 MAX  MEX:  can't read file 'm/stats'
! 18 Aug 16:18:53 MAX  MEX:  can't read file 'm/headfile'
! 18 Aug 16:19:01 MAX  MEX:  can't read file 'm/curstag'
! 18 Aug 16:19:01 MAX  MEX:  can't read file 'm/headfile'
! 18 Aug 16:19:21 MAX  MEX:  can't read file 'm/stats'
! 18 Aug 16:19:39 MAX  MEX:  can't read file 'm/userlist'
! 18 Aug 16:19:51 MAX  MEX:  can't read file 'm/class'
! 18 Aug 16:19:54 MAX  MEX:  can't read file 'm/class'
! 18 Aug 16:20:00 MAX  MEX:  can't read file 'm/usrlist2'
! 18 Aug 16:20:08 MAX  MEX:  can't read file 'm/headmsg'
: 18 Aug 16:20:48 MAX  Msg.area AALOCAL.LOCAL
! 18 Aug 16:20:48 MAX  MEX:  can't read file 'm/headmsg'
! 18 Aug 16:20:59 MAX  MEX:  can't read file 'm/headchg'
# 18 Aug 16:22:40 MAX  External program: "/bin/sh"
: 18 Aug 16:22:45 MAX  Return from: "/bin/sh" (0)
+ 18 Aug 16:22:55 MAX  Vince Coen off-line. Calls=8, Len=8, Today=8
: 18 Aug 16:22:55 MAX  End, v3.03 (5)

=== Cut ===

So I guess that bit works now to reload some .mex files.

Can I assume that if the mecca compiler does not report a fault when 
compiling that the compile is good or not?

Vince

--- Linux/Mbse/GoldED+/LNX 1.1.5-20709
* Origin: Air Applewood, Linux Gateway for Essex (2:257/609)
SEEN-BY: 633/267 270
@PATH: 257/609 250/501 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.