AltME: R3 Building and Porting

Messages

Josh
Using backtrace, I can see the following:
Program received signal SIGSEGV, Segmentation fault.
0x76f0579c in ?? ()
(gdb) bt
#0  0x76f0579c in ?? ()
#1  0x76f055c5 in ?? ()
#2  0x76f8cc48 in ?? ()
#3  0x76f385ff in ?? ()
#4  0x76f055c5 in ?? ()
#5  0x75199b9c in msvcrt!malloc () from C:\Windows\SysWOW64\msvcrt.dll
#6  0x00421363 in Make_Mem ()
#7  0x00421814 in Make_Series ()
#8  0x0042d5fb in Make_Binary ()
#9  0x0042bc16 in TCP_Actor ()
#10 0x00409a10 in Do_Port_Action ()
#11 0x0040922a in Do_Act ()
#12 0x00409364 in Do_Action ()
#13 0x00404457 in Do_Next ()
#14 0x00404d45 in Do_Blk ()
#15 0x004235c3 in N_switch ()
#16 0x0040914f in Do_Native ()
#17 0x00404457 in Do_Next ()
#18 0x00404d45 in Do_Blk ()
#19 0x004093ae in Do_Function ()
#20 0x00403bbf in Apply_Function ()
#21 0x00403c66 in Apply_Func ()
#22 0x00425122 in N_wake_up ()
#23 0x0040914f in Do_Native ()
#24 0x00404457 in Do_Next ()
#25 0x00405a5f in Do_Args ()
Josh
Trying to learn how to investigate the structures to identify where it's going wrong
Josh
Anyone else have any scripts they have had bugs with tcp that I could look through.

Maxim
darn I wish I could put more time on R3   :-(
Arnold
Agreed, but now I try to compile and it is looking for gcc, but that is already somewhere in my $PATH so anybody has a precompiled R3 for Mac 10.6.8?
Kaj
Arnold
Thank you Kaj!!

Maxim
running through compilation in msvc, I'm getting a few errors...   I've already fixed a few little details wrt VC vs GCC
one snag I currently have is that I'll have to rename the qsort function, cause msvc already seems to have one in its linkeage.
Ladislav
So you are trying to build the community version?
Maxim
yep.
there doesnt' seem to be that many errors, a part for this qsort issue.
Ladislav
I thought that rename is not needed?
Maxim
I'm currently looking into the qsort declaration within msvc... maybe I can use it directly instead.
Ladislav
What is the error you are getting?
And no, you certainly should not use the Microsoft-provided version, unless you want to keep the bugs it has
So, can you cite the error you are getting?
Maxim
ok then... it seems like its part of the stdlib tree, so not much I can do to not include it..  we should just give it a new name within our codebase then. I checked and its only used  4 times in the complete code base... not a big issue to fix.
bug is 'qsort' : inconsistent dll linkage
basically a redecleration
re-declaration

Last message posted 78 weeks ago.