Re: Gnote and GNOME 3
- From: Bryan Hunt <sentimental bryan gmail com>
- To: Rod Johnson <rod c johnson gmail com>
- Cc: Discussions about Gnote <gnote-list gnome org>
- Subject: Re: Gnote and GNOME 3
- Date: Thu, 22 Mar 2012 12:51:12 +0000
On Thu, 22 Mar 2012 13:32:22 +0200, Rod Johnson <rod c johnson gmail com> wrote:
> > For me, the UI is about as close to Zen as humanely possible. It
> > segfaults occasionally (ha ha it did it just now). Apart from that,it's
> > my favorite application. Minimal perhaps, could be why people like it.
>
> No segfaults here but I agree 120% with everything else. I just wish I
> could figure out how to reliably get it into the system tray of Gnome
> 3 on start-up. It's driving me nuts that I have to load it manually.
Know a way I can get more information about the segmentation fault? Can
I run it under some tool? I managed to trigger one with about 5 minutes
of clicking about and editing.
$ gnote
(gnote:3461): Gtk-CRITICAL **: IA__gtk_tree_selection_path_is_selected: assertion `path != NULL' failed
zsh: segmentation fault gnote
So I ran it through valgrind, perhaps this provides a little more
information. Output is attached.
I should really create a bug, not sure where to put it though.
Best Regards,
Bryan Hunt
valgrind /usr/bin/gnote
==3728== Memcheck, a memory error detector
==3728== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==3728== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
==3728== Command: /usr/bin/gnote
==3728==
==3728== Conditional jump or move depends on uninitialised value(s)
==3728== at 0x5491D19: inflateReset2 (in /lib/i386-linux-gnu/libz.so.1.2.3.4)
==3728== by 0x5491E0C: inflateInit2_ (in /lib/i386-linux-gnu/libz.so.1.2.3.4)
==3728== by 0x5491E92: inflateInit_ (in /lib/i386-linux-gnu/libz.so.1.2.3.4)
==3728== by 0x5802F80: png_create_read_struct_2 (in /lib/i386-linux-gnu/libpng12.so.0.46.0)
==3728==
==3728== Conditional jump or move depends on uninitialised value(s)
==3728== at 0x5491D19: inflateReset2 (in /lib/i386-linux-gnu/libz.so.1.2.3.4)
==3728== by 0x5491E0C: inflateInit2_ (in /lib/i386-linux-gnu/libz.so.1.2.3.4)
==3728== by 0x548B4FB: ??? (in /lib/i386-linux-gnu/libz.so.1.2.3.4)
==3728== by 0x4667B84: ??? (in /usr/lib/libxml2.so.2.7.8)
==3728== by 0x4667BE4: ??? (in /usr/lib/libxml2.so.2.7.8)
==3728== by 0x46682A3: __xmlParserInputBufferCreateFilename (in /usr/lib/libxml2.so.2.7.8)
==3728== by 0x46686DB: xmlParserInputBufferCreateFilename (in /usr/lib/libxml2.so.2.7.8)
==3728== by 0x80CB611: gnote::NoteManager::create_trie_controller() (in /usr/bin/gnote)
==3728== by 0x80CB934: gnote::NoteManager::_common_init(std::string const&, std::string const&) (in /usr/bin/gnote)
==3728== by 0x80CBC63: gnote::NoteManager::NoteManager(std::string const&, sigc::slot<void, std::tr1::shared_ptr<gnote::Note> const&, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&) (in /usr/bin/gnote)
==3728== by 0x80B3FAD: gnote::Gnote::main(int, char**) (in /usr/bin/gnote)
==3728== by 0x401F8FF: ??? (in /lib/i386-linux-gnu/ld-2.13.so)
==3728== Invalid read of size 4
==3728== at 0x55ED4A2: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55EFB09: FcConfigFilename (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x56041EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55F9065: FcInitLoadConfig (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55F9188: FcInitLoadConfigAndFonts (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55F940C: FcInit (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55EDCE4: FcConfigGetCurrent (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55EF87F: FcConfigSubstituteWithPat (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55EF8C6: FcConfigSubstitute (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x540A969: ??? (in /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.2903.0)
==3728== by 0x55C12D7: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.2903.0)
==3728== by 0x55C2A56: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.2903.0)
==3728== Address 0x2034ea34 is 20 bytes inside a block of size 22 alloc'd
==3728== at 0x4028876: malloc (vg_replace_malloc.c:236)
==3728== by 0x55ED407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55EFB09: FcConfigFilename (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x56041EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55F9065: FcInitLoadConfig (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55F9188: FcInitLoadConfigAndFonts (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55F940C: FcInit (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55EDCE4: FcConfigGetCurrent (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55EF87F: FcConfigSubstituteWithPat (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x55EF8C6: FcConfigSubstitute (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x540A969: ??? (in /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.2903.0)
==3728== by 0x55C12D7: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.2903.0)
==3728==
==3728== Invalid read of size 4
==3728== at 0x55ED4B6: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x900642D: ??? (in /usr/share/icons/oxygen/icon-theme.cache)
==3728== Address 0x15390c88 is 16 bytes inside a block of size 18 alloc'd
==3728== at 0x4028876: malloc (vg_replace_malloc.c:236)
==3728== by 0x55ED407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x900642D: ??? (in /usr/share/icons/oxygen/icon-theme.cache)
==3728==
==3728== Invalid read of size 4
==3728== at 0x55ED4B6: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x56041EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x56046A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x5604A63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== Address 0x5959cb0 is 40 bytes inside a block of size 42 alloc'd
==3728== at 0x4028876: malloc (vg_replace_malloc.c:236)
==3728== by 0x55ED407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x56041EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x56046A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x5604A63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728==
==3728== Invalid read of size 4
==3728== at 0x55ED4A2: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x56041EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x56046A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x5604A63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== Address 0x1535a82c is 36 bytes inside a block of size 39 alloc'd
==3728== at 0x4028876: malloc (vg_replace_malloc.c:236)
==3728== by 0x55ED407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x56041EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x56046A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x5604A63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728==
==3728== Invalid read of size 4
==3728== at 0x55ED4B6: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x2E73746D: ???
==3728== Address 0x5ab6c10 is 24 bytes inside a block of size 27 alloc'd
==3728== at 0x4028876: malloc (vg_replace_malloc.c:236)
==3728== by 0x55ED407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x2E73746D: ???
==3728==
==3728== Invalid read of size 4
==3728== at 0x55ED4A2: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x6F632E6B: ???
==3728== Address 0x152a5c9c is 20 bytes inside a block of size 22 alloc'd
==3728== at 0x4028876: malloc (vg_replace_malloc.c:236)
==3728== by 0x55ED407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==3728== by 0x6F632E6B: ???
==3728==
==3728== Invalid write of size 4
==3728== at 0x811E447: gnote::utils::InterruptableTimeout::callback(gnote::utils::InterruptableTimeout*) (in /usr/bin/gnote)
==3728== by 0x4DB592E: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3000.0)
==3728== by 0x4DB425E: g_main_context_dispatch (in /lib/i386-linux-gnu/libglib-2.0.so.0.3000.0)
==3728== by 0x4DB498F: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3000.0)
==3728== by 0x4DB4F9A: g_main_loop_run (in /lib/i386-linux-gnu/libglib-2.0.so.0.3000.0)
==3728== by 0x48F6FCE: gtk_main (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==3728== by 0x421C123: Gtk::Main::run_impl() (in /usr/lib/libgtkmm-2.4.so.1.1.0)
==3728== by 0x421CB5E: Gtk::Main::run() (in /usr/lib/libgtkmm-2.4.so.1.1.0)
==3728== by 0x80B6AA5: gnote::Gnote::start_tray_icon() (in /usr/bin/gnote)
==3728== by 0x80B40D6: gnote::Gnote::main(int, char**) (in /usr/bin/gnote)
==3728== by 0x401F8FF: ??? (in /lib/i386-linux-gnu/ld-2.13.so)
==3728== Address 0x21da5678 is 8 bytes inside a block of size 12 free'd
==3728== at 0x4027919: operator delete(void*) (vg_replace_malloc.c:387)
==3728== by 0x80EC4CC: gnote::NoteFindBar::entry_changed_timeout() (in /usr/bin/gnote)
==3728== by 0x8122FF0: sigc::internal::signal_emit0<void, sigc::nil>::emit(sigc::internal::signal_impl*) (in /usr/bin/gnote)
==3728== by 0x811E446: gnote::utils::InterruptableTimeout::callback(gnote::utils::InterruptableTimeout*) (in /usr/bin/gnote)
==3728== by 0x4DB592E: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3000.0)
==3728== by 0x4DB425E: g_main_context_dispatch (in /lib/i386-linux-gnu/libglib-2.0.so.0.3000.0)
==3728== by 0x4DB498F: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3000.0)
==3728== by 0x4DB4F9A: g_main_loop_run (in /lib/i386-linux-gnu/libglib-2.0.so.0.3000.0)
==3728== by 0x48F6FCE: gtk_main (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==3728== by 0x421C123: Gtk::Main::run_impl() (in /usr/lib/libgtkmm-2.4.so.1.1.0)
==3728== by 0x421CB5E: Gtk::Main::run() (in /usr/lib/libgtkmm-2.4.so.1.1.0)
==3728== by 0x80B6AA5: gnote::Gnote::start_tray_icon() (in /usr/bin/gnote)
==3728==
==3728== Syscall param writev(vector[...]) points to uninitialised byte(s)
==3728== at 0x51A51A5: writev (writev.c:56)
==3728== by 0x40004: ???
==3728== Address 0x58a6c7c is 36 bytes inside a block of size 16,384 alloc'd
==3728== at 0x402732C: calloc (vg_replace_malloc.c:467)
==3728== by 0x4E91551: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==3728== by 0x4C74625: gdk_display_open (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.6)
==3728== by 0x4C3F37C: gdk_display_open_default_libgtk_only (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.6)
==3728== by 0x48F6DED: gtk_init_check (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==3728== by 0x48F6E22: gtk_init (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==3728== by 0x421C7FF: Gtk::Main::init(int*, char***, bool) (in /usr/lib/libgtkmm-2.4.so.1.1.0)
==3728== by 0x421C90D: Gtk::Main::Main(int&, char**&, bool) (in /usr/lib/libgtkmm-2.4.so.1.1.0)
==3728== by 0x80B3D41: main (in /usr/bin/gnote)
==3728==
==3728== Invalid read of size 4
==3728== at 0x7E3BA5F: backlinks::BacklinksNoteAddin::update_menu() (in /usr/lib/gnote/addins/0.7.5/backlinks.so)
==3728== by 0x7E3BC70: backlinks::BacklinksNoteAddin::on_menu_item_activated() (in /usr/lib/gnote/addins/0.7.5/backlinks.so)
==3728== by 0x7E3BCC1: sigc::internal::slot_call0<sigc::bound_mem_functor0<void, backlinks::BacklinksNoteAddin>, void>::call_it(sigc::internal::slot_rep*) (in /usr/lib/gnote/addins/0.7.5/backlinks.so)
==3728== by 0x4588802: Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) (in /usr/lib/libglibmm-2.4.so.1.3.0)
==3728== by 0x4D3014B: g_cclosure_marshal_VOID__VOID (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3000.0)
==3728== by 0x4D2EC3B: g_closure_invoke (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3000.0)
==3728== by 0x4D41BE8: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3000.0)
==3728== by 0x4D4A786: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3000.0)
==3728== by 0x4D4A8F2: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3000.0)
==3728== by 0x4A324D4: gtk_widget_activate (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==3728== by 0x4900E49: ??? (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==3728== by 0x490F09D: gtk_menu_shell_select_item (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==3728== Address 0x150 is not stack'd, malloc'd or (recently) free'd
==3728==
==3728==
==3728== Process terminating with default action of signal 11 (SIGSEGV)
==3728== Access not within mapped region at address 0x150
==3728== at 0x7E3BA5F: backlinks::BacklinksNoteAddin::update_menu() (in /usr/lib/gnote/addins/0.7.5/backlinks.so)
==3728== by 0x7E3BC70: backlinks::BacklinksNoteAddin::on_menu_item_activated() (in /usr/lib/gnote/addins/0.7.5/backlinks.so)
==3728== by 0x7E3BCC1: sigc::internal::slot_call0<sigc::bound_mem_functor0<void, backlinks::BacklinksNoteAddin>, void>::call_it(sigc::internal::slot_rep*) (in /usr/lib/gnote/addins/0.7.5/backlinks.so)
==3728== by 0x4588802: Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) (in /usr/lib/libglibmm-2.4.so.1.3.0)
==3728== by 0x4D3014B: g_cclosure_marshal_VOID__VOID (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3000.0)
==3728== by 0x4D2EC3B: g_closure_invoke (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3000.0)
==3728== by 0x4D41BE8: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3000.0)
==3728== by 0x4D4A786: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3000.0)
==3728== by 0x4D4A8F2: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3000.0)
==3728== by 0x4A324D4: gtk_widget_activate (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==3728== by 0x4900E49: ??? (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==3728== by 0x490F09D: gtk_menu_shell_select_item (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==3728== If you believe this happened as a result of a stack
==3728== overflow in your program's main thread (unlikely but
==3728== possible), you can try to increase the size of the
==3728== main thread stack using the --main-stacksize= flag.
==3728== The main thread stack size used in this run was 8388608.
==3728==
==3728== HEAP SUMMARY:
==3728== in use at exit: 8,557,328 bytes in 185,576 blocks
==3728== total heap usage: 608,764 allocs, 423,188 frees, 152,269,795 bytes allocated
==3728==
==3728== LEAK SUMMARY:
==3728== definitely lost: 15,954 bytes in 34 blocks
==3728== indirectly lost: 26,100 bytes in 1,296 blocks
==3728== possibly lost: 2,973,049 bytes in 29,487 blocks
==3728== still reachable: 5,542,225 bytes in 154,759 blocks
==3728== suppressed: 0 bytes in 0 blocks
==3728== Rerun with --leak-check=full to see details of leaked memory
==3728==
==3728== For counts of detected and suppressed errors, rerun with: -v
==3728== Use --track-origins=yes to see where uninitialised values come from
==3728== ERROR SUMMARY: 727 errors from 11 contexts (suppressed: 251 from 15)
zsh: killed valgrind /usr/bin/gnote
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]