Steps to repro: * create a new project/compilation * create a new dir in the target compilation * hit the burn button Expected results: * it should go straight to the "confirm-burn" panel Actual results: * it blows up pretty badly This is the output if launched from the command line: $ xfburn ** Message: Thunar-VFS not available, using default implementation ** Message: Using basic transcoder. (xfburn:21274): GLib-CRITICAL **: g_path_get_basename: assertion `file_name != NULL' failed Segmentation fault Distro is Gentoo, you can see the bug opened here: http://bugs.gentoo.org/show_bug.cgi?id=331135 $ xfburn --version xfburn version 0.4.3 for Xfce 4.6.2 built with GTK+-2.20.1, linked with GTK+-2.20.1.
Also, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592524
Created attachment 3541 Patch to avoid segfault when adding new directory I had opened another bug report on Debian ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613563 ) , and I suggest this patch to correct it. Thanks
I'm not sure about the patch, but could someone review it and ack/nack it? And commit it if it's ack'able.
just tried to reproduce the behaviour with new Xfburn 0.4.3, everything went fine without problems. Thanks for your support, feel free to close this bug.
Well, we had a comment from a Debian user saying that it /was/ reproducible on 0.4.3 and Lionel Le Folgoc confirmed.
Yeah, keep the bug open -- the fix is not in 0.4.3 or git, but only attached here
well if that's the case, let me know if you need any info on my system, flags.
Created attachment 4225 full bt Here's a full stacktrace for reference (might be useful later). It crashes at xfburn-data-composition.c:1858 apparently: if (strcmp (basename, name) != 0) { So maybe a simpler fix is to use g_strcmp0() since it handles NULL? Anyway, +1 for a review of the patch. ;-)
Created attachment 4481 Same patch but reformatted to apply for git This is the same already posted patch but cleaned up format so it applies with current git.
I remembered this issue while traveling, so I coded up a slightly different fix. Thanks everyone for the work though! commit 611d915887b09148e74c28704dc5a0bef16d90fd Author: David Mohr <david@mcbf.net> Date: Sat Jun 16 17:22:55 2012 +0200 Don't check source file for user created directories.
*** Bug 6726 has been marked as a duplicate of this bug. ***
*** Bug 7285 has been marked as a duplicate of this bug. ***