[Bug 1242801]

2013-11-09 Thread Yyc1992
Confirmed with gtk-2.24.21, meld-1.8.2, pygtk 2.24.0 on ArchLinux.
Backtrace
#0  0x741853d5 in gtk_tree_model_get_valist (
tree_model=tree_model@entry=0x1502640, iter=iter@entry=0x7fffcb50, 
var_args=var_args@entry=0x7fffc9f8) at gtktreemodel.c:1470
#1  0x741856ec in gtk_tree_model_get (tree_model=0x1502640, 
iter=0x7fffcb50) at gtktreemodel.c:1432
#2  0x74054450 in combo_box_row_separator_func (model=, 
iter=, user_data=) at 
gtkfilechooserbutton.c:2365
#3  0x7402c7e4 in tree_column_row_is_sensitive (
combo_box=combo_box@entry=0x14766b0, iter=iter@entry=0x7fffcb50)
at gtkcombobox.c:1904
#4  0x740323b2 in gtk_combo_box_list_button_released (
widget=, event=0x7fffdc001b30, data=0x14766b0)
at gtkcombobox.c:4160
#5  0x740b1085 in _gtk_marshal_BOOLEAN__BOXED (closure=0x152bb40, 
return_value=0x7fffccc0, n_param_values=, 
param_values=0x7fffcd70, invocation_hint=, 
marshal_data=0x0)
at gtkmarshalers.c:86
#6  0x75207134 in g_closure_invoke (closure=0x152bb40, 
return_value=0x7fffccc0, n_param_values=2, param_values=0x7fffcd70, 
invocation_hint=0x7fffccf0) at gclosure.c:777
#7  0x7521c609 in signal_emit_unlocked_R (node=, 
detail=, instance=, 
emission_return=, instance_and_params=)
at gsignal.c:3582
#8  0x7521d23b in g_signal_emit_valist (instance=0x155b2c0, 
signal_id=, detail=0, var_args=0x7fffcfa0) at 
gsignal.c:3336
#9  0x7521d98a in g_signal_emit (instance=0x7fffc970, 
instance@entry=0x155b2c0, signal_id=4294967295, detail=4152329808, 
detail@entry=0) at gsignal.c:3382
#10 0x741c0c04 in gtk_widget_event_internal 
(widget=widget@entry=0x155b2c0, 
event=event@entry=0x7fffdc001b30) at gtkwidget.c:5010
#11 0x741c0ed9 in gtk_widget_event (widget=widget@entry=0x155b2c0, 
event=event@entry=0x7fffdc001b30) at gtkwidget.c:4807
#12 0x740af834 in gtk_propagate_event (widget=0x155b2c0, 
widget@entry=0x154b320, event=event@entry=0x7fffdc001b30) at gtkmain.c:2490
#13 0x740afbeb in gtk_main_do_event (event=0x7fffdc001b30) at 
gtkmain.c:1685
#14 0x73d1108c in gdk_event_dispatch (source=, 
callback=, user_data=) at gdkevents-x11.c:2403
#15 0x7513f278 in g_main_dispatch (context=) at 
gmain.c:3065
#16 g_main_context_dispatch (context=0xb159e0) at gmain.c:3641
#17 0x7513f61f in g_main_context_iterate (context=, 
block=, dispatch=, self=)
at gmain.c:3712
#18 0x7513f8ff in g_main_loop_run (loop=loop@entry=0x1570990) at 
gmain.c:3906
#19 0x740aecd7 in gtk_main () at gtkmain.c:1257
#20 0x74763136 in ?? ()
   from /usr/lib/python2.7/site-packages/gtk-2.0/gtk/_gtk.so
#21 0x77af95d6 in PyEval_EvalFrameEx () from 
/usr/lib/libpython2.7.so.1.0
#22 0x77af9552 in PyEval_EvalFrameEx () from 
/usr/lib/libpython2.7.so.1.0
#23 0x77afa290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#24 0x77afa392 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#25 0x77b1308f in run_mod () from /usr/lib/libpython2.7.so.1.0
#26 0x77b141ae in PyRun_FileExFlags () from /usr/lib/libpython2.7.so.1.0
#27 0x77b15319 in PyRun_SimpleFileExFlags ()
   from /usr/lib/libpython2.7.so.1.0
#28 0x77b25c2f in Py_Main () from /usr/lib/libpython2.7.so.1.0
#29 0x77474bc5 in __libc_start_main () from /usr/lib/libc.so.6
#30 0x00400741 in _start ()

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to gtk2-engines-oxygen in Ubuntu.
https://bugs.launchpad.net/bugs/1242801

Title:
  meld assertion while selecting directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk2-engines-oxygen/+bug/1242801/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1242801]

2013-11-09 Thread Yyc1992
Screenshot for that option: http://susepaste.org/21884365 .

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242801

Title:
  meld assertion while selecting directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk2-engines-oxygen/+bug/1242801/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1242801]

2013-11-09 Thread Yyc1992
@mcgyver
For a workaround in QtCurve-Gtk, the option (in the config file) is called 
`gtkComboMenu`(set it to true) and if you are using the kcm setting module, 
it's the 'Gtk-style' option under 'Non-editable style:' in the 'Combos' tab 
(select it).

Maybe I will also add a work around in QtCurve. Not sure yet.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242801

Title:
  meld assertion while selecting directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk2-engines-oxygen/+bug/1242801/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1242801]

2013-11-09 Thread Yyc1992
Created attachment 83394
Minimum program to trigger the bug, c version

Reproducable with both Gtk2 (2.24.12) and Gtk3 (3.10.0).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242801

Title:
  meld assertion while selecting directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk2-engines-oxygen/+bug/1242801/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1242801]

2013-11-09 Thread Yyc1992
With further debugging, the direct reason seems to be a "notify::popup-
shown" signal being emit and changes the stamp in GtkTreeModelFilter in
the path: combo_box_notify_popup_shown_cb ->
gtk_tree_model_filter_refilter -> gtk_tree_model_foreach ->
gtk_tree_model_filter_refilter_helper ->
gtk_tree_model_filter_row_changed ->
gtk_tree_model_filter_increment_stamp

Not sure what is the real reason but setting the stamp back after this
prevent the segfault.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242801

Title:
  meld assertion while selecting directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk2-engines-oxygen/+bug/1242801/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1242801]

2013-11-09 Thread Yyc1992
@Hugo You are right. The crash is gone when setting gtkComboMenu to True
in QtCurve.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to gtk2-engines-oxygen in Ubuntu.
https://bugs.launchpad.net/bugs/1242801

Title:
  meld assertion while selecting directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk2-engines-oxygen/+bug/1242801/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1242801]

2013-11-09 Thread Yyc1992
Not sure if this is still helpful now, but it seems that this crash
doesn't happen in the print to pdf directory selector. The difference
seems to be there is a default selected value in the printer dialog.
Adding `btn.set_current_folder('/home')` in the pygtk version works
around the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242801

Title:
  meld assertion while selecting directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk2-engines-oxygen/+bug/1242801/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1242801]

2013-11-09 Thread Yyc1992
Created attachment 83393
Minimum program to trigger the bug, pygtk version

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242801

Title:
  meld assertion while selecting directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk2-engines-oxygen/+bug/1242801/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs