Giter Site home page Giter Site logo

gtk's Introduction

gtk3-rs CI

This project is UNMAINTAINED. Please take a look at gtk4-rs instead!

The gtk-rs organization aims to provide safe Rust binding over GObject-based libraries. You can find more about it on https://gtk-rs.org.

This repository contains all the "core" crates of the gtk-rs organization. For more information about each crate, please refer to their README.md file in their directory.

Minimum supported Rust version

Currently, the minimum supported Rust version is 1.70.0.

Documentation

Ecosystem

The gtk3-rs repository contains Rust crates for GTK 3. However there is a large ecosystem of GObject libraries and many of these libraries have Rust bindings based on the tooling included in gtk-rs. Of particular note:

  • gtk-rs-core - bindings for some of the core libraries such as glib, gio, pango, graphene
  • gstreamer-rs - bindings for the GStreamer media framework

Additionally, Rust bindings for various libraries are hosted on GNOME's GitLab instance and can be found at https://gitlab.gnome.org/World/Rust.

When using crates that are not part of the gtk-rs repository, you will need to be careful and ensure that they do not pull in incompatible versions of core crates like glib-rs.

Regenerating

To regenerate crates using gir, please use the generator.py file as follows:

$ python3 generator.py

If you didn't do so yet, please check out all the submodules before via

$ git submodule update --checkout

Development

This repository is mostly split into two branches: master and crate. master contains the not yet released code and is where new developments are happening. crate contains the last release source code and isn't supposed to be updated.

This repository is structured as follows:

- crate/
   |
   |-- README.md
   |-- Gir.toml
   |-- Cargo.toml
   |-- src/
   |-- sys/

The crate is a "top" directory (so "atk" or "gdk" in here for example). Each crate contains:

  • README.md: explanations about the crate itself and eventually some details.
  • Cargo.toml: descriptor of the crate, used by cargo and Rust.
  • Gir.toml: configuration used by gir to generate most of the crates' code.
  • src: the source code of the crate.
  • sys: the 1:1 bindings of the C API.

The gir and gir-files top folders are not crates, but are git submodules which respectively contain the gir tool and the gir files used by the generator.

When running generator.py the tool will automatically update these git submodules and run the gir tool on the gir files to regenerate the code.

During development, it is useful to execute the generator with a different version of the gir tool or of the gir files, for instance to test if the code generation is successful before submitting a pull request to update one of the submodules. This can be done by specifying arguments to the generator script, for instance, to run the generator on a local copy of the gir files:

$ python3 generator.py --gir-files-directory ../gir-files/

See python3 generator.py --help for more details.

gtk's People

Contributors

alatiera avatar bilelmoussaoui avatar bpbp-boop avatar brainblasted avatar buster avatar chrisgreenaway avatar dndanik avatar efyang avatar epashkin avatar fengalin avatar gkoz avatar gsingh93 avatar guillaumegomez avatar hfiguiere avatar jeremyletang avatar jgillich avatar kinnison avatar lordsentox avatar mathijshenquet avatar mitaa avatar oakes avatar osa1 avatar sdroege avatar sfanxiang avatar simonsapin avatar sophie-h avatar stephanvanschaik avatar susurrus avatar tmiasko avatar tsahyt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gtk's Issues

Compile error: unresolved import `glib::translate::IterToGlibPtr`. There is no `IterToGlibPtr` in `glib::translate`

I'm trying to compile with the latest rust nightly against glib-master and I encounter the following error:

┌─gerlof@arch-laptop ~/.cargo/git/checkouts/gtk-61164953be1831c6/master (master) $ 
└─╼cargo build
   Compiling gtk v0.0.2 (file:///home/gerlof/.cargo/git/checkouts/gtk-61164953be1831c6/master)
src/widgets/recent_data.rs:7:42: 7:55 error: unresolved import `glib::translate::IterToGlibPtr`. There is no `IterToGlibPtr` in `glib::translate`
src/widgets/recent_data.rs:7 use glib::translate::{ToGlib, ToGlibPtr, IterToGlibPtr, Stash, IterStash};
                                                                      ^~~~~~~~~~~~~
src/widgets/recent_data.rs:7:64: 7:73 error: unresolved import `glib::translate::IterStash`. There is no `IterStash` in `glib::translate`
src/widgets/recent_data.rs:7 use glib::translate::{ToGlib, ToGlibPtr, IterToGlibPtr, Stash, IterStash};
                                                                                            ^~~~~~~~~
src/widgets/about_dialog.rs:10:72: 10:85 error: unresolved import `glib::translate::IterToGlibPtr`. There is no `IterToGlibPtr` in `glib::translate`
src/widgets/about_dialog.rs:10 use glib::translate::{from_glib_none, FromGlibPtrContainer, ToGlibPtr, IterToGlibPtr};
                                                                                                      ^~~~~~~~~~~~~
error: aborting due to 3 previous errors
Could not compile `gtk`.

To learn more, run the command again with --verbose.

Seems to be related to the IterToGlibPtr function being removed not long ago:
gtk-rs/glib@64fcdf9.

Build failing with libgtk 3.4.2 on Ubuntu 12.04.5 LTS

Hi,

on my system the build of this library is failing due to gtk_glue.c not compiling:

$ LC_ALL=C cargo build --features "gtk_3_4"
...
running: "cc" "-O0" "-c" "-ffunction-sections" "-fdata-sections" "-m64" "-fPIC" "-I" "/usr/include/gtk-3.0" "-I" "/usr/include/pango-1.0" "-I" "/usr/include/gio-unix-2.0/" "-I" "/usr/include/atk-1.0" "-I" "/usr/include/cairo" "-I" "/usr/include/gdk-pixbuf-2.0" "-I" "/usr/include/freetype2" "-I" "/usr/include/glib-2.0" "-I" "/usr/lib/x86_64-linux-gnu/glib-2.0/include" "-I" "/usr/include/pixman-1" "-I" "/usr/include/libpng12" "-DGTK_3_4" "-DGTK_3_6" "/home/foo/.cargo/registry/src/github.com-1ecc6299db9ec823/gtk-sys-0.1.1/src/gtk_glue.c" "-o" "/home/foo/compile/gtk/target/debug/build/gtk-sys-feb460ce2233f27e/out/src/gtk_glue.o"

command did not execute successfully, got: exit code: 1

--- stderr
/home/foo/.cargo/registry/src/github.com-1ecc6299db9ec823/gtk-sys-0.1.1/src/gtk_glue.c:405:1: error: unknown type name 'GtkLevelBar'

On my system only GTK 3.4.2 is available. However, as you can see in the output above cargo sets the preprocessor definition GTK_3_6 anyway.

Cargo & Rust version:

$ rustc -V
rustc 1.2.0-dev (aca207a65 2015-05-19) (built 2015-05-19)
$ cargo -V
cargo 0.3.0 (a1778ef 2015-05-19) (built 2015-05-20)

It seems as if the default value (set to gtk_3_6) in Cargo.toml is always considered, even when overridden by the --features flag.

The following approaches fixed the problem for me.

  • Remove the default setting altogether:
diff --git a/Cargo.toml b/Cargo.toml
index 7776495..174b575 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,7 +17,6 @@ keywords = ["gtk", "gnome", "GUI"]
 name = "gtk"

 [features]
-default = ["gtk_3_6"]
 gtk_3_4 = ["gtk-sys/gtk_3_4", "gdk/gdk_3_4"]
 gtk_3_6 = ["gtk-sys/gtk_3_6", "gdk/gdk_3_6", "gtk_3_4"]
 gtk_3_8 = ["gtk-sys/gtk_3_8", "gdk/gdk_3_8", "gtk_3_6"]
  • Change the default setting to gtk_3_4:
diff --git a/Cargo.toml b/Cargo.toml
index 7776495..c08400f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,7 +17,7 @@ keywords = ["gtk", "gnome", "GUI"]
 name = "gtk"

 [features]
-default = ["gtk_3_6"]
+default = ["gtk_3_4"]
 gtk_3_4 = ["gtk-sys/gtk_3_4", "gdk/gdk_3_4"]
 gtk_3_6 = ["gtk-sys/gtk_3_6", "gdk/gdk_3_6", "gtk_3_4"]
 gtk_3_8 = ["gtk-sys/gtk_3_8", "gdk/gdk_3_8", "gtk_3_6"]

Best Regards,
Sascha

Struggling with accessing the same widget from multiple connect calls

I'm struggling with the following code I've written

        let libraryview : Viewport = builder.get_object("libraryview").unwrap();
        let scroll : ScrolledWindow = builder.get_object("mainscroll").unwrap();

        librarylbl.connect_button_press_event(move |_,_,| {
            scroll.remove(&libraryview);
            Inhibit(true)
        }); 

        newrecipelbl.connect_button_press_event(move|_,_| {
            scroll.remove(&libraryview);
                Inhibit(true)
         });

Which results in a borrow error for scroll and libraryview, whereas it looks like you could do something similar in rgtk, using &mut || { } closures as far as I can tell?

Does not currently build

This is on current head, 1cb27ac on a Ubuntu machine.

$ cargo --version
cargo 0.5.0-nightly (1f24be7 2015-08-13)
$ rustc --version
rustc 1.4.0-nightly (e822a18ae 2015-08-16)

$ git clone https://github.com/rust-gnome/gtk.git
Cloning into 'gtk'...
remote: Counting objects: 9375, done.
remote: Total 9375 (delta 0), reused 0 (delta 0), pack-reused 9375
Receiving objects: 100% (9375/9375), 3.52 MiB | 3.45 MiB/s, done.
Resolving deltas: 100% (7303/7303), done.
Checking connectivity... done.
$ cd gtk
$ cargo build
    Updating git repository `https://github.com/rust-gnome/cairo`
    Updating git repository `https://github.com/rust-gnome/sys`
    Updating git repository `https://github.com/rust-gnome/pango`
    Updating git repository `https://github.com/rust-gnome/gdk`
    Updating registry `https://github.com/rust-lang/crates.io-index`
    Updating git repository `https://github.com/rust-gnome/glib`
   Compiling gtk v0.0.3 (file:///tmp/gtk)
   Compiling gdk v0.1.1 (https://github.com/rust-gnome/gdk#dc2bf668)
   Compiling cairo-rs v0.0.4 (https://github.com/rust-gnome/cairo#f9abb1b3)
   Compiling pkg-config v0.3.5
   Compiling gcc v0.3.9
   Compiling c_vec v1.0.12
   Compiling bitflags v0.3.2
   Compiling libc v0.1.10
   Compiling gdk-sys v0.2.0 (https://github.com/rust-gnome/sys#5761c8d2)
   Compiling gobject-sys v0.2.0 (https://github.com/rust-gnome/sys#5761c8d2)
   Compiling pango-sys v0.2.0 (https://github.com/rust-gnome/sys#5761c8d2)
   Compiling glib-sys v0.2.0 (https://github.com/rust-gnome/sys#5761c8d2)
   Compiling gdk-pixbuf-sys v0.2.0 (https://github.com/rust-gnome/sys#5761c8d2)
   Compiling gio-sys v0.2.0 (https://github.com/rust-gnome/sys#5761c8d2)
   Compiling atk-sys v0.2.0 (https://github.com/rust-gnome/sys#5761c8d2)
   Compiling cairo-sys-rs v0.1.3 (https://github.com/rust-gnome/cairo#f9abb1b3)
   Compiling gtk-sys v0.1.3 (file:///tmp/gtk)
gtk-sys/build.rs:38:35: 38:47 warning: use of deprecated item: renamed to join, #[warn(deprecated)] on by default
gtk-sys/build.rs:38     println!("cargo:cfg={}", cfgs.connect(" "));
                                                      ^~~~~~~~~~~~
note: in expansion of format_args!
<std macros>:2:25: 2:56 note: expansion site
<std macros>:1:1: 2:62 note: in expansion of print!
<std macros>:3:1: 3:54 note: expansion site
<std macros>:1:1: 3:58 note: in expansion of println!
gtk-sys/build.rs:38:5: 38:49 note: expansion site
   Compiling glib v0.0.3 (https://github.com/rust-gnome/glib#3fdc3604)
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/glib-092facbaf88f3275/master/src/object.rs:174:5: 174:42 warning: the trait `core::marker::Sized` is not implemented for the type `Self` [E0277]
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/glib-092facbaf88f3275/master/src/object.rs:174     fn downcast(self) -> Result<T, Self>;
                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/glib-092facbaf88f3275/master/src/object.rs:174:5: 174:42 help: run `rustc --explain E0277` to see a detailed explanation
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/glib-092facbaf88f3275/master/src/object.rs:174:5: 174:42 note: `Self` does not have a constant size known at compile-time
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/glib-092facbaf88f3275/master/src/object.rs:174     fn downcast(self) -> Result<T, Self>;
                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/glib-092facbaf88f3275/master/src/object.rs:174:5: 174:42 note: this warning results from recent bug fixes and clarifications; it will become a HARD ERROR in the next release. See RFC 1214 for details.
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/glib-092facbaf88f3275/master/src/object.rs:174     fn downcast(self) -> Result<T, Self>;
                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/glib-092facbaf88f3275/master/src/object.rs:174:5: 174:42 note: required by `core::result::Result`
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/glib-092facbaf88f3275/master/src/object.rs:174     fn downcast(self) -> Result<T, Self>;
                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Compiling pango v0.0.3 (https://github.com/rust-gnome/pango#d64bb4dd)
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/gdk-45e565a7e6261aac/master/src/rectangle.rs:13:5: 13:55 warning: the trait `core::marker::Sized` is not implemented for the type `Self` [E0277]
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/gdk-45e565a7e6261aac/master/src/rectangle.rs:13     fn intersect(&self, other: &Self) -> Option<Self>;
                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/gdk-45e565a7e6261aac/master/src/rectangle.rs:13:5: 13:55 help: run `rustc --explain E0277` to see a detailed explanation
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/gdk-45e565a7e6261aac/master/src/rectangle.rs:13:5: 13:55 note: `Self` does not have a constant size known at compile-time
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/gdk-45e565a7e6261aac/master/src/rectangle.rs:13     fn intersect(&self, other: &Self) -> Option<Self>;
                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/gdk-45e565a7e6261aac/master/src/rectangle.rs:13:5: 13:55 note: this warning results from recent bug fixes and clarifications; it will become a HARD ERROR in the next release. See RFC 1214 for details.
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/gdk-45e565a7e6261aac/master/src/rectangle.rs:13     fn intersect(&self, other: &Self) -> Option<Self>;
                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/gdk-45e565a7e6261aac/master/src/rectangle.rs:13:5: 13:55 note: required by `core::option::Option`
/home/hrapp/.multirust/toolchains/nightly/cargo/git/checkouts/gdk-45e565a7e6261aac/master/src/rectangle.rs:13     fn intersect(&self, other: &Self) -> Option<Self>;
                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/widgets/places_sidebar.rs:46:18: 46:56 error: unresolved name `ffi::gtk_places_sidebar_set_local_only` [E0425]
src/widgets/places_sidebar.rs:46         unsafe { ffi::gtk_places_sidebar_set_local_only(GTK_PLACES_SIDEBAR(self.unwrap_widget()), to_gboolean(local_only)) }
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/widgets/places_sidebar.rs:46:18: 46:56 help: run `rustc --explain E0425` to see a detailed explanation
src/widgets/places_sidebar.rs:50:26: 50:64 error: unresolved name `ffi::gtk_places_sidebar_get_local_only` [E0425]
src/widgets/places_sidebar.rs:50         unsafe { to_bool(ffi::gtk_places_sidebar_get_local_only(GTK_PLACES_SIDEBAR(self.unwrap_widget()))) }
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/widgets/places_sidebar.rs:50:26: 50:64 help: run `rustc --explain E0425` to see a detailed explanation
src/widgets/places_sidebar.rs:54:18: 54:65 error: unresolved name `ffi::gtk_places_sidebar_set_show_enter_location` [E0425]
src/widgets/places_sidebar.rs:54         unsafe { ffi::gtk_places_sidebar_set_show_enter_location(GTK_PLACES_SIDEBAR(self.unwrap_widget()),
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/widgets/places_sidebar.rs:54:18: 54:65 help: run `rustc --explain E0425` to see a detailed explanation
src/widgets/places_sidebar.rs:59:26: 59:73 error: unresolved name `ffi::gtk_places_sidebar_get_show_enter_location` [E0425]
src/widgets/places_sidebar.rs:59         unsafe { to_bool(ffi::gtk_places_sidebar_get_show_enter_location(GTK_PLACES_SIDEBAR(self.unwrap_widget()))) }
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/widgets/places_sidebar.rs:59:26: 59:73 help: run `rustc --explain E0425` to see a detailed explanation

gtk::main_iteration* crash my App

If I try replacing

gtk::main();

through

while (gtk::main_iteration()) {}

in any of my Apps, they crash when I close my window. The window has the following code attached:

window.connect_delete_event(|_, _| {
   gtk::main_quit();
   signal::Inhibit(true)
});

This is on Mac OS X 10.10.4, nighly rust, 0109a1d of this repo.

Am I doing it wrong?

Below is the Apple crash report:

Process:               gtk_gui [62381]
Path:                  /Users/USER/Desktop/*/gtk_gui
Identifier:            gtk_gui
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        cargo [61933]
Responsible:           iTerm [456]
User ID:               501

Date/Time:             2015-08-08 16:59:43.059 +0200
OS Version:            Mac OS X 10.10.4 (14E46)
Report Version:        11
Anonymous UUID:        B474EE40-A99F-4E8D-D5E5-A357DAA3C2D3

Sleep/Wake UUID:       0B4F2C2D-8CA7-48BD-AD5D-65A19023D5AA

Time Awake Since Boot: 570000 seconds
Time Since Wake:       5000 seconds

Crashed Thread:        1  Dispatch queue: com.apple.libdispatch-manager

Exception Type:        EXC_CRASH (SIGSEGV)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Thread 0:: Dispatch queue: com.apple.main-thread
0   gtk_gui                         0x0000000101e34976 sys::stack_overflow::imp::signal_handler::hddc35433eddcaf5fELv + 614
1   libsystem_platform.dylib        0x00007fff92559f1a _sigtramp + 26
2   ???                             000000000000000000 0 + 0
3   gtk_gui                         0x0000000101dde6ae rt::main_quit::h1debde14315e0dc5fIa + 46
4   gtk_gui                         0x0000000101cb334d SwitchboardGtkGui::new::closure.9997 + 61
5   gtk_gui                         0x0000000101ddf183 extern$u20$$u22$rust.call$u22$$u20$fn$LP$$RF$for$LT$$u27$r$GT$$u20$core..ops..Fn$LP$widgets..widget..Widget$C$$u20$$RF$$u27$r$u20$gdk..events..EventAny$RP$$u20$.$GT$$u20$signal..Inhibit$u20$$u2b$$u20$$u27$static$C$$u20$$LP$widgets..widget..Widget$C$$u20$$RF$$u27$static$u20$gdk..events..EventAny$RP$$RP$$u20$.$GT$$u20$signal..Inhibit::object_shim.29172::h87eeb908ad5e65e2 + 67
6   gtk_gui                         0x0000000101ddf128 signal::widget::event_any_trampoline::__rust_abi + 152
7   gtk_gui                         0x0000000101ddf08a signal::widget::event_any_trampoline::hc6cdea6459700f22bKj + 74
8   libgtk-3.0.dylib                0x000000010220decf _gtk_marshal_BOOLEAN__BOXEDv + 181
9   libgobject-2.0.0.dylib          0x00000001029f95b7 _g_closure_invoke_va + 295
10  libgobject-2.0.0.dylib          0x0000000102a0ec31 g_signal_emit_valist + 1304
11  libgobject-2.0.0.dylib          0x0000000102a0f5ee g_signal_emit + 134
12  libgtk-3.0.dylib                0x00000001022f98f1 gtk_widget_event_internal + 527
13  libgtk-3.0.dylib                0x000000010220c6ff gtk_main_do_event + 1236
14  libgdk-3.0.dylib                0x00000001026b66ab gdk_event_dispatch + 50
15  libglib-2.0.0.dylib             0x0000000102a65fc0 g_main_context_dispatch + 285
16  libglib-2.0.0.dylib             0x0000000102a6629f g_main_context_iterate + 404
17  libglib-2.0.0.dylib             0x0000000102a662f7 g_main_context_iteration + 55
18  libgtk-3.0.dylib                0x000000010220c1be gtk_main_iteration + 28
19  gtk_gui                         0x0000000101dde6e2 rt::main_iteration::hbc42b5f394235309xIa + 50
20  gtk_gui                         0x0000000101ccf370 main::h6c0b31e5c02359440ha + 240
21  gtk_gui                         0x0000000101e359de __rust_try + 46
22  gtk_gui                         0x0000000101e36d4e rt::lang_start::h477879a51bd75b63h9w + 1022
23  gtk_gui                         0x0000000101cd835f main + 79
24  libdyld.dylib                   0x00007fff91a4d5c9 start + 1

Thread 1 Crashed:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff87aac232 kevent64 + 10
1   libdispatch.dylib               0x00007fff8844ea6a _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib          0x00007fff87aab94a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8a33540d start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib          0x00007fff87aab94a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8a33540d start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib          0x00007fff87aab94a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8a33540d start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib          0x00007fff87aab94a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8a33540d start_wqthread + 13

Thread 6:
0   libsystem_kernel.dylib          0x00007fff87aac21a kevent + 10
1   gtk_gui                         0x0000000101dfa326 sys::unix::kqueue::Selector::select::hd399bdd4eb1baa2cbic + 246
2   gtk_gui                         0x0000000101dfa0f5 poll::Poll::poll::h876fdbdddc29a650Qec + 117
3   gtk_gui                         0x0000000101dd3eb9 event_loop::EventLoop$LT$H$GT$::io_poll::h12473577075281160583 + 185
4   gtk_gui                         0x0000000101dd38b2 event_loop::EventLoop$LT$H$GT$::run_once::h6605641542500595802 + 802
5   gtk_gui                         0x0000000101dd348c event_loop::EventLoop$LT$H$GT$::run::h16906642297744136239 + 156
6   gtk_gui                         0x0000000101dd332f client::Client$LT$$u27$a$GT$::connect::closure.16102 + 95
7   gtk_gui                         0x0000000101dd3285 boxed::F.FnBox$LT$A$GT$::call_box::h12783133892905506402 + 149
8   gtk_gui                         0x0000000101dd2e01 boxed::Box$LT$FnBox$LT$A$C$$u20$Output$u20$$u3d$$u20$R$GT$$u2b$$u20$Send$u20$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h13534002491380903186 + 97
9   gtk_gui                         0x0000000101dd2873 thread::Builder::spawn_inner::closure.16072 + 115
10  gtk_gui                         0x0000000101dd27ef rt::unwind::try::try_fn::h6814903845550662887 + 95
11  gtk_gui                         0x0000000101e359de __rust_try + 46
12  gtk_gui                         0x0000000101e31df6 rt::unwind::try::inner_try::hd6311f095990011fZDw + 134
13  gtk_gui                         0x0000000101dd2739 rt::unwind::try::h8373936276572330529 + 137
14  gtk_gui                         0x0000000101dd257d thread::Builder::spawn_inner::closure.16024 + 701
15  gtk_gui                         0x0000000101dd307e boxed::F.FnBox$LT$A$GT$::call_box::h18365645765999794014 + 126
16  gtk_gui                         0x0000000101e34a2e sys::thread::Thread::new::thread_start::h467bf857b12ab32ej2v + 158
17  libsystem_pthread.dylib         0x00007fff8a337268 _pthread_body + 131
18  libsystem_pthread.dylib         0x00007fff8a3371e5 _pthread_start + 176
19  libsystem_pthread.dylib         0x00007fff8a33541d thread_start + 13

Thread 7:
0   libsystem_kernel.dylib          0x00007fff87aab136 __psynch_cvwait + 10
1   gtk_gui                         0x0000000101e2c06a thread::park::hb2873aca7956d4dfVzb + 474
2   gtk_gui                         0x0000000101e32592 sync::mpsc::blocking::WaitToken::wait::hc0115358157435f5Uwm + 82
3   gtk_gui                         0x0000000101db9176 sync::mpsc::shared::Packet$LT$T$GT$::recv::h10230423324595149404 + 646
4   gtk_gui                         0x0000000101db6996 sync::mpsc::Receiver$LT$T$GT$::recv::h8630237171920007309 + 374
5   gtk_gui                         0x0000000101db62a2 client::FunctionThread$LT$$u27$a$GT$::spin_forever::ha32670622ba737d8Oua + 114
6   gtk_gui                         0x0000000101dd7b48 client::Client$LT$$u27$a$GT$::connect::closure.16179 + 232
7   gtk_gui                         0x0000000101dd7a1a boxed::F.FnBox$LT$A$GT$::call_box::h17207352372073342720 + 138
8   gtk_gui                         0x0000000101dd2e01 boxed::Box$LT$FnBox$LT$A$C$$u20$Output$u20$$u3d$$u20$R$GT$$u2b$$u20$Send$u20$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h13534002491380903186 + 97
9   gtk_gui                         0x0000000101dd2873 thread::Builder::spawn_inner::closure.16072 + 115
10  gtk_gui                         0x0000000101dd27ef rt::unwind::try::try_fn::h6814903845550662887 + 95
11  gtk_gui                         0x0000000101e359de __rust_try + 46
12  gtk_gui                         0x0000000101e31df6 rt::unwind::try::inner_try::hd6311f095990011fZDw + 134
13  gtk_gui                         0x0000000101dd2739 rt::unwind::try::h8373936276572330529 + 137
14  gtk_gui                         0x0000000101dd257d thread::Builder::spawn_inner::closure.16024 + 701
15  gtk_gui                         0x0000000101dd307e boxed::F.FnBox$LT$A$GT$::call_box::h18365645765999794014 + 126
16  gtk_gui                         0x0000000101e34a2e sys::thread::Thread::new::thread_start::h467bf857b12ab32ej2v + 158
17  libsystem_pthread.dylib         0x00007fff8a337268 _pthread_body + 131
18  libsystem_pthread.dylib         0x00007fff8a3371e5 _pthread_start + 176
19  libsystem_pthread.dylib         0x00007fff8a33541d thread_start + 13

Thread 8:
0   libsystem_kernel.dylib          0x00007fff87aab94a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8a33540d start_wqthread + 13

Thread 9:
0   libsystem_kernel.dylib          0x00007fff87aab3fa __select + 10
1   libgdk-3.0.dylib                0x00000001026b63ab select_thread_func + 119
2   libsystem_pthread.dylib         0x00007fff8a337268 _pthread_body + 131
3   libsystem_pthread.dylib         0x00007fff8a3371e5 _pthread_start + 176
4   libsystem_pthread.dylib         0x00007fff8a33541d thread_start + 13

Thread 10:
0   libsystem_kernel.dylib          0x00007fff87aab94a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8a33540d start_wqthread + 13

Thread 11:
0   libsystem_kernel.dylib          0x00007fff87aab94a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8a33540d start_wqthread + 13

Thread 12:
0   libsystem_kernel.dylib          0x00007fff87aab94a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8a33540d start_wqthread + 13

Thread 1 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000004  rbx: 0x0000000000000000  rcx: 0x0000000102ee45b8  rdx: 0x0000000000000000
  rdi: 0x0000000000000003  rsi: 0x0000000000000000  rbp: 0x0000000102ee4640  rsp: 0x0000000102ee45b8
   r8: 0x0000000000000001   r9: 0x0000000000000000  r10: 0x0000000102ee45d0  r11: 0x0000000000000246
  r12: 0x00007fff8846e258  r13: 0x00007fff73832ec0  r14: 0x0000000102ee45d0  r15: 0x0000000102ee4600
  rip: 0x00007fff87aac232  rfl: 0x0000000000000247  cr2: 0x000000010b7c8000

Logical CPU:     0
Error Code:      0x02000171
Trap Number:     133


Binary Images:
       0x101c9a000 -        0x101ed0fcf +gtk_gui (0) <ED1F9BF7-3BE4-32F4-BF1D-4695E76457C5> /Users/USER/Desktop/*/gtk_gui
       0x1020d4000 -        0x10256dfff +libgtk-3.0.dylib (0) <2CF18D05-13B9-35BF-B33F-583C1C7F9F0F> /usr/local/lib/libgtk-3.0.dylib
       0x102692000 -        0x1026d7fff +libgdk-3.0.dylib (0) <8F20E3F6-1172-378D-B6DD-9554AD8A3164> /usr/local/lib/libgdk-3.0.dylib
       0x102702000 -        0x10270ffff +libpangocairo-1.0.0.dylib (0) <3ECDA58A-F0FA-3566-A567-CC9250F272A1> /usr/local/lib/libpangocairo-1.0.0.dylib
       0x10271c000 -        0x10274ffff +libpango-1.0.0.dylib (0) <0CD3E197-A8B9-36C5-9639-DB19B5ECC689> /usr/local/lib/libpango-1.0.0.dylib
       0x102761000 -        0x102776fff +libatk-1.0.0.dylib (0) <9A2581EC-4D4E-340E-994B-87154851287E> /usr/local/lib/libatk-1.0.0.dylib
       0x102789000 -        0x10278efff +libcairo-gobject.2.dylib (0) <D01FCE6B-29E2-3BE0-BF2E-F31DE565C6D2> /usr/local/lib/libcairo-gobject.2.dylib
       0x10279a000 -        0x102845fff +libcairo.2.dylib (0) <3311C3BB-E64A-3BFA-A48B-3ED587C6AC42> /usr/local/lib/libcairo.2.dylib
       0x102872000 -        0x102889fff +libgdk_pixbuf-2.0.0.dylib (0) <8AC8FAFE-4C1B-3C6B-8955-222EE3735494> /usr/local/lib/libgdk_pixbuf-2.0.0.dylib
       0x102896000 -        0x102989ff7 +libgio-2.0.0.dylib (0) <5D1F7B2E-EA60-3F58-A9D9-30BE591F098A> /usr/local/lib/libgio-2.0.0.dylib
       0x1029f2000 -        0x102a25ff7 +libgobject-2.0.0.dylib (0) <DC47FC8E-1FB6-3DD2-9720-48F11DE38996> /usr/local/lib/libgobject-2.0.0.dylib
       0x102a39000 -        0x102b2aff7 +libglib-2.0.0.dylib (0) <5D16604B-AE19-3A2C-8A1E-C06929C7DA56> /usr/local/lib/libglib-2.0.0.dylib
       0x102b52000 -        0x102b5bfff +libintl.8.dylib (0) <1A6A62A0-E4C7-3A09-9095-4356F1929392> /usr/local/opt/gettext/lib/libintl.8.dylib
       0x102b65000 -        0x102b68fff +libgmodule-2.0.0.dylib (0) <92E5EE9F-8BD5-313D-86F4-0AD35EE33CEC> /usr/local/lib/libgmodule-2.0.0.dylib
       0x102b6b000 -        0x102bb7ff7 +libepoxy.0.dylib (0) <54D9F6DA-241C-3D7C-A087-1127D0002AF7> /usr/local/lib/libepoxy.0.dylib
       0x102c40000 -        0x102c4cff7 +libpangoft2-1.0.0.dylib (0) <DB9767B2-DB88-3263-91C1-1D6E950DF32A> /usr/local/Cellar/pango/1.36.8_1/lib/libpangoft2-1.0.0.dylib
       0x102c5a000 -        0x102c5cfff +libgthread-2.0.0.dylib (0) <B99C0C14-4348-314F-92BD-A454166E64D9> /usr/local/lib/libgthread-2.0.0.dylib
       0x102c63000 -        0x102cadff7 +libharfbuzz.0.dylib (0) <D2DDABF5-2D2E-3AA6-B2BC-2E66D34D7C60> /usr/local/lib/libharfbuzz.0.dylib
       0x102cc1000 -        0x102cedff7 +libfontconfig.1.dylib (0) <0E602E22-3641-38D1-8899-546A9364F6B4> /usr/local/lib/libfontconfig.1.dylib
       0x102d00000 -        0x102d6fff7 +libfreetype.6.dylib (0) <BB041989-3727-31AA-8E44-D7BD1555394D> /usr/local/lib/libfreetype.6.dylib
       0x102d8a000 -        0x102d8efff +libffi.6.dylib (0) <043708E8-8468-3F9A-A6E1-8A2EDA4B3330> /usr/local/opt/libffi/lib/libffi.6.dylib
       0x102d94000 -        0x102e12ff7 +libpixman-1.0.dylib (0) <223EE3FE-47C6-3CE5-AE38-2859D5765E8A> /usr/local/lib/libpixman-1.0.dylib
       0x102e2c000 -        0x102e4fff7 +libpng16.16.dylib (0) <78FA9D5B-C0BB-3B57-AA91-B092AE7A58FF> /usr/local/lib/libpng16.16.dylib
       0x1063ff000 -        0x1063ffff5 +cl_kernels (???) <74C68DB1-6A06-4845-9F97-2C2B37758483> cl_kernels
       0x107bfb000 -        0x107bfbfef +cl_kernels (???) <3D3B347E-CEEA-4209-AE4E-3FE17BF4013D> cl_kernels
       0x10b477000 -        0x10b55dfef  unorm8_bgra.dylib (2.4.5) <5F488C7E-2FB2-3C66-9764-28CF16B03E7A> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/unorm8_bgra.dylib
    0x7fff60dbc000 -     0x7fff60df2837  dyld (353.2.1) <72A99D0F-0B56-3938-ABC5-67A0F33757C4> /usr/lib/dyld
    0x7fff82c18000 -     0x7fff8306bfc7  com.apple.vImage (8.0 - 8.0) <33BE7B31-72DB-3364-B37E-C322A32748C5> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff8306c000 -     0x7fff8307aff7  com.apple.opengl (11.1.2 - 11.1.2) <5F355713-4637-33CD-9CBA-4B4CA43FB0FE> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff8307b000 -     0x7fff83260ff7  libicucore.A.dylib (531.48) <3CD34752-B1F9-31D2-865D-B5B0F0BE3111> /usr/lib/libicucore.A.dylib
    0x7fff8327d000 -     0x7fff832b4ffb  com.apple.LDAPFramework (2.4.28 - 194.5) <CAFB9695-000F-34EA-8DF5-09996929C26A> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x7fff832b5000 -     0x7fff832d9ff7  com.apple.Sharing (328.17 - 328.17) <AD5E243A-B79F-3D7B-800B-A2C99A1CFEF1> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
    0x7fff83363000 -     0x7fff83367fff  libpam.2.dylib (20) <E805398D-9A92-31F8-8005-8DC188BD8B6E> /usr/lib/libpam.2.dylib
    0x7fff83368000 -     0x7fff833f9ff7  libCoreStorage.dylib (471.30.1) <9D95399F-1AC5-325F-8337-6E13AD99E44B> /usr/lib/libCoreStorage.dylib
    0x7fff8346d000 -     0x7fff83543ff3  com.apple.DiskImagesFramework (10.10.4 - 397) <8B513846-28A2-3275-B8A0-DF08C5EC077A> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
    0x7fff83597000 -     0x7fff835aaff7  com.apple.CoreBluetooth (1.0 - 1) <8D7BA9BA-EB36-307A-9119-0B3D9732C953> /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
    0x7fff83602000 -     0x7fff83933fff  com.apple.Foundation (6.9 - 1153.20) <F0FF3A5D-C5B7-34A1-9319-DE1EF928E58E> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff83934000 -     0x7fff83935ff3  libSystem.B.dylib (1213) <AD223AEB-237D-35A3-825E-EECF95916838> /usr/lib/libSystem.B.dylib
    0x7fff83936000 -     0x7fff83939fff  com.apple.IOSurface (97.4 - 97.4) <AE11CFBC-4D46-30F3-BEEC-4C8131079391> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff8393a000 -     0x7fff8394bfff  libcmph.dylib (1) <46EC3997-DB5E-38AE-BBBB-A035A54AD3C0> /usr/lib/libcmph.dylib
    0x7fff8394c000 -     0x7fff8396cff7  com.apple.MultitouchSupport.framework (264.6 - 264.6) <B4BDB2C0-5D4E-30F4-8EB0-CC16C91DF418> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff83b08000 -     0x7fff83b0afff  libRadiance.dylib (1238) <6E7F8A71-DA8B-3415-9E64-6DC6FAD16F5C> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff83b0b000 -     0x7fff83b79ffb  com.apple.Heimdal (4.0 - 2.0) <E376CB36-6A8E-36A8-88E7-D06948417D58> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff83be8000 -     0x7fff83ca8ff7  com.apple.backup.framework (1.6.5 - 1.6.5) <86396038-33EA-3046-9F70-093A3D6407D4> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff83f99000 -     0x7fff84005fff  com.apple.framework.CoreWLAN (5.0 - 500.35.2) <03697149-1CDD-32FF-B564-1C1EF5E9E5C3> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
    0x7fff84030000 -     0x7fff840b9ff7  com.apple.CoreSymbolication (3.1 - 57020.2) <FA7C613D-B4DF-333A-B3D6-884CE87E2C6D> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fff840ba000 -     0x7fff841e2ff7  com.apple.coreui (2.1 - 308.6) <9E0E9C6A-68F5-34C1-A17C-96226D401D4D> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff841e3000 -     0x7fff841e3fff  com.apple.audio.units.AudioUnit (1.12 - 1.12) <E5335492-7EFE-31EA-BE72-4A9CEE68D58E> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff841e4000 -     0x7fff84308ff7  com.apple.LaunchServices (644.56 - 644.56) <20AABB1C-9319-3E4D-A024-51B0DD5FCD3B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff84309000 -     0x7fff8444cfff  libsqlite3.dylib (168.2) <BCB1F77E-2484-3EC4-A1D5-1AE90A407A23> /usr/lib/libsqlite3.dylib
    0x7fff8444d000 -     0x7fff8474fffb  com.apple.GeoServices (1.0 - 1077.0.18) <2BBF8B44-DD46-3432-8C84-6D6AA004C233> /System/Library/PrivateFrameworks/GeoServices.framework/Versions/A/GeoServices
    0x7fff84a0f000 -     0x7fff84a17ff7  com.apple.icloud.FindMyDevice (1.0 - 1) <9CE67F85-2BA8-3093-97BA-07BF5C04A5D6> /System/Library/PrivateFrameworks/FindMyDevice.framework/Versions/A/FindMyDevice
    0x7fff84a18000 -     0x7fff84a1dfff  libsystem_stats.dylib (163.30.2) <48A9387D-5C63-3E79-979C-F675552F6FC9> /usr/lib/system/libsystem_stats.dylib
    0x7fff84a1e000 -     0x7fff84a29ff7  com.apple.CrashReporterSupport (10.10 - 631) <C44259AC-0A1C-3EC5-99AC-48CB520A709D> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
    0x7fff84a2a000 -     0x7fff84a33fff  libGFXShared.dylib (11.1.2) <7F9F6175-E993-3014-8C9B-1F08CE7C75A2> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff84a74000 -     0x7fff84abffff  com.apple.CloudDocs (1.0 - 321.9) <9CFB3AAF-9BD4-3543-BAEA-06AFC177A288> /System/Library/PrivateFrameworks/CloudDocs.framework/Versions/A/CloudDocs
    0x7fff84ac0000 -     0x7fff84afbfff  com.apple.QD (301 - 301) <C4D2AD03-B839-350A-AAF0-B4A08F8BED77> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff84b90000 -     0x7fff84e77ffb  com.apple.CoreServices.CarbonCore (1108.6 - 1108.6) <8953580E-7857-33B2-AA64-98296830D3A8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff84e78000 -     0x7fff8507246f  libobjc.A.dylib (647) <759E155D-BC42-3D4E-869B-6F57D477177C> /usr/lib/libobjc.A.dylib
    0x7fff8508e000 -     0x7fff8508fff7  libsystem_blocks.dylib (65) <9615D10A-FCA7-3BE4-AA1A-1B195DACE1A1> /usr/lib/system/libsystem_blocks.dylib
    0x7fff85090000 -     0x7fff850b1fff  com.apple.framework.Apple80211 (10.3 - 1030.71.6) <C0A17391-5C8B-34B1-BD46-8D644AB57DE0> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
    0x7fff85191000 -     0x7fff85203fff  com.apple.framework.IOKit (2.0.2 - 1050.20.2) <09C0518C-90DF-3FC3-96D6-34D35F72C8EF> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff85204000 -     0x7fff85224fff  com.apple.IconServices (47.1 - 47.1) <E83DFE3B-6541-3736-96BB-26DC5D0100F1> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
    0x7fff8523b000 -     0x7fff8523bfff  com.apple.Accelerate.vecLib (3.10 - vecLib 3.10) <B92888D0-ED3F-3430-8F3A-6E56FD16C5F1> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff857b6000 -     0x7fff857c7ff7  libz.1.dylib (55) <88C7C7DE-04B8-316F-8B74-ACD9F3DE1AA1> /usr/lib/libz.1.dylib
    0x7fff859ab000 -     0x7fff859affff  com.apple.CommonPanels (1.2.6 - 96) <F9ECC8AF-D9CA-3350-AFB4-5113A9B789A5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff859b0000 -     0x7fff859b9ff7  libsystem_notify.dylib (133.1.1) <61147800-F320-3DAA-850C-BADF33855F29> /usr/lib/system/libsystem_notify.dylib
    0x7fff859ba000 -     0x7fff859ccff7  libsasl2.2.dylib (194.1) <35371406-75EF-304A-A073-956C40373555> /usr/lib/libsasl2.2.dylib
    0x7fff859cd000 -     0x7fff85a19fff  com.apple.corelocation (1486.17 - 1615.24) <8825B3E2-E053-3E01-AE31-793443962D06> /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation
    0x7fff85a48000 -     0x7fff85a53fff  libcommonCrypto.dylib (60061.30.1) <E789748D-F9A7-3CFF-B317-90DF348B1E95> /usr/lib/system/libcommonCrypto.dylib
    0x7fff85a54000 -     0x7fff85a85ff7  com.apple.ProtectedCloudStorage (1.0 - 1) <9D76F2E0-C28A-3DBC-A91F-E87888D46BF0> /System/Library/PrivateFrameworks/ProtectedCloudStorage.framework/Versions/A/ProtectedCloudStorage
    0x7fff85a86000 -     0x7fff85ab3fff  com.apple.CoreVideo (1.8 - 145.1) <18DB07E0-B927-3260-A234-636F298D1917> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff85b32000 -     0x7fff85b3ffff  libxar.1.dylib (255) <7CD69BB5-97BA-3858-8A8B-2F33F129E6E7> /usr/lib/libxar.1.dylib
    0x7fff85b40000 -     0x7fff85be2fff  com.apple.Bluetooth (4.3.5 - 4.3.5f8) <DB1CF332-A131-3DF1-BE85-A05594F6DA5F> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
    0x7fff864a6000 -     0x7fff8653cff7  com.apple.cloudkit.CloudKit (283.67.3 - 283.67.3) <45D9ADA5-E7D2-3AA0-B0BC-A836BCFBDDCA> /System/Library/Frameworks/CloudKit.framework/Versions/A/CloudKit
    0x7fff8653d000 -     0x7fff865a9ff3  com.apple.MMCS (1.3 - 327.5) <FC998246-ED60-334D-9E94-453F35EF9C78> /System/Library/PrivateFrameworks/MMCS.framework/Versions/A/MMCS
    0x7fff865aa000 -     0x7fff865b5ff7  libcsfde.dylib (471.30.1) <A62AE3D8-E2A6-314A-BF45-804003BE0AC9> /usr/lib/libcsfde.dylib
    0x7fff865e2000 -     0x7fff8661cffb  com.apple.DebugSymbols (115 - 115) <6F03761D-7C3A-3C80-8031-AA1C1AD7C706> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fff86648000 -     0x7fff8664aff7  libutil.dylib (38) <471AD65E-B86E-3C4A-8ABD-B8665A2BCE3F> /usr/lib/libutil.dylib
    0x7fff8664e000 -     0x7fff8669aff7  libcups.2.dylib (408.2) <E8AD18F9-61E4-3791-B840-504468C25556> /usr/lib/libcups.2.dylib
    0x7fff8669b000 -     0x7fff866f5ff7  com.apple.LanguageModeling (1.0 - 1) <ACA93FE0-A0E3-333E-AE3C-8EB7DE5F362F> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
    0x7fff866f6000 -     0x7fff86725ff7  com.apple.CoreServicesInternal (221.7.2 - 221.7.2) <B93D4775-149C-3698-B38C-9C50673D455C> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fff86726000 -     0x7fff86781ff7  libTIFF.dylib (1238) <65A80200-F0AF-3C14-B593-CC9D69151F5E> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff86b7c000 -     0x7fff86dfbff7  com.apple.CoreData (111 - 526.3) <5A27E0D8-5E5A-335B-B3F6-2601C7B976FA> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff86e02000 -     0x7fff86e04fff  com.apple.CoreDuetDebugLogging (1.0 - 1) <9A6E5710-EA99-366E-BF40-9A65EC1B46A1> /System/Library/PrivateFrameworks/CoreDuetDebugLogging.framework/Versions/A/CoreDuetDebugLogging
    0x7fff86e05000 -     0x7fff86fb5ff3  com.apple.QuartzCore (1.10 - 361.19) <F815B60E-75E3-3263-BE93-27A49882CF58> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff86ff3000 -     0x7fff872c2ff3  com.apple.CoreImage (10.3.4) <C1AE8252-A95D-3BF4-83B8-BE85E979F2CB> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff872c3000 -     0x7fff872c8ffb  libheimdal-asn1.dylib (398.10.1) <D362D79B-CC4F-3E62-9BC7-9B645BEBBF4E> /usr/lib/libheimdal-asn1.dylib
    0x7fff87358000 -     0x7fff87565ffb  com.apple.CFNetwork (720.4.4 - 720.4.4) <71A596B3-A837-3ADF-9560-1DCDA9292F96> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff87596000 -     0x7fff8759bff7  libunwind.dylib (35.3) <BE7E51A0-B6EA-3A54-9CCA-9D88F683A6D6> /usr/lib/system/libunwind.dylib
    0x7fff8759c000 -     0x7fff87680fff  libcrypto.0.9.8.dylib (52.30.1) <093A3CCE-953A-365F-9412-775DE0AF2870> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff87681000 -     0x7fff87688ff7  libcompiler_rt.dylib (35) <BF8FC133-EE10-3DA6-9B90-92039E28678F> /usr/lib/system/libcompiler_rt.dylib
    0x7fff87869000 -     0x7fff878daffb  com.apple.ApplicationServices.ATS (360 - 375.4) <A1BEBCF8-8FC8-345D-B91D-1DA5773AF5A3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff878db000 -     0x7fff878dbfff  com.apple.ApplicationServices (48 - 48) <5BF7910B-C328-3BF8-BA4F-CE52B574CE01> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff879c5000 -     0x7fff879d2ff7  com.apple.SpeechRecognitionCore (2.1.2 - 2.1.2) <551322E2-C1E4-3378-A218-F362985E3E3C> /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
    0x7fff87a91000 -     0x7fff87a91ff7  libunc.dylib (29) <5676F7EA-C1DF-329F-B006-D2C3022B7D70> /usr/lib/system/libunc.dylib
    0x7fff87a92000 -     0x7fff87a94fff  libsystem_configuration.dylib (699.30.1) <B124CC64-59B9-354F-A693-B3431ADB87AC> /usr/lib/system/libsystem_configuration.dylib
    0x7fff87a95000 -     0x7fff87ab2fff  libsystem_kernel.dylib (2782.30.5) <101D28C0-AF07-3B81-87BE-CA27ADED33AB> /usr/lib/system/libsystem_kernel.dylib
    0x7fff87d32000 -     0x7fff87d4cff3  com.apple.Ubiquity (1.3 - 313) <DF56A657-CC6E-3BE2-86A0-71F07127724C> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
    0x7fff87ffe000 -     0x7fff8800fff3  libsystem_coretls.dylib (35.30.2) <0F7BAD0C-FC28-3E4B-8D21-06B426599043> /usr/lib/system/libsystem_coretls.dylib
    0x7fff88062000 -     0x7fff88064fff  com.apple.EFILogin (2.0 - 2) <3BA837D8-94F5-3240-9CF7-E40DC2808446> /System/Library/PrivateFrameworks/EFILogin.framework/Versions/A/EFILogin
    0x7fff8807b000 -     0x7fff8816ffff  libFontParser.dylib (134.4) <12F2E476-F05A-3F01-92FF-6E0C6D7F8DD5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff882f0000 -     0x7fff88328fff  com.apple.RemoteViewServices (2.0 - 99) <C9A62691-B0D9-34B7-B71C-A48B5F4DC553> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fff88335000 -     0x7fff8837bff7  libFontRegistry.dylib (134.1) <CE41D8C2-BEED-345C-BC4F-3775CC06C672> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff88421000 -     0x7fff88449fff  libsystem_info.dylib (459.20.1) <AEB3FE62-4763-3050-8352-D6F9AF961AE6> /usr/lib/system/libsystem_info.dylib
    0x7fff8844a000 -     0x7fff88474ff7  libdispatch.dylib (442.1.4) <502CF32B-669B-3709-8862-08188225E4F0> /usr/lib/system/libdispatch.dylib
    0x7fff88475000 -     0x7fff884c6fff  com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <450293F7-DAE7-3DD0-8F7C-71FC2FD72627> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff884c7000 -     0x7fff88540fe7  libcorecrypto.dylib (233.30.1) <5779FFA0-4D9A-3AD4-B7F2-618227621DC8> /usr/lib/system/libcorecrypto.dylib
    0x7fff8864b000 -     0x7fff8877bfff  com.apple.UIFoundation (1.0 - 1) <466BDFA8-0B9F-3AB0-989D-F9779422926A> /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
    0x7fff8877c000 -     0x7fff887cbff7  com.apple.opencl (2.4.2 - 2.4.2) <EB365E68-9965-3596-A40A-D1E372F3A9B3> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff887cc000 -     0x7fff887cdffb  libremovefile.dylib (35) <3485B5F4-6CE8-3C62-8DFD-8736ED6E8531> /usr/lib/system/libremovefile.dylib
    0x7fff887ce000 -     0x7fff8880ffff  libGLU.dylib (11.1.2) <2BA52A8D-ED35-3D86-B2D6-41479969C96D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff88d39000 -     0x7fff88d46ff7  libbz2.1.0.dylib (36) <2DF83FBC-5C08-39E1-94F5-C28653791B5F> /usr/lib/libbz2.1.0.dylib
    0x7fff88d47000 -     0x7fff88d4fffb  libcopyfile.dylib (118.1.2) <0C68D3A6-ACDD-3EF3-991A-CC82C32AB836> /usr/lib/system/libcopyfile.dylib
    0x7fff88d92000 -     0x7fff88e16fff  com.apple.PerformanceAnalysis (1.0 - 1) <BAE4C265-C0B9-3302-AC88-EB5F312FD33C> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fff88fb3000 -     0x7fff88fd0ffb  libresolv.9.dylib (57) <26B38E61-298A-3C3A-82C1-3B5E98AD5E29> /usr/lib/libresolv.9.dylib
    0x7fff88ff4000 -     0x7fff89041ff7  com.apple.print.framework.PrintCore (10.3 - 451.1) <DE992474-0841-38A1-B4F6-46D653E454D5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff89042000 -     0x7fff89135ff7  libJP2.dylib (1238) <008AE93E-FB7F-3217-8220-0C1A6BEBFE0F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff89143000 -     0x7fff89235fff  libxml2.2.dylib (26) <B834E7C8-EC3E-3382-BC5A-DA38DC4D720C> /usr/lib/libxml2.2.dylib
    0x7fff893cf000 -     0x7fff893ebfff  com.apple.GenerationalStorage (2.0 - 209.11) <9FF8DD11-25FB-3047-A5BF-9415339B3EEC> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff893ec000 -     0x7fff89417fff  com.apple.DictionaryServices (1.2 - 229) <F03DFAC6-6285-3176-9C6D-7CC50F8CD52A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff89418000 -     0x7fff89423fff  libGL.dylib (11.1.2) <FD8B7B67-1532-32A1-B369-9D7A6C1EB3ED> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff89424000 -     0x7fff894e7ff7  libvMisc.dylib (516) <21497A28-8DCB-3EB8-BDAC-93C93382B0AA> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff894ee000 -     0x7fff89513ff7  libJPEG.dylib (1238) <D27EE6B6-8E93-3D4A-9F29-14E52D4F5334> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff89514000 -     0x7fff8954cfff  libsystem_network.dylib (412.20.3) <6105C134-6722-3C0A-A4CE-5E1261E2E1CC> /usr/lib/system/libsystem_network.dylib
    0x7fff89ef3000 -     0x7fff89f6bff7  com.apple.SystemConfiguration (1.14.4 - 1.14) <E3495342-E80D-358D-9290-6C02F5F46BCA> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff89f94000 -     0x7fff89faeff7  com.apple.Kerberos (3.0 - 1) <7760E0C2-A222-3709-B2A6-B692D900CEB1> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff8a0e2000 -     0x7fff8a12cfff  com.apple.HIServices (1.22 - 523) <C7F6A39C-EBC0-3AA7-B355-2DBF988B5A6D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff8a229000 -     0x7fff8a22afff  liblangid.dylib (117) <B54A4AA0-2E53-3671-90F5-AFF711C0EB9E> /usr/lib/liblangid.dylib
    0x7fff8a22b000 -     0x7fff8a22dff7  com.apple.securityhi (9.0 - 55006) <41996F52-0848-3384-BF45-2821FB38A369> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff8a22e000 -     0x7fff8a233ff7  libmacho.dylib (862) <126CA2ED-DE91-308F-8881-B9DAEC3C63B6> /usr/lib/system/libmacho.dylib
    0x7fff8a234000 -     0x7fff8a237fff  com.apple.help (1.3.3 - 46) <CA4541F4-CEF5-355C-8F1F-EA65DC1B400F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff8a2a7000 -     0x7fff8a2b4ff3  com.apple.ProtocolBuffer (1 - 228.0.1) <3429EB06-9F0E-355F-B9AB-F72879177398> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolBuffer
    0x7fff8a334000 -     0x7fff8a33dfff  libsystem_pthread.dylib (105.10.1) <3103AA7F-3BAE-3673-9649-47FFD7E15C97> /usr/lib/system/libsystem_pthread.dylib
    0x7fff8a33e000 -     0x7fff8a3dcfff  com.apple.Metadata (10.7.0 - 917.36) <FCDD8B56-F57A-3A49-9124-CE9CEE20C502> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff8a3e7000 -     0x7fff8a4a2ff7  com.apple.DiscRecording (9.0 - 9000.4.2) <4655B4B8-523D-3AE6-92A0-8486A2258B3B> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
    0x7fff8a4a3000 -     0x7fff8a4c9fff  com.apple.ChunkingLibrary (2.1 - 163.6) <29D4CB95-42EF-34C6-8182-BDB6F7BB1E79> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
    0x7fff8a4ca000 -     0x7fff8a631ffb  com.apple.audio.toolbox.AudioToolbox (1.12 - 1.12) <5678FC94-456A-3F5F-BA9A-10EB6E462997> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff8a73d000 -     0x7fff8a741ff7  libGIF.dylib (1238) <BC3D19AA-E880-316A-9F25-872A3C94FDC7> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff8a7cb000 -     0x7fff8a7cffff  com.apple.TCC (1.0 - 1) <CCA42EE2-3400-3444-9486-BC454E60D944> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff8aa32000 -     0x7fff8aa34ff7  libsystem_coreservices.dylib (9) <41B7C578-5A53-31C8-A96F-C73E030B0938> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff8b1e4000 -     0x7fff8b258ffb  com.apple.securityfoundation (6.0 - 55126) <D3C26373-83B1-3FDF-AD9C-39875D84312A> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff8b259000 -     0x7fff8b264ff7  libkxld.dylib (2782.30.5) <14CB6513-E373-3829-AD7D-F1C15397F64F> /usr/lib/system/libkxld.dylib
    0x7fff8b265000 -     0x7fff8b2a0fff  com.apple.Symbolication (1.4 - 56045) <D64571B1-4483-3FE2-BD67-A91360F79727> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fff8b3e9000 -     0x7fff8b400ff7  libLinearAlgebra.dylib (1128) <E78CCBAA-A999-3B65-8EC9-06DB15E67C37> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
    0x7fff8b401000 -     0x7fff8b41bff7  liblzma.5.dylib (7) <1D03E875-A7C0-3028-814C-3C27F7B7C079> /usr/lib/liblzma.5.dylib
    0x7fff8b494000 -     0x7fff8b4fbffb  com.apple.datadetectorscore (6.0 - 396.1.1) <2127914D-0F8B-3032-9E25-E4209531D948> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff8b50b000 -     0x7fff8b513fe7  libcldcpuengine.dylib (2.4.5) <6CC680F9-0D13-333B-B151-F0D9C631A1E5> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengine.dylib
    0x7fff8b514000 -     0x7fff8b515fff  libsystem_secinit.dylib (18) <581DAD0F-6B63-3A48-B63B-917AF799ABAA> /usr/lib/system/libsystem_secinit.dylib
    0x7fff8b516000 -     0x7fff8b518fff  libCVMSPluginSupport.dylib (11.1.2) <1C5C1757-67F1-3C23-90EF-643619A0E7DC> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff8b532000 -     0x7fff8b539ff7  libCGCMS.A.dylib (788.2) <453CF6DA-E195-38EA-9EC1-0CC1F1698391> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGCMS.A.dylib
    0x7fff8b53a000 -     0x7fff8b53efff  libCoreVMClient.dylib (79.1) <201EF6DF-5074-3CB7-A361-398CF957A264> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff8b935000 -     0x7fff8b93cfff  com.apple.NetFS (6.0 - 4.0) <C263C8F8-F284-3101-AC82-A97A81716063> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff8b9ef000 -     0x7fff8b9f0ff7  com.apple.print.framework.Print (10.0 - 265) <3BC4FE7F-78A0-3E57-8F4C-520E7EFD36FA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff8bdd8000 -     0x7fff8bdf3ff7  libCRFSuite.dylib (34) <D64842BE-7BD4-3D0C-9842-1D202F7C2A51> /usr/lib/libCRFSuite.dylib
    0x7fff8bea1000 -     0x7fff8c2d1fff  com.apple.vision.FaceCore (3.1.6 - 3.1.6) <C3B823AA-C261-37D3-B4AC-C59CE91C8241> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
    0x7fff8c2d2000 -     0x7fff8c2fafff  libRIP.A.dylib (788.2) <4DAA8224-AD10-3865-BF9F-DF56168914F9> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x7fff8c2fb000 -     0x7fff8c2feffb  libCGXType.A.dylib (788.2) <2F4BD0F4-9A86-3611-9004-F14E4FDCBAE9> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
    0x7fff8c3be000 -     0x7fff8c3d0ff7  com.apple.ImageCapture (9.0 - 9.0) <7FB65DD4-56B5-35C4-862C-7A2DED991D1F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff8c3d1000 -     0x7fff8c3d1ff7  libkeymgr.dylib (28) <77845842-DE70-3CC5-BD01-C3D14227CED5> /usr/lib/system/libkeymgr.dylib
    0x7fff8c3d2000 -     0x7fff8c418ff7  libauto.dylib (186) <A260789B-D4D8-316A-9490-254767B8A5F1> /usr/lib/libauto.dylib
    0x7fff8c41a000 -     0x7fff8c41aff7  liblaunch.dylib (559.30.1) <B1301610-D60C-3301-B254-11F066BD48A7> /usr/lib/system/liblaunch.dylib
    0x7fff8c41b000 -     0x7fff8c443fff  libxpc.dylib (559.30.1) <80D68997-17B9-32B6-A5FA-A218216415E5> /usr/lib/system/libxpc.dylib
    0x7fff8c444000 -     0x7fff8c444fff  com.apple.Cocoa (6.8 - 21) <EAC0EA1E-3C62-3B28-A941-5D8B1E085FF8> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff8c445000 -     0x7fff8c445fff  libOpenScriptingUtil.dylib (162.2) <D6A2216D-ADB2-3F24-AD30-F6D00829F545> /usr/lib/libOpenScriptingUtil.dylib
    0x7fff8cd8c000 -     0x7fff8cd8cfff  com.apple.Carbon (154 - 157) <9BF51672-1684-3FDE-A561-FC59A2864EF8> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff8cd8d000 -     0x7fff8cd99ff7  com.apple.OpenDirectory (10.10 - 187) <2A6F3C10-71EE-3ABE-AD71-0B68F13B9C79> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff8cd9a000 -     0x7fff8cda4ff7  com.apple.NetAuth (5.2 - 5.2) <2BBD749A-8E18-35B8-8E48-A90347C1CCA7> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff8cdaa000 -     0x7fff8cdaafff  com.apple.Accelerate (1.10 - Accelerate 1.10) <F1B96A61-7E4B-31BD-A35B-BA7EF1F16EF4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff8cdab000 -     0x7fff8cdb1fff  libsystem_trace.dylib (72.20.1) <840F5301-B55A-3078-90B9-FEFFD6CD741A> /usr/lib/system/libsystem_trace.dylib
    0x7fff8ceb2000 -     0x7fff8cebafff  libsystem_dnssd.dylib (576.30.4) <4EA2DEC3-77EE-3941-A703-DE6DC2056B15> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8cebb000 -     0x7fff8ced7ff7  libsystem_malloc.dylib (53.30.1) <DDA8928B-CC0D-3255-BD8A-3FEA0982B890> /usr/lib/system/libsystem_malloc.dylib
    0x7fff8ceed000 -     0x7fff8d004fe7  libvDSP.dylib (516) <DFEDB210-49D1-3803-88A2-C61DB6A45C3D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff8d005000 -     0x7fff8d193fff  libBLAS.dylib (1128) <497912C1-A98E-3281-BED7-E9C751552F61> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff8d1d2000 -     0x7fff8d1d8fff  com.apple.speech.recognition.framework (5.0.9 - 5.0.9) <BB2D573F-0A01-379F-A2BA-3C454EDCB111> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff8d1d9000 -     0x7fff8d1dafff  com.apple.TrustEvaluationAgent (2.0 - 25) <2D61A2C3-C83E-3A3F-8EC1-736DBEC250AB> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff8d21e000 -     0x7fff8d337ffb  com.apple.CoreText (352.0 - 454.9) <BBAB8852-40E5-3B76-A7AA-8098B69EF348> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff8d360000 -     0x7fff8d364fff  libcache.dylib (69) <45E9A2E7-99C4-36B2-BEE3-0C4E11614AD1> /usr/lib/system/libcache.dylib
    0x7fff8d40d000 -     0x7fff8d4a1fff  com.apple.ink.framework (10.9 - 213) <8E029630-1530-3734-A446-13353F0E7AC5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff8d4a2000 -     0x7fff8d4bcff7  libextension.dylib (55.2) <3BB019CA-199A-36AC-AA22-14B562138545> /usr/lib/libextension.dylib
    0x7fff8d4bd000 -     0x7fff8d4ccfff  com.apple.LangAnalysis (1.7.0 - 1.7.0) <D1E527E4-C561-352F-9457-E8C50232793C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff8d4cd000 -     0x7fff8d743ff7  com.apple.security (7.0 - 57031.30.12) <E9CF3D8E-0165-3EB2-BED9-FDB99CDA924B> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff8d746000 -     0x7fff8d7a5fff  com.apple.AE (681.2 - 681.2) <450F45DB-0F60-383D-BD22-03E296C82675> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff8d7f5000 -     0x7fff8d7f5fff  com.apple.CoreServices (62 - 62) <C69DA8A7-B536-34BF-A93F-1C170E2C6D58> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff8d7f6000 -     0x7fff8d81bff7  libPng.dylib (1238) <7F83D4C1-7B5E-3DEE-97EE-27E3D41DACFE> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff8d81c000 -     0x7fff8d82cff7  libbsm.0.dylib (34) <A3A2E56C-2B65-37C7-B43A-A1F926E1A0BB> /usr/lib/libbsm.0.dylib
    0x7fff8d931000 -     0x7fff8d9d0e27  com.apple.AppleJPEG (1.0 - 1) <6627DDD9-A8FE-3968-B23A-B6A29AA3919A> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
    0x7fff8d9d1000 -     0x7fff8dcd6ff3  com.apple.HIToolbox (2.1.1 - 758.7) <083019EB-7F58-36F1-BF7F-9E746F692E5C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff8dcd7000 -     0x7fff8dcdfff3  com.apple.CoreServices.FSEvents (1210.20.1 - 1210.20.1) <84F79D3E-7B5E-3C93-8479-35794A3F125E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
    0x7fff8dd3e000 -     0x7fff8de4dff3  com.apple.desktopservices (1.9.3 - 1.9.3) <FEE11342-5BC4-37A7-8169-DA48BE17B9C9> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff8de4e000 -     0x7fff8de6dfff  com.apple.CoreDuet (1.0 - 1) <36AA9FD5-2685-314D-B364-3FA4688D86BD> /System/Library/PrivateFrameworks/CoreDuet.framework/Versions/A/CoreDuet
    0x7fff8de6e000 -     0x7fff8dec2fff  libc++.1.dylib (120) <1B9530FD-989B-3174-BB1C-BDC159501710> /usr/lib/libc++.1.dylib
    0x7fff8dec3000 -     0x7fff8dec4fff  libDiagnosticMessagesClient.dylib (100) <2EE8E436-5CDC-34C5-9959-5BA218D507FB> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff8deeb000 -     0x7fff8df1bfff  libsystem_m.dylib (3086.1) <1E12AB45-6D96-36D0-A226-F24D9FB0D9D6> /usr/lib/system/libsystem_m.dylib
    0x7fff8df1c000 -     0x7fff8e059fff  com.apple.ImageIO.framework (3.3.0 - 1238) <90A981D0-6775-325E-86A7-1CDAC686E78C> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff8e109000 -     0x7fff8e1fbff7  libiconv.2.dylib (42) <2A06D02F-8B76-3864-8D96-64EF5B40BC6C> /usr/lib/libiconv.2.dylib
    0x7fff8e1fc000 -     0x7fff8ea57ff7  com.apple.CoreGraphics (1.600.0 - 788.2) <448C9F37-82E5-3DA0-810A-484EE715196A> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff8ea58000 -     0x7fff8ea5dfff  com.apple.DiskArbitration (2.6 - 2.6) <0DFF4D9B-2AC3-3B82-B5C5-30F4EFBD2DB9> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff8ea5e000 -     0x7fff8ed91ff7  libmecabra.dylib (666.7) <0ED8AE5E-7A5B-34A6-A2EE-2B852E60E1E2> /usr/lib/libmecabra.dylib
    0x7fff8ed92000 -     0x7fff8ed95fff  com.apple.xpc.ServiceManagement (1.0 - 1) <D94F7F86-4015-3453-92FD-ADC04F215C04> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff8ed96000 -     0x7fff8edaeff7  libexpat.1.dylib (12) <C5FE8836-E277-3162-9D15-6735321CB2C6> /usr/lib/libexpat.1.dylib
    0x7fff8edaf000 -     0x7fff8ee16ff7  com.apple.framework.CoreWiFi (3.0 - 300.4) <19269C1D-EB29-384A-83F3-7DDDEB7D9DAD> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
    0x7fff8ee17000 -     0x7fff8ee19fff  com.apple.loginsupport (1.0 - 1) <DAAD7013-A19D-3858-BFF7-DE1DAF664401> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
    0x7fff8ee1a000 -     0x7fff8f227ff7  libLAPACK.dylib (1128) <F9201AE7-B031-36DB-BCF8-971E994EF7C1> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff8f2e8000 -     0x7fff8fe69ff7  com.apple.AppKit (6.9 - 1348.17) <E485D56D-3E72-34B7-99BB-BFDEE2D07BF5> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff8fe9b000 -     0x7fff8feb6fff  com.apple.AppleVPAFramework (1.4.5 - 1.4.5) <A6421B0B-6D4D-3E64-AC61-DDB04ED7CFF0> /System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/AppleVPA
    0x7fff8feeb000 -     0x7fff8ff16fff  libc++abi.dylib (125) <88A22A0F-87C6-3002-BFBA-AC0F2808B8B9> /usr/lib/libc++abi.dylib
    0x7fff8ffaf000 -     0x7fff8ffc8ff7  com.apple.CFOpenDirectory (10.10 - 187) <2BF2705E-2CC6-37E7-BD49-D4B4E01591E3> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff8ffc9000 -     0x7fff8ffe2ff3  com.apple.openscripting (1.6.4 - 162.2) <BF79207B-C762-346D-8FF0-3DDCECC9E9E2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff9003c000 -     0x7fff9004eff7  com.apple.CoreDuetDaemonProtocol (1.0 - 1) <CE9FABB4-1C5D-3F9B-9BB8-5CC50C3E5E31> /System/Library/PrivateFrameworks/CoreDuetDaemonProtocol.framework/Versions/A/CoreDuetDaemonProtocol
    0x7fff9004f000 -     0x7fff90055ff7  libsystem_networkextension.dylib (167.30.1) <3E99FF35-DCBB-3A4C-8853-F1F39A792D29> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff90056000 -     0x7fff90061ff7  com.apple.speech.synthesis.framework (5.3.3 - 5.3.3) <A5640275-E2A6-3856-95EF-5F0DC440B10C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff9157e000 -     0x7fff91580fff  libsystem_sandbox.dylib (358.20.5) <3F5E973F-C702-31AC-97BC-05F5C195683C> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff91581000 -     0x7fff915cffff  libcurl.4.dylib (83.1.2) <462767FC-C7F2-39F1-8C10-DA4114945F55> /usr/lib/libcurl.4.dylib
    0x7fff91602000 -     0x7fff91618ff7  libsystem_asl.dylib (267) <F153AC5B-0542-356E-88C8-20A62CA704E2> /usr/lib/system/libsystem_asl.dylib
    0x7fff91945000 -     0x7fff919d1ff7  libsystem_c.dylib (1044.10.1) <86FBED7A-F2C8-3591-AD6F-486DD57E6B6A> /usr/lib/system/libsystem_c.dylib
    0x7fff91a0a000 -     0x7fff91a3afff  com.apple.GSS (4.0 - 2.0) <7DE487D3-50C8-3A45-8C17-B8806B5E6AA5> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff91a4a000 -     0x7fff91a4dff7  libdyld.dylib (353.2.1) <78E8F33D-0C86-3DB6-A93D-B67A25BA3522> /usr/lib/system/libdyld.dylib
    0x7fff91a4e000 -     0x7fff91accfff  com.apple.CoreServices.OSServices (640.4 - 640.4) <5FDEFDEF-1BFC-3E67-9043-FA0CAA0D802E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff91b50000 -     0x7fff91b82ff3  com.apple.frameworks.CoreDaemon (1.3 - 1.3) <C6DB0A07-F8E4-3837-BCA9-225F460EDA81> /System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon
    0x7fff91c13000 -     0x7fff91c1bff7  com.apple.AppleSRP (5.0 - 1) <68F0C577-ED96-34F2-B701-CE3023367D4D> /System/Library/PrivateFrameworks/AppleSRP.framework/Versions/A/AppleSRP
    0x7fff91c1c000 -     0x7fff91c4ffff  com.apple.MediaKit (16 - 757.2) <2912E5C2-085F-3FE2-8531-23B6E894B0F0> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
    0x7fff91c50000 -     0x7fff91c7bff3  libarchive.2.dylib (30) <8CBB4416-EBE9-3574-8ADC-44655D245F39> /usr/lib/libarchive.2.dylib
    0x7fff91c7c000 -     0x7fff91ca5ffb  libxslt.1.dylib (13) <AED1143F-B848-3E73-81ED-71356F25F084> /usr/lib/libxslt.1.dylib
    0x7fff91cf3000 -     0x7fff91d62fff  com.apple.SearchKit (1.4.0 - 1.4.0) <80883BD1-C9BA-3794-A20E-476F94DD89A9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff91d83000 -     0x7fff9211bff7  com.apple.CoreFoundation (6.9 - 1153.18) <5C0892B8-9691-341F-9279-CA3A74D59AA0> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff922b4000 -     0x7fff922b6fff  libquarantine.dylib (76.20.1) <7AF90041-2768-378A-925A-D83161863642> /usr/lib/system/libquarantine.dylib
    0x7fff92555000 -     0x7fff9255dfff  libsystem_platform.dylib (63) <64E34079-D712-3D66-9CE2-418624A5C040> /usr/lib/system/libsystem_platform.dylib
    0x7fff9255e000 -     0x7fff925f3ff7  com.apple.ColorSync (4.9.0 - 4.9.0) <9150C2B7-2E6E-3509-96EA-7B3F959F049E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff925f4000 -     0x7fff92634ff7  libGLImage.dylib (11.1.2) <9B05F3BF-D111-3B01-B7F8-C5EF7E02000B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff92635000 -     0x7fff9263eff3  com.apple.CommonAuth (4.0 - 2.0) <07FD1753-5498-310F-8C58-49E2F27C614B> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 2
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 15125730
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=84K resident=84K(100%) swapped_out_or_unallocated=0K(0%)
Writable regions: Total=191.9M written=155.2M(81%) resident=192.8M(100%) swapped_out=0K(0%) unallocated=16777216.0T(9168939384832%)

REGION TYPE                      VIRTUAL
===========                      =======
Activity Tracing                   2048K
CG backing stores                  8768K
CG image                            108K
CG shared images                    240K
CoreAnimation                        56K
CoreImage                            16K
CoreServices                       3444K
CoreUI image data                   140K
Dispatch continuations             16.0M
Foundation                            4K
Kernel Alloc Once                     8K
MALLOC                             67.9M
Memory Tag 242                       12K
OpenCL                               16K
Stack                              72.7M
VM_ALLOCATE                        73.1M
__DATA                             16.0M
__IMAGE                             528K
__LINKEDIT                         75.8M
__TEXT                            125.5M
__UNICODE                           552K
mapped file                        23.3M
shared memory                         8K
===========                      =======
TOTAL                             485.8M

Model: MacBookPro10,1, BootROM MBP101.00EE.B09, 4 processors, Intel Core i7, 2.7 GHz, 16 GB, SMC 2.3f36
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (7.15.166.24.3)
Bluetooth: Version 4.3.5f8 15969, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SD512E, 500,28 GB
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: Hub
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Apple Internal Keyboard / Trackpad
Thunderbolt Bus: MacBook Pro, Apple Inc., 23.4

Some structs are missing GObjectTrait implementations

Currently, a struct only implements GObjectTrait if it is a Widget. In this case, struct_Widget! is called which ends up generating the impls. However, there many other objects that implement GObject that aren't widgets. In my case, I need to get a ListStore from a Builder, but I can't do that unless ListStore implements GObjectTrait.

I have a fork with this fix for ListStore ready to go, but I didn't want to submit a pull request just yet unless there's some more general issue to fix.

TreeSelection "changed" signal causes seg fault

After rebasing on yesterday's fix, I ran into another seg fault. This time it happens in the signal that fires when a TreeSelection changes. I don't even have to put any code inside the handler for it to seg fault. I submitted a change to the treeview test that reproduces the issue. It seems to be happening after the handler runs, because the print statement I added is running successfully before the crash.

Here's the crash report from OS X:

Process:               treeview [43281]
Path:                  /Users/USER/Documents/*/treeview
Identifier:            treeview
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        bash [42671]
Responsible:           iTerm [7452]
User ID:               502

Date/Time:             2015-05-03 13:08:40.009 -0400
OS Version:            Mac OS X 10.10.3 (14D136)
Report Version:        11
Anonymous UUID:        206A8CC9-7A2B-5AE7-BEE8-6335CC2349F3

Sleep/Wake UUID:       886EECC5-3C5E-44E9-8561-10F145957BC5

Time Awake Since Boot: 150000 seconds
Time Since Wake:       1700 seconds

Crashed Thread:        1  Dispatch queue: com.apple.libdispatch-manager

Exception Type:        EXC_CRASH (SIGSEGV)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Thread 0:: Dispatch queue: com.apple.main-thread
0   treeview                        0x0000000108a2b40a sys::stack_overflow::imp::signal_handler::h4e63d1ef5e5c6cc7m6u + 634
1   libsystem_platform.dylib        0x00007fff950c6f1a _sigtramp + 26
2   ???                             000000000000000000 0 + 0
3   libgtk-3.0.dylib                0x0000000108c94ccd gtk_tree_selection_select_path + 39
4   treeview                        0x0000000108a210a2 widgets::tree_selection::TreeSelection::select_path::h33a7c2b01198bf15GAx + 114
5   treeview                        0x0000000108a155a4 main::h48824a29a6998b65Taa + 1812
6   treeview                        0x0000000108a2d9c9 rust_try_inner + 9
7   treeview                        0x0000000108a2d9b6 rust_try + 6
8   treeview                        0x0000000108a2d161 rt::lang_start::h6bcbaed8391d369cpgw + 689
9   treeview                        0x0000000108a1a08f main + 79
10  libdyld.dylib                   0x00007fff8865b5c9 start + 1

cannot find -limm32

I have Mingw installed, its MinGW32 and located at C:\Mingw, and removing the gcc.exe and ld.exe files in the bin directory of Rust just brings up more errors, any way to fix this?

Compilation on 32-bit system don't get though until I change `i64` to `i32`.

/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/src/widgets/vte_terminal.rs:32:94: 32:111 error: mismatched types:
 expected `i32`,
    found `i64`
(expected i32,
    found i64) [E0308]
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/src/widgets/vte_terminal.rs:32         unsafe { ffi::vte_terminal_feed(self.pointer, data.as_bytes().as_ptr() as *const i8, data.len() as i64) }

Crash (SIGBUS) when using connect_size_allocate

Attempting to connect to the size-allocate signal via connect_size_allocate appears to result in an immediate runtime crash with

'./target/debug/proof_of_concept' terminated by signal SIGBUS (Misaligned address error)

This gist has a simple minimal working example. Comment out L24-L26 to see the expected behavior.

gtk macro isn't working normally ?

I can't use the function set_activate_on_single_click of TreeView whereas I have a 3.10 installed version. After removing the cfg, it works just fine. Any idea @gkoz ?

TreeModel::get_path causes seg fault

To reproduce, simply add the following line in the first for loop of the treeview example:

left_model.get_path(&iter);

Here's a more detailed error report from OS X:

Process:               treeview [39118]
Path:                  /Users/USER/Documents/*/treeview
Identifier:            treeview
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        bash [38900]
Responsible:           iTerm [7452]
User ID:               502

Date/Time:             2015-05-02 16:03:07.463 -0400
OS Version:            Mac OS X 10.10.3 (14D136)
Report Version:        11
Anonymous UUID:        206A8CC9-7A2B-5AE7-BEE8-6335CC2349F3

Sleep/Wake UUID:       38864E3A-A942-43C3-B2BA-C2E751CCAC87

Time Awake Since Boot: 140000 seconds
Time Since Wake:       6500 seconds

Crashed Thread:        1  Dispatch queue: com.apple.libdispatch-manager

Exception Type:        EXC_CRASH (SIGSEGV)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Thread 0:: Dispatch queue: com.apple.main-thread
0   treeview                        0x000000010d8518ca sys::stack_overflow::imp::signal_handler::h4e63d1ef5e5c6cc7m6u + 634
1   libsystem_platform.dylib        0x00007fff950c6f1a _sigtramp + 26
2   ???                             000000000000000000 0 + 0
3   libgobject-2.0.0.dylib          0x000000010e209166 g_object_ref + 19
4   treeview                        0x000000010d84170a widgets::tree_path::TreePath::wrap_pointer::h232b4229627a9490kRv + 74
5   treeview                        0x000000010d84378c widgets::tree_model::TreeModel::get_path::h05678877dc449a007Vv + 204
6   treeview                        0x000000010d83cdaa main::h5dab46603f9e8811Taa + 1562
7   treeview                        0x000000010d853e89 rust_try_inner + 9
8   treeview                        0x000000010d853e76 rust_try + 6
9   treeview                        0x000000010d853621 rt::lang_start::h6bcbaed8391d369cpgw + 689
10  treeview                        0x000000010d840ddf main + 79
11  libdyld.dylib                   0x00007fff8865b5c9 start + 1

Build fails on clean checkout

git clone https://github.com/rust-gnome/gtk
cd gtk
cargo build

gives

src/rt.rs:19:16: 19:35 error: unresolved name `ffi::gtk_init_check`
src/rt.rs:19    match to_bool(ffi::gtk_init_check(ptr::null(), ptr::null())) {
                              ^~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
Could not compile `gtk`.

I think this is because an updated version of gtk-sys needs pushing to crates.io (a version that has the gtk_init_check function declaration).

If I set paths in .cargo/config to point to another fresh checkout of gtk, then run cargo build the compilation error goes away, supporting the theory.

no matching package named `gdk3-sys`

Error when attempting to build after the latest Cargo.toml changes:

no matching package named `gdk3-sys` found (required by `rgtk`)
location searched: https://github.com/rust-gnome/gdk.git
version required: *

Something Isn't Working with Dialog::get_content_area()

I have the function

fn prompt_login_dialog(parent: Option<&gtk::Window>) -> Option<Credentials> {
  let dialog = gtk::Dialog::with_buttons("Login", parent, gtk::DialogFlags::Modal, [
        ("Login", gtk::ResponseType::Ok),
        ("Cancel", gtk::ResponseType::Cancel)
    ]);
  let content_area: gtk::Box = dialog.get_content_area().unwrap();
  let email = gtk::Entry::new().unwrap();
  let password = gtk::Entry::new().unwrap();

  content_area.add(&email);
  content_area.add(&password);

  match dialog.run() /*as gtk::ResponseType*/ {
    -5 /*gtk::ResponseType::Ok*/ => {
      let cred = Credentials{
        email: email.get_chars(0, std::i32::MAX).unwrap(),
        password: password.get_chars(0, std::i32::MAX).unwrap(),
      };

      dialog.destroy();

      Some(cred)
    },
    _ => {
      dialog.destroy();
      None
    }
  }
}

that I'm trying to build a login dialog with. It should be two text entry boxes and two buttons. However what I'm actually seeing is:

Login Dialog Screenshot

I would expect that the section

  let content_area: gtk::Box = dialog.get_content_area().unwrap();
  let email = gtk::Entry::new().unwrap();
  let password = gtk::Entry::new().unwrap();

  content_area.add(&email);
  content_area.add(&password);

should add two text entry boxes to the content area of the dialog, but that doesn' t seem to be happening.

I'm somewhat new to GTK, so apologies if I'm just doing something wrong.

Can't build due to usage of removed std::num::FromPrimitive

I cloned the examples repo, https://github.com/rust-gnome/examples, and tried to build it with the latest Rust nightly. However, it fails since gtk-sys depends on std::num::FromPrimitive which has been removed from Rust's API. Here's another project that experienced the same problem: brson/rust-sdl#165

My terminal output:

$ rustc --version
rustc 1.1.0-nightly (5fb0259ed 2015-04-26) (built 2015-04-27)
$ cargo clean
$ cargo build
  Compiling libc v0.1.6
  Compiling gcc v0.3.4
  Compiling bitflags v0.1.1
  Compiling c_vec v1.0.11
  Compiling pkg-config v0.3.3
  Compiling gtk-sys v0.1.0 (https://github.com/rust-gnome/gtk#0121d69b)
  Compiling gdk-sys v0.1.0 (https://github.com/rust-gnome/gdk#2b1fc225)
  Compiling pango-sys v0.1.0 (https://github.com/rust-gnome/pango#3ce36f5e)
  Compiling glib-sys v0.1.0 (https://github.com/rust-gnome/glib#e8fc0580)
  Compiling cairo-sys v0.1.0 (https://github.com/rust-gnome/cairo#93cb13e5)
  Compiling glib v0.0.1 (https://github.com/rust-gnome/glib#e8fc0580)
  Compiling pango v0.0.1 (https://github.com/rust-gnome/pango#3ce36f5e)
  Compiling cairo v0.0.1 (https://github.com/rust-gnome/cairo#93cb13e5)
  Compiling gdk v0.0.1 (https://github.com/rust-gnome/gdk#2b1fc225)
/home/matachi/.cargo/git/checkouts/gtk-d0515cff4231591e/master/gtk-sys/src/enums.rs:816:47: 816:60 error: use of undeclared trait name `std::num::FromPrimitive`
/home/matachi/.cargo/git/checkouts/gtk-d0515cff4231591e/master/gtk-sys/src/enums.rs:816 #[derive(Clone, PartialEq, PartialOrd, Debug, FromPrimitive, Copy)]
                                                                                                                                      ^~~~~~~~~~~~~
/home/matachi/.cargo/git/checkouts/gtk-d0515cff4231591e/master/gtk-sys/src/enums.rs:816:47: 816:60 note: in expansion of #[derive_FromPrimitive]
/home/matachi/.cargo/git/checkouts/gtk-d0515cff4231591e/master/gtk-sys/src/enums.rs:816:47: 816:60 note: expansion site
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
Could not compile `gtk-sys`.

To learn more, run the command again with --verbose.

How to draw in-memory images to a window?

My application needs to draw in-memory RGB and grayscale images to the screen for display. Piston and Conrod make this easy but I'm looking for a GUI toolkit that is more robust and can produce a native look and feel.

It looks like this might be implemented by creating the GdkPixBuf struct and then adding support for creating an rgtk::gtk::Image backed by one and getting a mutable reference to it.

Docs are out of date

  • The rustdoc-comments repo needs to have complete (not perfect) API documentation.
  • There needs to be a script or a build script feature to insert that documentation into the source code.

Unable to compile rust-gnome\examples on Win: ld cannot find -limm32

OS: Win 7 64-bit in a brand new VM

Installed:

  • rustc 1.1.0-nightly <97d4e76c2 2015-04-27> <built 2015-04-28>
  • GTK 3.6.4 SDK (unzipped, added bin to path)
  • win-builds with the following packages
    • binutils
    • gcc
    • gettext
    • gmp
    • libmpc
    • mingw-w64
    • mpfr
    • win-iconv
    • winpthreads
    • zlib

PATH order:

  • win-builds bin folder, GTK bin folder, Rust bin folder

Steps to Reproduce

  1. Clone rust-gnome\examples
  2. cargo build
  3. ld: Cannot find -limm32

Judging by the very long error string, it looks like rust-gnome\gtk is failing because C:\win_builds\x86_64-w64-mingw32\lib32 folder (which has libimm32.a) is not included in the -L search locations.

Features removed from Cargo.toml but doc is not updated

Following the current README.md one would get the error:

% cargo build --release
    Updating git repository `https://github.com/rust-gnome/gtk.git`
Package `gtk v0.0.3 (https://github.com/rust-gnome/gtk.git#de4eb447)` does not have these features: `gtk_3_4`

Cairo update causes failed gtk build

Expected:
successful build.

Results:
Failed build due to signal.rs:574 calling Context::wrap(), which was removed in gtk-rs/cairo@54a06c5

Workaround:
Use commit before mentioned commit.

Thoughts:
Committer seems to imply that Context::wrap() is obsolete, I do not know enough rust to glean the meaning.

Can't build SolidOak because of some error with Gtk

Build failed, waiting for other jobs to finish...

failed to run custom build command for `gtk-sys v0.1.0 (https://github.com/oakes/gtk#b9b3d2bc)`
Process didn't exit successfully: `/home/vi/home/rust/SolidOak/target/debug/build/gtk-sys-4fc3492795cbacc8/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-search=native=/usr/lib/i386-linux-gnu
cargo:rustc-link-lib=gtk-3
cargo:rustc-link-lib=gdk-3
cargo:rustc-link-lib=atk-1.0
cargo:rustc-link-lib=gio-2.0
cargo:rustc-link-lib=pangocairo-1.0
cargo:rustc-link-lib=gdk_pixbuf-2.0
cargo:rustc-link-lib=cairo-gobject
cargo:rustc-link-lib=pango-1.0
cargo:rustc-link-lib=cairo
cargo:rustc-link-lib=gobject-2.0
cargo:rustc-link-lib=glib-2.0
cargo:rustc-link-search=native=/usr/lib/i386-linux-gnu
cargo:rustc-link-search=native=/usr/lib
cargo:rustc-link-lib=vte2_90
cargo:rustc-link-lib=gtk-3
cargo:rustc-link-lib=gdk-3
cargo:rustc-link-lib=atk-1.0
cargo:rustc-link-lib=pangocairo-1.0
cargo:rustc-link-lib=gdk_pixbuf-2.0
cargo:rustc-link-lib=cairo-gobject
cargo:rustc-link-lib=pango-1.0
cargo:rustc-link-lib=gio-2.0
cargo:rustc-link-lib=gobject-2.0
cargo:rustc-link-lib=glib-2.0
cargo:rustc-link-lib=cairo
cargo:rustc-link-lib=X11
TARGET = Some("i686-unknown-linux-gnu")
CARGO_MANIFEST_DIR = Some("/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys")
OUT_DIR = Some("/home/vi/home/rust/SolidOak/target/debug/build/gtk-sys-4fc3492795cbacc8/out")
TARGET = Some("i686-unknown-linux-gnu")
OPT_LEVEL = Some("0")
PROFILE = Some("debug")
debug 0
TARGET = Some("i686-unknown-linux-gnu")
HOST = Some("i686-unknown-linux-gnu")
CC_i686-unknown-linux-gnu = None
CC_i686_unknown_linux_gnu = None
HOST_CC = None
CC = None
TARGET = Some("i686-unknown-linux-gnu")
HOST = Some("i686-unknown-linux-gnu")
CFLAGS_i686-unknown-linux-gnu = None
CFLAGS_i686_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
TARGET = Some("i686-unknown-linux-gnu")
HOST = Some("i686-unknown-linux-gnu")
CC_i686-unknown-linux-gnu = None
CC_i686_unknown_linux_gnu = None
HOST_CC = None
CC = None
running: "cc" "-O0" "-c" "-ffunction-sections" "-fdata-sections" "-m32" "-I" "/usr/include/gtk-3.0" "-I" "/usr/include/pango-1.0" "-I" "/usr/include/gio-unix-2.0/" "-I" "/usr/include/atk-1.0" "-I" "/usr/include/cairo" "-I" "/usr/include/gdk-pixbuf-2.0" "-I" "/usr/include/freetype2" "-I" "/usr/include/glib-2.0" "-I" "/usr/lib/i386-linux-gnu/glib-2.0/include" "-I" "/usr/include/pixman-1" "-I" "/usr/include/libpng12" "-DGTK_3_6" "-DGTK_3_4" "-DGTK_3_8" "-DGTK_3_10" "/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c" "-o" "/home/vi/home/rust/SolidOak/target/debug/build/gtk-sys-4fc3492795cbacc8/out/src/gtk_glue.o"


command did not execute successfully, got: exit code: 1



--- stderr
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:404:1: error: unknown type name ‘GtkLevelBar’
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: In function ‘cast_GtkLevelBar’:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:405:5: warning: return makes pointer from integer without a cast [enabled by default]
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: At top level:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:459:1: error: unknown type name ‘GtkMenuButton’
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: In function ‘cast_GtkMenuButton’:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:460:5: warning: return makes pointer from integer without a cast [enabled by default]
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: At top level:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:467:1: error: unknown type name ‘GtkSearchBar’
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: In function ‘cast_GtkSearchBar’:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:468:5: warning: return makes pointer from integer without a cast [enabled by default]
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: At top level:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:471:1: error: unknown type name ‘GtkStack’
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: In function ‘cast_GtkStack’:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:472:5: warning: return makes pointer from integer without a cast [enabled by default]
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: At top level:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:475:1: error: unknown type name ‘GtkStackSwitcher’
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: In function ‘cast_GtkStackSwitcher’:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:476:5: warning: return makes pointer from integer without a cast [enabled by default]
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: At top level:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:479:1: error: unknown type name ‘GtkRevealer’
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: In function ‘cast_GtkRevealer’:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:480:5: warning: return makes pointer from integer without a cast [enabled by default]
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: At top level:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:483:1: error: unknown type name ‘GtkHeaderBar’
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: In function ‘cast_GtkHeaderBar’:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:484:5: warning: return makes pointer from integer without a cast [enabled by default]
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: At top level:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:487:1: error: unknown type name ‘GtkListBox’
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: In function ‘cast_GtkListBox’:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:488:5: warning: return makes pointer from integer without a cast [enabled by default]
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: At top level:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:491:1: error: unknown type name ‘GtkListBoxRow’
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: In function ‘cast_GtkListBoxRow’:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:492:5: warning: return makes pointer from integer without a cast [enabled by default]
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: At top level:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:495:1: error: unknown type name ‘GtkPlacesSidebar’
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c: In function ‘cast_GtkPlacesSidebar’:
/home/vi/home/rust/.cargo/git/checkouts/gtk-38cf3f4d9926c12a/master/gtk-sys/src/gtk_glue.c:496:5: warning: return makes pointer from integer without a cast [enabled by default]
thread '<main>' panicked at 'explicit panic', /home/vi/home/rust/.cargo/registry/src/github.com-1285ae84e5963aae/gcc-0.3.5/src/lib.rs:384

Can it be caused by too stable libgtk-3-dev version (3.4.2-7) from Debian Wheezy? Does the project check system dependencies' versions before trying to compile itself?

Access to TextIter from TextBuffer

This is an enhancement request to read the contents of a TextBuffer, unless there is a mechanism to do this already..

TextView implements get_buffer() for access to TextBufferTrait. TextBufferTrait only appears to implement set_text().

Is there a mechanism to get access to the TextIter of a TextBuffer?

Notebooks expect labels rather than widgets.

The documentation for GTK+ 3 shows that most functions that currently expect a Label, should in fact be able to accept widgets of any type (i.e. use Widget).

I am working on a patch that fixes this. Although if there is anything I need to know while working on this, then that kind of information is welcome.

Marking a widget as dirty from a worker thread

I tried to replicate this SO: http://stackoverflow.com/a/17458873/200945

Basically, I do some work in the background in other threads and now the GUI needs redrawing. I'd like to wake up the main loop from another thread. Unfortunately, it seems that rust-gtk implementation is convinced that it is unsafe. It might be even right... I have no idea. This code:

    let b1 = Arc::new(Mutex::new(some_widget));
    let b2 = b1.clone();
    let commands = some_receiver_channel.
    let t = thread::scoped(move || {
        while let Ok(command) = commands.recv() {
                let b = b2.lock().unwrap();
                 b.queue_draw();
         }
    });

    gtk::main();

states the traitcore::marker::Sendis not implemented for the type *mut gtk_sys::GtkWidget. That is correct, it isn't. This logic seems to work in C though. How can I achieve my design safely?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.