On Wed, Mar 5, 2008 at 1:17 PM, Przemyslaw Czerpak <[EMAIL PROTECTED]> wrote:

>  Can you catch it in GDB to see C call stack?

I've rebuilt with -O3 -g -DHB_STRICT_ALIGNMENT and I get:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
                         0x9442dcec in closedir$UNIX2003 ()

(gdb) bt
#0  0x9442dcec in closedir$UNIX2003 ()
#1  0x0004d4a8 in hb_fsFindFirst (pszFileMask=0x312aa0
"/Users/fiorlo/.notexist/notexist", attrmask=0) at ../../hbffind.c:853
#2  0x00047334 in hb_fsFile (pFilename=0x312aa0
"/Users/fiorlo/.notexist/notexist") at ../../file.c:65
#3  0x0005b8ac in hb_spFile (pFilename=0x3129f0
"/Users/fiorlo/.notexist/notexist", pRetPath=<value temporarily
unavailable, due to optimizations>) at ../../spfiles.c:78
#4  0x000474fc in HB_FUN_FILE () at ../../filehb.c:71
#5  0x000302fc in hb_vmDo (uiParams=<value temporarily unavailable,
due to optimizations>) at ../../hvm.c:4868
#6  0x0002bec8 in hb_vmExecute (pCode=0xb6370 "\r\001",
pSymbols=0xb9014) at ../../hvm.c:1057
#7  0x00001cf0 in HB_FUN_MAIN ()
#8  0x000302fc in hb_vmDo (uiParams=<value temporarily unavailable,
due to optimizations>) at ../../hvm.c:4868
#9  0x0003aa5c in main (argc=<value temporarily unavailable, due to
optimizations>, argv=<value temporarily unavailable, due to
optimizations>) at mainstd.c:66

I'm using OS X since few days so I'm not an expert. I miss a "decent"
terminal program since the built-in terminal app is almost unusable.
I've successfully dowloaded and built putty from darwinports.org but I
can't get pterm working.

best regards,
Lorenzo
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to