Bugs item #2818573, was opened at 2009-07-08 14:28
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536845&aid=2818573&group_id=73133

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: taskBarIconDelete segfaults when you use it twice

Initial Comment:
Sorry for the unconventional bug report, but I posted this to the mailing list 
wxhaskell-user before I discovered this bug-tracker:

I've discovered that taskBarIconDelete crashes when you use it twice. I first 
encountered this on Windows when I used it in the "on close" attribute for 
removing the icon when I close the program. I then tried to reproduce this on 
Linux and it first seemed to be a Windows-only problem. But when I removed the 
"propagateEvent" on Linux I couldn't close my program the first time, only the 
icon was deleted. The second time I tried to close the program it segfaulted.
I first thought it correlated with the use of evtHandlerOnTaskBarIconEvent, 
because removing this seemed to fix everything. (maybe this is an uncorrelated, 
second, bug?) 
But then I thought by myself: It doesn't make sense that the program crashes on 
Linux on the second close attempt.
So wrote a minimal example to try out what happens when I delete the 
taskbar-icon more than one time. And it segfaulted, like I expected. On
both, Linux and Windows.
When I delete it once, I can close my application afterwards successfully. When 
I delete it twice, it segfaults.

Here are the environments I tested my program in:
    * Windows XP using GHC 6.10.3 with wx-0.11.1.2 with wxWidgets-2.8.10
    * Ubuntu 9.04 using GHC 6.10.3 with wx-0.11.1.2 with wxWidgets-2.8.9.1

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536845&aid=2818573&group_id=73133

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to