# MOSEK fatal error stopenv

**URL:** https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590
**Category:** Optimization (Mathematical)
**Tags:** jump
**Created:** [December 10, 2020, 6:41am UTC](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590 "2020-12-10T06:41:53Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![cyanzhao42](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cyanzhao42/32/20035_2.png) [@cyanzhao42](https://discourse.julialang.org/u/cyanzhao42)
#### Post date: [December 10, 2020, 6:41am UTC](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590/1 "2020-12-10T06:41:53Z")

</div>

Hi all,

I try to use JuMP with MOSEK. After formulated the problem, and start solving the problem, I have received this error message. Any suggestions on what going on here or how I can figure this out? Thanks!

MOSEK fatal error stopenv  
File : src/prslv/prselim.c  
Line : 1305  
Msg : Assertion failed at src/prslv/prselim.c(1305).

---

<div class="post-metadata">

### Author: ![metab0t](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/metab0t/32/15551_2.png) [@metab0t](https://discourse.julialang.org/u/metab0t)
#### Post date: [December 10, 2020, 3:04pm UTC](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590/2 "2020-12-10T15:04:33Z")

</div>

[PSA: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757)

Please provide a reproducible code example.

---

<div class="post-metadata">

### Author: ![sallychen1901](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sallychen1901/32/32303_2.png) [@sallychen1901](https://discourse.julialang.org/u/sallychen1901)
#### Post date: [August 4, 2022, 7:38am UTC](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590/3 "2022-08-04T07:38:05Z")

</div>

Hi! I’m facing a similar problem here:

MOSEK fatal error stopenv  
File : src/homo/intpntco.c  
Line : 10606  
Msg : Assertion failed at src/homo/intpntco.c(10606).

Have you figured where things go wrong? Any way to get around with by something like the “try…catch…” method?

---

<div class="post-metadata">

### Author: ![zdenek\_hurak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zdenek_hurak/32/53118_2.png) [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)
#### Post date: [August 4, 2022, 7:47am UTC](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590/4 "2022-08-04T07:47:27Z")

</div>

> [@MOSEK fatal error stopenv](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590/2):
>
> [PSA: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757) Please provide a reproducible code example.

---

<div class="post-metadata">

### Author: ![sallychen1901](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sallychen1901/32/32303_2.png) [@sallychen1901](https://discourse.julialang.org/u/sallychen1901)
#### Post date: [August 4, 2022, 7:55am UTC](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590/5 "2022-08-04T07:55:39Z")

</div>

Hi! It is really difficult for me to provide the reproducible code example here because: 1) it is part of my research that I do not want to reveal the code yet; 2) it is over 200 lines of code.

The code basically sets up a conic optimization problem, and crashes at the step of optimize!(Model).

If needed, can I email you the code I have please?

---

<div class="post-metadata">

### Author: ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)
#### Post date: [August 4, 2022, 9:24am UTC](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590/6 "2022-08-04T09:24:13Z")

</div>

Try contacting Mosek support. They’ll probably be interested in the example if it crashes Mosek.
