Bug 439915
| Summary: | ImageMagick C++ library generates assertion failure in RemoveNodeByValueFromSplayTree | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Geoff Quelch <quelch> | ||||
| Component: | ImageMagick | Assignee: | Jan Horak <jhorak> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.1 | CC: | pm-rhel, quelch | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-06-03 11:40:33 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Geoff Quelch
2008-03-31 23:11:31 UTC
Got some sample code which will show this? Thanks. I'll try and put together a small test case, or find out I'm making a mistake with the library... :-) Created attachment 299965 [details]
Code reproducing the error
Compile with:
g++ `Magick++-config --cppflags --cxxflags --ldflags --libs` main.cpp -o
bugtest
The m_bg_image image object is being accessed before it is defined. However,
ImageMagick should throw a proper exception rather than an assertion. The patch
is to only reset the exception signature in DestroyExceptionInfo() of
magick/exception.c if the relinquish member is not 0:
if (exception->relinquish != MagickFalse)
exception->signature=(~MagickSignature);
We have this patch in ImageMagick 6.4.1-4 Beta.
I have set the size and type of m_bg_image and the code runs without an assertion. In my full code I am reading in a file to this variable when I got this exception, does reading in a file not define the object appropriately? Many thanks. This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug. Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support). The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |