Error 11678

Has anybody seen this error:
REPLACE/CONCAT may not result in data > 32000 bytes. (11678)

while running Prolint?

I'm running it against code that hasn't been Prolinted in the past, and this has come up for several of the compile units so far. (Still running)

Is there a way to get a stack trace when this kind of error happens? Seems like OE ought to tell me which line of code the error happened at.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jurjen's picture

rule nobreakby fixed

I have fixed this recently. Or at least made the chance that this error occurs a whole lot less and, as a side-effect, made the rule a lot faster too. See subversion revision 359.
You can get the latest version of nobreakby.p from subversion trunk/prolint/rules or from the following link:

http://websvn.oehive.org/filedetails.php?repname=prolint&path=%2Ftrunk%2...


john's picture

Re: rule nobreakby fixed

That's fantastic - thanks! That did the trick. Prolint has great tech support. :-)


Re:Error 11678

In the windows world, -debugalert on the prowin32 command line / shortcut will get you a stack trace, the message still pops up but there will be a help button that will give you the trace.

I'm assuming there's something similar in a *nix environment (mpro session), I've not been in one to try it.


john's picture

Re:Error 11678

Very helpful, thanks!

Here the last half of the stack trace:

    prolint/rules/nobreakby.p (C:\ProParse\prolint\rules\nobreakby.p) at line 259
    searchNode prolint/core/lintsuper.p (C:\ProParse\prolint\core\lintsuper.p) at line 594
    searchNodeQueries prolint/core/lintsuper.p (C:\ProParse\prolint\core\lintsuper.p) at line 624
    priv-InspectNode prolint/rules/nobreakby.p (C:\ProParse\prolint\rules\nobreakby.p) at line 288
    traverse prolint/rules/nobreakby.p (C:\ProParse\prolint\rules\nobreakby.p) at line 446
--> traverse prolint/rules/nobreakby.p (C:\ProParse\prolint\rules\nobreakby.p) at line 454

I will take a look at nobreakby.p as soon as I get a chance. I'll have to read more about -debugalert; there sure aren't 454 lines in nobreakby.p!


Stefan Drissen's picture

Compile

Compile prolint/rules/nobreakby.p with the DEBUG-LIST option to get a listing that matches the line numbers. Alternatively fire up the debugger when you get the error.

The difference between line numbers in the source and the debugger listing is caused by includes.