Share

Win32::GUI

Tracker: Bugs

5 Crash with menu system under Perl 5.10 - ID: 1941264
Last Update: Tracker Item Submitted ( jwgui )

I am getting a crash when using Perl 5.10 and Win32::GUI 1.6. The same
application doesn't crash under 5.8.7 or 5.8.8. I've tracked down the
"problem", but I'm not convinced it's the actual underlying issue. The
crash was occurring at:

GUI_Helpers.cpp line 757 proc WindowsHookMsgProc

When I was selecting from the main menu of the application. The problem is
the line:

arrayref = av_fetch(perlud->avHooks, WM_TRACKPOPUP_MSGHOOK, 0);

where:

perlud->avHooks

contains zero (NULL)

Simply adding:

if (perlud->avHooks !=NULL ) {

before the call to the av_fetch stops the crash and the application runs
normally.


jw ( jwgui ) - 2008-04-13 09:47

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.