GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — LzmaFrameEncoderTest leak due to LzmaInputStream close behavior by Scottmitch · Pull Request #6026 · netty/netty

Conversation

@Scottmitch

@Scottmitch Scottmitch commented Nov 16, 2016

Copy link
Copy Markdown
Member

Motivation:
c1932a8 made an assumption that the LzmaInputStream which wraps a ByteBufInputStream would delegate the close operation to the wrapped stream. This assumption is not true and thus we still had a leak. An issue has been logged with our LZMA dependency jponge/lzma-java#14.

Modifications:

  • Force a close on the wrapped stream

Result:
No more leak.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Scottmitch
LzmaFrameEncoderTest leak due to LzmaInputStream close behavior
bea1b32
Motivation:
c1932a8 made an assumption that the LzmaInputStream which wraps a ByteBufInputStream would delegate the close operation to the wrapped stream. This assumption is not true and thus we still had a leak. An issue has been logged with our LZMA dependency jponge/lzma-java#14.

Modifications:
- Force a close on the wrapped stream

Result:
No more leak.
@Scottmitch Scottmitch added the defect label Nov 16, 2016
@Scottmitch Scottmitch added this to the 4.1.7.Final milestone Nov 16, 2016
@Scottmitch Scottmitch self-assigned this Nov 16, 2016
@Scottmitch

Scottmitch commented Nov 16, 2016

Copy link
Copy Markdown
Member Author

saw another leak while building #6024 https://garage.netty.io/teamcity/viewLog.html?buildId=13716&buildTypeId=pulls_netty&tab=buildLog

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Scottmitch

Scottmitch commented Nov 16, 2016

Copy link
Copy Markdown
Member Author

4.1 (2c78902)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Scottmitch Scottmitch closed this Nov 16, 2016
@Scottmitch
Scottmitch deleted the encoder_test_leak branch November 16, 2016 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@Scottmitch Scottmitch

Labels

defect

Projects

None yet

Milestone

4.1.7.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Scottmitch
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.