# Strange ‘abstract\_call’ messages before code running

**URL:** <https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025>\
**Category:** General Usage\
**Created:** [December 18, 2020, 5:44am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025 "2020-12-18T05:44:38Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![enjoyable](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@enjoyable](https://discourse.julialang.org/u/enjoyable)\
**Post date:** [December 18, 2020, 5:44am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/1 "2020-12-18T05:44:38Z")

</div>

Hi I have been encountering this problem for both Julia 1.5.3 and 1.5, under both Julia Pro and VS Code.  
Whenever I ran codes in Julia, there will always be some strange messages in the terminal, like

```julia
inlineeval##kw at c:\Users\rmizf\.vscode\extensions\julialang.language-julia-1.0.10\scripts\packages\VSCodeServer\src\eval.jl:183 [inlined]
#61 at c:\Users\rmizf\.vscode\extensions\julialang.language-julia-1.0.10\scripts\packages\VSCodeServer\src\eval.jl:144
withpath at c:\Users\rmizf\.vscode\extensions\julialang.language-julia-1.0.10\scripts\packages\VSCodeServer\src\repl.jl:124
#60 at c:\Users\rmizf\.vscode\extensions\julialang.language-julia-1.0.10\scripts\packages\VSCodeServer\src\eval.jl:142
hideprompt at c:\Users\rmizf\.vscode\extensions\julialang.language-julia-1.0.10\scripts\packages\VSCodeServer\src\repl.jl:36
#59 at c:\Users\rmizf\.vscode\extensions\julialang.language-julia-1.0.10\scripts\packages\VSCodeServer\src\eval.jl:110
unknown function (ip: 000000005f0b6121)
with_logstate at .\logging.jl:408
with_logger at .\logging.jl:514 [inlined]
#58 at c:\Users\rmizf\.vscode\extensions\julialang.language-julia-1.0.10\scripts\packages\VSCodeServer\src\eval.jl:109
unknown function (ip: 000000005f0b15a3)
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1690 [inlined]
do_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\builtins.c:655
jl_f__apply at /cygdrive/c/buildbot/worker/package_win64/build/src\builtins.c:669 [inlined]
jl_f__apply_latest at /cygdrive/c/buildbot/worker/package_win64/build/src\builtins.c:705
#invokelatest#1 at .\essentials.jl:710 [inlined]
invokelatest at .\essentials.jl:709
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1690 [inlined]
do_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\builtins.c:655
macro expansion at c:\Users\rmizf\.vscode\extensions\julialang.language-julia-1.0.10\scripts\packages\VSCodeServer\src\eval.jl:27 [inlined]
#56 at .\task.jl:356
unknown function (ip: 000000002f14ed73)
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1690 [inlined]
start_task at /cygdrive/c/buildbot/worker/package_win64/build/src\task.c:705

```

 ![image](https://global.discourse-cdn.com/julialang/original/3X/5/c/5cdb8d224beb95c3cd42311acc5a3a22fe7790ec.png)  
There are hundreds of lines or such messages each time and I have to wait for about 2 minutes before the code could run normally. Is there anyone who knows how to solve this? I have tried Julia 1.0 and 1.2 and there is no such issue. My system is Windows 10.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [December 18, 2020, 7:53am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/2 "2020-12-18T07:53:02Z")

</div>

Does this also happen in the REPL? What about using the normal Julia binaries together with Atom, rather than JuliaPro?

---

<div class="post-metadata">

**Author:** ![enjoyable](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@enjoyable](https://discourse.julialang.org/u/enjoyable)\
**Post date:** [December 18, 2020, 8:08am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/3 "2020-12-18T08:08:39Z")

</div>

The same problem still happens.

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 18, 2020, 8:31am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/4 "2020-12-18T08:31:58Z")

</div>

It’s almost like a debugger is attached to the Julia process. How did you obtain Julia?

---

<div class="post-metadata">

**Author:** ![enjoyable](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@enjoyable](https://discourse.julialang.org/u/enjoyable)\
**Post date:** [December 18, 2020, 8:33am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/5 "2020-12-18T08:33:00Z")

</div>

Hi I downloaded from Julia’s website

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [December 18, 2020, 8:34am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/6 "2020-12-18T08:34:57Z")

</div>

Sorry just to confirm, when you download the Julia 1.5.3 executable from the Julia website, do a clean install on Windows, open the REPL (by just double clicking on the Julia icon on your desktop), and run

```julia
julia> 2+2

```

you get back all of those messages above, instead of just `4`?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 18, 2020, 8:38am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/7 "2020-12-18T08:38:23Z")

</div>

In Powershell, what is the output of `Get-ChildItem env:` . I’m trying to see if there is anything in your environment that may be causing this.

You might want to delete your `%USERPROFILE%\.julia` folder or move it somewhere else as a test to see if it is anything in there.

You mentioned Julia Pro. Maybe try standard Julia: [Download Julia](https://julialang.org/downloads/)

---

<div class="post-metadata">

**Author:** ![enjoyable](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@enjoyable](https://discourse.julialang.org/u/enjoyable)\
**Post date:** [December 18, 2020, 8:57am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/9 "2020-12-18T08:57:34Z")

</div>

Hi Mkitti,  
The result is:

```julia
PS C:\Users\rmizf> Get-ChildItem Env:

Name Value
---- -----
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Users\rmizf\AppData\Roaming
CHROME_CRASHPAD_PIPE_NAME \\.\pipe\crashpad_21976_WCLGACJCPMOJURNR
COLORTERM truecolor
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME CRI-PC44
ComSpec C:\Windows\system32\cmd.exe
DriverData C:\Windows\System32\Drivers\DriverData
GIT_ASKPASS c:\Users\rmizf\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass.sh
HOMEDRIVE C:
HOMEPATH \Users\rmizf
Julia C:\Users\rmizf\AppData\Local\Programs\Julia 1.5.0_2\bin
JUNORC_PATH C:\Users\rmizf\AppData\Local\JuliaPro-1.2.0-1\.atom
LANG en_US.UTF-8
LOCALAPPDATA C:\Users\rmizf\AppData\Local
LOGONSERVER \\WNS02
MASSDIR I:\WINMASS
Net NUSNET-III NT
NUMBER_OF_PROCESSORS 8
OneDrive C:\Users\rmizf\OneDrive
ORIGINAL_XDG_CURRENT_DESKTOP undefined
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\...
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 5e03
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Users\rmizf\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC C:\Users\Public
SESSIONNAME Console
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Users\rmizf\AppData\Local\Temp
TERM_PROGRAM vscode
TERM_PROGRAM_VERSION 1.52.1
TMP C:\Users\rmizf\AppData\Local\Temp
UATDATA C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
USERDNSDOMAIN STF.NUS.EDU.SG
USERDOMAIN NUSSTF
USERDOMAIN_ROAMINGPROFILE NUSSTF
USERNAME rmizf
USERPROFILE C:\Users\rmizf
VSCODE_GIT_ASKPASS_MAIN c:\Users\rmizf\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js
VSCODE_GIT_ASKPASS_NODE C:\Users\rmizf\AppData\Local\Programs\Microsoft VS Code\Code.exe
VSCODE_GIT_IPC_HANDLE \\.\pipe\vscode-git-0515e26bdd-sock
windir C:\Windows

```

---

<div class="post-metadata">

**Author:** ![enjoyable](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@enjoyable](https://discourse.julialang.org/u/enjoyable)\
**Post date:** [December 18, 2020, 8:58am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/10 "2020-12-18T08:58:41Z")

</div>

Hi Nilshg,  
The result for both Julia 1.5.3 and Julia with VSCODE for the command is 4.  
It seems that the error only happens when I run self-coded functions.

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 20, 2020, 5:01am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/11 "2020-12-20T05:01:48Z")

</div>

> [@enjoyable](#):
>
> ```julia
> Julia C:\Users\rmizf\AppData\Local\Programs\Julia 1.5.0_2\bin
> JUNORC_PATH C:\Users\rmizf\AppData\Local\JuliaPro-1.2.0-1\.atom
> 
> ```

You seem to have many versions of Julia installed. There’s JuliaPro, Julia 1.5.0\_2 and Julia 1.5.3.

Just so we’re clear, also give us the output of `versioninfo()`

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 20, 2020, 5:07am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/12 "2020-12-20T05:07:19Z")

</div>

Do you have a `.julia\startup.jl` ?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 20, 2020, 8:41am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/13 "2020-12-20T08:41:02Z")

</div>

Is the error message that you posted the entire thing?

---

<div class="post-metadata">

**Author:** ![enjoyable](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@enjoyable](https://discourse.julialang.org/u/enjoyable)\
**Post date:** [December 21, 2020, 2:33am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/14 "2020-12-21T02:33:37Z")

</div>

Hi Mkitti,  
The versioninfo is as below.

```julia
Julia Version 1.5.3
Commit 788b2c77c1 (2020-11-09 13:37 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
  JULIA = C:\Users\rmizf\AppData\Local\Programs\Julia 1.5.0_2\bin
  JULIA_EDITOR = "C:\Users\rmizf\AppData\Local\Programs\Microsoft VS Code\Code.exe"
  JULIA_NUM_THREADS =

```

I did not find starup.jl.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/5/b/5b1ace820b15b00a35d1ea87f7753d546a543e0f.png)

---

<div class="post-metadata">

**Author:** ![enjoyable](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@enjoyable](https://discourse.julialang.org/u/enjoyable)\
**Post date:** [December 21, 2020, 2:54am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/15 "2020-12-21T02:54:48Z")

</div>

Hi what I posted is not the entire thing as there were too many lines of messages.  
The beginning of the message is like below, which I copied from JuliaPro Terminal  
( I did not manage to copy the error message using VScode as the message passed so quickly)

```julia
Internal error: encountered unexpected error in runtime:
StackOverflowError()
jl_subtype_env at /cygdrive/d/buildbot/worker/package_win64/build/src\subtype.c:1864
jl_subtype_env at /cygdrive/d/buildbot/worker/package_win64/build/src\subtype.c:1847 [inlined]
jl_subtype_matching at /cygdrive/d/buildbot/worker/package_win64/build/src\subtype.c:3410
jl_typemap_entry_assoc_by_type at /cygdrive/d/buildbot/worker/package_win64/build/src\typemap.c:462
ml_matches at /cygdrive/d/buildbot/worker/package_win64/build/src\gf.c:2799
jl_matching_methods at /cygdrive/d/buildbot/worker/package_win64/build/src\gf.c:1891
_methods_by_ftype at .\reflection.jl:861 [inlined]
#216 at .\compiler\abstractinterpretation.jl:57 [inlined]
get! at .\iddict.jl:152
jfptr_getNOT._20261.clone_1 at C:\Users\rmizf\AppData\Local\JuliaPro-1.5.2-1\Julia-1.5.2\lib\julia\sys.dll (unknown line)
abstract_call_gf_by_type at .\compiler\abstractinterpretation.jl:55
abstract_call_known at .\compiler\abstractinterpretation.jl:904
abstract_call at .\compiler\abstractinterpretation.jl:926
abstract_call at .\compiler\abstractinterpretation.jl:911
abstract_eval at .\compiler\abstractinterpretation.jl:1005
typeinf_local at .\compiler\abstractinterpretation.jl:1270
typeinf_nocycle at .\compiler\abstractinterpretation.jl:1326
typeinf at .\compiler\typeinfer.jl:12
typeinf_edge at .\compiler\typeinfer.jl:484

```

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 21, 2020, 6:25am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/16 "2020-12-21T06:25:57Z")

</div>

> [@enjoyable](#):
>
> ```julia
> StackOverflowError()
> 
> ```

This is the most informative line so far.

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 21, 2020, 6:27am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/17 "2020-12-21T06:27:48Z")

</div>

Does this happen with simple self-coded functions like `f(x) = x*x` ? Or particular ones?

It seems your self-coded functions seems to be running out of memory. Can you share with us a minimum working example of a self-coded function that causes these issues?

---

<div class="post-metadata">

**Author:** ![enjoyable](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@enjoyable](https://discourse.julialang.org/u/enjoyable)\
**Post date:** [December 21, 2020, 7:20am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/18 "2020-12-21T07:20:44Z")

</div>

Hi the error does not occur for functions like f(x) = x\*x.  
There is no complicated calculation in the functions. And I can get the results from these functions after the end of the messages.  
For Julia 1.0 and 1.2 versions, I do not encounter such issues either.

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 21, 2020, 9:15am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/19 "2020-12-21T09:15:53Z")

</div>

Do you have any large tuples?

[https://github.com/JuliaLang/julia/issues/38364](https://github.com/JuliaLang/julia/issues/38364)

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 21, 2020, 9:19am UTC](https://discourse.julialang.org/t/strange-abstract-call-messages-before-code-running/52025/20 "2020-12-21T09:19:16Z")

</div>

I think we really need a Minimum Working Example (MWE) that demonstrates the issue to progress further. Could you try to isolate what lines in your function are causing the issue?
