Skip to content
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

Crash when adding plots #26

Open
phectori opened this issue Mar 4, 2020 · 1 comment
Open

Crash when adding plots #26

phectori opened this issue Mar 4, 2020 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@phectori
Copy link
Contributor

phectori commented Mar 4, 2020

The lognplotgtk application crashes when adding plots to the "extra" 2x2 plot window.

To reproduce:

  • Run application cargo run --release
  • Open extra plot window by clicking View -> New 2x2 plot window
  • Drag plots to all 4 plots in the new window.
  • Keep adding plots until it crashes (usually after 5 or 6 in total)

Output:

    Updating crates.io index
    Finished release [optimized] target(s) in 4.45s
     Running `/Users/frits/Documents/Projects/lognplot/target/release/lognplotgtk`
2020-03-04 20:29:50,819 INFO  [lognplotgtk] Starting lognplot GUI tool
2020-03-04 20:29:50,823 INFO  [lognplot::net::server] Server thread begun!!!
2020-03-04 20:29:50,823 INFO  [lognplot::net::server] Starting up server at port 12345!
2020-03-04 20:29:50,824 INFO  [lognplot::net::server] Server listening on [::]:12345
2020-03-04 20:29:50.936 lognplotgtk[56082:1894993] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.

(<unknown>:56082): Gdk-WARNING **: 20:29:51.144: GdkQuartzDisplay does not implement the monitor vfuncs
Key! 65513
2020-03-04 20:29:57,273 INFO  [lognplotgtk::mainwindow] New window!
2020-03-04 20:30:06,201 INFO  [lognplotgtk::chart_widget] DROP ["META_chart_render_time_chart1"]
2020-03-04 20:30:14,775 INFO  [lognplotgtk::chart_widget] DROP ["META_chart_render_time_chart1"]
2020-03-04 20:30:16,954 INFO  [lognplotgtk::chart_widget] DROP ["META_chart_render_time_chart1"]
2020-03-04 20:30:20,572 INFO  [lognplotgtk::chart_widget] DROP ["META_chart_render_time_chart1"]
2020-03-04 20:30:22,448 INFO  [lognplotgtk::chart_widget] DROP ["META_chart_render_time_chart1"]
2020-03-04 20:30:24,512 INFO  [lognplotgtk::chart_widget] DROP ["META_chart_render_time_chart1"]
2020-03-04 20:30:24,512 INFO  [lognplotgtk::chart_widget] Signal META_chart_render_time_chart1 is already shown

(<unknown>:56082): Gdk-WARNING **: 20:30:24.514: losing last reference to undestroyed window

(<unknown>:56082): GLib-GObject-CRITICAL **: 20:30:24.514: g_object_ref: assertion 'old_val > 0' failed
[1]    56082 segmentation fault  cargo run --release

Test environment:

  • macOS Catalina 10.15.1
  • cargo 1.41.0
@windelbouwman windelbouwman added the help wanted Extra attention is needed label Mar 6, 2020
@windelbouwman
Copy link
Owner

This appears to be a mac specific issue, since the last message is a segfault, it should be checked with xcode what the cause is here.

@windelbouwman windelbouwman added the bug Something isn't working label Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants