| View previous topic :: View next topic |
| Author |
Message |
thild n00b

Joined: 06 Nov 2008 Posts: 10
|
Posted: Thu Nov 06, 2008 12:45 pm Post subject: xfburn segfaults with libburn-0.5.2 on amd64 |
|
|
Hi,
Since the libburn update to 0.5.2, I'm experiencing the following problem with xfburn on an amd64 platform:
- launch xfburn
- click on "Blank Disc" button
- select an other burning device than the primary one (I'm selecting the second in the list which is an external USB device)
- xfburn segfaults
To be more precise, I've seen the problem after emerging libburn 0.5.2 but I've also added the external USB device recently. So I don't know if it is a recent libburn problem or if this bug was already occurring with the previous release.
Does anyone experience the same problem ?
I've compiled xfburn with the debug use flag and I've got this stack trace with gdb:
| Code: | Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fa943af36f0 (LWP 5520)]
0x00007fa9436872d4 in burn_disc_cd_toc_extensions () from /usr/lib/libburn.so.4
(gdb) bt
#0 0x00007fa9436872d4 in burn_disc_cd_toc_extensions () from /usr/lib/libburn.so.4
#1 0x00007fa94367ed54 in ?? () from /usr/lib/libburn.so.4
#2 0x00007fa94367edcb in mmc_read_toc () from /usr/lib/libburn.so.4
#3 0x00007fa94367f0c2 in mmc_read_disc_info () from /usr/lib/libburn.so.4
#4 0x00007fa9436861c3 in spc_sense_write_params () from /usr/lib/libburn.so.4
#5 0x00007fa94367359d in burn_drive_inquire_media () from /usr/lib/libburn.so.4
#6 0x00007fa943675551 in burn_drive_grab () from /usr/lib/libburn.so.4
#7 0x00007fa943676c03 in burn_drive_scan_and_grab () from /usr/lib/libburn.so.4
#8 0x0000000000415b0f in ?? ()
#9 0x0000000000415eec in ?? ()
#10 0x00000000004149fd in ?? ()
#11 0x00007fa93e442b28 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0x00007fa93e4528e1 in ?? () from /usr/lib/libgobject-2.0.so.0
#13 0x00007fa93e453b95 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0x00007fa93e453d73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0x00007fa9411d787e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00007fa9411d8bf4 in gtk_combo_box_set_active_iter () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00007fa9411d8cdd in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00007fa93e442b28 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0x00007fa93e4528e1 in ?? () from /usr/lib/libgobject-2.0.so.0
#20 0x00007fa93e453b95 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0x00007fa93e453d73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0x00007fa941373e5a in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007fa941279230 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007fa94127ac26 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00007fa94126cf8d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x00007fa93e442be0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#27 0x00007fa93e452a7f in ?? () from /usr/lib/libgobject-2.0.so.0
#28 0x00007fa93e45395e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#29 0x00007fa93e453d73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#30 0x00007fa94136fc4e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x00007fa94126631f in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x00007fa941267357 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#33 0x00007fa940cca76c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#34 0x00007fa93dd8a262 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0x00007fa93dd8d545 in ?? () from /usr/lib/libglib-2.0.so.0
#36 0x00007fa93dd8d83d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#37 0x00007fa9411f000a in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#38 0x0000000000418dd4 in ?? ()
#39 0x00007fa93e442b28 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#40 0x00007fa93e4528e1 in ?? () from /usr/lib/libgobject-2.0.so.0
#41 0x00007fa93e453b95 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#42 0x00007fa93e453d73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#43 0x00007fa941194223 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#44 0x00007fa93e442b28 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#45 0x00007fa93e4528e1 in ?? () from /usr/lib/libgobject-2.0.so.0
#46 0x00007fa93e453b95 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#47 0x00007fa93e456616 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#48 0x00007fa93e442b28 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#49 0x00007fa93e4528e1 in ?? () from /usr/lib/libgobject-2.0.so.0
#50 0x00007fa93e453b95 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#51 0x00007fa93e453d73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#52 0x00007fa9411aa679 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#53 0x00007fa93e442b28 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#54 0x00007fa93e45256d in ?? () from /usr/lib/libgobject-2.0.so.0
#55 0x00007fa93e453b95 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#56 0x00007fa93e453d73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#57 0x00007fa9411a8f39 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#58 0x00007fa94126cf8d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#59 0x00007fa93e442b28 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#60 0x00007fa93e452a7f in ?? () from /usr/lib/libgobject-2.0.so.0
#61 0x00007fa93e45395e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#62 0x00007fa93e453d73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#63 0x00007fa94136fc4e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#64 0x00007fa94126631f in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#65 0x00007fa941267357 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#66 0x00007fa940cca76c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#67 0x00007fa93dd8a262 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#68 0x00007fa93dd8d545 in ?? () from /usr/lib/libglib-2.0.so.0
#69 0x00007fa93dd8d83d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#70 0x00007fa941267692 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#71 0x0000000000417f03 in ?? ()
#72 0x00007fa93d3d21f4 in __libc_start_main () from /lib/libc.so.6
#73 0x000000000040d1f9 in ?? ()
#74 0x00007fff4bb1f6f8 in ?? ()
#75 0x0000000000000000 in ?? () |
my "emerge --info" shows:
| Code: | askell ~ # emerge --info
Portage 2.1.4.5 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.7-r2, 2.6.25-gentoo-r7-20081016 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7-20081016 x86_64 Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz
Timestamp of tree: Thu, 06 Nov 2008 05:02:01 +0000
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r2
sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LDFLAGS="-Wl,-O1"
LINGUAS="fr en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/askell /usr/local/portage/layman/java-overlay"
SYNC="rsync://portage/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cairo caps cdr cracklib crypt cscope cups cxx dbus dvdr exif ftp gif gmp gtk hal imap java javascript jpeg jpeg2k ldap libffi lm_sensors maildir midi mime mmap mmx mng multilib ncurses nls nptl nsplugin opengl pam pcre pdf png posix ppds python raw rdesktop readline samba sharedmem smp sqlite sse sse2 ssl startup-notification subversion svg symlink syslog threads tiff truetype unicode usb vim-syntax xcomposite xfce xml xosd xpm xscreensaver xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="cfontz cfontz633 ncurses" LINGUAS="fr en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Any help will be greatly appreciated. |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4288 Location: Spa (Belgium)
|
Posted: Fri Nov 07, 2008 8:10 pm Post subject: |
|
|
Have you tried downgrading to dev-libs/libburn-0.4.4? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
thild n00b

Joined: 06 Nov 2008 Posts: 10
|
Posted: Sat Nov 08, 2008 11:14 pm Post subject: |
|
|
VinzC, I will try the downgrade next Wednesday (the platform having the problem is at my workplace) and I'll tell you back what happened.
Thanks for the tip. |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4288 Location: Spa (Belgium)
|
Posted: Sun Nov 09, 2008 12:43 pm Post subject: |
|
|
Downgrading is a workaround. Chances are you have to run revdep-rebuild -- -avq to check and rebuild broken dependencies after upgrading libburn. As a rule of thumb, always run revdep-rebuild after upgrading libraries. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
thild n00b

Joined: 06 Nov 2008 Posts: 10
|
Posted: Wed Nov 12, 2008 10:13 am Post subject: |
|
|
| VinzC wrote: | | As a rule of thumb, always run revdep-rebuild after upgrading libraries. |
Actually, I have the bad habit of doing "emerge -DaNut world && revdep-rebuild". I have done this this morning as first task on my workstation...
After this, I have read my mails and I there was a remind to test libburn...
I have done the following:
| Code: | emerge -v =dev-libs/libburn-0.4.4
revdep-rebuild |
"revdep-rebuild" didn't find any inconsistencies.
I have tested again the failing sequence under xfburn with the same USB burner and no crash occurred.
I have re-emerged libburn-0.5.2 by doing the following:
| Code: | emerge libburn
revdep-rebuild |
And I still cannot reproduce the bug. I suspect that my "emerge world" of this morning has something to do with that but I didn't keep a log of what packages were updated, were can I find such a log ? |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4288 Location: Spa (Belgium)
|
Posted: Wed Nov 12, 2008 11:07 am Post subject: |
|
|
You'll find a log of all emerged packages typically in /var/log/portage/elog.
BTW do you have something like preload active? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
thild n00b

Joined: 06 Nov 2008 Posts: 10
|
Posted: Wed Nov 12, 2008 1:26 pm Post subject: |
|
|
Investigating further, I found that the problem occurs only for CD-RW and not for DVD+RW (which I've used for this morning's test).
I didn't spot that this morning, but DVD+RW don't need blanking and libburn surely doesn't use the same code branch than the one used for CD-RW.
So I've reproduced the bug with libburn-0.5.2.
I've just tested with libburn-0.4.4 and the bug does not occur, so this is at least libburn-0.5.2 specific.
| Quote: | | BTW do you have something like preload active? |
No, I'm not using any binary pre-fetching daemon. |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4288 Location: Spa (Belgium)
|
Posted: Wed Nov 12, 2008 3:50 pm Post subject: |
|
|
Ok, I was thinking of preloading as I thought the problem occured only with the latest version of xfburn and to eliminate a possible need to reboot but you've found out why. It's time you filed a bug, IMHO. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
loki_val Retired Dev

Joined: 13 Nov 2006 Posts: 388 Location: Denmark
|
Posted: Wed Nov 12, 2008 3:55 pm Post subject: |
|
|
| A useful thing to know before you file a bug is if libburn-0.5.4 fixes this? |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4288 Location: Spa (Belgium)
|
Posted: Thu Nov 13, 2008 8:04 am Post subject: |
|
|
If libburn-0.5.4 definitely fixes the problem then there is no need for filing a bug. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
thild n00b

Joined: 06 Nov 2008 Posts: 10
|
Posted: Fri Nov 14, 2008 11:10 am Post subject: |
|
|
| VinzC wrote: | | If libburn-0.5.4 definitely fixes the problem then there is no need for filing a bug. |
libburn-0.5.4 does not fix the problem, I have also tried with xfburn-0.3.91 (thinking the bug was perhaps due to a misuse of libburn), but it is even worse. |
|
| Back to top |
|
 |
thild n00b

Joined: 06 Nov 2008 Posts: 10
|
|
| Back to top |
|
 |
|