[Symphony-tickets] [SYMPHONY] #134: Symphony 5.5.7 segfaults on OSX 10.8.5
SYMPHONY
coin-trac at coin-or.org
Fri Jun 20 12:35:38 EDT 2014
#134: Symphony 5.5.7 segfaults on OSX 10.8.5
----------------------+-----------------
Reporter: dorban | Owner: tkr
Type: defect | Status: new
Priority: normal | Milestone:
Component: Not Sure | Version:
Keywords: |
----------------------+-----------------
I'm working on upgrading the Symphony Homebrew formula to 5.5.7. It
compiles with gcc-4.2 but gcc-4.8 leads to seg faults. I ran the simple
test mentioned in the README through Valgrind:
{{{
$ valgrind /usr/local/Cellar/symphony/5.5.7/bin/symphony -F
/usr/local/Cellar/symphony/5.5.7/share/symphony/Datasets/sample.mps
==46570== Memcheck, a memory error detector
==46570== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==46570== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright
info
==46570== Command: /usr/local/Cellar/symphony/5.5.7/bin/symphony -F
/usr/local/Cellar/symphony/5.5.7/share/symphony/Datasets/sample.mps
==46570==
==46570== WARNING: Support on MacOS 10.8 is experimental and mostly
broken.
==46570== WARNING: Expect incorrect results, assertions and crashes.
==46570== WARNING: In particular, Memcheck on 32-bit programs will fail to
==46570== WARNING: detect any errors associated with heap-allocated data.
==46570==
== Welcome to the SYMPHONY MILP Solver
== Copyright 2000-2013 Ted Ralphs and others
== All Rights Reserved.
== Distributed under the Eclipse Public License 1.0
== Version: 5.5.7
== Build Date: Jun 20 2014
Reading input file...
Starting Preprocessing...
Preprocessing finished...
variables fixed: 1
Problem has
2 constraints
5 variables
8 nonzero coefficients
Total Presolve Time: 0.101199...
Solving...
solving root lp relaxation
==46570==
==46570== Process terminating with default action of signal 11 (SIGSEGV)
==46570== General Protection Fault
==46570== at 0xE158A5: misaligned_stack_error_entering_dyld_stub_binder
(in /usr/lib/system/libdyld.dylib)
==46570== by 0x438227: ??? (in
/usr/local/Cellar/symphony/5.5.7/lib/libCoinUtils.3.9.11.dylib)
==46570== by 0x869: ???
==46570== by 0x38EABD:
CoinFactorization::updateColumnU(CoinIndexedVector*, int*) const (in
/usr/local/Cellar/symphony/5.5.7/lib/libCoinUtils.3.9.11.dylib)
==46570== by 0x100094C0F: ???
==46570== by 0x1000ACF4F: ???
==46570== by 0x39013A:
CoinFactorization::updateColumn(CoinIndexedVector*, CoinIndexedVector*,
bool) const (in
/usr/local/Cellar/symphony/5.5.7/lib/libCoinUtils.3.9.11.dylib)
==46570== by 0x100094B9F: ???
==46570==
==46570== HEAP SUMMARY:
==46570== in use at exit: 1,299,615 bytes in 616 blocks
==46570== total heap usage: 1,455 allocs, 839 frees, 1,627,854 bytes
allocated
==46570==
==46570== LEAK SUMMARY:
==46570== definitely lost: 1,120 bytes in 2 blocks
==46570== indirectly lost: 5,316 bytes in 9 blocks
==46570== possibly lost: 3,249 bytes in 12 blocks
==46570== still reachable: 1,273,173 bytes in 513 blocks
==46570== suppressed: 16,757 bytes in 80 blocks
==46570== Rerun with --leak-check=full to see details of leaked memory
==46570==
==46570== For counts of detected and suppressed errors, rerun with: -v
==46570== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Segmentation fault: 11
}}}
The dependencies weren't installed with Homebrew; Symphony built
everything it needed (`CoinUtils`, etc.)
Note that if I `make test`, I get similar seg faults. This is on OSX
10.8.5.
--
Ticket URL: <https://projects.coin-or.org/SYMPHONY/ticket/134>
SYMPHONY <http://projects.coin-or.org/SYMPHONY>
The SYMPHONY framework for parallel branch-and-cut algorithms.
More information about the Symphony-tickets
mailing list