Task #10417 (closed)
Opened 12 years ago
Closed 11 years ago
Bug: testSimpleChgrp segfaults on 10.6/ice33
Reported by: | jamoore | Owned by: | jcorrington-x |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-4.4.7 |
Component: | OmeroCpp | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | n.a. |
Description
[----------] 1 test from ChgrpTest [ RUN ] ChgrpTest.testSimpleChgrp integration(59084,0x7fff70943cc0) malloc: *** error for object 0x106a1bca0: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap
See https://github.com/openmicroscopy/openmicroscopy/pull/748#issuecomment-13726613
Change History (2)
comment:1 Changed 12 years ago by jmoore
comment:2 Changed 11 years ago by Jesse Corrington <jesse.corrington@…>
- Remaining Time set to 0
- Resolution set to fixed
- Status changed from new to closed
(In [b884deb2c50ad8f1496527d925b3b3a01551100d/ome.git] on branch develop) Don't close the callback in the destructor to prevent double deletion. Fixes #10417
The ServantManager? already removes/deletes the callback, so we cannot call remove/close in the destructor as it's already in the process of happening.
Added a new close method, in the event you do want to close the callback before the session is closed.
Also gretzy, using Ice 3.3 again:
Might be worth logging into to gretzky if you want to try that out.