! 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 !
Segfault when using '%f' display option
Status:
RESOLVED: FIXED
Product:
Xfmedia
Component:
playlist

Comments

Description Andrew Conkling 2004-11-22 07:13:53 CET
I'm getting a segfault when using %f (filename) to display files.  FWIW, my set 
is a bunch of videos, some with Asian text in the filename, like as follows:
Malats - Serenata Espanola (리 지에 연주).wmv

It immediately segfaults when scanning the files for info, i.e. when I scroll 
through the list for the first time.  (Incidentally, it seems like it should do 
this automatically for the displayed files when you first load, rather than 
waiting for me to scroll.)
Comment 1 Brian J. Tarricone (not reading bugmail) 2004-11-22 22:51:16 CET
hmm, not really sure why.  backtrace?
Comment 2 Andrew Conkling 2004-11-23 00:06:36 CET
I'm still not sure what output is helpful from gdb, so this may be a bit 
verbose:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 14027)]
0x40493f55 in g_string_insert_c () from /usr/lib/libglib-2.0.so.0

(gdb) bt
#0  0x40493f55 in g_string_insert_c () from /usr/lib/libglib-2.0.so.0
#1  0x08bcba28 in ?? ()
#2  0x4000b030 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#3  0x0806fea9 in xfmedia_gtkimage_load ()
#4  0x0000002f in ?? ()
Comment 3 Brian J. Tarricone (not reading bugmail) 2004-11-23 00:37:17 CET
hmm, something doesn't look right.  perhaps your source doesn't match your
binary?  i dunno.  anyway, it's only really useful if compiled with
--enable-debug=yes ... which i'm considering forcing enabled for releases for a
while...
Comment 4 Brian J. Tarricone (not reading bugmail) 2004-11-25 09:07:24 CET
fixed in CVS.  i'd just like to say that i feel like a total dumbass for this one.
Comment 5 Andrew Conkling 2004-11-27 20:45:30 CET
Well, thanks for fixing.  When I make nice programs like you, then we could talk 
about the dumbass name, but until then... :P

Bug #522

Reported by:
Andrew Conkling
Reported on: 2004-11-22
Last modified on: 2004-11-27

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Version:
0.4.0.1

Attachments

Additional information