https://bugzilla.novell.com/show_bug.cgi?id=385128
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=385128#c16
--- Comment #16 from Michael Meeks 2008-06-09 08:05:13 MDT ---
So - this is a cross-thread race; here is the proof:
Thread 3 (Thread 0xb27ffb90 (LWP 11861)):
#0 IA__g_themed_icon_new_from_names (iconnames=0xb27ff0e0, len=3)
at gthemedicon.c:288
#1 0xb7fb3b34 in IA__g_content_type_get_icon (
type=0x81bb878 "inode/directory") at gcontenttype.c:673
#2 0xb7fe8cf0 in _g_local_file_info_get (basename=0x81bb850 "Desktop",
path=0x8191738 "/home/michael/Desktop", attribute_matcher=0x81bb800,
flags=G_FILE_QUERY_INFO_NONE, parent_info=0xb27ff264, error=0xb27ff2e8)
at glocalfileinfo.c:1499
#3 0xb7fe4005 in g_local_file_query_info (file=0x8126240,
attributes=0xb2800688 "standard,time,thumbnail::*",
flags=G_FILE_QUERY_INFO_NONE, cancellable=0x8124f90, error=0xb27ff2e8)
at glocalfile.c:1155
#4 0xb7fbcf66 in IA__g_file_query_info (file=0x8126240,
attributes=0xb2800688 "standard,time,thumbnail::*",
flags=G_FILE_QUERY_INFO_NONE, cancellable=0x8124f90, error=0xb27ff2e8)
at gfile.c:1006
#5 0xb7fbf374 in query_info_async_thread (res=0x80cd3b0, object=0x8126240,
cancellable=0x8124f90) at gfile.c:3801
#6 0xb7fd3a39 in run_in_thread (job=0x81918c8, c=0x8124f90, _data=0x81918a0)
at gsimpleasyncresult.c:613
#7 0xb7fcd414 in io_job_thread (data=0x81918c8, user_data=0x0)
---Type <return> to continue, or q <return> to quit---
at gioscheduler.c:178
#8 0xb7002a06 in g_thread_pool_thread_proxy (data=0x81c14d8)
at gthreadpool.c:265
#9 0xb700139f in g_thread_create_proxy (data=0x81918f0) at gthread.c:635
#10 0xb79c3175 in start_thread (arg=0xb27ffb90) at pthread_create.c:297
#11 0xb6efddce in clone () from /lib/libc.so.6
Thread 2 (Thread 0xb31ffb90 (LWP 11860)):
#0 0xb706cc41 in IA__g_param_spec_pool_lookup (pool=0x8060d90,
param_name=0xb78e8512 "name", owner_type=2994735592, walk_ancestors=0)
at gparam.c:753
#1 0xb7068753 in install_property_internal (g_type=2994735592,
property_id=1721807957, pspec=0x81580f0) at gobject.c:289
#2 0xb70689e7 in IA__g_object_class_install_property (class=0x8124e98,
property_id=1, pspec=0x81580f0) at gobject.c:321
#3 0xb7fd4ac5 in g_themed_icon_class_intern_init (klass=0x8124e98)
at gthemedicon.c:204
#4 0xb7084828 in IA__g_type_class_ref (type=<value optimized out>)
at gtype.c:1880
#5 0xb706b4de in IA__g_object_new_valist (object_type=2994735592,
first_property_name=0xb7ffa473 "names", var_args=0xb31ff098 "�t\200�")
at gobject.c:988
#6 0xb706b89e in IA__g_object_new (object_type=2994735592,
---Type <return> to continue, or q <return> to quit---
first_property_name=0xb7ffa473 "names") at gobject.c:795
#7 0xb7fd4831 in IA__g_themed_icon_new_from_names (iconnames=0xb31ff0e0,
len=3) at gthemedicon.c:302
#8 0xb7fb3b34 in IA__g_content_type_get_icon (
type=0xb2800938 "inode/directory") at gcontenttype.c:673
#9 0xb7fe8cf0 in _g_local_file_info_get (basename=0x8124e40 "michael",
path=0x81b3f70 "/home/michael", attribute_matcher=0x8124e00,
flags=G_FILE_QUERY_INFO_NONE, parent_info=0xb31ff264, error=0xb31ff2e8)
at glocalfileinfo.c:1499
#10 0xb7fe4005 in g_local_file_query_info (file=0x81269a0,
attributes=0x81bced8 "standard,time,thumbnail::*",
flags=G_FILE_QUERY_INFO_NONE, cancellable=0x8124f60, error=0xb31ff2e8)
at glocalfile.c:1155
#11 0xb7fbcf66 in IA__g_file_query_info (file=0x81269a0,
attributes=0x81bced8 "standard,time,thumbnail::*",
flags=G_FILE_QUERY_INFO_NONE, cancellable=0x8124f60, error=0xb31ff2e8)
at gfile.c:1006
#12 0xb7fbf374 in query_info_async_thread (res=0x80cd380, object=0x81269a0,
cancellable=0x8124f60) at gfile.c:3801
#13 0xb7fd3a39 in run_in_thread (job=0x8127bc0, c=0x8124f60, _data=0x81075e8)
at gsimpleasyncresult.c:613
#14 0xb7fcd414 in io_job_thread (data=0x8127bc0, user_data=0x0)
at gioscheduler.c:178
---Type <return> to continue, or q <return> to quit---
#15 0xb7002a06 in g_thread_pool_thread_proxy (data=0x81c14d8)
at gthreadpool.c:265
#16 0xb700139f in g_thread_create_proxy (data=0x811f7a0) at gthread.c:635
#17 0xb79c3175 in start_thread (arg=0xb31ffb90) at pthread_create.c:297
#18 0xb6efddce in clone () from /lib/libc.so.6
Thread 1 (Thread 0xb6dfd6c0 (LWP 11850)):
#0 shortcuts_add_volumes (impl=0x8105088) at gtkfilechooserdefault.c:2098
#1 0xb7705ed4 in gtk_file_chooser_default_constructor (type=135270160,
n_construct_properties=1, construct_params=0x8104b10)
at gtkfilechooserdefault.c:2412
#2 0xb706ab66 in IA__g_object_newv (object_type=135270160, n_parameters=1,
parameters=0x80cd400) at gobject.c:937
#3 0xb706b752 in IA__g_object_new_valist (object_type=135270160,
first_property_name=0xb78e60f2 "file-system-backend",
var_args=0xbf9db42c "") at gobject.c:1027
#4 0xb706b89e in IA__g_object_new (object_type=135270160,
first_property_name=0xb78e60f2 "file-system-backend") at gobject.c:795
#5 0xb76f5aa8 in _gtk_file_chooser_default_new (file_system=0x0)
at gtkfilechooserdefault.c:11157
#6 0xb770bcbc in gtk_file_chooser_widget_constructor (type=135268840,
n_construct_properties=1, construct_params=0x8101af0)
at gtkfilechooserwidget.c:103
---Type <return> to continue, or q <return> to quit---
#7 0xb706ab66 in IA__g_object_newv (object_type=135268840, n_parameters=0,
parameters=0x0) at gobject.c:937
#8 0xb706b727 in IA__g_object_new_valist (object_type=135268840,
first_property_name=0x0,
var_args=0xbf9db668
"\210�\017\b�\t�x�\v\b|�\017\b\020\020\020\b�\t�x�\v\b|�\017\b��\235�f�\006�H\037\t\b\003")
at gobject.c:986
#9 0xb706b89e in IA__g_object_new (object_type=135268840,
first_property_name=0x0) at gobject.c:795
#10 0xb7707a65 in gtk_file_chooser_dialog_constructor (type=134815560,
n_construct_properties=3, construct_params=0x80fff70)
at gtkfilechooserdialog.c:284
#11 0xb706ab66 in IA__g_object_newv (object_type=134815560, n_parameters=3,
parameters=0x8100800) at gobject.c:937
#12 0xb706b752 in IA__g_object_new_valist (object_type=134815560,
first_property_name=0xb78d791b "title", var_args=0xbf9db89c "")
at gobject.c:1027
#13 0xb706b89e in IA__g_object_new (object_type=134815560,
first_property_name=0xb78d791b "title") at gobject.c:795
#14 0xb77073c1 in gtk_file_chooser_dialog_new_valist (title=0x0, parent=0x0,
action=GTK_FILE_CHOOSER_ACTION_OPEN, backend=0x0,
first_button_text=0xb78d79f3 "gtk-cancel",
varargs=0xbf9db8f0 "����\216����") at
gtkfilechooserdialog.c:477
#15 0xb770746d in IA__gtk_file_chooser_dialog_new (title=0x0, parent=0x0,
---Type <return> to continue, or q <return> to quit---
action=GTK_FILE_CHOOSER_ACTION_OPEN,
first_button_text=0xb78d79f3 "gtk-cancel") at gtkfilechooserdialog.c:522
#16 0xb76f4c38 in gtk_file_chooser_button_constructor (type=134815864,
n_params=2, params=0x80ee828) at gtkfilechooserbutton.c:664
#17 0xb706ab66 in IA__g_object_newv (object_type=134815864, n_parameters=2,
parameters=0x80ef9b0) at gobject.c:937
#18 0xb706b752 in IA__g_object_new_valist (object_type=134815864,
first_property_name=0xb7956d92 "action", var_args=0xbf9dbb74 "")
at gobject.c:1027
#19 0xb706b89e in IA__g_object_new (object_type=134815864,
first_property_name=0xb7956d92 "action") at gobject.c:795
#20 0xb76f1055 in IA__gtk_file_chooser_button_new (
title=0xb80accf6 "Select a folder",
action=GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER)
at gtkfilechooserbutton.c:2757
#21 0x08050089 in screenshot_dialog_new ()
#22 0x0804eaa9 in _start ()
this is from gnome-screenshot. Notice we are about to create a new class
instance without finishing the class_init: this can (presumably) lead to all
manner of bad stuff, but (I guess) just hadn't been noticed before we had the
file-selector racing there.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.