! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Segfault if entry is null
Status:
RESOLVED: FIXED
Product:
Ristretto
Component:
Application

Comments

Description Mike Massonnet editbugs 2007-09-02 23:18:59 CEST
If you click fast over the thumbnails viewer, the images doesn't display (that's ok), but it sometimes crashes.

This is what gdb tells:
#0  rstto_navigator_entry_get_pixbuf (entry=0x0) at navigator.c:477

Adding a NULL check fixes the issue.
Comment 1 Mike Massonnet editbugs 2007-09-02 23:19:39 CEST
Created attachment 1341 
check-entry-for-null-value
Comment 2 Stephan Arts editbugs 2007-09-03 16:45:04 CEST
Thank you, patch applied in rev 3120
Comment 3 Stephan Arts editbugs 2007-09-03 18:08:46 CEST
This patch does not fix the bug, it works around the problem.

If this happends again, could you give a complete backtrace? (You might want to remove the assert i placed there)
Comment 4 Stephan Arts editbugs 2007-10-14 13:07:02 CEST
Might be fixed, I don't recall... but it does not happen again.

Bug #3527

Reported by:
Mike Massonnet
Reported on: 2007-09-02
Last modified on: 2009-07-14

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Version:
unspecified

Attachments

check-entry-for-null-value (416 bytes, patch)
2007-09-02 23:19 CEST , Mike Massonnet
no flags

Additional information