! 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 on starting ristretto with command line args
Status:
CLOSED: FIXED
Severity:
critical
Product:
Ristretto
Component:
Application

Comments

Description Peter de Ridder editbugs 2008-02-23 22:06:31 CET
User-Agent:       Mozilla/5.0 (X11; msie 6.0; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceape/1.1.8 (Debian-1.1.8-2)
Build Identifier: 

ristretto segfaults with commandline args:
#0  0xb79ce7c0 in g_slist_length () from /usr/lib/libglib-2.0.so.0
#1  0x0804eb8f in cb_rstto_open_files (rof=0xbf82df2c) at main.c:412
#2  0xb7d48ac0 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#3  0x0804e6fd in main (argc=1769239141, argv=0x6c6163) at main.c:316


Reproducible: Always

Steps to Reproduce:
1. run ristretto /tmp
Actual Results:  
segfault
Comment 1 Peter de Ridder editbugs 2008-02-23 22:10:52 CET
Created attachment 1521 
fixes the segfault

This fixes the segfault,
the segfault was caused by uninitialized stack memory
Comment 2 Stephan Arts editbugs 2008-02-23 22:25:54 CET
Fixed in revision 3990

Bug #3870

Reported by:
Peter de Ridder
Reported on: 2008-02-23
Last modified on: 2009-07-14

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Version:
unspecified

Attachments

fixes the segfault (375 bytes, patch)
2008-02-23 22:10 CET , Peter de Ridder
no flags

Additional information