$O-523 : Style function provoke crash !

Jean-Marc Voegeli jmvoegeli at bluewin.ch
Sun Mar 17 04:14:16 EDT 2013


Hello,

The simple declaration :

Calculate #S1 as con("Hello ",style(kEscColor,kRed),"World !")

provokes omnis 5.2.3 to crash on mac mtLion.

I put this line in a new library startup task $construct method and it crashes but NOT every times :((

Have You seen this behavior and please will help ?

Thank You in advance,

my regards,


Jean-Marc VOEGELI

Tél.: 022/784.34.80
Fax : 022/784.23.40
Natel : 079/416.35.34
eMail : jmvoegeli at bluewin.ch

PS : Here is the crash log from apple :
--------------------------------------

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.RainingData.OmnisStudio   	0x000e571e calcrec::evalStyleFunction(short) + 38
1   com.RainingData.OmnisStudio   	0x000e8d14 calcrec::evalfunc(short, unsigned char, long&) + 11304
2   com.RainingData.OmnisStudio   	0x000eab88 calcrec::optest(short, long&) + 2320
3   com.RainingData.OmnisStudio   	0x000eb877 calcrec::calcrec(tqtrans*, locptype const&, unsigned char*, long, long&, fldval*&, short&, unsigned char) + 3237
4   com.RainingData.OmnisStudio   	0x000ecbc3 tqtrans::evalcalc(locptype const&, fldfnxn&, short, unsigned char*, long, unsigned char) + 209
5   com.RainingData.OmnisStudio   	0x000c975d dmcEvalcalc(locptype const&, fldfnxn&, short, unsigned char*, long, unsigned char) + 81
6   com.RainingData.OmnisStudio   	0x0053c7cd sqctype::evalsqs(short, locptype const&, fldfnxn&, unsigned char) + 275
7   com.RainingData.OmnisStudio   	0x003ed7b4 sqcCalc(sqctype&, locptype const&, tqcSstack*) + 258
8   com.RainingData.OmnisStudio   	0x000c9a55 sqctype::exec(locptype const&, tqcSstack*) + 73
9   com.RainingData.OmnisStudio   	0x003f1997 tqcSeqn::exec1(tqcSstack*, fldval*) + 1401
10  com.RainingData.OmnisStudio   	0x0055598c tqcSstack::exec1(tqcmd*, fldval*, long&, str255&) + 312
11  com.RainingData.OmnisStudio   	0x00555fc4 tqcMstack::exec() + 146
12  com.RainingData.OmnisStudio   	0x00555773 tqcMstack::tryexec() + 57
13  com.RainingData.OmnisStudio   	0x0065eb8a eventloop(tqcmd*, unsigned char) + 234
14  com.RainingData.OmnisStudio   	0x0065f62f main + 685
15  com.RainingData.OmnisStudio   	0x00002412 _start + 216
16  com.RainingData.OmnisStudio   	0x00002339 start + 41




More information about the omnisdev-en mailing list