After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 543377 - No multisession
No multisession
Status: RESOLVED FIXED
Product: brasero
Classification: Applications
Component: general
0.8.0
Other All
: Normal normal
: 0.8
Assigned To: Brasero maintainer(s)
Brasero maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-07-17 06:24 UTC by Tomasz
Modified: 2009-06-23 10:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
output from shell (48.53 KB, text/plain)
2008-07-17 06:26 UTC, Tomasz
Details
session1 (106.38 KB, text/plain)
2008-07-21 06:21 UTC, Tomasz
Details
session2 (96.93 KB, text/plain)
2008-07-21 06:21 UTC, Tomasz
Details
session3 (49.08 KB, text/plain)
2008-07-21 06:22 UTC, Tomasz
Details
log-libburn (286.46 KB, text/plain)
2008-08-07 06:04 UTC, Tomasz
Details
log-wodim (301.28 KB, text/plain)
2008-08-07 06:04 UTC, Tomasz
Details
brasero-bugreport (8.25 KB, text/plain)
2008-08-13 06:08 UTC, Tomasz
Details
brasero-session (11.07 KB, text/plain)
2008-08-13 06:09 UTC, Tomasz
Details
logcdrw (173.31 KB, text/plain)
2008-08-13 06:09 UTC, Tomasz
Details
logdvdgrowiso (91.36 KB, text/plain)
2008-08-21 08:00 UTC, Tomasz
Details
logdvdlibburn (96.40 KB, text/plain)
2008-08-21 08:01 UTC, Tomasz
Details
logdvd (133.11 KB, text/plain)
2008-08-28 06:13 UTC, Tomasz
Details
logdvd (6.52 KB, text/plain)
2008-08-29 06:18 UTC, Tomasz
Details
logdvdcrash (7.24 KB, text/plain)
2008-09-02 06:33 UTC, Tomasz
Details
logdvd (416.24 KB, text/plain)
2008-09-03 06:05 UTC, Tomasz
Details
brasero-tmp-project (1.91 KB, text/plain)
2008-09-03 06:05 UTC, Tomasz
Details
brasero-session (1.83 KB, text/plain)
2008-09-03 06:06 UTC, Tomasz
Details
brasero-session.log (6.04 KB, text/plain)
2008-09-15 07:21 UTC, Tomasz
Details
logcd (174.47 KB, text/plain)
2008-09-15 07:22 UTC, Tomasz
Details
brasero-session.log (29.29 KB, text/plain)
2008-10-06 12:35 UTC, Tomasz
Details
log (55.46 KB, text/plain)
2008-10-30 07:10 UTC, Tomasz
Details
brasero-session (3.60 KB, text/plain)
2008-11-05 07:15 UTC, Tomasz
Details
log (160.46 KB, text/plain)
2008-11-05 07:16 UTC, Tomasz
Details
logcd (197.92 KB, text/plain)
2008-11-17 15:16 UTC, Tomasz
Details
logdvd (88.31 KB, text/plain)
2008-11-17 15:16 UTC, Tomasz
Details
screenshot (20.55 KB, image/png)
2008-11-18 10:07 UTC, Tomasz
Details

Description Tomasz 2008-07-17 06:24:57 UTC
Please describe the problem:
 "Import session" is always inactive, doesn't matter if disc was recorded with brasero or other application. Version 0.8 compiled in Debian Lenny

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Tomasz 2008-07-17 06:26:14 UTC
Created attachment 114701 [details]
output from shell
Comment 2 Tomasz 2008-07-18 07:08:19 UTC
It concerns only DVDs, i could write session on CD but only two, after third i got message "volume is unknown"
Comment 3 Philippe Rouquier 2008-07-18 12:47:29 UTC
Thanks for the report.
Could you please:
- attach a log for the CD you can't add/import any more sessions
- try SVN trunk where I committed a change to workaround your problem

Thanks
Comment 4 Tomasz 2008-07-21 06:21:21 UTC
Created attachment 114902 [details]
session1
Comment 5 Tomasz 2008-07-21 06:21:44 UTC
Created attachment 114903 [details]
session2
Comment 6 Tomasz 2008-07-21 06:22:05 UTC
Created attachment 114904 [details]
session3
Comment 7 Tomasz 2008-07-21 06:25:18 UTC
I can't try svn version because i have access to net only using windows. Could you please tell me which files should i download and replace in 8.0 version
Comment 8 Tomasz 2008-07-23 05:49:44 UTC
SVN didn't remove the problem, Brasero still can't see previous sessions
Comment 9 Philippe Rouquier 2008-08-05 12:42:36 UTC
Here is the current state of my investigations:
the problem seems to come from your using libburn. libburn uses an address to start writing the start of a session which differs by + or - 150 sectors from the one used by brasero.
So if you want, you can try using wodim or cdrecord and turning off libburn for the moment. To do that put -1 in the gconf key /app/brasero/config/priority/libburn-burn.

That said, how hard as I tried, I couldn't reproduce the bug with my version of libburn (home compiled 0.5.0) so my question is what version of libburn do you have please?
Comment 10 Tomasz 2008-08-06 06:24:42 UTC
I'm afraid it's not libburn(0.4.8), using wodim it's the same . It's strange that you can't reproduce this problem, i can do it with my two different drives pioneer and old liteon
Comment 11 Philippe Rouquier 2008-08-06 12:34:03 UTC
I committed a fix to trunk. Could you test it please?
NOTE that you must erase your medium (you seem to use a CDRW) before starting again for testing. The error/discrepancy about the next writable address I mentionned above messed your medium.
Comment 12 Tomasz 2008-08-07 06:04:22 UTC
Created attachment 116026 [details]
log-libburn
Comment 13 Tomasz 2008-08-07 06:04:50 UTC
Created attachment 116027 [details]
log-wodim
Comment 14 Tomasz 2008-08-07 06:09:22 UTC
It's still the same
Comment 15 Philippe Rouquier 2008-08-08 13:23:44 UTC
This time I'm pretty sure I got it. The problem came from the fact that a drive must be in TAO mode before retrieving NWA. That isn't true for all drives since one of mines didn't but I have another that does and it seems the change I made to trunk worked for it.
I'm closing this bug. Of course, should this not work, please let me know and reopen the bug.
Thanks for your help.
Comment 16 Tomasz 2008-08-12 08:46:12 UTC
 Now you will think i'm spiteful :) but did you try DVD+RW? For me it's still not working and i encountered some problem with cd-rw when verifying is on, i will make some more tests. 
While talking about verifying, why don't you let the user choose whether he wants to do it or not? It would be more convenient to have it as an option to check/uncheck under "windows comatibility" and "multisession" 
Comment 17 Tomasz 2008-08-13 06:07:52 UTC
Before i was testing multisession by starting and quiting Brasero with disc present in drive. Now i left Brasero started and ejected/inserted cd. 
1.insert blank cdrw
2.record something
3.empty project
4.eject cd
5.insert cd
6.import session
7.record something
8.message: disc could not be mounted (max attemps reached)- brasero-session.log
9.empty project
10.import session
11.crash - brasero-bugreport.txt

Comment 18 Tomasz 2008-08-13 06:08:35 UTC
Created attachment 116476 [details]
brasero-bugreport
Comment 19 Tomasz 2008-08-13 06:09:02 UTC
Created attachment 116477 [details]
brasero-session
Comment 20 Tomasz 2008-08-13 06:09:51 UTC
Created attachment 116478 [details]
logcdrw
Comment 21 Philippe Rouquier 2008-08-16 13:04:38 UTC
I think I committed a change to trunk that may fix your problem (the crash) as well as some other problems. Please test =).
Comment 22 Philippe Rouquier 2008-08-16 13:07:28 UTC
I also increased the number of attempts at mounting that should help.
Comment 23 Philippe Rouquier 2008-08-16 13:10:27 UTC
btw, last but not least could retry with DVD+RW. Retry to first burn a first session with brasero on one and then see if the import button works when it is re-inserted. Also please attach logs (as usual) for the whole process.
There is something strange in your first log (#1) since brasero sees your DVD+RW as a blank one since it can't find any file system on it.
Comment 24 Tomasz 2008-08-21 07:59:42 UTC
Import button is inactive
Comment 25 Tomasz 2008-08-21 08:00:41 UTC
Created attachment 117119 [details]
logdvdgrowiso
Comment 26 Tomasz 2008-08-21 08:01:07 UTC
Created attachment 117120 [details]
logdvdlibburn
Comment 27 Philippe Rouquier 2008-08-21 18:26:50 UTC
Thanks for the logs. I committed some changes to trunk. Please test and report. In case of failure, you just need to attach a log with the begining. The problem is in brasero which doesn't seem to get along with your drive while detecting it.
Comment 28 Philippe Rouquier 2008-08-24 18:47:15 UTC
I added another fix that should improve things. I used another SCSI function to access the medium since your drive didn't like the one that was originally used.
Comment 29 Tomasz 2008-08-28 06:12:54 UTC
 Now after recording is finished brasero disappears and i get some message about memory protection violation. I think there's nothing interesting in log but i  provide it anyway. Please tell me what is the way to give you debug information about it
Comment 30 Tomasz 2008-08-28 06:13:41 UTC
Created attachment 117501 [details]
logdvd
Comment 31 Philippe Rouquier 2008-08-28 12:49:35 UTC
Thanks for your patience.

The best would be to get a stack trace by running brasero inside gdb:
- gdb brasero
- in the new gdb console type "run" to start brasero
- CRASH
- in gdb console type "thread apply all bt"
- cut and paste the backtrace to a file and attach it.

NOTE: it could also be helpful to have the debug packages installed for gtk2 and glib2. According to the distros they should be named like "glib2-debug" and "gtk2-debug".

Thanks in advance.
Comment 32 Tomasz 2008-08-29 06:18:12 UTC
Created attachment 117564 [details]
logdvd

I removed messages about missing icons and powermanager to make it smaller. Brasero started from gdb doesn't crash but hangs.
Comment 33 Philippe Rouquier 2008-08-29 12:59:58 UTC
Thanks a lot. Your crash should be fixed by now in the SVN.
Comment 34 Philippe Rouquier 2008-08-29 13:18:19 UTC
Btw, I added some more debugging to improve your next log.
Comment 35 Tomasz 2008-09-02 06:32:32 UTC
Strange thing, it worked for a while, i could write some sessions until i placed some files in an existing folder on dvd. Then some error occurred and i could'n even start brasero (i provide log from gdb). Now i don't know whether it is problem of brasero or of my system. Another thing is that brasero don't warn clearly about too deep structure of catalogues but says that unknown error occurred and information about it can be found in message that appears when you click view or save.
Comment 36 Tomasz 2008-09-02 06:33:15 UTC
Created attachment 117824 [details]
logdvdcrash
Comment 37 Philippe Rouquier 2008-09-02 11:32:46 UTC
So basically import session for DVD+RW is working again right? If so, that's a progress. You seem to have uncovered another deeper bug but completely unrelated.

The problem you have is with project loading that gets stupidly stuck at one point when automatically loading your project.

Please could you attach ~/.config/brasero/brasero-tmp-project to the bug after brasero crashed please?

To unlock brasero do "rm ~/.config/brasero/brasero-tmp-project -f"
Comment 38 Tomasz 2008-09-03 06:04:15 UTC
Yes, import is working but there is a problem i tried to put some folder and some files into existing one on dvd
Comment 39 Tomasz 2008-09-03 06:05:04 UTC
Created attachment 117900 [details]
logdvd
Comment 40 Tomasz 2008-09-03 06:05:53 UTC
Created attachment 117901 [details]
brasero-tmp-project
Comment 41 Tomasz 2008-09-03 06:06:09 UTC
Created attachment 117902 [details]
brasero-session
Comment 42 Philippe Rouquier 2008-09-03 12:27:46 UTC
Thanks for the help and log, I fixed the crash and imported multisessioned projects for good in SVN trunk.
NOTE: brasero doesn't import the session from the disc when you load a project you still have to do it with the button but it should safely import it.
Please test it and tell me if all works well.
Comment 43 Tomasz 2008-09-04 06:06:12 UTC
Crash is fixed now, import works. The only thing is that i have written above, when i added files into existing folder got warning that some parent directory could not be found, log is 117902.
Comment 44 Philippe Rouquier 2008-09-07 12:57:21 UTC
Thanks again for all this new bug.
The bug was triggered by the use of libisofs (though libisofs was not itself the culprit). It's fixed in SVN trunk.
Not closing the bug, in case you find another one ;).
Comment 45 Tomasz 2008-09-11 06:18:22 UTC
And i foud it. First: if you insert multisession cd and will not import data but add some new, brasero will not erase it before writing. Second: it does not warn when directories' structure is too deep, you have to find it in log which is called unknowned error. 
 I was afraid that my mission has finished but luckily no :)
Comment 46 Philippe Rouquier 2008-09-12 08:31:35 UTC
I fixed the multisession bug and the lack of warning in SVN trunk.
But I guess you're probably going to run into a problem with deep nested directory again. Indeed, even if I had no warning about a directory being too deep as well, I didn't have the failure while burning. So it seems I fixed half the problem here. Could you send me a log please?
Comment 47 Tomasz 2008-09-15 07:20:04 UTC
Now i got a warning but still couldn't start burning
Comment 48 Tomasz 2008-09-15 07:21:03 UTC
Created attachment 118725 [details]
brasero-session.log
Comment 49 Tomasz 2008-09-15 07:22:57 UTC
Created attachment 118726 [details]
logcd
Comment 50 Philippe Rouquier 2008-10-01 11:50:42 UTC
Sorry for the delay. I think it's now fixed in SVN trunk. Thanks for your patience.
I'm waiting for the next bug report ;) before closing the bug.
Comment 51 Tomasz 2008-10-06 12:35:08 UTC
This time something about wrong address
Comment 52 Tomasz 2008-10-06 12:35:51 UTC
Created attachment 120017 [details]
brasero-session.log
Comment 53 Philippe Rouquier 2008-10-18 12:41:05 UTC
Thanks a lot for your help. I committed a fix to trunk. The libburn plugin was using a function only designed for DVD+RW and such.
Comment 54 Tomasz 2008-10-30 07:09:58 UTC
I couldn't do any tests because Brasero doesn't detect dicsc 
Comment 55 Tomasz 2008-10-30 07:10:48 UTC
Created attachment 121630 [details]
log
Comment 56 Philippe Rouquier 2008-10-30 09:58:49 UTC
Thanks. That's strange, HAL doesn't return your drive in the list of available drives. So brasero doesn't even try to probe it.

Have you done any system upgrade recently?
Does your drive appear in applications using nautilus-cd-burner like say sound-juicer?
What's your version of HAL?
Comment 57 Tomasz 2008-10-31 07:16:34 UTC
Hal is 0.5.11, i did upgrade but sound juicer works and what is more strange Brasero 0.8.0 (Debian package)works too
Comment 58 Philippe Rouquier 2008-10-31 13:04:43 UTC
Thanks.
Same here for hal version and since sound-juicer sees your drive then it lets me think that the problem is in brasero.
I added some more debugging to catch the problem. Could you attach a new log with latest SVN version please.
Last note, don't close brasero immediatly as I recently changed its behavior regarding drive/medium initialization. Now brasero probes them asynchronously which allows for a faster start and also avoids locks up when a medium is damaged or when the drive is in a bad state. So even if brasero is loaded it may not mean that your drives and media are fully probed (it can take a few seconds sometimes).
Comment 59 Tomasz 2008-11-05 07:15:25 UTC
Hal works now. So we can go back to deeply nested directories problem. I couldn't find exact way to reproduce this problem, but i thik it happens when i added some directories to compilation and then some other ones into them
Comment 60 Tomasz 2008-11-05 07:15:56 UTC
Created attachment 121993 [details]
brasero-session
Comment 61 Tomasz 2008-11-05 07:16:19 UTC
Created attachment 121994 [details]
log
Comment 62 Philippe Rouquier 2008-11-07 11:13:16 UTC
I found the problem; you had a deep directory nesting in the session you imported and you added a file/a directory beyond the depth of 6 and brasero failed to detect that.
I fixed the problem in trunk. Thanks a lot.
Comment 63 Tomasz 2008-11-17 15:12:41 UTC
There are still some errors sometimes. I didn't get any message about it but it didn't finish verification, the window with progress bar just disappeared. 
DVDs are not burned at all, only sums are created
Comment 64 Tomasz 2008-11-17 15:16:13 UTC
Created attachment 122847 [details]
logcd
Comment 65 Tomasz 2008-11-17 15:16:37 UTC
Created attachment 122848 [details]
logdvd
Comment 66 Philippe Rouquier 2008-11-17 17:30:38 UTC
Again I don't know how to thank you.
I fixed the problem with DVD+RW and libburn.
I also fixed the problem with the error message not appearing (recent change that had a mistake in it on error).
I'll check the rest. Thanks again.
Comment 67 Tomasz 2008-11-18 10:06:30 UTC
I have forgotten to say that there is a roblem with multisession when folders are nested and there are many sessions. 
There is another strange thing at the eng of writing, look at the picture. It is changing to 100% and proper size after the burning is finished.
Comment 68 Tomasz 2008-11-18 10:07:24 UTC
Created attachment 122927 [details]
screenshot
Comment 69 Philippe Rouquier 2009-01-29 19:58:03 UTC
Tomasz: thanks. As for the size thing, it should have been fixed some time ago (I know it's been a long time since I last worked on this bug; sorry but I had other things to do first). I can't see it anymore with trunk at least.

Many changes have taken place in the tree and I was wondering if you could test if everything works fine (if you happen to have some multisession discs to burn).
Btw if you use a version > 0.9.1 you now need to run brasero like that:
"brasero -g --brasero-media-debug > log 2>&1".
Thanks.
Comment 70 Tobias Mueller 2009-06-23 10:37:41 UTC
Hey Tomasz, is there any chance you can test this with a more recent brasero? If not, I think closing this bug report as INCOMPLETE would be the correct solution then.

Philippe: Isn't there another bug tracking multisession? And isn't there a GSoC Project going on? :)