Bug 868485 - ZLIB_ERROR raised with AWS
Summary: ZLIB_ERROR raised with AWS
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: zlib-ada
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Björn Persson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 810676
TreeView+ depends on / blocked
 
Reported: 2012-10-20 09:03 UTC by Pavel Zhukov
Modified: 2012-10-25 07:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-25 07:17:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
remove external zlib-ada from aws (1.19 KB, text/plain)
2012-10-20 09:05 UTC, Pavel Zhukov
no flags Details
sample program (165 bytes, application/octet-stream)
2012-10-20 18:45 UTC, Pavel Zhukov
no flags Details
patch for zlib (revert?) (1003 bytes, patch)
2012-10-21 03:49 UTC, Pavel Zhukov
no flags Details | Diff
Correct patch (583 bytes, patch)
2012-10-21 03:53 UTC, Pavel Zhukov
no flags Details | Diff
project file to build the test program (64 bytes, text/plain)
2012-10-21 19:15 UTC, Björn Persson
no flags Details

Description Pavel Zhukov 2012-10-20 09:03:30 UTC
Description of problem:
zlib-error raised if AWS uses external zlib-ada instead bundled

Version-Release number of selected component (if applicable):
zlib-ada-1.4-0.3.20120830CVS.fc17.x86_64

How reproducible:
always

Steps to Reproduce:
1.build aws: https://github.com/landgraf/aws-fedora
2.build sample code:  http://vpaste.net/72ZYu
3.run sample program
  
Actual results:
raised ZLIB.ZLIB_ERROR


Expected results:
exit code 0

Additional info:
There is no error with aws compiled from https://github.com/landgraf/aws-fedora/tree/zlib

Comment 1 Pavel Zhukov 2012-10-20 09:05:01 UTC
Created attachment 630381 [details]
remove external zlib-ada from aws

Comment 2 Björn Persson 2012-10-20 12:03:26 UTC
(In reply to comment #0)
> 2.build sample code:  http://vpaste.net/72ZYu

That's not a sample program. It's a diff between two versions of AWS.Client. Did you link to the wrong file?

Comment 3 Pavel Zhukov 2012-10-20 18:45:19 UTC
Created attachment 630575 [details]
sample program

Comment 4 Pavel Zhukov 2012-10-20 18:46:04 UTC
You can check any program with AWS.Client.Get function and https://

Comment 5 Pavel Zhukov 2012-10-21 03:49:38 UTC
Created attachment 630726 [details]
patch for zlib (revert?)

This patch works for me.

Comment 6 Pavel Zhukov 2012-10-21 03:53:12 UTC
Created attachment 630741 [details]
Correct patch

Comment 7 Björn Persson 2012-10-21 19:15:51 UTC
Created attachment 630978 [details]
project file to build the test program

I can't reproduce this. I'm using zlib-1.2.5-7.fc17.x86_64, zlib-ada-1.4-0.3.20120830CVS.fc17.x86_64 and aws-2.11.0-8.fc17.x86_64. I'm attaching the project file I build your test program with. I've tried building the test program with both GPRbuild and Gnatmake, and I get exit code 0 every time I run it.

Can you provide more details? A stack trace of where the exception is raised maybe?

Comment 8 Pavel Zhukov 2012-10-25 07:17:07 UTC
It's magic. I've rebuilt and reinstalled aws and zlib-ada and cannot reproduce this bug.
I'll test with clean installation later.


Note You need to log in before you can comment on or make changes to this bug.