I have tested your patch. Unfortunately, it seems it isn't enoug to prevent the crash:
Program received signal SIGSEGV, Segmentation fault.
[Cambiando a Thread 0x7fffdd52a700 (LWP 6995)]
0x000000000043eb5b in directory_thumbs_loaded_callback (directory=<optimized out>,
view=0x907540)
at /home/julian/elementary-projects/pantheon-files-fix-1184104/src/fm-directory-view.c:327
327 g_return_if_fail(GTK_IS_WIDGET(view));
It crashes in one of the new checks. Sometimes in this one, some times in one of the others. It doesn't crash always.
I attached a backtrace for this crash (though it doesn't seem to give useful info).
Thanks for reporting!
I have tested your patch. Unfortunately, it seems it isn't enoug to prevent the crash:
Program received signal SIGSEGV, Segmentation fault. thumbs_ loaded_ callback (directory= <optimized out>, elementary- projects/ pantheon- files-fix- 1184104/ src/fm- directory- view.c: 327 if_fail( GTK_IS_ WIDGET( view));
[Cambiando a Thread 0x7fffdd52a700 (LWP 6995)]
0x000000000043eb5b in directory_
view=0x907540)
at /home/julian/
327 g_return_
It crashes in one of the new checks. Sometimes in this one, some times in one of the others. It doesn't crash always.
I attached a backtrace for this crash (though it doesn't seem to give useful info).