! 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 !
Creating a new desktop item fails with sigsev signal, crash
Status:
RESOLVED: FIXED

Comments

Description Torsten Krah 2008-02-12 11:55:53 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de-DE; rv:1.8.1.12) Gecko/20080207 Ubuntu/7.10 (gutsy) Firefox/2.0.0.12
Build Identifier: 

Using exo-desktop-item-edit does result in crashing the app, after entering some letters in the "name" field.

Version is 0.3.4.

Reproducible: Always

Steps to Reproduce:
1. exo-desktop-item-edit -c a.desktop
2. Enter something in the name field (one or more letters)
3. Crashed.

Actual Results:  
Result is sigsev signal which crashed the app.

Expected Results:  
It should let me enter something in the name field.

Debugged stuff a little bit.

gboolean exo_die_desktop_model_match_func(...) in exo-die-desktop-model.c let the app crash.
Line 748: matches = (strstr (casefild,key) != NULL) let things go bad (i may be wrong but thats what gdb told me).
Comment 1 Nick Schermer editbugs 2009-08-27 16:10:41 CEST
Possibly because of a null value, which makes strstr segfault. Fixed in 59594bc.

Bug #3847

Reported by:
Torsten Krah
Reported on: 2008-02-12
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information