-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Plot caused "stack smashing" #2742
Comments
Can you give some DataFrame data, that reproduces this bug? |
Also which version of DataFrames is this? df = DataFrame([(a = i, b = Symbol(i)) for i in 1:10])
plot(df.b[1:3], df.a[1:3], yscale = :log10, label=df.b[1:3])
ERROR: Cannot convert Symbol to series data for plotting
Stacktrace: |
@BeastyBlacksmith , your code is not the original example - this crashes julia 1.4.2 and 1.5.0-dev:
The GR version, according to the Manifest, is 0.49.1. I think this is a GR problem though, I'll see if I can step through and locate the error. Not having a line number makes this harder though... |
cc: @jheinen |
Sorry, confusingly, the symbol column is type string, not |
another example that crashes GR in a similar way for me: |
What should happen with the |
They should not lead to a core-dump:
Even though the error is most probably in |
Probably Plots converts this in many empty series, since it treats |
This plot shouldn't work, but I'm not quite sure why it causes a SIGABRT, couldn't find an open issue with "stack smashing".
cs
is a DataFrame, with the:symbol
column of type String, and the:x1
column of type Int.Details
Backends
Versions
Plots version:
1.3.3
Julia Version
1.4.0
Commit b8e9a9ecc6 (2020-03-21 16:36 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
The text was updated successfully, but these errors were encountered: