Nautilus DVD creator hangs when trying to write files to disc

Bug #172332 reported by freeboprich
4
Affects Status Importance Assigned to Milestone
nautilus-cd-burner (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

After adding too many files (say 2000) to a Blank DVD folder (burn://) and clicking "Write to Disc" the write to disc dialog box appears but it is completely unresponsive (BTW it reports "calculating data size" or something close to that).

With few files (say 10) everything goes as expected

currently on:
   Ubuntu 7.10
   2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
but I have noticed the problem in the previous Ubuntu version also (I am using the cli when ever I run into this so it's not a show-stoper for me)

Tags: apport-bug
Revision history for this message
freeboprich (freeboprich) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in gnome-system-monitor:
importance: Undecided → Medium
status: New → Incomplete
Changed in nautilus-cd-burner:
assignee: nobody → desktop-bugs
Revision history for this message
freeboprich (freeboprich) wrote : Re: [Bug 172332] Re: Nautilus DVD creator hangs when trying to write files to disc

I installed the package using Synaptic but I don't know how to get it to
work. I've only just started using any sort of linux and I don't understand
how to run the backtrace.

On 27/11/2007, Pedro Villavicencio <email address hidden> wrote:
>
> Thanks for your bug report. Please try to obtain a backtrace
> http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the
> bug report. This will greatly help us in tracking down your problem.
>
> ** Changed in: nautilus-cd-burner (Ubuntu)
> Sourcepackagename: gnome-system-monitor => nautilus-cd-burner
> Importance: Undecided => Medium
> Status: New => Incomplete
>
> ** Changed in: nautilus-cd-burner (Ubuntu)
> Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs)
>
> --
> Nautilus DVD creator hangs when trying to write files to disc
> https://bugs.launchpad.net/bugs/172332
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
"And so it goes." -Kurt Vonnegut

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Ok, I'm closing this bug for now, feel free to re open it if you can give us the information we asked for, thanks you.

Changed in nautilus-cd-burner:
status: Incomplete → Invalid
Revision history for this message
freeboprich (freeboprich) wrote :

Whatever, I just asked you how I'm supposed to get you the information and
you didn't say anything, so see if I give a damn.

On 21/12/2007, Pedro Villavicencio <email address hidden> wrote:
>
> Ok, I'm closing this bug for now, feel free to re open it if you can
> give us the information we asked for, thanks you.
>
> ** Changed in: nautilus-cd-burner (Ubuntu)
> Status: Incomplete => Invalid
>
> --
> Nautilus DVD creator hangs when trying to write files to disc
> https://bugs.launchpad.net/bugs/172332
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
"And so it goes." -Kurt Vonnegut

Revision history for this message
Nick Demou (ndemou) wrote :

I've seen the same behavior when I was witting a lot of files (last time ~2000 files)

following is an strace for nautilus-cd-burner and nautilus-cd-burner/mapping-daemon during the bugy behavior. I've waited for at least 3-4 minutes with no response (btw total CPU response was ~1% for all this time). If you need backtrace please let me know what trick I should use in the special case of nautilus. I've tried
   killall nautilus && gdb nautilus 2>&1 | tee gdb-nautilus.txt
but it captured nothing at all

---------------------------------------
strace for nautilus-cd-burner:
---------------------------------------
Process 9410 attached - interrupt to quit
select(16, [15], NULL, NULL, {0, 380000}) = 0 (Timeout)
read(15, 0x8339180, 1024) = -1 EAGAIN (Resource temporarily unavailable)
select(16, [15], NULL, NULL, {1, 0}) = 0 (Timeout)
read(15, 0x8339180, 1024) = -1 EAGAIN (Resource temporarily unavailable)
select(16, [15], NULL, NULL, {1, 0}) = 0 (Timeout)
read(15, 0x8339180, 1024) = -1 EAGAIN (Resource temporarily unavailable)
select(16, [15], NULL, NULL, {1, 0}) = 0 (Timeout)
[...] the above seems to go on for ever [...]

---------------------------------------
strace for nautilus-cd-burner/mapping-daemon
---------------------------------------
Process 9363 attached - interrupt to quit
gettimeofday({1208258779, 604502}, NULL) = 0
gettimeofday({1208258779, 604573}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 3, 2144) = 0
gettimeofday({1208258781, 748786}, NULL) = 0
gettimeofday({1208258781, 748852}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 3, 5000) = 0
gettimeofday({1208258786, 748764}, NULL) = 0
gettimeofday({1208258786, 748825}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 3, 0) = 0
gettimeofday({1208258786, 748953}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 3, 5000) = 0
[...] the above seems to go on for ever [...]

Changed in nautilus-cd-burner:
status: Invalid → New
Nick Demou (ndemou)
description: updated
Nick Demou (ndemou)
description: updated
Revision history for this message
Pedro Villavicencio (pedro) wrote :

there's no backtrace on the report, closing it, feel free to re open it if you can give us the information we asked for otherwise please don't do it, thanks in advacen.

Changed in nautilus-cd-burner:
status: New → Invalid
Revision history for this message
Nick Demou (ndemou) wrote :

Two different users report the same problem and ask for very little help to investigate it further. If at this moment you can't help, just leave this one for someone else. Closing bugs without investigation doesn't help Ubuntu become better in any way.

Revision history for this message
Nick Demou (ndemou) wrote :

I'm guessing I must backtrace nautilus just before hitting the record button and I'm guessing that the method described in "Already running programs" [1] is good so here is a backtrace. Feel free to re-close this report if you don't like it but I would prefer a tip as to what else I could do to make this bug report better

if this is helpful here is what was happening in my PC during this backtrace:
 - nautilus was running and I had opened burn:// in a window and added a folder with thousands of files
 - then I begun tracing
 - then I hit the "Record to disk" button
 - after half a minute I clicked to close the non responsive "Recording" window and selected "Terminate"
 - after a few seconds I did the same for the burn:// nautilus windows

________________________
[1] I found quite some info on backtracing a program in wiki.ubuntu.com/Backtrace

Changed in nautilus-cd-burner:
status: Invalid → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

The stacktrace has no debug symbol is not really useful. Could you try if that's still an issue on hardy, the code changed a lot and it might be fixed in the new version. Note that you can use the answer tracker on https://answers.launchpad.net/ubuntu to ask questions

Changed in nautilus-cd-burner:
status: New → Incomplete
Revision history for this message
Nick Demou (ndemou) wrote :

> Could you try if that's still an issue on hardy
I'll do so as soon as I'll have the time for an upgrade

> you can use the answer tracker on https://answers.launchpad.net/ubuntu
thanks for the tip Sebastian

Revision history for this message
Nick Demou (ndemou) wrote :

tested with ~3800 files and seen no problem at all in Ubuntu 8.04 (Hardy)

Changed in nautilus-cd-burner:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.