! 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 !
crash when renaming files
Status:
CLOSED: FIXED

Comments

Description Jari Rahkonen 2005-11-30 14:28:25 CET
Thunar segfaults when I rename a file using svn trunk revision 18964.

Reproducible: Always
Steps to Reproduce:
1. Start up Thunar.
2. Right click a file and select rename.
3. Change the filename and press enter.

Actual Results:  
Thunar segfaulted. The file was renamed though.

Expected Results:  
Thunar should have just renamed the file without the segfault.

I'm running Ubuntu Breezy with gtk+ 2.8.6 and a recent svn build of cairo on a
2.6.12 kernel.
Comment 1 Jari Rahkonen 2005-11-30 14:30:37 CET
Created attachment 344 
gdb backtrace

I attached a gdb backtrace of the segfault.
Comment 2 Benedikt Meurer editbugs 2005-11-30 14:34:53 CET
Created attachment 345 
Suggested fix

Please try the attached patch.
Comment 3 Jari Rahkonen 2005-11-30 14:52:20 CET
(In reply to comment #2)

Didn't do any good. Just ask if you need more information.
Comment 4 Benedikt Meurer editbugs 2005-11-30 14:59:37 CET
Created attachment 346 
Better fix

The previous one wasn't that good anyway. This one should fix the problem.
Please provide another backtrace if it still crashes using this patch.
Comment 5 Jari Rahkonen 2005-11-30 15:10:00 CET
Works fine now. Thanks.
Comment 6 Benedikt Meurer editbugs 2005-11-30 15:11:55 CET
Committed with revision 18972.

Bug #1248

Reported by:
Jari Rahkonen
Reported on: 2005-11-30
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
0.2.1svn

Attachments

gdb backtrace (3.86 KB, text/plain)
2005-11-30 14:30 CET , Jari Rahkonen
no flags
Suggested fix (772 bytes, patch)
2005-11-30 14:34 CET , Benedikt Meurer
no flags
Better fix (3.38 KB, patch)
2005-11-30 14:59 CET , Benedikt Meurer
no flags

Additional information