A different assertion in allegro

1 Message Forum Options Options
Permalink
Leland (AudacityTeam)
A different assertion in allegro
Reply Threaded More
Print post
Permalink
Hi Roger,

Got this one too on Windows and OSX.  Same steps to reproduce, but with
the following midi file:

http://www.homerow.net/audacity/test.mid

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!

Program: ...
File: c:\documents and settings\administrator...\allegro.h
Line: 619

Expression: i >= 0 && i < len

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)
---------------------------
Abort   Retry   Ignore  
---------------------------

 >    msvcr80d.dll!_wassert(const wchar_t * expr=0x00e3a088, const
wchar_t * filename=0x00e3a0b8, unsigned int lineno=619)  Line 384    C
     Audacity.exe!Alg_beats::operator[](int i=1)  Line 619 + 0x28
bytes    C++
     Audacity.exe!Alg_time_map::cut(double start=2.2058956916099772,
double len=2.8676643990929707, bool units_are_seconds=true)  Line 1309 +
0x24 bytes    C++
     Audacity.exe!Alg_seq::cut(double start=2.2058956916099772, double
len=2.8676643990929707, bool all=false)  Line 2739    C++
     Audacity.exe!NoteTrack::Cut(double t0=2.2058956916099772, double
t1=5.0735600907029479, Track * * dest=0x0012edb0)  Line 336 + 0x2b
bytes    C++
     Audacity.exe!AudacityProject::OnCut()  Line 2592 + 0x31 bytes    C++
     Audacity.exe!EditToolBar::OnButton(wxCommandEvent & event={...})  
Line 191    C++
     wxbase28d_vc_custom.dll!wxAppConsole::HandleEvent(wxEvtHandler *
handler=0x02c275b8, void (wxEvent &)* func=0x00727b8c, wxEvent &
event={...})  Line 320 + 0xc bytes    C++
     wxbase28d_vc_custom.dll!wxEvtHandler::ProcessEventIfMatches(const
wxEventTableEntryBase & entry={...}, wxEvtHandler * handler=0x02c275b8,
wxEvent & event={...})  Line 1225 + 0x26 bytes    C++
     wxbase28d_vc_custom.dll!wxEventHashTable::HandleEvent(wxEvent &
event={...}, wxEvtHandler * self=0x02c275b8)  Line 899 + 0x1c bytes    C++
     wxbase28d_vc_custom.dll!wxEvtHandler::ProcessEvent(wxEvent &
event={...})  Line 1287 + 0x25 bytes    C++
     wxmsw28d_core_vc_custom.dll!wxWindowBase::TryParent(wxEvent &
event={...})  Line 2612 + 0x1e bytes    C++
     wxbase28d_vc_custom.dll!wxEvtHandler::ProcessEvent(wxEvent &
event={...})  Line 1300 + 0x13 bytes    C++
     Audacity.exe!AButton::Click()  Line 383 + 0x31 bytes    C++
     Audacity.exe!AButton::OnMouseEvent(wxMouseEvent & event={...})  
Line 290    C++
     wxbase28d_vc_custom.dll!wxAppConsole::HandleEvent(wxEvtHandler *
handler=0x02c588f0, void (wxEvent &)* func=0x00724315, wxEvent &
event={...})  Line 320 + 0xc bytes    C++
     wxbase28d_vc_custom.dll!wxEvtHandler::ProcessEventIfMatches(const
wxEventTableEntryBase & entry={...}, wxEvtHandler * handler=0x02c588f0,
wxEvent & event={...})  Line 1225 + 0x26 bytes    C++
     wxbase28d_vc_custom.dll!wxEventHashTable::HandleEvent(wxEvent &
event={...}, wxEvtHandler * self=0x02c588f0)  Line 899 + 0x1c bytes    C++
     wxbase28d_vc_custom.dll!wxEvtHandler::ProcessEvent(wxEvent &
event={...})  Line 1287 + 0x25 bytes    C++
     wxmsw28d_core_vc_custom.dll!wxWindow::HandleMouseEvent(unsigned int
msg=514, int x=18, int y=9, unsigned int flags=0)  Line 5117 + 0x1e
bytes    C++
     wxmsw28d_core_vc_custom.dll!wxWindow::MSWWindowProc(unsigned int
message=514, unsigned int wParam=0, long lParam=589842)  Line 2860 +
0x21 bytes    C++
     wxmsw28d_core_vc_custom.dll!wxWndProc(HWND__ * hWnd=0x00050342,
unsigned int message=514, unsigned int wParam=0, long lParam=589842)  
Line 2594 + 0x1e bytes    C++
     user32.dll!7e418734()    
     [Frames below may be incorrect and/or missing, no symbols loaded
for user32.dll]  
     user32.dll!7e418816()    
     user32.dll!7e4189cd()    
     wxmsw28d_core_vc_custom.dll!wxIdleWakeUpModule::MsgHookProc(int
nCode=1244144, unsigned int wParam=0, long lParam=1243848)  Line 6766 +
0x1a bytes    C++
     user32.dll!7e418a10()    
     user32.dll!7e4274ff()    
     user32.dll!7e43c6d3()    
     wxmsw28d_core_vc_custom.dll!wxWindow::MSWProcessMessage(tagMSG *
pMsg=0x0012fbf0)  Line 2383 + 0x15 bytes    C++
     wxmsw28d_core_vc_custom.dll!wxEventLoop::PreProcessMessage(tagMSG *
msg=0x0012fbf0)  Line 175 + 0x16 bytes    C++
     wxmsw28d_core_vc_custom.dll!wxEventLoop::ProcessMessage(tagMSG *
msg=0x0012fbf0)  Line 74 + 0x13 bytes    C++
     wxmsw28d_core_vc_custom.dll!wxEventLoop::Dispatch()  Line 292 +
0x13 bytes    C++
     wxmsw28d_core_vc_custom.dll!wxEventLoopManual::Run()  Line 115 +
0xf bytes    C++
     wxmsw28d_core_vc_custom.dll!wxAppBase::MainLoop()  Line 312 + 0x17
bytes    C++
     wxmsw28d_core_vc_custom.dll!wxAppBase::OnRun()  Line 367 + 0x12
bytes    C++
     wxbase28d_vc_custom.dll!wxEntryReal(int & argc=1, char * *
argv=0x020a6c20)  Line 456 + 0x1d bytes    C++
     wxbase28d_vc_custom.dll!wxEntry(int & argc=1, char * *
argv=0x020a6c20)  Line 209 + 0xd bytes    C++
     wxmsw28d_core_vc_custom.dll!wxEntry(HINSTANCE__ *
hInstance=0x00400000, HINSTANCE__ * __formal=0x00000000, HINSTANCE__ *
__formal=0x00000000, int nCmdShow=1)  Line 386 + 0x10 bytes    C++
     Audacity.exe!WinMain(HINSTANCE__ * hInstance=0x00400000,
HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00151f37, int
nCmdShow=1)  Line 364 + 0x36 bytes    C++
     Audacity.exe!__tmainCRTStartup()  Line 589 + 0x35 bytes    C
     Audacity.exe!WinMainCRTStartup()  Line 414    C
     kernel32.dll!7c817067()    
     Audacity.exe!DirManager::EnsureSafeFilename(wxFileName
fName={...})  Line 1087 + 0x3f bytes    C++


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel