Regression: Thunderbird New Mail sound cuts off before end

Bug #155648 reported by Olek Wojnar
16
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Invalid
Undecided
Mozilla Bugs

Bug Description

Binary package hint: thunderbird

To reproduce:

1) Receive new mail
2) Listen to new mail sound

Expected:
Selected sound file will play completely

Actual:
Sound file cuts off about 1 second before end. Tested with several different .wav files.

This happened a while back, I think in Edgy. It was subsequently fixed but it's happening again now since I upgraded to Gutsy. Thanks!

Revision history for this message
Olek Wojnar (olekw) wrote : Fixed

This seems to have been fixed in the Thunderbird upgrade which went out earlier today.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Thank you for following up, i marked as fix released, if this issue comes back please reopen bug and attach all info you see.

Changed in thunderbird:
assignee: nobody → mozilla-bugs
status: New → Fix Released
Revision history for this message
Olek Wojnar (olekw) wrote :

Unfortunately, it seems that I spoke too soon. :( The bug came back after I rebooted. I've also noticed the same problem with the GNOME Login manager sounds. Interestingly enough, the system sounds manager seems to work fine. I'm not sure if this is a related bug in the Login manager or if the bug is actually in a third package.

I have a pretty standard Gutsy install on a Toshiba Satellite 1130-S155 laptop. Please let me know if you need any additional information!

Revision history for this message
lleonard (lawrence-hollowsquare) wrote :

Reopened. As noted below, this bug still exists. II have tried this with different sounds and they are cut off as mentioned by the original reporter. A 1.35 second .wav file plays about half way.

Changed in thunderbird:
status: Fix Released → New
Revision history for this message
lleonard (lawrence-hollowsquare) wrote :

I have attached a .wav file of more than 1 second in length as an example.

Revision history for this message
Michael Satke (n9447354) wrote :

I have exactly the same problem as Olek. Any WAV sound file is cut off shortly before its end. Wkr, Michael

Revision history for this message
Michael Satke (n9447354) wrote :

My Login Manager plays all sounds full lenght, though. So me and Olek seem to only partially share this problem.

I use Ubuntu Gutsy, installed on a desktop with an Intel Celeron CPU at 2.4 GHz, 440 MB RAM and an 80 GB hdd; mb: ASRock P4VM8 (has sound 'on board').

Revision history for this message
John Vivirito (gnomefreak) wrote :

do you see this in other apps besides thunderbird? please attach the sound file you are having issues with ihn thunderbird. Please list apps that you see this behavour in.

Changed in thunderbird:
status: New → Incomplete
Revision history for this message
chocolateboy (chocolateboy) wrote :

I have this issue in Thunderbird as well. I also have it in Firefox via the DownThemAll! extension, which has an option to play a sound when the download has finished.

Last time I looked at this, this was the most likely culprit: http://lxr.mozilla.org/seamonkey/source/widget/src/gtk2/nsSound.cpp

Some data points:

1) I don't know if this is always the case, but the last few times I've rebooted, my mail notification has been truncated as soon as I've started Thunderbird, even if it's the first app to start. i.e. there are no obvious culprits that are conflicting with or breaking Seamonkey sound playback.

2) The truncation comes and goes. My Thunderbird/DTA wavs aren't getting cut off at the moment.

3) Here are some links I found the last time I sleuthed this. The latter suggests that the issue may be cross-platform:

http://ubuntuforums.org/showthread.php?t=583482
http://forums.slamd64.com/viewtopic.php?p=4309&sid=75ab03d09990aa1986b2c7aa60580f71
http://forums.mozillazine.org/viewtopic.php?t=563804#2952683

4) I have the following esd-flavoured packages installed:

libesd-alsa0
gstreamer0.10-esd

5) Specs:

Linux 2.6.22-14-generic
Thunderbird 2.0.0.12
Firefox 2.0.0.13 and/or Swiftweasel 3.0b4.5
Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)

Revision history for this message
Craig Huffstetler (xq) wrote :

This bug seems to be back and reported quite often on the Q&A (Launchpad Answers) for Intrepid and even more often for Jaunty.

Revision history for this message
Sorrakritch (sorrakritch) wrote :

Agree to Craig...

And I'm another one who is still suffering with it - unresolved
Every programs clip the ending sound of every single audio they are playing...

Spec:
Kubuntu 8.10 Intrepid 2.6.27-11-generic
Realtek HD Audio ALC883

Revision history for this message
Steven (shaknit) wrote : Re: [Bug 155648] Re: Regression: Thunderbird New Mail sound cuts off before end

With mine in evolution the new email sound works fine for a while the
stops working completely. Usually have to logou and back in to get it to
work again but it doesn't last very long. Eiterh something is going to
sleep and not waking back up or its loosing the link somehow.
Wouldn't even know where to start looking.

On Fri, 2009-03-27 at 14:30 +0000, Sorrakritch wrote:
> Agree to Craig...
>
> And I'm another one who is still suffering with it - unresolved
> Every programs clip the ending sound of every single audio they are playing...
>
> Spec:
> Kubuntu 8.10 Intrepid 2.6.27-11-generic
> Realtek HD Audio ALC883
>

Revision history for this message
Peter (p-contact-peterfrankjohnson-co-uk) wrote :

I had this bug for ages and I have just solved it in the most trivial way that I can't believe it.

My system is configured to use ALSA, I'm using KDE as a Window Manager and this problem has affected me with both Thunderbird 2.0.0.6 and Thunderbird 2.0.0.21.

I have just opened the Sound System KDE Control Module and noticed that the sound buffer was set to 232 ms, I changed it so that it was as large as possible and now the full wav file plays correctly.

This problem seems to be that Thunderbird is relying on the sound daemon programs to buffer the audio.

Not the best solution to increase the size of the sound buffer, but it works.

Revision history for this message
Jeff Taylor (shdwdrgn) wrote :

Kubuntu Hardy, 2.6.24-23-generic, Thunderbird 2.0.0.21.

Also seeing this problem. I tried Peter's suggestion of adjusting the sound buffer, and found that when the buffer is changed (and thus the sound system is restarted), sounds in thunderbird play just fine. However when thunderbird is restarted, no matter what setting I use for the buffer, the problems recurs (but goes away once more after the buffer setting is changed again).

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The package your reporting is updated and the issue should be reproducible with the live environment of the Desktop CD development release - Maverick Meerkat. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find more about the development release at http://www.ubuntu.com/testing/. Thanks again and we appreciate your help.

Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello Olek,
Thank you for submitting this bug and reporting a problem with Thunderbird. You made this bug report in 2007 and there have been several versions of Ubuntu and Thunderbird since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know and, in the current version, could you run the following (only once):
apport-collect 155648
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu and Thunderbird better.
G

Revision history for this message
Olek Wojnar (olekw) wrote :

To be honest, it's been over a decade and I don't even use Thunderbird anymore. ;)

I defer to anyone who is using a current version of the program but from my perspective this bug can probably be closed.

Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Thanks for the update, Olek. I will close the report now.
Have a great day!
:)
G

Closed per reporter’s feedback.

Changed in thunderbird (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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