Error message is not understandable - what(): std::bad_array_new_length is not easy to debug
- Dominant language
- Linear Programming
- Stars
- 600
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
I developing a larger model and for some instances of the model I get the following error message. But it is extremly hard to debug this based on the error message. Using Python
```
Welcome to the CBC MILP Solver
Version: devel
Build Date: Nov 15 2020
Starting solution of the Linear programming relaxation problem using Dual Simplex
Coin0506I Presolve 275 (-16608) rows, 750 (-14574) columns and 2834 (-48660) elements
Clp0014I Perturbing problem by 0.001% of 37.947332 - largest nonzero change 0.00029362761 ( 0.001857064%) - largest zero change 0.00029208348
Clp0000I Optimal - objective value 168.67521
Coin0511I After Postsolve, objective 168.67521, infeasibilities - dual 0 (0), primal 0 (0)
Clp0032I Optimal objective 168.6752137 - 202 iterations time 0.032, Presolve 0.03
terminate called after throwing an instance of 'std::bad_array_new_length'
what(): std::bad_array_new_length
ERROR while running Cbc. Signal SIGABRT caught. Getting stack trace.
/root/.local/share/virtualenvs/planner-_Xae74OV/lib/python3.7/site-packages/mip/libraries/lin64/libCbcSolver.so(_Z15CbcCrashHandleri+0x14c) [0x7f2c35b3783c]
/lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7f2c5621c840]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x10b) [0x7f2c5621c7bb]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x121) [0x7f2c56207535]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8c983) [0x7f2c3c55c983]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x928c6) [0x7f2c3c5628c6]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92901) [0x7f2c3c562901]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92b34) [0x7f2c3c562b34]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x91992) [0x7f2c3c561992]
./libCbc.so.0(+0x4cf85) [0x7f2c357c0f85]
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.