#327 Pushback buffer overflow

v1.4.2
open-fixed
None
5
2011-11-28
2011-09-14
jpstotz
No

After adding some new sections via \input{filename.tex} (some of them nested in other input files) I suddenly get several Errors in the Problems view:

Could not parse file 03-sectionxyz.tex, reason: Pushback buffer overflow 03-sectionxyz.tex /MyProject line 23 Problem

What does this problem mean?
Regardless of the problems the project compiles fine using pdflatex.

Discussion

  • jpstotz

    jpstotz - 2011-09-23

    I have seen that this problem also gets logged on the Error Log view. here is the stack trace:

    java.io.IOException: Pushback buffer overflow
    at java.io.PushbackReader.unread(Unknown Source)
    at net.sourceforge.texlipse.texparser.lexer.Lexer.pushBack(Lexer.java:823)
    at net.sourceforge.texlipse.texparser.lexer.Lexer.getToken(Lexer.java:731)
    at net.sourceforge.texlipse.texparser.lexer.Lexer.next(Lexer.java:47)
    at net.sourceforge.texlipse.texparser.LatexRefExtractingParser.parse(LatexRefExtractingParser.java:97)
    at net.sourceforge.texlipse.model.TexDocumentModel.createProjectDatastructs(TexDocumentModel.java:877)
    at net.sourceforge.texlipse.model.TexDocumentModel.createReferenceContainers(TexDocumentModel.java:850)
    at net.sourceforge.texlipse.model.TexDocumentModel.initializeModel(TexDocumentModel.java:279)
    at net.sourceforge.texlipse.editor.TexEditor.createPartControl(TexEditor.java:109)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1606)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:497)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:483)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
    at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
    at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2860)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
    ...

    eclipse.buildId=M20110210-1200
    java.version=1.6.0_26
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Framework arguments: -product org.eclipse.epp.package.jee.product
    Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

     
  • Boris von Loesch

    Can you send me an example project where this error occurs?

     
  • jpstotz

    jpstotz - 2011-09-26

    Unfortunately this is not possible as the document is confidential. I tried to create a sample project demonstrating the problem but it seems to be very specific to a combination of commands/sections/includes used in that document.

     
  • Boris von Loesch

    • assigned_to: nobody --> borisvl
    • status: open --> open-fixed
     
  • Boris von Loesch

    I will increase the size of the buffer of the pushbackreader. I hope this will solve the problem.

     
  • Boris von Loesch

    • status: open-fixed --> closed-fixed
     
  • Boris von Loesch

    Fixed in latest release, please update your TeXlipse.

     
  • jpstotz

    jpstotz - 2011-11-28

    I have updated my installation to TeXlipse 1.5.0 - unfortunately this does not solve the Pushback buffer overflow error.

     
  • Boris von Loesch

    Okay, seems to be a real problem. Maybe you can send me your file where you replace all letters by "a" so that it is not possible to read its content but the structure that toggles the error is still there. Then I can make some tests, otherwise I do not think I can fix this bug.

     
  • Boris von Loesch

    • status: closed-fixed --> open-fixed
     

Log in to post a comment.