! 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 on multiple duplicates/links
Status:
CLOSED: FIXED

Comments

Description Daichi Kawahata 2005-12-01 16:25:50 CET
When I try to create multiple duplicates/links against the selected
files, Thunar crashes.

Reproducible: Always
Steps to Reproduce:
1. Select files with CTRL+mouse
2. Select Edit->Duplicate files/Make links




I'm using latest codes in both libexo, Thunar.
Comment 1 Daichi Kawahata 2005-12-01 16:28:51 CET
Created attachment 352 
Stacktrace log.

This core was generated under C locale.
Comment 2 Benedikt Meurer editbugs 2005-12-01 16:39:21 CET
The interesting line is thunar-progress-dialog.c:129. For some reason, the
format argument to g_strdup_printf(), which is specified as static string
"<big>%s</big>", is lost. In the backtrace, an empty string "" appears as format
argument. I'm pretty sure this is caused by memory corruption at some point,
since the backtrace doesn't make sense. I wanted to change this
transform_to_markup() work-around anyway, so I'm going to commit a patch later,
but that will unlikely fix the problem. We shall see.
Comment 3 Daichi Kawahata 2005-12-01 17:17:04 CET
Created attachment 353 
Stacktrace log

I compiled Thunar with -O0 -g3, noticed that happens even
single file duplicate/link creation, and all directories/files
aren't displayed used to be, gcc bug?
Comment 4 Benedikt Meurer editbugs 2005-12-03 14:09:14 CET
Created attachment 356 
Suggested patch

Can you try this patch?
Comment 5 Daichi Kawahata 2005-12-04 01:22:55 CET
Fixed, thanks.
Comment 6 Benedikt Meurer editbugs 2005-12-04 13:34:52 CET
Committed with revision 18990.

Bug #1252

Reported by:
Daichi Kawahata
Reported on: 2005-12-01
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
0.2.1svn

Attachments

Stacktrace log. (28.47 KB, text/plain)
2005-12-01 16:28 CET , Daichi Kawahata
no flags
Stacktrace log (28.94 KB, text/plain)
2005-12-01 17:17 CET , Daichi Kawahata
no flags
Suggested patch (2.75 KB, patch)
2005-12-03 14:09 CET , Benedikt Meurer
no flags

Additional information