Fehler beim Einfügen von "Stille"

Hallo Torben,

beim Versuch ein “Stille” Element abzuspielen wirft Mairlist ( V.2.2.2 Build 551) gleich mehrere Fehlermeldungen aus.
Da ich die alle hier leider nicht eingefügt bekomme: Hier mal der 1.

[code]Mairlist BUG

Invalid floating point operation

Mittwoch, 22. Juli 2009, 10:53:03

Program Version 2.2.2 Build 551

Call stack:

[00476919] Controls.Controls.TWinControl.PaintHandler + $55
[00476EFB] Controls.Controls.TWinControl.WMPaint + $3F
[00488251] Forms.Forms.TCustomForm.WndProc + $4C1
[00478E81] Controls.Controls.TWinControl.CMInvalidate + $9
[00472927] Controls.Controls.TControl.WndProc + $2BB
[0047B144] Controls.Controls.TCustomControl.WMPaint + $10
[00472927] Controls.Controls.TControl.WndProc + $2BB
[004360AC] Graphics.Graphics.TResourceManager.Unlock + $4
[0043621A] Graphics.Graphics.TResourceManager.FreeResource + $82
[004360AC] Graphics.Graphics.TResourceManager.Unlock + $4
[004362BF] Graphics.Graphics.TResourceManager.ChangeResource + $63
[00436D9E] Graphics.Graphics.TFont.SetData + $2A
[00436DB3] Graphics.Graphics.TFont.SetData + $3F
[004370F8] Graphics.Graphics.TFont.SetName + $4C
[0040CC87] SysUtils.SysUtils.FormatBuf + $35F
[0040CC8F] SysUtils.SysUtils.FormatBuf + $367
[0047677D] Controls.Controls.TWinControl.WndProc + $499
[00475F08] Controls.Controls.TWinControl.MainWndProc + $2C
[0042F998] Classes.Classes.StdWndProc + $14
[00407840] System.System.@IntfClear + $10
[00478F21] Controls.Controls.TWinControl.Update + $15
[00478F39] Controls.Controls.TWinControl.Repaint + $11
[006348D9] Player.Player.TPlayer.UpdateTimeDisplay (Line 509, “Player.pas” + 63) + $5
[00634005] Player.Player.TPlayer.UpdateDisplay (Line 401, “Player.pas” + 10) + $2
[00636B26] Player.Player.TPlayer.PlayerControlChange (Line 991, “Player.pas” + 1) + $2
[0063E360] PlayerControl.PlayerControl.TPlayerControl.FireChange (Line 500, “PlayerControl.pas” + 4) + $2F
[0063FA24] PlayerControl.PlayerControl.TPlayerControl.PlaylistItemChange (Line 826, “PlayerControl.pas” + 29) + $4
[0056B67B] PlaylistItem.PlaylistItem.TPlaylistItem.FireChange (Line 618, “PlaylistItem.pas” + 5) + $31
[0056B243] PlaylistItem.PlaylistItem.TPlaylistItem.SetStartTime (Line 534, “PlaylistItem.pas” + 2) + $7
[00795758] PlaybackControl.PlaybackControl.TPlaybackControl.UpdateBacktiming (Line 1282, “PlaybackControl.pas” + 15) + $14
[0079220A] PlaybackControl.PlaybackControl.TPlaybackControl.Invalidate (Line 436, “PlaybackControl.pas” + 3) + $2
[00792E5F] PlaybackControl.PlaybackControl.TPlaybackControl.PlaylistItemDataChange (Line 630, “PlaybackControl.pas” + 24) + $2
[005A401E] Playlist.Playlist.TPlaylist.PlaylistItemChange (Line 944, “Playlist.pas” + 5) + $33
[0056B67B] PlaylistItem.PlaylistItem.TPlaylistItem.FireChange (Line 618, “PlaylistItem.pas” + 5) + $31
[0056B7AD] PlaylistItem.PlaylistItem.TPlaylistItem.SetHistoryFlag (Line 655, “PlaylistItem.pas” + 1) + $7
[00794AD0] PlaybackControl.PlaybackControl.TPlaybackControl.UpdatePlayers (Line 1093, “PlaybackControl.pas” + 32) + $12
[00792203] PlaybackControl.PlaybackControl.TPlaybackControl.Invalidate (Line 435, “PlaybackControl.pas” + 2) + $2
[00793672] PlaybackControl.PlaybackControl.TPlaybackControl.PlayerControlStateChanged (Line 740, “PlaybackControl.pas” + 1) + $2
[0063E455] PlayerControl.PlayerControl.TPlayerControl.ChangeState (Line 511, “PlayerControl.pas” + 5) + $36
[006400FD] PlayerControl.PlayerControl.TPlayerControl.AudioSourceEOF (Line 911, “PlayerControl.pas” + 16) + $6
[005A48E5] SilenceAudio.SilenceAudio.TSilenceAudioSource.DoOnEOF (Line 195, “SilenceAudio.pas” + 4) + $2C
[005A4801] SilenceAudio.SilenceAudio.TSilenceAudioSource.SyncTimerTimer (Line 183, “SilenceAudio.pas” + 15) + $4
[00457963] ExtCtrls.ExtCtrls.TTimer.Timer + $F
[00457847] ExtCtrls.ExtCtrls.TTimer.WndProc + $2B
[0042F998] Classes.Classes.StdWndProc + $14
[0048FE6C] Forms.Forms.TApplication.ProcessMessage + $FC
[0048FEA6] Forms.Forms.TApplication.HandleMessage + $A
[004900C6] Forms.Forms.TApplication.Run + $96
(004DCBF3) [008DDBF3]
[/code]

Die anderen 3 - 4 Stück habe ich mir als .txt Dokument abgespeichert. Wenn Du magst, schicke ich Dir diese gerne per e-Mail.

Edit: Vielleicht sollte ich noch dazu schreiben, dass bei mir die Version auf Win 7 RC1 läuft und ich auch leider nicht sagen kann ob es in einem Früheren Build auch schon aufgetreten ist.
(Wollte heute einfach nur mal schauen wozu die Funktion eigentlich da ist) :wink:

Gruß

Könntest du bitte überprüfen, ob das im aktuellen Snapshot auch noch passiert? Mir war so, als hätte ich einen ähnlichen Bug neulich behoben.

http://www.mairlist.com/download/mAirList/v2.2/snapshot/

Wenn der Fehler weiterhin auftritt, schicke nochmal einen aktualisierten Callstack. mAirList.map herunterladen nicht vergessen!

Der Snapshot ist doch der Build 551, oder etwa nicht ?
Den hatte ich schon implementiert zusammen mit der mAirlist.map

So, hier dann mal ein aktueller

[code]Invalid floating point operation

Mittwoch, 22. Juli 2009, 14:46:08

Program Version 2.2.2 Build 551

Call stack:

[00476919] Controls.Controls.TWinControl.PaintHandler + $55
[00476EFB] Controls.Controls.TWinControl.WMPaint + $3F
[00488251] Forms.Forms.TCustomForm.WndProc + $4C1
[00478E81] Controls.Controls.TWinControl.CMInvalidate + $9
[00472927] Controls.Controls.TControl.WndProc + $2BB
[0047B144] Controls.Controls.TCustomControl.WMPaint + $10
[00472927] Controls.Controls.TControl.WndProc + $2BB
[0040CC87] SysUtils.SysUtils.FormatBuf + $35F
[0040CC8F] SysUtils.SysUtils.FormatBuf + $367
[0047677D] Controls.Controls.TWinControl.WndProc + $499
[00475F08] Controls.Controls.TWinControl.MainWndProc + $2C
[0042F998] Classes.Classes.StdWndProc + $14
[00407840] System.System.@IntfClear + $10
[00478F21] Controls.Controls.TWinControl.Update + $15
[00478F39] Controls.Controls.TWinControl.Repaint + $11
[006348D9] Player.Player.TPlayer.UpdateTimeDisplay (Line 509, “Player.pas” + 63) + $5
[00634005] Player.Player.TPlayer.UpdateDisplay (Line 401, “Player.pas” + 10) + $2
[00636B26] Player.Player.TPlayer.PlayerControlChange (Line 991, “Player.pas” + 1) + $2
[0063E360] PlayerControl.PlayerControl.TPlayerControl.FireChange (Line 500, “PlayerControl.pas” + 4) + $2F
[0063FA24] PlayerControl.PlayerControl.TPlayerControl.PlaylistItemChange (Line 826, “PlayerControl.pas” + 29) + $4
[0056B67B] PlaylistItem.PlaylistItem.TPlaylistItem.FireChange (Line 618, “PlaylistItem.pas” + 5) + $31
[0056B243] PlaylistItem.PlaylistItem.TPlaylistItem.SetStartTime (Line 534, “PlaylistItem.pas” + 2) + $7
[00795758] PlaybackControl.PlaybackControl.TPlaybackControl.UpdateBacktiming (Line 1282, “PlaybackControl.pas” + 15) + $14
[0079220A] PlaybackControl.PlaybackControl.TPlaybackControl.Invalidate (Line 436, “PlaybackControl.pas” + 3) + $2
[00792E5F] PlaybackControl.PlaybackControl.TPlaybackControl.PlaylistItemDataChange (Line 630, “PlaybackControl.pas” + 24) + $2
[005A401E] Playlist.Playlist.TPlaylist.PlaylistItemChange (Line 944, “Playlist.pas” + 5) + $33
[0056B67B] PlaylistItem.PlaylistItem.TPlaylistItem.FireChange (Line 618, “PlaylistItem.pas” + 5) + $31
[0056B7AD] PlaylistItem.PlaylistItem.TPlaylistItem.SetHistoryFlag (Line 655, “PlaylistItem.pas” + 1) + $7
[00794AD0] PlaybackControl.PlaybackControl.TPlaybackControl.UpdatePlayers (Line 1093, “PlaybackControl.pas” + 32) + $12
[00792203] PlaybackControl.PlaybackControl.TPlaybackControl.Invalidate (Line 435, “PlaybackControl.pas” + 2) + $2
[00793672] PlaybackControl.PlaybackControl.TPlaybackControl.PlayerControlStateChanged (Line 740, “PlaybackControl.pas” + 1) + $2
[0063E455] PlayerControl.PlayerControl.TPlayerControl.ChangeState (Line 511, “PlayerControl.pas” + 5) + $36
[006400FD] PlayerControl.PlayerControl.TPlayerControl.AudioSourceEOF (Line 911, “PlayerControl.pas” + 16) + $6
[005A48E5] SilenceAudio.SilenceAudio.TSilenceAudioSource.DoOnEOF (Line 195, “SilenceAudio.pas” + 4) + $2C
[005A4801] SilenceAudio.SilenceAudio.TSilenceAudioSource.SyncTimerTimer (Line 183, “SilenceAudio.pas” + 15) + $4
[00457963] ExtCtrls.ExtCtrls.TTimer.Timer + $F
[00457847] ExtCtrls.ExtCtrls.TTimer.WndProc + $2B
[0042F998] Classes.Classes.StdWndProc + $14
[0048FE6C] Forms.Forms.TApplication.ProcessMessage + $FC
[0048FEA6] Forms.Forms.TApplication.HandleMessage + $A
[004900C6] Forms.Forms.TApplication.Run + $96
(004DCBF3) [008DDBF3]
[/code]

Da gehen aber beim Klick auf “OK” noch weitere 5 Fenster auf.

Ps.: Habe die Fehlermeldungen gerade mal an Deine Info e-Mail gesendet.

Ich bins nochmal.

Habe den fehler gefunden.
Wenn man keine Zeit angibt (so wie ich das bei meinem Test gemacht habe) dann erscheinen diese Fehlermeldungen.
Gibt man eine Zeit von 10 Sek an, läuft diese Zeit ganz normal herunter.

(Vielleicht kann man das ja so einrichten, dass es bei keiner Zeitangabe irgendwie einen Hinweis anzeigt “Zeit Eingeben”)

War wohl etwas schusselig heute Mojn

Ah, super! Das nenne ich mal eine präzise Beschreibung!

Ich habe den Fehler jetzt dahingehend korrigiert, dass eine Fehlermeldung kommt, allerdings erst wenn man versucht, das Element in einen Player zu laden. Das war jetzt die einfachste Lösung.

Das Ergebnis geht gleich als Version 2.2.3 online.

Dank Dir.

Gerade getestet.
Funktioniert soweit.

Wenn man beim Anlegen eines Stille Elements vergisst eine Zeit zu setzen, erscheint ein ERROR. Allerdings lässt sich das Element dann auch nicht mehr mit rechtsklick -> Eigenschaften, verändern. (z.B. nachträglich eine Zeit setzen von 2 Sekunden). Das Element zeigt diese Zeit zwar dann an, es lässt sich jedoch nicht abspielen.

Stimmt, man muss es aus dem Player rausziehen und neu laden. Das ist prinzipiell immer so - auch wenn du z.B. bei einem bereits geladenen Stream nachträglich die URL änderst.

Okay,
muss man eben gleich aufpassen ;D

Habe es nur deswegen erwähnt, weil es in der “anderen” Version noch ging.
Aber nicht weiter tragisch. Gewöhnt man sich auch dran. Hehehe…