agl / pond

Pond
BSD 3-Clause "New" or "Revised" License
911 stars 109 forks source link

Bunch of errors sending message on Mac OS #178

Open bnvk opened 9 years ago

bnvk commented 9 years ago

I'm running MacOS 10.9.5 on a MacBook Air. The app seems to run fine. I added a contact using the "Shared Secret" method that me and this contact agreed upon. The first couple days it kept connecting to PANDA server

~ $ client
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Mar 30 20:18:16: Starting PANDA key exchange with My Contact
Mar 30 20:18:16: Starting fetch from home server
Mar 30 20:18:16: Key exchange with My Contact: Connecting to panda-key-exchange.appspot.com:443 via Tor
Mar 30 20:18:16: Key exchange with My Contact: Starting TLS handshake with panda-key-exchange.appspot.com:443
Mar 30 20:18:17: Key exchange with My Contact: Request sent to panda-key-exchange.appspot.com:443. Awaiting reply
Mar 30 20:18:19: Key exchange with My Contact: first message exchange complete
Mar 30 20:18:19: Saving state
Mar 30 20:18:19: Rotating erasure storage key

Then after a couple days after I confirmed My Contact had ran their Pond client, my CLI showed

Mar 30 20:18:21: Key exchange with My Contact complete

Then the state of the UI changed from "pending" to what looked like the contact had been added. So I composed a message and sent it. The UI has then seemingly hung in this state:

screen shot 2015-03-30 at 8 22 02 pm

The CLI shows this sort of error message

...about 150+ lines of the same G_IS_OBJECT & icon errors before this point...
(<unknown>:52361): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(<unknown>:52361): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(<unknown>:52361): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme
(<unknown>:52361): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme
(<unknown>:52361): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(<unknown>:52361): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(<unknown>:52361): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme
(<unknown>:52361): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme
(<unknown>:52361): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(<unknown>:52361): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(<unknown>:52361): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme
(<unknown>:52361): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme
(<unknown>:52361): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(<unknown>:52361): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (<unknown>:52361): CRITICAL **: enchant_dict_check: assertion 'len' failed
** (<unknown>:52361): CRITICAL **: enchant_dict_check: assertion 'len' failed
** (<unknown>:52361): CRITICAL **: enchant_dict_check: assertion 'len' failed
** (<unknown>:52361): CRITICAL **: enchant_dict_check: assertion 'len' failed
Mar 30 20:18:49: Saving state
bnvk commented 9 years ago

Additional information- upon restarting my Pond the next day, the CLI showed:

Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Mar 31 11:54:55: Starting message transmission to pondserver://ICYUHSAYGIXTKYKXSAHIBWEAQCTEF26WUWEPOVC764WYELCJMUPA@jb644zapje5dvgk3.onion
Mar 31 11:55:02: Error from server pondserver://ICYUHSAYGIXTKYKXSAHIBWEAQCTEF26WUWEPOVC764WYELCJMUPA@jb644zapje5dvgk3.onion: error from server: GENERATION_REVOKED
Mar 31 11:55:02: Next network transaction in 2m48.133s seconds
Mar 31 11:55:02: Revoked by My Contact

And in the UI it reflects that the My Contact has "Revoked" our contact, which they told me they did!

burdges commented 9 years ago

All those GTK error messages are typical for Ma OS X users, but apparently they disappeared from mine recently. I messed around with GTK about a month ago, and MacPorts updated my GTK maybe, so maybe it installed additional icons.

I've only the default hicolor-icon-theme installed under MacPorts. Appears Homebrew needs gnome-icon-theme too https://github.com/Homebrew/homebrew/issues/34337 but maybe the upstream added stuff to hicolor-icon-theme.

The GENERATION_REVOKED means they revoked someone, but not you. It'll actually send the message whenever it tries again.