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 #11524 (closed)

Opened 11 years ago

Closed 8 years ago

Bug: OmeroCpp tests broken with Ice 3.5.1 (possibly also 3.5.0)

Reported by: rleigh Owned by: rleigh
Priority: minor Milestone: Unscheduled
Component: OmeroCpp Version: 4.4.8
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by rleigh)

With g++-4.8 on MacOS 10.6; may possibly be related to the GCC version in use. Seen with dev_4_4 (4.4.9-RC2) and develop.

% ICE_CONFIG=/Users/rleigh/ice.cfg DYLD_LIBRARY_PATH=. ./test/unit/unit
Running main() from gtest_main.cc
[==========] Running 62 tests from 8 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from ClientTest
[ RUN      ] ClientTest.UnconfiguredClient
unit(80263) malloc: *** error for object 0x7fff70e07500: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

% ICE_CONFIG=/Users/rleigh/ice.cfg DYLD_LIBRARY_PATH=. ./test/integration/integration
Running main() from gtest_main.cc
[==========] Running 50 tests from 14 test cases.
[----------] Global test environment set-up.
[----------] 6 tests from ClientUsageTest
[ RUN      ] ClientUsageTest.testClientClosedAutomatically
integration(80327) malloc: *** error for object 0x7fff70e07500: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Change History (4)

comment:1 Changed 11 years ago by rleigh

  • Component changed from General to OmeroCpp
  • Description modified (diff)
  • Owner set to rleigh

comment:2 Changed 11 years ago by rleigh

On MacOS 10.6, appears to work fine with GCC 4.2; fails with 4.8. Possibly because Ice was built with 4.2 by homebrew. Needs testing with 4.8 on Linux, where it's all built with GCC 4.8.

comment:3 Changed 10 years ago by rleigh

http://ci.openmicroscopy.org/view/Breaking/job/OMERO-5.1-breaking-cpp/ now runs the tests daily. Note that both the unit and integration tests both have intermittent failures, due to both bugs and timing issues.

comment:4 Changed 8 years ago by rleigh

  • Resolution set to fixed
  • Status changed from new to closed

This has been fixed for some time.

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.67338 sec.)

We're Hiring!