! 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 !
xfburn 0.1.0 segfault on exit
Status:
CLOSED: FIXED

Comments

Description Joe Klemmer 2006-07-31 03:19:14 CEST
Built xfburn on my FC5 box (with all updates) and then ran it quickly to check it out.  It found my devices and displayed nicely but when I exited the program I got a Segmentation fault.  This doesn't appear to have affected anything, though.
Comment 1 Jean-François Wauthy editbugs 2006-07-31 07:24:02 CEST
can you send me a backtrace ?
Comment 2 Joe Klemmer 2006-07-31 14:56:08 CEST
(In reply to comment #1)
> can you send me a backtrace ?
> 

Backtrace as follows:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
$ gdb xfburn
[...]
...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run --no-daemon-debug
Starting program: /usr/local/bin/xfburn --no-daemon-debug
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xb5c000
[Thread debugging using libthread_db enabled]
[New Thread -1208277312 (LWP 25106)]
** Message: no settings file found, using defaults

** (xfburn:25106): WARNING **: Unable to open the settings file
** Message: Using Thunar-VFS 0.3.2
** Message: looking for device [1]
** Message: device [1] found :  48X12X50 CD-RW (/dev/sr0)
** Message: device [1] capabilities : CD-R CD-RW
** Message: looking for device [2]
** Message: device [2] found : Slimtype COMBO LSC-24082K (/dev/hdc)
** Message: device [2] capabilities : CD-R CD-RW
** Message: looking for device [3]
** Message: Requested device index [3] is out of bounds. All devices have been read.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208277312 (LWP 25106)]
0x00bcf787 in fwrite () from /lib/libc.so.6
(gdb) bt
#0  0x00bcf787 in fwrite () from /lib/libc.so.6
#1  0x08054d07 in xfburn_settings_flush () at xfburn-settings.c:200
#2  0x08058745 in main (argc=2, argv=0xbfdb43b4) at xfburn-main.c:89
(gdb)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I kept wondering why the program would start up withthe message about not finding a config file even when I would change settings.
Comment 3 Jean-François Wauthy editbugs 2006-07-31 16:14:00 CEST
ok it's confirmed, it appears when you don't have a settings file in your .config
Comment 4 Jean-François Wauthy editbugs 2006-07-31 16:29:40 CEST
fixed with revision 22594

Bug #2095

Reported by:
Joe Klemmer
Reported on: 2006-07-31
Last modified on: 2006-08-16

People

Assignee:
Jean-François Wauthy
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information