View Issue Details

IDProjectCategoryView StatusLast Update
0000518MMW v4Playerpublic2014-02-17 10:14
Reporterrusty Assigned To 
PriorityurgentSeveritycrashReproducibilityalways
Status feedbackResolutionreopened 
Target Version4.1.1 
Summary0000518: App crashes on exit (when SQR controller is enabled)
DescriptionIf gen_acf.dll is enabled, then SDB crashes on exit in build 509 (independent of whether or not the sqr output plug-in is active).

Log attached.
TagsNo tags attached.
Attached Files
crash_on_exit_with_sqr_controller.txt (3,561 bytes)   
00000000	0.00000000	[288] WM_CLOSE received.	
00000001	0.00027797	[288] We were asked to finish.	
00000002	0.00170916	[288] We are really going to finish.	
00000003	0.04272079	[288] Terminate auto-scanning.	
00000004	0.04552143	[288] Termination of all threads started.	
00000005	0.04577258	[288] There is currently 0 threads running.	
00000006	0.04594215	[288] All threads were asked to terminate.	
00000007	0.04611508	[288] All threads really terminated.	
00000008	0.04627907	[288] Termination of all threads finished.	
00000009	0.04650228	[288] Going to save the main playlist.	
00000010	0.04965938	[288] Going to write settings.	
00000011	1.12131458	[288] Going to free playlist window.	
00000012	1.19977036	[288] Going to free player.	
00000013	1.19998547	[288] Going to remove player plugins object.	
00000014	1.20020561	[288] Going to quit general plugin C:\Program Files\Songs-DB\Plugins\gen_acf.dll	
00000015	1.20986969	[288] Going to quit output plugin C:\Program Files\Songs-DB\Plugins\OUT_XF.DLL	
00000016	1.21009039	[288] Going to unload C:\Program Files\Songs-DB\Plugins\OUT_XF.DLL	
00000017	1.21052117	[288] Going to quit output plugin C:\Program Files\Songs-DB\Plugins\out_wave.dll	
00000018	1.21085641	[288] Going to unload C:\Program Files\Songs-DB\Plugins\out_wave.dll	
00000019	1.21125143	[288] Going to quit output plugin C:\Program Files\Songs-DB\Plugins\out_sqr.dll	
00000020	1.28787877	[288] Going to unload C:\Program Files\Songs-DB\Plugins\out_sqr.dll	
00000021	1.30569332	[288] Going to quit output plugin C:\Program Files\Songs-DB\Plugins\out_ds.dll	
00000022	1.30620819	[288] Going to unload C:\Program Files\Songs-DB\Plugins\out_ds.dll	
00000023	1.31600134	[288] Going to quit input plugin C:\Program Files\Songs-DB\Plugins\in_wave.dll	
00000024	1.31646033	[288] Going to unload C:\Program Files\Songs-DB\Plugins\in_wave.dll	
00000025	1.31713668	[288] Going to quit input plugin C:\Program Files\Songs-DB\Plugins\in_vorbis.dll	
00000026	1.31791527	[288] Going to unload C:\Program Files\Songs-DB\Plugins\in_vorbis.dll	
00000027	1.31822815	[288] Going to quit input plugin C:\Program Files\Songs-DB\Plugins\in_mad.dll	
00000028	1.31871928	[288] Going to unload C:\Program Files\Songs-DB\Plugins\in_mad.dll	
00000029	1.31893886	[288] Going to quit input plugin C:\Program Files\Songs-DB\Plugins\in_dswm.dll	
00000030	1.31946826	[288] Going to unload C:\Program Files\Songs-DB\Plugins\in_dswm.dll	
00000031	1.31975014	[288] Going to quit input plugin C:\Program Files\Songs-DB\Plugins\in_CDReader.dll	
00000032	1.32108606	[288] Going to unload C:\Program Files\Songs-DB\Plugins\in_CDReader.dll	
00000033	1.32141487	[288] Going to quit input plugin C:\Program Files\Songs-DB\Plugins\in_APE.dll	
00000034	1.32203674	[288] Going to unload C:\Program Files\Songs-DB\Plugins\in_APE.dll	
00000035	1.32225520	[288] Going to remove player scanning object.	
00000036	1.32263933	[288] Going to remove player entries.	
00000037	1.32286897	[288] Going to free format plugins.	
00000038	1.32406465	[288] Going to unload C:\Program Files\Songs-DB\Plugins\f_ogg.dll	
00000039	1.32449906	[288] Going to free VTmanager and Destroyer.	
00000040	1.32469071	[288] Going to free playlist structure.	
00000041	1.32488291	[288] Going to hide equalizer.	
00000042	1.33010955	[288] Going to free all remaining structures.	
00000043	1.33246767	[288] DB - Going to Close.	
00000044	1.36524391	[288] DB - Closed.	
00000045	1.36545539	[288] WM_QUIT received.	
00000046	1.36850829	[288] Going to finish application.	
Fixed in build

Activities

jiri

2003-07-04 18:02

administrator   ~0001782

I haven't been able to reproduce it. It's the plug-in that seems to be a bit buggy - e.g. when it is in the plugins folder and out_sqr.dll isn't, there is a crash during app start-up (in SDB and in WinAmp).

rusty

2003-07-07 15:11

administrator   ~0001822

Last edited: 2003-07-07 15:13

I've been trying to get to the bottom of this, and I think it may have to do with a problem with the output plugin rather than the general plug-in (I'm not sure though).

I've tested the sqrsoft output plug-in on three different machines:
1) Works but crashes on exit when the ACF controller is used
2) It crashes as soon as the user tries to configure the plugin (regardless of whether or not ACF controller is installed)
3) Same as 2)

On the latter 2 machines, the bug occurs as follows:
-select the sqrsoft output plugin and make it active
-click the configure button
-->'Invalid floating pointer operation'
-->then, 'Access violation error'
-->at this point, SDB is unresponsive (or a dialog has appeared and there's no access to it--perhaps that's related to the problem?!?)
-Right click the SDB tray icon and click 'close'
-->then another error message appears 'Songs-db has generated errors and will be closed by Windows'

Note: on all three machines, these errors do not occur with WinAmp.
Note: machines 2 and 3 are laptops with 1024x768 resolution, both running w2k (I doubt this is relevant, but just in case...).

The attached trace is from machine #2:
1-78: Startup
79-80: Click 'Configure' for the sqr output plug-in
81-end: Close SDB via right click of tray icon

edited on: 07-07 11:13

jiri

2003-07-08 11:22

administrator   ~0001835

I have tried it, but it seems I can do nothing here, the bug is in the plug-in. It is definitely triggered by something in SDB, which isn't incorrect, but unexpected for the plug-in and doesn't handle it. If you have some contact to the developers, we can asked them to look at it (I think it will be quite simple for them to locate the problem), but from my side it would require very long time and the result is doubtful.

rusty

2003-07-09 17:16

administrator   ~0001852

Re-opening and assigning to Rusty to see if the authors can fix it.

peke

2004-05-21 18:34

developer   ~0004186

Well problem is in Plugin as plugin do not destroy Form

Note To Jiri: in General plugin Quit Function there is no Destroy only Close.
 When DLL loaded and those two are executed:
  Application.CreateForm(TMainForm, MainForm);
  MainForm.ParentWindow := Plugin.hwndParent; // Set Winamp/MM as ParentWindow

 Quit Function must have
   MainForm.Destroy;
 Not Only
   MainForm.Close;

Bug Only exists in some cases under win9x, but allways under XP

rusty

2004-06-08 13:56

administrator   ~0004286

Note: in testing various plugins, it appears that this occurs in many other alarm plugins and in global hotkey plugins.

peke

2004-06-14 21:40

developer   ~0004289

If needed ican provide example of both cases.

rusty

2014-02-15 23:59

administrator   ~0039620

I just experienced this 'Invalid pointer operation' on close with build 1692. No special plugins installed or enabled.

Elog submitted.

Ludek

2014-02-17 10:14

developer   ~0039628

Last edited: 2014-02-17 10:14

Rusty, the original report is 10 years old and I doubt that it is related, why do you think so?

Did you really sent the ELF, I haven't found any from you. Could you attach it?