FreeBSD Port: sysutils/xfburn

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

FreeBSD Port: sysutils/xfburn

Holger Wagemann
Dear committer,

my system: FreeBSD 11.2-RELEASE-p4 amd64

pkg info xfburn
xfburn-0.5.5
Name           : xfburn
Version        : 0.5.5
Installed on   : Sun Nov  4 05:29:02 2018 CET
Origin         : sysutils/xfburn

I can start xfburn, I can select files for creating an Audio-CD, but
when I try to start burning procedere, xfburn crashes , here is
complete output after starting:

[holger@biber ~]$ xfburn
** Message: 05:31:58.116: No existing settings file, using default
settings ** Message: 05:32:02.662: Using gstreamer transcoder.

(xfburn:1122): GVFS-RemoteVolumeMonitor-WARNING **: 05:32:08.195:
remote volume monitor with dbus name org.gtk.vfs.HalVolumeMonitor is
not supported

(xfburn:1122): GVFS-RemoteVolumeMonitor-WARNING **: 05:32:08.201:
remote volume monitor with dbus name org.gtk.vfs.GPhoto2VolumeMonitor
is not supported GLib (gthread-posix.c): Unexpected error from C
library during 'pthread_cond_timedwait': Operation not permitted.
Aborting. Abort trap

This behaviour is reproducable, also with an external usb-device, and
other members from bsdforen.de get same error message with xfburn, when
trying to burn audio-cd.

Kind regards
  Holger
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: FreeBSD Port: sysutils/xfburn

Guido Falsi
On 04/11/18 05:36, Holger Wagemann wrote:

> Dear committer,
>
> my system: FreeBSD 11.2-RELEASE-p4 amd64
>
> pkg info xfburn
> xfburn-0.5.5
> Name           : xfburn
> Version        : 0.5.5
> Installed on   : Sun Nov  4 05:29:02 2018 CET
> Origin         : sysutils/xfburn
>
> I can start xfburn, I can select files for creating an Audio-CD, but
> when I try to start burning procedere, xfburn crashes , here is
> complete output after starting:

This will be difficult to debug. I've never tried to burn audio CDs with
xfburn, but I'll try that shortly to see what happens on my system.

For the record some standard questions:

Are you using binary package or compiling your own ports?
Quarterly or latest?

In case someone should compile xfburn with debug symbols and get a
backtrace from it.

If I can reproduce this I'll do this myself.

--
Guido Falsi <[hidden email]>
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: FreeBSD Port: sysutils/xfburn

Guido Falsi
On 04/11/18 21:15, Guido Falsi wrote:

> On 04/11/18 05:36, Holger Wagemann wrote:
>> Dear committer,
>>
>> my system: FreeBSD 11.2-RELEASE-p4 amd64
>>
>> pkg info xfburn
>> xfburn-0.5.5
>> Name           : xfburn
>> Version        : 0.5.5
>> Installed on   : Sun Nov  4 05:29:02 2018 CET
>> Origin         : sysutils/xfburn
>>
>> I can start xfburn, I can select files for creating an Audio-CD, but
>> when I try to start burning procedere, xfburn crashes , here is
>> complete output after starting:
>
> This will be difficult to debug. I've never tried to burn audio CDs with
> xfburn, but I'll try that shortly to see what happens on my system.
>
> For the record some standard questions:
>
> Are you using binary package or compiling your own ports?
> Quarterly or latest?
>
> In case someone should compile xfburn with debug symbols and get a
> backtrace from it.
>
> If I can reproduce this I'll do this myself.
>

I succeeded in reproducing it and got a backtrace. I'm posting it for
the record, just in case someone is faster than me at studying it.

** (xfburn:6198): WARNING **: 15:32:13.999: unknown profile, assuming BD

** (xfburn:6198): WARNING **: 15:32:14.001: unknown profile, assuming BD
[New LWP 100802 of process 6198]
GLib (gthread-posix.c): Unexpected error from C library during
'pthread_cond_timedwait': Operation not permitted.  Aborting.

Thread 35 received signal SIGABRT, Aborted.
[Switching to LWP 100802 of process 6198]
0x00000008013b957a in thr_kill () from /lib/libc.so.7
(gdb) bt
#0  0x00000008013b957a in thr_kill () from /lib/libc.so.7
#1  0x00000008013b7974 in raise () from /lib/libc.so.7
#2  0x000000080132afa9 in abort () from /lib/libc.so.7
#3  0x00000008011f05d0 in g_thread_abort (status=1, function=0x8010b8821
"pthread_cond_timedwait")
    at gthread-posix.c:78
#4  0x00000008011f0f13 in g_cond_wait_until (cond=0x804f93860,
mutex=0x804f93870, end_time=1180297413)
    at gthread-posix.c:916
#5  0x0000000000222fe4 in prepare (trans=0x804f938b0,
error=0x7fffdfffdf28) at xfburn-transcoder-gst.c:846
#6  0x00000000002207e1 in xfburn_transcoder_prepare (trans=0x804f938b0,
error=0x7fffdfffdf28)
    at xfburn-transcoder.c:173
#7  0x000000000021ff15 in thread_burn_composition (params=0x80561b5b0)
at xfburn-burn-audio-cd-composition-dialog.c:388
#8  0x00000008011c24bd in g_thread_proxy (data=0x8050b5cf0) at gthread.c:784
#9  0x0000000800b16775 in ?? () from /lib/libthr.so.3
#10 0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffdfffe000
(gdb)


--
Guido Falsi <[hidden email]>
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: FreeBSD Port: sysutils/xfburn

Guido Falsi
On 06/11/18 15:35, Guido Falsi wrote:

> On 04/11/18 21:15, Guido Falsi wrote:
>> On 04/11/18 05:36, Holger Wagemann wrote:
>>> Dear committer,
>>>
>>> my system: FreeBSD 11.2-RELEASE-p4 amd64
>>>
>>> pkg info xfburn
>>> xfburn-0.5.5
>>> Name           : xfburn
>>> Version        : 0.5.5
>>> Installed on   : Sun Nov  4 05:29:02 2018 CET
>>> Origin         : sysutils/xfburn
>>>
>>> I can start xfburn, I can select files for creating an Audio-CD, but
>>> when I try to start burning procedere, xfburn crashes , here is
>>> complete output after starting:
>>
>> This will be difficult to debug. I've never tried to burn audio CDs with
>> xfburn, but I'll try that shortly to see what happens on my system.
>>
>> For the record some standard questions:
>>
>> Are you using binary package or compiling your own ports?
>> Quarterly or latest?
>>
>> In case someone should compile xfburn with debug symbols and get a
>> backtrace from it.
>>
>> If I can reproduce this I'll do this myself.
>>
>
> I succeeded in reproducing it and got a backtrace. I'm posting it for
> the record, just in case someone is faster than me at studying it.

It's a locking problem. Looks like in linux pthread_cond_timedwait is
more permissive and accepts a lock held by another thread or no lock at all.

I had to rework locking a little I'm not actually sure I got it right
though.

Here's the patch:

https://people.freebsd.org/~madpilot/xfburn.diff

It's against the port. Can you test it and report back?

I'd suggest you test it with a CD-RW, so you can blank them if they get
burned wrong.

On my system it gets past the crash, but I get scsi errors when the
actual burning starts, but maybe it's my drive.

--
Guido Falsi <[hidden email]>
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "[hidden email]"