Export to GitHub

miranda - issue #1621

Miranda32.exe - still open proces after exiting


Posted on Aug 21, 2012 by Massive Bird

Miranda Version : 0.10.1.0 Unicode Build : Yes Test Build # (if applicable) : Plugin Version # (if applicable) :

What steps will reproduce the problem? 1.Close Miranda 2.See in task manager miranda32.exe or try run miranda again 3.

What is the expected result? After closing miranda, process are closed also.

What happens instead? Process is still open

[quote][size=1]CPU: AMD Athlon(tm) II X3 455 Processor [AMD64 Family 16 Model 5 Stepping 3] [DEP Enabled] [3 CPUs] Installed RAM: 4096 MBytes Operating System: Microsoft Windows 7 Business Edition, 64-bit Service Pack 1 (build 7601) Internet Explorer: 9.0.8112.16421 (build 98112) Administrator privileges: Yes OS Languages: (UI | Locale (User/System)) : Polish/Polish | Polish/Polish Free disk space on Miranda partition: 211072 MBytes

Miranda IM Version: 0.10.1.0 Unicode [running inside WOW64] Build time: 2012-08-19 06:11:43+0200 Profile: C:\Users\przybycinf\Dropbox\Kopie ustawien\Miranda\Program praca\Profil\fp_praca\fp_praca.dat Profile size: 2031616 Bytes Profile creation date: 2012-08-21 08:31:09+0200 Language pack: Polish (PL) [0415] Nightly: No Unicode: Yes Service Mode: No

[b]Active Plugins (17):[/b] ¤ advaimg.dll v.[b]0.10.0.8[/b] [2012-07-19 04:36:36+0200] - Miranda Image services ¤ avs.dll v.[b]0.10.1.0[/b] [2012-08-19 06:10:36+0200] - Avatar service (Unicode) |Unicode aware| ¤ clist_nicer.dll v.[b]0.9.2.1[/b] [2012-07-19 04:37:26+0200] - CList Nicer+ (Unicode) |Unicode aware| dbeditorpp.dll v.[b]3.1.3.6[/b] [2006-08-05 11:59:54+0200] - Database Editor++ ¤ dbx_mmap.dll v.[b]0.10.1.0[/b] [2012-08-19 06:10:55+0200] - Miranda mmap database driver |Unicode aware| ¤ facebook.dll v.[b]0.0.9.0[/b] [2012-06-13 09:05:20+0200] - Facebook Protocol RM |Unicode aware| ¤ GG.dll v.[b]0.10.1.0[/b] [2012-08-19 06:10:02+0200] - Gadu-Gadu Protocol ¤ historypp.dll v.[b]1.5.1.4[/b] [2010-02-23 19:16:24+0200] - History++ (2in1) |Unicode aware| ¤ import.dll v.[b]0.10.1.0[/b] [2012-08-19 06:11:09+0200] - Import contacts and messages |Unicode aware| ¤ jabber.dll v.[b]0.10.1.0[/b] [2012-08-19 06:11:24+0200] - Jabber Protocol |Unicode aware| ¤ KeepStatus.dll v.[b]0.8.0.97[/b] [2011-04-01 15:56:10+0200] - KeepStatus (Unicode) |Unicode aware| ¤ mTextControlW.dll v.[b]0.8.0.1[/b] [2011-10-20 08:38:24+0200] - Miranda Text Control (Unicode) |Unicode aware| ¤ PopUpW.dll v.[b]2.1.1.6[/b] [2011-10-20 08:38:26+0200] - PopUp Plus (Unicode) |Unicode aware| ¤ spellcheckerW.dll v.[b]0.2.5.0[/b] [2009-11-21 17:23:16+0200] - Spell Checker |Unicode aware| ¤ svc_crshdmp.dll v.[b]0.0.4.21[/b] [2012-04-11 11:22:41+0200] - Crash Dumper Unicode |Unicode aware| ¤ tabsrmm.dll v.[b]3.1.99.8[/b] [2012-07-19 04:39:22+0200] - TabSRMM (Unicode) |Unicode aware| ¤ WhenWasIt.dll v.[b]0.3.2.5[/b] [2010-05-19 11:59:48+0200] - WhenWasIt birthday reminder (Unicode) |Unicode aware|

[b]Protocols and Accounts:[/b]

Facebook 1 - Enabled 0 - Disabled Loaded GG 1 - Enabled 0 - Disabled Loaded JABBER 2 - Enabled 0 - Disabled Loaded

[b]Icon Packs:[/b]

flags.dll [2007-10-27 00:02:26+0200] historypp_icons.dll [2010-02-23 19:16:26+0200] proto_conn_facebook.dll [2011-06-08 14:13:18+0200] proto_facebook.dll [2012-03-16 08:57:12+0200] proto_GG.dll [2010-06-08 17:20:26+0200] proto_JABBER.dll [2010-06-08 17:20:26+0200] tabsrmm_icons.dll [2012-04-24 23:34:56+0200] toolbar_icons.dll [2012-04-24 23:34:55+0200] xstatus_jabber.dll [2012-04-24 23:35:10+0200] [/size][/quote]

Comment #1

Posted on Aug 21, 2012 by Helpful Rhino

Same issue on x64 version.

Comment #2

Posted on Aug 23, 2012 by Swift Rhino

the same issue on intel processor, please fix it asap

Comment #3

Posted on Aug 25, 2012 by Swift Rhino

Are your sure you closed Miranda or just the contact list? Can you try to run dbtool on you database and can you try with an clean installation?

Comment #4

Posted on Aug 27, 2012 by Massive Bird

On new installation it's no problem.

I made some tests and found that problem was with GG plugin (GaduGadu) and newest miranda versions. After disable this plugin, miranda proces close normally.

Comment #5

Posted on Aug 27, 2012 by Helpful Lion

Mine remains running after reporting a crash, which is described in details in http://code.google.com/p/miranda/issues/detail?id=1607#c1)

Comment #6

Posted on Aug 31, 2012 by Happy Dog

From my experience, Miranda does not terminate properly since 0.10.0.0 provided the GG plugin has signed in at least once.

Comment #7

Posted on Sep 6, 2012 by Quick Bear

I don't use GaduGadu (don't even have dll in Miranda/plugins) but still experience "process remains after Exit" issue from time to time. Approximately 4 out of 5 times I exit Miranda.

Comment #8

Posted on Sep 14, 2012 by Quick Kangaroo

There is a dead lock in gg/miranda. I made a quick look at the code. This is what happens:

  1. GG receive EV_PROTO_ONEXIT event.
  2. GG is calling gg_uninitavatarrequestthread() which reset dwThreadId of avatar request task (GG/Avatar).
  3. GG is waiting for GG/Avatar to finish. This is infinite wait on main thread.
  4. GG/Avatar happens to be in a middle of request and calls DBWriteContactSettingByte()
  5. DBWriteContactSettingByte() lead to call to NotifyEventHooks()
  6. NotifyEventHooks() redirect call to main thread if it is called from other one (this is the case)
  7. NotifyEventHooks() waits for queued event to finish.

As a result main thread waits for GG to finish, GG waits for main thread to handle an event.

Comment #9

Posted on Sep 19, 2012 by Helpful Cat

(No comment was entered for this change.)

Comment #10

Posted on Sep 24, 2012 by Grumpy Wombat

So, any resolution? I've never signed in to GG!

Comment #11

Posted on Sep 26, 2012 by Quick Kangaroo

I wish it to be easy. Problem is related to event queue. I thought about putting whole GG instance in separate thread, but if I do plugins need a more intelligent way to finalize themselves. In UninitializeStaticAccounts() after calling OnEvent(EV_PROTO_ONREADYTOEXIT) event queue should be processed until all protocols report they're ready to exit. Then will be safe to call OnEvent(EV_PROTO_ONREADYTOEXIT). Should work assuming event queue will not block.

Comment #12

Posted on Sep 26, 2012 by Grumpy Bear

Sorry for the silence... I believe I will find time over the weekend to finally settle this issue.

Comment #13

Posted on Sep 26, 2012 by Happy Hippo

My miranda version is newest Miranda IM version: 0.10.4.0 Unicode and after closing miranda system has problem with close too. During this closing it`s shows the message " ending the program History++ Main window..." ¤ GG.dll v.[b]0.10.4.0[/b] [25 Sep 2012] - Gadu-Gadu Protocol ¤ historypp.dll v.[b]1.5.1.4[/b] [23 Feb 2010] - History++ (2in1)

Attachments

Comment #14

Posted on Oct 21, 2012 by Happy Hippo

It seems to be solved with newest version miranda-im-v0.10.5.

Comment #15

Posted on Oct 21, 2012 by Happy Hippo

Sorry, the situation is nearly the same. Only one notice: only if Gadu-Gadu account is not connected miranda process closes properly. Temporary solution : disconnect Gadu-Gadu and then close Miranda.

Comment #16

Posted on Nov 6, 2012 by Grumpy Bear

(No comment was entered for this change.)

Comment #17

Posted on Dec 11, 2012 by Happy Rhino

I just installed ver. 10.9.0 bug still exists. Database files are locked by system, after choosing exit. I may provide log (if such exists) and more info if needed. For me selecting Offline before close do not ends process.

Comment #18

Posted on Jan 5, 2013 by Massive Ox

Guys, it's really annoying... Is there any chance it will be fixed anytime soon? 5 months is long enough to start looking for alternative to Miranda, I guess...

Comment #19

Posted on Feb 15, 2013 by Swift Ox

Same here, I have to kill miranda process manually every time atfer closing program

Comment #20

Posted on Mar 25, 2013 by Helpful Lion

Confirmed. Problem can be bypassed by disconnecting (ctrl+0) before quitting, but that's tedious.

Comment #21

Posted on Jun 23, 2013 by Massive Monkey

Miranda 10.13.0 Unicode, used on Windows XP SP3 and Windows 7 SP1. The same problem occurs. Although logging out from GG network helps it can't be treated as a solution to this issue.

I've attached VesrionInfo file.

Attachments

Comment #22

Posted on Jul 1, 2013 by Happy Bear

please fix this or we will be forced to stop using Miranda ;(

Comment #23

Posted on Aug 9, 2013 by Happy Kangaroo

Very annoying. Unable to start miranda - need to restart Windows. It should be High priority, not medium!

Attachments

Comment #24

Posted on Aug 12, 2013 by Happy Bird

You don't need to restart Windows. Just kill Miranda process from Task manager and start Miranda.

Comment #25

Posted on Dec 21, 2013 by Happy Cat

So that's a known issue.

Disconnecting GG works for me, but I'm not planning to do that...

Still no fix?

Comment #26

Posted on Dec 22, 2013 by Happy Kangaroo

Comment deleted

Comment #27

Posted on Dec 22, 2013 by Happy Kangaroo

I got notification about a new comment in this topic and realized that I've actually stopped using Miranda because of that problem. I was using it for at least 5 years.

Comment #28

Posted on Feb 4, 2014 by Grumpy Rhino

I moved to WTW about year ago, because of this issue. Now I came back with hope that something changed but there is still no fix. In comment number #8 you can find a reason why problem occurs.

Comment #29

Posted on Mar 9, 2014 by Swift Rhino

Last non affected version of miranda is 0.9.52

Status: Started

Labels:
Type-Bug Priority-Medium Component-Protocol-GaduGadu