Cannot open files

Bug #1273580 reported by Pim Vullers
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scratch
Expired
Undecided
Unassigned

Bug Description

When trying to open files (either from commandline argument, open button or the sidebar) I get the following error printed and scratch terminates:

g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

Using Scratch from trunk, Glib 2.39.2, Vala 0.22.1, Gtk+ 3.11.4, GtkSourecView 3.11.2, Gvfs 1.18.3, Gee 0.12.0, build on Gentoo Linux.

gdb output:

pim@chaos ~ $ gdb --args scratch-text-editor thesis/thesis/uprove.tex
GNU gdb (Gentoo 7.6.2 p1) 7.6.2
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/scratch-text-editor...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/scratch-text-editor thesis/thesis/uprove.tex
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[_LOG_LEVEL_INFO 09:22:53.215252] Application.vala:77: Scratch version: 2.0.1
[_LOG_LEVpim@chaos ~ $ gdb --args scratch-text-editor thesis/thesis/uprove.tex
GNU gdb (Gentoo 7.6.2 p1) 7.6.2
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/scratch-text-editor...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/scratch-text-editor thesis/thesis/uprove.tex
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[_LOG_LEVEL_INFO 09:22:53.215252] Application.vala:77: Scratch version: 2.0.1
[_LOG_LEVEL_INFO 09:22:53.215360] Application.vala:79: Kernel version: 3.13.0-gentoo
[New Thread 0x7fffec7d1700 (LWP 4918)]
[_LOG_LEVEL_DEBUG 09:22:53.304579] Settings.vala:158: Loading settings from schema 'org.pantheon.scratch.saved-state'
[_LOG_LEVEL_DEBUG 09:22:53.305590] Settings.vala:158: Loading settings from schema 'org.pantheon.scratch.settings'
[New Thread 0x7fffebfd0700 (LWP 4919)]
[_LOG_LEVEL_DEBUG 09:22:53.307667] Settings.vala:158: Loading settings from schema 'org.pantheon.scratch.services'
[_LOG_LEVEL_DEBUG 09:22:53.347841] [Gtk] Connecting to session manager
[_LOG_LEVEL_FATAL 09:22:53.474494] [Gtk] gtk_box_pack: assertion 'gtk_widget_get_parent (child) == NULL' failed
[_LOG_LEVEL_FATAL 09:22:53.474531] Scratch will not function properly.
[_LOG_LEVEL_DEBUG 09:22:53.525001] SplitView.vala:141: WelcomeScreen shown succefully
[_LOG_LEVEL_DEBUG 09:22:53.528845] Settings.vala:158: Loading settings from schema 'org.pantheon.scratch.plugins.folder-manager'
[New Thread 0x7fffe8910700 (LWP 4920)]
[New Thread 0x7fffe1ba6700 (LWP 4924)]
[_LOG_LEVEL_DEBUG 09:22:53.570991] SplitView.vala:149: WelcomeScreen hidden succefully
[_LOG_LEVEL_DEBUG 09:22:53.573985] SplitView.vala:87: View added succefully
[_LOG_LEVEL_FATAL 09:22:53.606033] [GLib] g_variant_ref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 09:22:53.606071] Scratch will not function properly.
[New Thread 0x7fffe13a5700 (LWP 4928)]
[New Thread 0x7fffe0ba4700 (LWP 4929)]
[New Thread 0x7fffd6e3f700 (LWP 4930)]
[New Thread 0x7fffd663e700 (LWP 4931)]
[_LOG_LEVEL_DEBUG 09:22:53.609048] sql-schema.vala:204: schema_version is 10
[_LOG_LEVEL_INFO 09:22:53.610498] Document.vala:120: Opening "uprove.tex"
[_LOG_LEVEL_WARN 09:22:53.685204] contractor.vala:81: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.elementary.Contractor was not provided by any .service files
[_LOG_LEVEL_FATAL 09:22:53.685270] gee_collection_get_size: assertion 'self != NULL' failed
[_LOG_LEVEL_FATAL 09:22:53.685298] Scratch will not function properly.
[New Thread 0x7fffd551f700 (LWP 4932)]
[_LOG_LEVEL_WARN 09:22:53.703803] contractor.vala:81: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.elementary.Contractor was not provided by any .service files
[_LOG_LEVEL_FATAL 09:22:53.703855] gee_collection_get_size: assertion 'self != NULL' failed
[_LOG_LEVEL_FATAL 09:22:53.703874] Scratch will not function properly.
[_LOG_LEVEL_FATAL 09:22:53.704304] [GLib] g_variant_unref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 09:22:53.704328] Scratch will not function properly.
[_LOG_LEVEL_FATAL 09:22:53.704465] [GLib] g_variant_ref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 09:22:53.704488] Scratch will not function properly.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
[_LOG_LEVEL_FATAL 09:22:53.704672] [GLib] g_variant_unref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 09:22:53.704694] Scratch will not function properly.

Program received signal SIGTERM, Terminated.
[Switching to Thread 0x7fffec7d1700 (LWP 4918)]
0x00007ffff54dc209 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff54dc209 in raise () from /lib64/libc.so.6
#1 0x00007ffff1c50b66 in ffi_call_unix64 () from /usr/lib64/libffi.so.6
#2 0x00007ffff1c50519 in ffi_call () from /usr/lib64/libffi.so.6
#3 0x00007ffff5deafd5 in g_cclosure_marshal_generic_va ()
   from /usr/lib64/libgobject-2.0.so.0
#4 0x00007ffff5dea5b7 in ?? () from /usr/lib64/libgobject-2.0.so.0
#5 0x00007ffff5e03bcf in g_signal_emit_valist ()
   from /usr/lib64/libgobject-2.0.so.0
#6 0x00007ffff5e04862 in g_signal_emit ()
   from /usr/lib64/libgobject-2.0.so.0
#7 0x00007ffff6f43cf2 in ?? () from /usr/lib64/libgio-2.0.so.0
#8 0x00007ffff58932c5 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#9 0x00007ffff5893628 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007ffff58936cc in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#11 0x00007fffed58aa8d in ?? ()
   from /usr/lib64/gio/modules/libdconfsettings.so
#12 0x00007ffff58b8535 in ?? () from /usr/lib64/libglib-2.0.so.0
#13 0x00007ffff42e0073 in start_thread () from /lib64/libpthread.so.0
#14 0x00007ffff558ddcd in clone () from /lib64/libc.so.6

Let me know if you need anything else.

Pim Vullers (pimvullers)
description: updated
Revision history for this message
Pim Vullers (pimvullers) wrote :

I just build scratch 2.0.2 only with the gee-0.8 patch against the libraries I used (latest development releases), to figure out whether it is a scratch issue or that it is caused by one of the libraries... but the 2.0.2 build works just fine. So this is caused by something that changed in scratch since then.

Revision history for this message
Pim Vullers (pimvullers) wrote :

I investigated a little further and reverting the zeitgeist-2.0 commit solved the problem for me (this is also reverted in the 2.x branch).

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Please confirm whether this is an outstanding bug in Scratch using a recent version.

Changed in scratch:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Scratch because there has been no activity for 60 days.]

Changed in scratch:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.