Ticket #334 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Ocasional Crash when multiple sections and pages are added while recording

Reported by: chhavi-negi Owned by: avneesh-singh
Priority: major Milestone: Obi 1.0
Component: Application Version:
Keywords: Cc:
Blocked By: Blocking:
Time planned: 1d Time remaining: 1d
Time spent: 1d Estimated Number of Hours:
Add Hours to Ticket: Billable?:
Total Hours:

Description

Open a new project.
Press recording button.
After that press the button next to it which one is K multiple times, then press after that press P multiple times and then H also multiple times.
Then after that in between there might be a crash which is
Split point 00:00:04.3090000 is beyond the WavAudioMediaData? end - audio length is 00:00:04
If it does not occur here then when you have pressed H multiple times press Play button on transport bar. Again same exception might come.
The details are:
at urakawa.media.data.audio.codec.WavAudioMediaData?.split(Time splitPoint)

at urakawa.media.data.audio.ManagedAudioMedia?.split(Time splitPoint) at Obi.RecordingSession?.Stop() at Obi.ProjectView?.TransportBar?.PauseRecording?() at Obi.ProjectView?.TransportBar?.NextSection?() at Obi.ProjectView?.TransportBar?.mNextSectionButton_Click(Object sender, EventArgs? e) at System.Windows.Forms.Control.OnClick?(EventArgs? e) at System.Windows.Forms.Button.OnClick?(EventArgs? e) at System.Windows.Forms.Button.OnMouseUp?(MouseEventArgs? mevent) at System.Windows.Forms.Control.WmMouseUp?(Message& m, MouseButtons? button, Int32 clicks) at System.Windows.Forms.Control.WndProc?(Message& m) at System.Windows.Forms.ButtonBase?.WndProc?(Message& m) at System.Windows.Forms.Button.WndProc?(Message& m) at System.Windows.Forms.Control.ControlNativeWindow?.OnMessage?(Message& m) at System.Windows.Forms.Control.ControlNativeWindow?.WndProc?(Message& m) at System.Windows.Forms.NativeWindow?.Callback(IntPtr? hWnd, Int32 msg, IntPtr? wparam, IntPtr? lparam)


After the exception came i pressed continue and put the cursor at a strip cursor, and pressed play button.
It gave an exception: Object reference not set to an instance of an object.
But this last exception did not come again when i tried to reproduce it.

Change History

comment:1 Changed 11 years ago by chhavi-negi

namespace Obi
class RecordingSession?
line no. : 149

comment:1 Changed 11 years ago by avneesh-singh

  • Summary changed from Crash when multiple sections and pages are added while recording to Ocasional Crash when multiple sections and pages are added while recording

comment:1 Changed 11 years ago by chhavi-negi

Sir, the above crash has reappeared many times, so it would not be safe to call it occasional.

comment:1 Changed 11 years ago by chhavi-negi

The latter exception of Object reference not set to an instance of an object occurs whenever we put the cursor on a page that is click on a page and press play.

comment:1 Changed 11 years ago by chhavi-negi

The details are:
System.NullReferenceException?: Object reference not set to an instance of an object.

at Obi.ProjectView?.Waveform.get_Audio() at Obi.ProjectView?.Waveform.SetCursorTime?(Double time) at Obi.ProjectView?.AudioBlock?.UpdateCursorTime?(Double time) at Obi.ProjectView?.ContentView?.UpdateCursorPosition?(Double time) at Obi.ProjectView?.ProjectView?.UpdateCursorPosition?(Double time) at Obi.ProjectView?.TransportBar?.mDisplayTimer_Tick(Object sender, EventArgs? e) at System.Windows.Forms.Timer.OnTick?(EventArgs? e) at System.Windows.Forms.Timer.TimerNativeWindow?.WndProc?(Message& m) at System.Windows.Forms.NativeWindow?.Callback(IntPtr? hWnd, Int32 msg, IntPtr? wparam, IntPtr? lparam)

comment:2 Changed 11 years ago by avneesh-singh

  • Status changed from new to closed
  • Resolution set to fixed

(In [2297]) fixed #334 hopefully this will not appear, atleast will not cause any damage even if it appears.

Note: See TracTickets for help on using tickets.