GNOME Bugzilla – Bug 649569
GDK_THREADS_ENTER in file_print_cb@modules/printbackends/file/printbackendfile.c
Last modified: 2012-05-17 04:11:16 UTC
The function file_print_cb in the file modules/printbackends/file/printbackendfile.c does GDK_THREAD_ENTER and GDK_THREAD_LEAVE. That seems to be ok when it called from file_write, which is presumably called without the gdk lock because it is used by g_io_add_watch. But it is wrong when it is called from gtk_print_backend_file_print_stream, which must be called with the gdk lock. In this case you get a reursive lock. You can get that by selecting a "print to file" in the print dialog, select "other.." in the "save in folder" combobox, enter rubbish path and the tries to print. Seems to have been there since at least 2.12.
Created attachment 187364 [details] [review] a patch I've failed to reproduce the problem here locally, but the problem description certainly makes sense. Can you test this patch ?
We have done a quick test (with 2.22.0 rather than 2.24) and it works ok. But we normally use the distributions that come with the machines, so it will not tested much.
Matthias: The patch is applied?, can we close this report?
Matthias, ping, what's status of patch, committed or not ?