Previous Thread
Index
Next Thread
Print Thread
Go To
Page 1 of 3 1 2 3
Band-in-a-Box for Windows
Joined: Oct 2008
Posts: 19,682
Noel96 Offline OP
Veteran
OP Offline
Veteran
Joined: Oct 2008
Posts: 19,682
I notice that there have been a number of posts with "Access Violation" errors in BIAB. This post is rather lengthy but I have written it so as to give others some "food for thought" if an "Access Violation" error arises. This post may or may not solve your particular situation but it might help. I have fully documented:

(a) how I produce this error;
(b) how I solve it.

If you simply want to get to the end result, you might like to skip to point #4, Summary.

NOTE: In the below, I have used a demo style. If you try to replicate this error out of curiosity, please make sure that you save the style's demo with a new name so that you don't overwrite the existing style.

Style: Burkes @ 210 bpm (a MIDI style)
Using demo file modified as below
  • Bass: #538 – Bass, Acoustic Pop Sw 190
  • Piano: MIDI
  • Drums: MIDI
  • Guitar: #374 – Guitar, Acoustic, Strumming Hank Sw 190
  • Strings: MIDI
  • Melody: as per demo file
  • Soloist: #818 – Guitar, Electric, Soloist Country Classic Swing Sw 190

1. How I get the error
  • Load song demo for Burkes.STY and return to the chord sheet window
  • Add Reatrack instruments (as above) to Bass and Guitar.
  • Mute Melody.
  • Use “Soloist” button to activate soloist.
  • Select Realtrack #818 and generate solo in “Middle chorus only”. (When I play the song now, it sounds fine.)
  • Save the song with some temporary, new name. (On my computer, a message pops up and tells me that the Soloist has been locked and that the Realtrack solo has been saved... etc. At this stage, if I unfreeze the Soloist and save the song again, the Soloist will freeze on saving. )
  • Save song with the frozen Soloist.
  • Exit BIAB.
  • Restart BIAB and open song.
  • When I try and generate the song, I get the error Access violation at address 00405F74 in module bbw.exe. Read of address 00000004 at 00405F74
  • Click OK.
  • Now when I try to generate the song, I get a pop-up message saying Playback generation is already in progress. Load another song if this message persists.
  • If the above does not cause the problem for you, try un-checking "Soloist" under the "Freeze" icon and then save.

NOTE: If I load another song with Realtracks in it at this stage, I get now get an Access Violation error. I can load a MIDI-only song and generate it ok.

2. A partial fix for the problem
  • Load a MIDI-only song, generate it and let it play for a few bars to check that it works. Exit BIAB.

This allows me to now load in a Realtrack files. However, the file with the saved frozen Soloist is still problematic.

3. How I get the problematic “frozen” song back
  • Start BIAB and load the problem song
  • Right-click on “Soloist” on the menu bar and “Erase” the Soloist track.
  • Save the song. At this stage, the song will still not generate for me
  • Exit BIAB and restart it (after saving the song with the Soloist data erased).
  • The song now plays for me.


4. Summary
  • Seems like my problem is caused by the Soloist's freezing when being saved and then reloaded after BIAB has been restarted.
  • Unfreezing the Soloist track, erasing all data from it, saving the song and restarting BIAB allows me to load the song again without incident.

FINAL NOTE: Mostly, I can get the problem to occur (around 90% of the time) but very occasionally I cannot. I have yet to discover why this is the case.

I'd be interested to know if others can produce this error or if it is mine alone! Hope this information helps.

Noel.

Last edited by Noel96; 01/03/10 05:42 AM.

MY SONGS...
Audiophile BIAB 2024
Band-in-a-Box for Windows
Joined: Dec 2003
Posts: 386
R
Journeyman
Offline
Journeyman
R
Joined: Dec 2003
Posts: 386
Just as you so nicely presented, I get the same results as you did. I found that playing a midi style and exiting BiaB then re-entering it will stop the access violation problem. I did not figure out your last part on removing the soloist and re-saving the problem song (never thought to try that). But, as you stated, the problem piece will work after doing that and restarting BiaB. Thanks a million. Now PGMusic needs to work on a solution that will still allow us to save a soloist track with a RealTrack instrument playing, but for now we can at least re-generate the soloist part (though different) each time we want to play the song. Of course, the other way around that problem is to use the DAW plugin and ship it over to RealBand or DAW of your choice and then be able to keep that awesome solo you just got from the RealTrack Blues Trumpet Player. :-)

Thanks for the info!

Rich


RichR
Band-in-a-Box for Windows
Joined: Oct 2008
Posts: 19,682
Noel96 Offline OP
Veteran
OP Offline
Veteran
Joined: Oct 2008
Posts: 19,682
Hi Rich,
Thank you for taking time to go through my post. I'm glad that I'm not alone!
Noel


MY SONGS...
Audiophile BIAB 2024
Band-in-a-Box for Windows
Joined: Dec 2009
Posts: 7
G
Newbie
Offline
Newbie
G
Joined: Dec 2009
Posts: 7
I've been having the same problem, so I've tried your suggestions and come to the same conclusion you have - i.e. using a RealTrack on the soloist track, then freezing this track, seems to be the root cause of the problem.

Thanks for spending so much time on this - here's hoping a solution isn't too problematic!

Band-in-a-Box for Windows
Joined: Oct 2008
Posts: 19,682
Noel96 Offline OP
Veteran
OP Offline
Veteran
Joined: Oct 2008
Posts: 19,682
I'm pleased it helped.


MY SONGS...
Audiophile BIAB 2024
Band-in-a-Box for Windows
Joined: May 2000
Posts: 22,126
Veteran
Offline
Veteran
Joined: May 2000
Posts: 22,126
Please send this to support in an email, pointing to this thread even


I do not work here, but the benefits are still awesome
Make your sound your own!
Band-in-a-Box for Windows
Joined: May 2003
Posts: 8,021
Veteran
Offline
Veteran
Joined: May 2003
Posts: 8,021
Can't reproduce here!


John
ESI Gigaport HD+
Lenovo Turion II /4 Gig Ram/ Win7x64 be
15.6" Monitor
"The only Band is a Real Band"
www.wintertexaninfo.com/BANDS/JohnnyD.php
Band-in-a-Box for Windows
Joined: Dec 2009
Posts: 7
G
Newbie
Offline
Newbie
G
Joined: Dec 2009
Posts: 7
Hi Rharv - I emailed Support a few days ago and attached a song I was having problems with, so hopefully they're on the case! :-)

Band-in-a-Box for Windows
Joined: Oct 2008
Posts: 19,682
Noel96 Offline OP
Veteran
OP Offline
Veteran
Joined: Oct 2008
Posts: 19,682
Hi John,

Try disabling VSTi, unchecking the Soloist under the "Freeze" icon, regenerating the song, saving it, and restarting BIAB?

Tonight I discovered that occasionally I cannot reproduce the error. I did the above and the error returned. It might have been coincidence, though. I'd be interested to see what happens for you.

Noel


MY SONGS...
Audiophile BIAB 2024
Band-in-a-Box for Windows
Joined: May 2000
Posts: 38,502
M
Mac Offline
Veteran
Offline
Veteran
M
Joined: May 2000
Posts: 38,502
You guys are on the case providing excellent reports and clues here.

Myself, like Silvertones, cannot duplicate this particular problem on my end *at this time* but I'd sure like to be darn good and sure that it never pops up here either, so stay on the case. Development will appreciate the hard work, I'm sure.

FWIW, I've been using Hardware MIDI synths the majority of the time, and I think Silvertones may be also. Another clue?


--Mac

Band-in-a-Box for Windows
Joined: May 2003
Posts: 8,021
Veteran
Offline
Veteran
Joined: May 2003
Posts: 8,021
Now my friend is pulling out his hair with this.


John
ESI Gigaport HD+
Lenovo Turion II /4 Gig Ram/ Win7x64 be
15.6" Monitor
"The only Band is a Real Band"
www.wintertexaninfo.com/BANDS/JohnnyD.php
Band-in-a-Box for Windows
Joined: May 2003
Posts: 8,021
Veteran
Offline
Veteran
Joined: May 2003
Posts: 8,021
Sorry Noel still can't reproduce it here.


John
ESI Gigaport HD+
Lenovo Turion II /4 Gig Ram/ Win7x64 be
15.6" Monitor
"The only Band is a Real Band"
www.wintertexaninfo.com/BANDS/JohnnyD.php
Band-in-a-Box for Windows
Joined: Jun 2005
Posts: 7,693
Veteran
Offline
Veteran
Joined: Jun 2005
Posts: 7,693
Unless I've missed it somewhere, please post exactly how you have your system set up and what you're using for midi, audio, mme, asio, synths etc.

Bob


Biab/RB latest build, Win 11 Pro, Ryzen 5 5600 G, 512 Gig SSD, 16 Gigs Ram, Steinberg UR22 MkII, Roland Sonic Cell, Kurzweil PC3, Hammond SK1, Korg PA3XPro, Garritan JABB, Hypercanvas, Sampletank 3, more.
Band-in-a-Box for Windows
Joined: Dec 2006
Posts: 125
S
Apprentice
Offline
Apprentice
S
Joined: Dec 2006
Posts: 125
Noel:
Thank you for all that hard work. My results are completely consistent with yours. The problem does appear to be the real soloist. I've tried several tunes with different soloists, and the result is the same, so it does not appear to be a particular soloist file. I've also sent a file with the problem to support, so we'll see if they can resolve the issue.

If it helps, I'm running WinXP, SP3, with 2 gig RAM, plenty of room on the hard drive, ASIO using a MOTU Ultralite and Cakewalk TTS for midi sounds.

Thanks, everyone!


SaxMarc
daringharmony.com
Band-in-a-Box for Windows
Joined: Jun 2003
Posts: 507
R
Journeyman
Offline
Journeyman
R
Joined: Jun 2003
Posts: 507
Quote:

....
  • Restart BIAB and open song.
  • When I try and generate the song, I get the error Access violation at address 00405F74 in module bbw.exe. Read of address 00000004 at 00405F74

    ...........

    I'd be interested to know if others can produce this error or if it is mine alone! Hope this information helps.


  • Yup, reproducible here also, using different style & (Real) soloist. (Different addresses in the error message.) Using build 292, WinXP, SP3, ASIO, DXi (TTS-1) loaded.

    Thanks for working this through! -RonL

    Crazy idea: Buried in New Features is this simple statement: "Rendering RealTracks no longer require you to have a DXi or VST in use." (I believe that's in response to issues raised in prior version threads.) I suspect implementing it required substantial code mods, perhaps causing this bug. Just a wild guess. I tried testing with and without the DXi and/or midi driver enabled, but didn't defeat the bug.

    Band-in-a-Box for Windows
    Joined: Jun 2005
    Posts: 7,693
    Veteran
    Offline
    Veteran
    Joined: Jun 2005
    Posts: 7,693
    Both of you guys are using ASIO, try it with MME and see how it goes.

    Bob


    Biab/RB latest build, Win 11 Pro, Ryzen 5 5600 G, 512 Gig SSD, 16 Gigs Ram, Steinberg UR22 MkII, Roland Sonic Cell, Kurzweil PC3, Hammond SK1, Korg PA3XPro, Garritan JABB, Hypercanvas, Sampletank 3, more.
    Band-in-a-Box for Windows
    Joined: Nov 2006
    Posts: 44
    P
    Enthusiast
    Offline
    Enthusiast
    P
    Joined: Nov 2006
    Posts: 44
    I would like to suggest an option to disable the frozen soloist when saving the song.
    I can also reproduce the problem.

    /peter

    Band-in-a-Box for Windows
    Joined: May 2000
    Posts: 38,502
    M
    Mac Offline
    Veteran
    Offline
    Veteran
    M
    Joined: May 2000
    Posts: 38,502
    I recently found out that RealTracks is a Background Service.

    Try this:

    *Change Processor Scheduling to 'Background Services'

    Control Panel ->System -> Advanced -> Performance Settings -> Advanced -> and set Processor Scheduling to "Background Services".

    Might help, I don't know as I can't seem to duplicate this problem here at this end, but my Background Services have been set to use them as priority for a long time already. It will also help with ASIO drivers, which are a background service as well.


    --Mac

    Band-in-a-Box for Windows
    Joined: Jul 2000
    Posts: 693
    Journeyman
    Offline
    Journeyman
    Joined: Jul 2000
    Posts: 693
    I have indeed had problems with freezing/unfreezing tracks as documented. I am using MME.

    Thanks, Mac, for the suggestion. I will try the setting. Hmm...I wonder if this is why I have been having problems with ASIO stutter regardless of buffer setting?


    Joel
    Band-in-a-Box for Windows
    Joined: Oct 2008
    Posts: 19,682
    Noel96 Offline OP
    Veteran
    OP Offline
    Veteran
    Joined: Oct 2008
    Posts: 19,682
    Silvertones/Mac

    It's interesting that you can't reproduce it. I had the same experience too.

    After two days of turning the computer on and off numerous times, I could reproduce the error at will, 100% of the time. That's when I documented the above lengthy article. Then, when I learned that Silvertones could not reproduce the error, I tried again and, blow me down, I couldn't get the error either. Strange. There were two things that I remember doing: (a) changing the VSTi; (b) having Realband open.

    Here's some more food for thought.

    This morning, again I loaded the problem file and all was well. Then, I did the following
    • Opened BIAB as the first and only program after startup (other than my antivirus software which has always been on)
    • Turned off VSTi
    • Restarted BIAB
    • Regenerated the Soloist
    • Unchecked the "Soloist" under the by right-clicking on the "Freeze" icon. Saved the file using "Save+" I was annoyed that the problem file worked, today, I repeated this procedure of unchecking and saving numerous times!
    • Then when exiting BIAB, I had four access errors; one after the other popping up in my screen.
    • I restarted BIAB, opened the file again, and it played! Now I'm really puzzled.


    Somehow the shortcut "Freeze" (icon) option seems to be involved in all this but I haven't yet worked it out. The problems occurs for me on MME. I rarely use ASIO.

    Regards,
    Noel


    MY SONGS...
    Audiophile BIAB 2024
    Previous Thread
    Next Thread
    Go To
    Page 1 of 3 1 2 3

    Link Copied to Clipboard
    ChatPG

    Ask sales and support questions about Band-in-a-Box using natural language.

    ChatPG's knowledge base includes the full Band-in-a-Box User Manual and sales information from the website.

    PG Music News
    Holiday Weekend Hours

    Our Customer Service hours this weekend are as follows:

    Friday, April 18: 8:00 - 4:00
    Saturday, April 19: closed
    Sunday, April 20: closed
    Monday, April 21: Regular hours

    Thank you!

    Band-in-a-Box 2025 French Version is Here!

    Bonjour à tous,

    Band-in-a-Box® 2025 pour Windows est disponible en Français.
    Le téléchargement se fait à partir du site PG Music

    Pour ceux qui auraient déjà acheté la version 2025 de Band-in-a-Box (et qui donc ont une version anglaise), il est possible de "franciser" cette version avec les patchs suivants:

    BIAB 2025 - francisation
    RealBand 2025 - francisation

    Voilà, enjoy!

    Band-in-a-Box 2025 German Version is Here!

    Band-in-a-Box 2025 für Windows Deutsch ist verfügbar!

    Die deutsche Version Band-in-a-Box® 2025 für Windows ist ab sofort verfügbar!

    Alle die bereits die englische Version von Band-in-a-Box und RealBand 2024 installiert haben, finden hier die Installationsdateien für das Sprachenupdate:

    https://nn.pgmusic.com/pgfiles/languagesupport/deutsch2025.exe
    https://nn.pgmusic.com/pgfiles/languagesupport/deutsch2025RB.exe

    Update Your Band-in-a-Box® 2025 to Build 1128 for Windows Today!

    Already using Band-in-a-Box 2025 for Windows®? Download Build 1128 now from our Support Page to enjoy the latest enhancements and improvements from our team.

    Stay up to date—get the latest update now!

    Update to RealBand® 2025 Build 5 Windows Today!

    Already using RealBand® 2025 for Windows®? Download Build 5 now from our Support Page to ensure you have the latest enhancements and improvements from our team.

    Get the latest update today!

    PowerTracks Pro Audio 2025 for Windows is Here!

    PowerTracks Pro Audio 2025 is here! This new version introduces many features, including VST3 support, the ability to load or import a .FLAC file, a reset option for track height in the Tracks window, a taller Timeline on the Notation window toolbar, new freeze buttons in the Tracks window, three toolbar modes (two rows, single row, and none), the improved Select Patch dialog with text-based search and numeric patch display, a new button in the DirectX/VST window to copy an effects group, and more!

    First-time packages start at only $49. Already a PowerTracks Pro Audio user? Upgrade for as little as $29!

    www.pgmusic.com/powertracks.htm

    Video: Summary of the New Band-in-a-Box® App for iOS®

    Join Tobin as he takes you on a tour of the new Band-in-a-Box® app for iOS®! Designed for musicians, singer-songwriters, and educators, this powerful tool lets you create, play, and transfer songs effortlessly on your iPhone® or iPad®—anytime, anywhere.

    Band-in-a-Box® for iOS® :Summary video.

    Check out the forum post for more information.

    Forum Statistics
    Forums58
    Topics83,898
    Posts771,956
    Members39,486
    Most Online25,754
    Jan 24th, 2025
    Newest Members
    DabbyPila, Wealth Raymond, DP11user, nikolauskeanu, The Golden Ravens
    39,485 Registered Users
    Top Posters(30 Days)
    MarioD 158
    DC Ron 107
    rsdean 95
    WaoBand 81
    Today's Birthdays
    flashlarue, gary133, kirbonite
    Powered by UBB.threads™ PHP Forum Software 7.7.5