View Issue Details

IDProjectCategoryView StatusLast Update
0000462MMW v4Playerpublic2005-05-09 14:07
Reporterrusty Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status feedbackResolutionreopened 
Summary0000462: Pacemaker plug-in distorts audio/crashes build 504
DescriptionWhen using the pacemaker plugin various issues arise that didn't occur in previous builds.
1) When used alone, enabling/disabling and/or changing the settings eventually causes SDB to crash
2) When used in combination with DFX and Stereo Expander, it causes audio to stutter and eventually crashes SDB

Both of these issues occur consistently in build 504 which introduced the new plug-in architecture. Stetting this bug as urgent because it may be symptomatic of other issues that need to be resolved.
Additional InformationPacemaker home page: http://www.sunpoint.net/~oparviai/pacemaker/
TagsNo tags attached.
Attached Files
crash_ogg_with_pacemaker.txt (13,181 bytes)   
00000000	0.00000000	[920] Thread has started 1136	
00000001	0.00026344	[920] Thread registered, going to initialize 1136	
00000002	0.00051152	[920] Thread initialized 1136	
00000003	0.00797168	[920] Going to make final callback 1136	
00000004	0.00867652	[920] Thread has finished 1136	
00000005	4.21079271	[920] Node The Allman Brothers Band% starting.	
00000006	4.22854022	[920] Node The Allman Brothers Band% going to clear SongList.	
00000007	4.22998091	[920] Thread has started 1136	
00000008	4.23021250	[920] Thread registered, going to initialize 1136	
00000009	4.23045974	[920] Thread initialized 1136	
00000010	4.25493212	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000011	4.25518215	[920] 1136 DB lock successful.	
00000012	4.26296806	[920] 1136 DB lock finished, took 25950.	
00000013	4.26479567	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000014	4.27273075	[920] 1136 DB lock successful.	
00000015	4.27686480	[920] 1136 DB lock finished, took 20059.	
00000016	4.29315961	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000017	4.30051194	[920] 1136 DB lock successful.	
00000018	4.30176629	[920] 1136 DB lock finished, took 25030.	
00000019	4.30207471	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000020	4.30835260	[920] 1136 DB lock successful.	
00000021	4.32019153	[920] 1136 DB lock finished, took 21199.	
00000022	4.32047984	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000023	4.32788581	[920] 1136 DB lock successful.	
00000024	4.32924073	[920] 1136 DB lock finished, took 25204.	
00000025	4.32951199	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000026	4.33794686	[920] 1136 DB lock successful.	
00000027	4.35058003	[920] 1136 DB lock finished, took 28897.	
00000028	4.35086275	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000029	4.36027372	[920] 1136 DB lock successful.	
00000030	4.36231001	[920] 1136 DB lock finished, took 25558.	
00000031	4.36271481	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000032	4.36937879	[920] 1136 DB lock successful.	
00000033	4.38328195	[920] 1136 DB lock finished, took 22526.	
00000034	4.38356132	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000035	4.39314801	[920] 1136 DB lock successful.	
00000036	4.39450182	[920] 1136 DB lock finished, took 33098.	
00000037	4.39476442	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000038	4.40146304	[920] 1136 DB lock successful.	
00000039	4.41560869	[920] 1136 DB lock finished, took 22690.	
00000040	4.41587408	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000041	4.42350746	[920] 1136 DB lock successful.	
00000042	4.42480511	[920] 1136 DB lock finished, took 26090.	
00000043	4.42510319	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000044	4.43378279	[920] 1136 DB lock successful.	
00000045	4.44778177	[920] 1136 DB lock finished, took 29751.	
00000046	4.44804382	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000047	4.45775315	[920] 1136 DB lock successful.	
00000048	4.45897118	[920] 1136 DB lock finished, took 33529.	
00000049	4.45922205	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000050	4.46642101	[920] 1136 DB lock successful.	
00000051	4.47963666	[920] 1136 DB lock finished, took 23212.	
00000052	4.47997106	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000053	4.48778155	[920] 1136 DB lock successful.	
00000054	4.48904260	[920] 1136 DB lock finished, took 26680.	
00000055	4.48967341	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000056	4.49857091	[920] 1136 DB lock successful.	
00000057	4.50924768	[920] 1136 DB lock finished, took 30401.	
00000058	4.50955359	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000059	4.51925594	[920] 1136 DB lock successful.	
00000060	4.52073322	[920] 1136 DB lock finished, took 26556.	
00000061	4.52147522	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000062	4.52867026	[920] 1136 DB lock successful.	
00000063	4.54338415	[920] 1136 DB lock finished, took 24221.	
00000064	4.54368921	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000065	4.55331502	[920] 1136 DB lock successful.	
00000066	4.55457216	[920] 1136 DB lock finished, took 33275.	
00000067	4.55535690	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000068	4.56295619	[920] 1136 DB lock successful.	
00000069	4.57739377	[920] 1136 DB lock finished, took 25317.	
00000070	4.57768990	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000071	4.58546324	[920] 1136 DB lock successful.	
00000072	4.58676592	[920] 1136 DB lock finished, took 26201.	
00000073	4.58725453	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000074	4.63668595	[920] 1136 DB lock successful.	
00000075	4.66075996	[920] 1136 DB lock finished, took 39206.	
00000076	4.66552704	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000077	4.68061611	[920] 1136 DB lock successful.	
00000078	4.68610843	[920] 1136 DB lock finished, took 29335.	
00000079	4.69105096	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000080	4.70442361	[920] 1136 DB lock successful.	
00000081	4.72116931	[920] 1136 DB lock finished, took 25708.	
00000082	4.72524329	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000083	4.73658999	[920] 1136 DB lock successful.	
00000084	4.74322435	[920] 1136 DB lock finished, took 26060.	
00000085	4.74703656	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000086	4.75750465	[920] 1136 DB lock successful.	
00000087	4.82406228	[920] 1136 DB lock finished, took 23708.	
00000088	4.82703863	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000089	4.83737095	[920] 1136 DB lock successful.	
00000090	4.84320996	[920] 1136 DB lock finished, took 25687.	
00000091	4.84599216	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000092	4.85806772	[920] 1136 DB lock successful.	
00000093	4.87338056	[920] 1136 DB lock finished, took 32578.	
00000094	4.87590490	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000095	4.90580423	[920] 1136 DB lock successful.	
00000096	4.90703064	[920] 1136 DB lock finished, took 33243.	
00000097	4.90970277	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000098	4.91627819	[920] 1136 DB lock successful.	
00000099	4.93165724	[920] 1136 DB lock finished, took 22076.	
00000100	4.93192794	[920] 1136 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000101	4.94154034	[920] 1136 DB lock successful.	
00000102	4.94268322	[920] 1136 DB lock finished, took 33285.	
00000103	4.94301008	[920] 1136 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000104	4.94947123	[920] 1136 DB lock successful.	
00000105	5.03049186	[920] 1136 DB lock finished, took 21898.	
00000106	5.04024897	[920] Going to make final callback 1136	
00000107	5.04156366	[920] Thread has finished 1136	
00000108	30.00367980	[920] Thread has started 820	
00000109	30.00392899	[920] Thread registered, going to initialize 820	
00000110	30.00416282	[920] Thread initialized 820	
00000111	30.01408335	[920] Going to make final callback 820	
00000112	30.01478624	[920] Thread has finished 820	
00000113	35.75583042	[920] 0 DB open SQL: SELECT Songs.*, Artists.Artist, Albums.Album, AlbArt.Id as IDAlbArt, AlbArt.Artist as AlbArt 	
00000114	35.75583042	[920] FROM Songs, Artists, Albums, Artists AlbArt 	
00000115	35.75583042	[920] WHERE Songs.IDAlbum=Albums.ID AND Songs.IDArtist=Artists.ID AND AlbArt.ID=Albums.IDArtist 	
00000116	35.75583042	[920] AND Songs.IDMedia = 54 AND UCASE(Songs.SongPath) = UCASE(':\My Music\The Allman Brothers Band%\The Allman Brothers Band - Ramblin'' Man.ogg') 	
00000117	35.81341427	[920] 0 DB lock successful.	
00000118	35.82527723	[920] 0 DB lock finished, took 203145.	
00000119	35.82554962	[920] 0 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000120	35.83310616	[920] 0 DB lock successful.	
00000121	35.83433258	[920] 0 DB lock finished, took 25892.	
00000122	35.83460943	[920] 0 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000123	35.84157037	[920] 0 DB lock successful.	
00000124	35.90889512	[920] 0 DB lock finished, took 22212.	
00000125	35.97757285	[920] Going to play file: C:\My Music\The Allman Brothers Band%\The Allman Brothers Band - Ramblin' Man.ogg	
00000126	35.97793826	[920] Plugin C:\Program Files\Songs-DB\Plugins\in_vorbis.dll can play C:\My Music\The Allman Brothers Band%\The Allman Brothers Band - Ramblin' Man.ogg	
00000127	35.97814359	[920] Going to start playback.	
00000128	35.99284602	[920] Really starting the playback.	
00000129	36.83368948	[920] Thread has started 1200	
00000130	36.83393057	[920] Thread registered, going to initialize 1200	
00000131	36.83415741	[920] Thread initialized 1200	
00000132	36.83481001	[920] 1200 DB open SQL: SELECT Songs.*, Artists.Artist, Albums.Album, AlbArt.Id as IDAlbArt, AlbArt.Artist as AlbArt 	
00000133	36.83481001	[920] FROM Songs, Artists, Albums, Artists AlbArt 	
00000134	36.83481001	[920] WHERE Songs.IDAlbum=Albums.ID AND Songs.IDArtist=Artists.ID AND AlbArt.ID=Albums.IDArtist 	
00000135	36.83481001	[920] AND Songs.IDMedia = 54 AND UCASE(Songs.SongPath) = UCASE(':\My Music\The Allman Brothers Band%\The Allman Brothers Band - Ramblin'' Man.ogg') 	
00000136	36.83508239	[920] 1200 DB lock successful.	
00000137	36.92103885	[920] 1200 DB lock finished, took 306352.	
00000138	36.93921378	[920] 1200 DB open SQL: SELECT * FROM Artists WHERE UCASE( Artist) = UCASE( 'The Allman Brothers Band') 	
00000139	36.93945767	[920] 1200 DB lock successful.	
00000140	36.95148182	[920] 1200 DB lock finished, took 41895.	
00000141	36.95270181	[920] 1200 DB open SQL: SELECT * FROM Albums WHERE IDArtist = -1 AND UCASE( Album) = UCASE( 'The Best Of The Allman Brothers') 	
00000142	36.95342173	[920] 1200 DB lock successful.	
00000143	36.96084335	[920] 1200 DB lock finished, took 25211.	
00000144	36.96914831	[920] Going to make final callback 1200	
00000145	36.97143967	[920] Thread has finished 1200	
00000146	52.18356160	[920] DSP - Check if module is active.	
00000147	52.18385745	[920] DSP - Check if module is active.	
00000148	52.20868434	[920] DSP - Check if module is active.	
00000149	60.01584140	[920] Thread has started 1436	
00000150	60.01607690	[920] Thread registered, going to initialize 1436	
00000151	60.01648869	[920] Thread initialized 1436	
00000152	60.02428018	[920] Going to make final callback 1436	
00000153	60.02497720	[920] Thread has finished 1436	
00000154	60.66296107	[920] DSP - Going to set module C:\Program Files\Songs-DB\Plugins\dsp_pacemaker.dll Active	
00000155	60.66430147	[920] DSP - Going to update DSP module list.	
00000156	60.71120240	[920] DSP - Module list updated.	
00000157	60.71155887	[920] DSP - AdjustDSPModulesOrder started.	
00000158	60.71206508	[920] DSP - Going to update DSP module list.	
00000159	60.73518478	[920] DSP - Module list updated.	
00000160	60.75008891	[920] DSP - AdjustDSPModulesOrder finished.	
00000161	60.81795815	[920] DSP - SetDSPModuleActive finished.	
crash_ogg_with_pacemaker.txt (13,181 bytes)   
Fixed in build

Activities

jiri

2003-06-12 10:02

administrator   ~0001461

Fixed in build 505.
 - Was caused by a bug in in_dsmp3.dll and in_dswm.dll.

rusty

2003-06-13 02:45

administrator   ~0001498

Tested in 505 and the problem still consistently occurs.

Note: after retesting with sdb 1.4 build 503, I found that it also occurs in that build, so it's possible that it's a problem that's existed all along. I also tested the plugin with winamp, and found that it's rock-solid on WA.

jiri

2003-06-13 09:24

administrator   ~0001503

Fixed in build 506.
 - The last fix was only in in_dsmp3 and in_dswm.dll
 - Now I fixed another thing the could cause crashes.
 - There still can appear some problems with some settings of the plug-in (I was able to reproduce it in WinAmp, input plug-in in_vorbis.dll (=ogg), Tempo and Speed set to minimum). This is related mainly to the WinAmp's plug-in architecture and the implementation by input plug-ins, it isn't error on Songs-DB side.

rusty

2003-06-13 13:04

administrator   ~0001517

It still crashes by enabling/disabling it 2-3 times (which I have _not_ been able to do in WA).

jiri

2003-06-24 14:10

administrator   ~0001587

I wan't able to reproduce it, some question that may help to solve it:
 - does it crash even when audio doesn't play?
 - does it crash with any input plug-in?
 - does it crash during activation or deactivation?

Btw, I made a small change in build 508 that could have fix it, but I'm not sure.

rusty

2003-06-25 02:42

administrator   ~0001599

Tested this again in build 508 and the bug still occurs, but I have a bit more info:
-The bug doesn't occur when audio isn't playing
-The bug occurs on activation (not deactivation)
-The bug occurs with the MP3 plugin as previously described
-The bug occurs even more easily with OGG: all the user has to do is activate the pacemaker plug-in and Songs-DB immediately crashes.
-The bug occurs independently of what output plug-in is used.

jiri

2003-06-25 07:39

administrator   ~0001612

I'm still unable to reproduce it, but I added a couple of debug messages, so please send me a log from build 509.

Btw, I suppose it happens with all values (pitch, ...) reset to zero. Does this problem appear with other DSP plug-ins as well?

rusty

2003-06-25 17:19

administrator   ~0001623

I'm attaching a log from build 509. Here's the explanation of the log:

1-107: Navigated to My Computer/.../The Allman Brothers
112-145: Double-clicked Ramblin' Man (ogg file) to play it
   -161: Enabled pacemaker and observed crash

Note: This occurs even if the Pacemaker settings are left at their defaults (i.e. no change in pitch/tempo).

jiri

2003-06-26 14:21

administrator   ~0001634

Fixed in build 510.
 - I found a problem, which could cause troubles when more than one DSP plug-in was enabled.
 - However, it doesn't fix the original Pacemaker plug-in, I played quite a long time and postponed it, because I wasn't able to reproduce the original problem and found that there is something wrong in the combination in_vorbis.dll and dsp_pacemaker.dll - I tried it in the latest WinAmp (with its own in_vorbis.dll) and both pacemaker 1.23 and 1.30rc2 are very unstable in this case - it's enough to move any slider a bit and it crashes in few seconds. It seemed to be stable with WinAmp's in_mp3.dll.

rusty

2003-06-27 12:15

administrator   ~0001653

Ok, leaving this as an open 'low' priority issue, so we don't lose track.

rusty

2004-11-22 03:14

administrator   ~0004770

There's been some discussion about this problem in the forums:
http://www.songs-db.com/forum/viewtopic.php?t=1611

I tested with Pacemaker v2.02 and MM 2.3.1.811 and the crash still occurs consistently.

rusty

2004-12-23 16:18

administrator   ~0004981

Raising priority, due to the recent feedback in the forums. Since this doesn't involve UI, it may be something we can tackle during the localization phase.