Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #10417 (closed)

Opened 11 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 11 years ago by jmoore

Also gretzy, using Ice 3.3 again:

----------] 6 tests from CmdCallbackTest
[ RUN ] CmdCallbackTest.testTimingFinishesOnLatch
*** glibc detected *** test/integration/integration: double free or corruption (fasttop): 0x00000000022075f0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x77806)[0x7f920f452806]
/lib/libc.so.6(cfree+0x73)[0x7f920f4590d3]
/usr/lib/libIce.so.33(_ZNSt8_Rb_treeIN3Ice8IdentityESt4pairI
...

Might be worth logging into to gretzky if you want to try that out.

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.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64865 sec.)

We're Hiring!