Bug#426477: tasks: segfaults when I select a Priority
On Tue, 2007-05-29 at 04:16 +0300, Eddy Petrişor wrote: I start tasks, select a task to edit, select a prio, tasks segfaults: $ LANG=C tasks /home/eddy/.gtkrc-2.0:3: error: invalid identifier `color', expected valid identifier Whoops, typo in your theme. (tasks:19504): Gtk-CRITICAL **: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL (cell_view-priv-model)' failed Very strange! Can you get a back trace of this? (tasks:19504): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `KotoTaskEditorDialog' has no property named `transient-for' I've fixed this in svn. Segmentation fault I hope that this was caused by the property setting failing. If you can attempt a build from svn to check, that would be great. Ross -- Ross Burton mail: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF signature.asc Description: This is a digitally signed message part
Bug#426477: tasks: segfaults when I select a Priority
Ross Burton wrote: On Tue, 2007-05-29 at 04:16 +0300, Eddy Petrişor wrote: I start tasks, select a task to edit, select a prio, tasks segfaults: $ LANG=C tasks /home/eddy/.gtkrc-2.0:3: error: invalid identifier `color', expected valid identifier Whoops, typo in your theme. nah, is gtk 2.8 and I followed the README to add colours to tasks (I knew it will have no effect, but I was expecting to swtich to lenny somewhere in the near future). (tasks:19504): Gtk-CRITICAL **: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL (cell_view-priv-model)' failed Very strange! Can you get a back trace of this? I agree, I grepped for the assertion and found it in openmoko, but not in gtk... So here goes. Not sure if this is good enough; as you can see, I didn't knew where to put the breakpoint (g_assert was not useful): (gdb) step koto_task_editor_dialog_new () at koto-task-editor-dialog.c:241 241 return g_object_new (KOTO_TYPE_TASK_EDITOR_DIALOG, NULL); (gdb) step 0x2b41803accc0 in g_object_new () from /usr/lib/libgobject-2.0.so.0 (gdb) step Single stepping until exit from function g_object_new, which has no line number information. (tasks:17337): Gtk-CRITICAL **: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL (cell_view-priv-model)' failed edit_task (task=0x8bcb90) at main.c:196 196 gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (window)); (gdb) thread apply all bt Thread 2 (Thread 1074006368 (LWP 17340)): #0 0x2b4181946cf6 in poll () from /lib/libc.so.6 #1 0x2b41807135ae in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #2 0x2b4180713a46 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #3 0x2b4181545cc0 in link_set_io_thread () from /usr/lib/libORBit-2.so.0 #4 0x2b418072c5a4 in g_thread_create_full () from /usr/lib/libglib-2.0.so.0 #5 0x2b4181776f1a in start_thread () from /lib/libpthread.so.0 #6 0x2b418194f602 in clone () from /lib/libc.so.6 #7 0x in ?? () Thread 1 (Thread 47560381817424 (LWP 17337)): #0 edit_task (task=0x8bcb90) at main.c:196 #1 0x004091a9 in on_row_activated (tree_view=value optimized out, path=0x707d00, column=value optimized out, user_data=value optimized out) at main.c:229 #2 0x2b41803a7479 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #3 0x2b41803b6ae1 in g_signal_chain_from_overridden () from /usr/lib/libgobject-2.0.so.0 #4 0x2b41803b7d95 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #5 0x2b41803b7f73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #6 0x2b417edefe9b in _gtk_tree_view_column_autosize () from /usr/lib/libgtk-x11-2.0.so.0 #7 0x2b417ed2964d in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0 #8 0x2b41803a7479 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #9 0x2b41803b6c7f in g_signal_chain_from_overridden () from /usr/lib/libgobject-2.0.so.0 #10 0x2b41803b7b5e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #11 0x2b41803b7f73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #12 0x2b417edffe4e in gtk_widget_get_default_style () from /usr/lib/libgtk-x11-2.0.so.0 #13 0x2b417ed232ae in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #14 0x2b417ed24357 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #15 0x2b417f06b52c in _gdk_events_init () from /usr/lib/libgdk-x11-2.0.so.0 #16 0x2b4180710913 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #17 0x2b418071375d in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #18 0x2b4180713a46 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #19 0x2b417ed246b2 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #20 0x0040845a in main (argc=1, argv=0x7fff2bfc8688) at main.c:570 This was done on the svn code r206. (tasks:19504): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `KotoTaskEditorDialog' has no property named `transient-for' I've fixed this in svn. Segmentation fault I hope that this was caused by the property setting failing. If you can attempt a build from svn to check, that would be great. The svn build seems ok. Will you do a 0.8 release; I went back to 0.6 which worked fine, but it would be nice to be able to set categories right from task creation. BTW, I think that task categorization could be done more intuitive with a syntax like ::category:: task. This would allow later multiple categorization (e.g.: ::dev::pkg:: release tasks 0.8 ;-) ). -- Regards, EddyP = Imagination is more important than knowledge A.Einstein signature.asc Description: OpenPGP digital signature
Bug#426477: tasks: segfaults when I select a Priority
On Tue, 2007-05-29 at 15:31 +0300, Eddy Petrișor wrote: Not sure if this is good enough; as you can see, I didn't knew where to put the breakpoint (g_assert was not useful): The trick to break on glib assertions is to break on g_logv, which is the lowest message output function. The svn build seems ok. Will you do a 0.8 release; I went back to 0.6 which worked fine, but it would be nice to be able to set categories right from task creation. Cool, I'll make a 0.8 shortly. BTW, I think that task categorization could be done more intuitive with a syntax like ::category:: task. This would allow later multiple categorization (e.g.: ::dev::pkg:: release tasks 0.8 ;-) ). I prefer @foo because it is the same as the Getting Things Done syntax. Multiple categories will be implemented by splitting the string on ,, so you'd do @dev,pkg. Ross -- Ross Burton mail: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF signature.asc Description: This is a digitally signed message part
Bug#426477: tasks: segfaults when I select a Priority
Ross Burton wrote: On Tue, 2007-05-29 at 15:31 +0300, Eddy Petrișor wrote: Not sure if this is good enough; as you can see, I didn't knew where to put the breakpoint (g_assert was not useful): The trick to break on glib assertions is to break on g_logv, which is the lowest message output function. Oh, ok. This is just before the message display. Breakpoint 2, 0x2b898a7d25c0 in g_logv () from /usr/lib/libglib-2.0.so.0 (gdb) bt #0 0x2b898a7d25c0 in g_logv () from /usr/lib/libglib-2.0.so.0 #1 0x2b898a7d29d3 in g_log () from /usr/lib/libglib-2.0.so.0 #2 0x2b898a4662ef in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #3 0x2b898a466bbd in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #4 0x2b898a466d61 in g_object_new () from /usr/lib/libgobject-2.0.so.0 #5 0x0040ecc9 in category_new (editor=0x59abf0) at koto-task-editor.c:491 #6 0x0040f87e in koto_task_editor_init (self=0x59abf0) at koto-task-editor.c:734 #7 0x2b898a4808f0 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #8 0x2b898a467c9d in g_object_set () from /usr/lib/libgobject-2.0.so.0 #9 0x2b898a4660ff in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #10 0x2b898a466b2c in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #11 0x2b898a466d61 in g_object_new () from /usr/lib/libgobject-2.0.so.0 #12 0x0040a477 in koto_task_editor_dialog_init (self=0x5b6150) at koto-task-editor-dialog.c:225 #13 0x2b898a4808f0 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #14 0x2b898a467c9d in g_object_set () from /usr/lib/libgobject-2.0.so.0 #15 0x2b898a4660ff in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #16 0x2b898a466b2c in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #17 0x2b898a466d61 in g_object_new () from /usr/lib/libgobject-2.0.so.0 #18 0x00408b15 in edit_task (task=0x8f0bc0) at main.c:195 #19 0x004091a9 in on_row_activated (tree_view=value optimized out, path=0x9f8580, column=value optimized out, user_data=value optimized out) at main.c:229 #20 0x2b898a461479 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #21 0x2b898a470ae1 in g_signal_chain_from_overridden () from /usr/lib/libgobject-2.0.so.0 #22 0x2b898a471d95 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #23 0x2b898a471f73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #24 0x2b8988ea9e9b in _gtk_tree_view_column_autosize () from /usr/lib/libgtk-x11-2.0.so.0 #25 0x2b8988de364d in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0 #26 0x2b898a461479 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #27 0x2b898a470c7f in g_signal_chain_from_overridden () from /usr/lib/libgobject-2.0.so.0 #28 0x2b898a471b5e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #29 0x2b898a471f73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #30 0x2b8988eb9e4e in gtk_widget_get_default_style () from /usr/lib/libgtk-x11-2.0.so.0 ---Type return to continue, or q return to quit--- #31 0x2b8988ddd2ae in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #32 0x2b8988dde357 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #33 0x2b898912552c in _gdk_events_init () from /usr/lib/libgdk-x11-2.0.so.0 #34 0x2b898a7ca913 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #35 0x2b898a7cd75d in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #36 0x2b898a7cda46 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #37 0x2b8988dde6b2 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #38 0x0040845a in main (argc=1, argv=0x7fff21f0e5c8) at main.c:570 The svn build seems ok. Will you do a 0.8 release; I went back to 0.6 which worked fine, but it would be nice to be able to set categories right from task creation. Cool, I'll make a 0.8 shortly. Excelent. I'll srcinst install it on my etch machine :-) BTW, I think that task categorization could be done more intuitive with a syntax like ::category:: task. This would allow later multiple categorization (e.g.: ::dev::pkg:: release tasks 0.8 ;-) ). I prefer @foo because it is the same as the Getting Things Done syntax. Multiple categories will be implemented by splitting the string on ,, so you'd do @dev,pkg. I was suspecting that GTD was behind the design :-). -- Regards, EddyP = Imagination is more important than knowledge A.Einstein signature.asc Description: OpenPGP digital signature
Bug#426477: tasks: segfaults when I select a Priority
Package: tasks Version: 0.7-1 Severity: grave Justification: renders package unusable I start tasks, select a task to edit, select a prio, tasks segfaults: $ LANG=C tasks /home/eddy/.gtkrc-2.0:3: error: invalid identifier `color', expected valid identifier (tasks:19504): Gtk-WARNING **: Unable to locate theme engine in module_path: tangoish, (tasks:19504): Gtk-CRITICAL **: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL (cell_view-priv-model)' failed (tasks:19504): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `KotoTaskEditorDialog' has no property named `transient-for' Segmentation fault -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (900, 'stable'), (50, 'testing') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-amd64 Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8) Versions of packages tasks depends on: ii evolution-data-server 1.6.3-5 evolution database backend server ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libecal1.2-61.6.3-5 Client library for evolution calen ii libedataserver1.2-7 1.6.3-5 Utility library for evolution data ii libglib2.0-02.12.4-2 The GLib library of C routines ii libgtk2.0-0 2.8.20-7 The GTK+ graphical user interface tasks recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]