Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

PBSHR125.dll crash

10 posts in General Discussion Last posting was on 2013-03-25 16:08:34.0Z
jmv Posted on 2013-03-11 10:57:07.0Z
Sender: 339f.513db59f.1804289383@sybase.com
From: jmv
Newsgroups: sybase.public.powerbuilder.general
Subject: PBSHR125.dll crash
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <513db882.346d.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 11 Mar 2013 02:57:07 -0800
X-Trace: forums-1-dub 1362999427 172.20.134.41 (11 Mar 2013 02:57:07 -0800)
X-Original-Trace: 11 Mar 2013 02:57:07 -0800, 172.20.134.41
Lines: 198
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249860
Article PK: 1308246

Thank you in advance for your help.

I am running PB 12.5 Build 2511 on Windows7 32bit 4GBRAM
machine.

My mdi app exe and dev environment code is crashing. In
debug it shows PBSHR125.dll as the culprit.

The app crashes when I open a specific window and then close
the window using the X option.

The specific window is inherited from a w_edit window that
calls the w_main.PostEvent("InitMenu") event on close. The
"InitMenu" even simply disables and enables a few menu
options.

What could the possible issue be?

Below is the call stack that displays when I debug the
crash.

> PBSHR125.DLL!10bf0199()
[Frames below may be incorrect and/or missing, no symbols
loaded for PBSHR125.DLL]
kernel32.dll!7757c3d4()
rica1Igr.dll!52a4280d()
rica1Igr.dll!52a3fe62()
gdi32.dll!773d21a8()
gdi32.dll!773d218d()
user32.dll!777a14bc()
user32.dll!77780ab9()
ntdll.dll!7766d0da()
ntdll.dll!776853ae()
PBSHR125.DLL!10bef629()
PBSHR125.DLL!10bef7c9()
PBSHR125.DLL!10bef629()
user32.dll!777843ea()
user32.dll!7778443d()
user32.dll!7778445e()
comctl32.dll!74269e81()
comctl32.dll!74269d97()
user32.dll!7778c4e7()
user32.dll!7778c641()
user32.dll!77781b31()
user32.dll!77781b57()
PBSHR125.DLL!10b92fb1()
PBVM125.DLL!0057398e()
PBVM125.DLL!00548fc3()
user32.dll!7778c4e7()
user32.dll!7778c5e7()
user32.dll!7778c590()
user32.dll!77781b31()
user32.dll!77781b57()
PBVM125.DLL!004f335c()
PBVM125.DLL!004f2fb9()
PBVM125.DLL!00429b62()
user32.dll!7778c4e7()
user32.dll!7778c5e7()
user32.dll!7778c590()
user32.dll!77784f0e()
user32.dll!77784f7d()
ntdll.dll!77656fce()
user32.dll!77784ec3()
user32.dll!7777b300()
user32.dll!777a2319()
user32.dll!777a233b()
user32.dll!7778c4e7()
user32.dll!7778c5e7()
user32.dll!7778c590()
user32.dll!77781b31()
user32.dll!77781b57()
PBSHR125.DLL!10b92fb1()
user32.dll!7778c4e7()
user32.dll!7778c4e7()
user32.dll!7778c5e7()
user32.dll!7778c590()
user32.dll!77781b31()
user32.dll!77781b57()
PBVM125.DLL!0042c76d()
user32.dll!7778c4e7()
user32.dll!7778c5e7()
user32.dll!7778c590()
user32.dll!77785294()
user32.dll!77785582()
user32.dll!777b39b8()
user32.dll!777a42e0()
user32.dll!777a42e0()
user32.dll!777a1501()
user32.dll!7778c4e7()
user32.dll!7778c641()
user32.dll!77781b31()
user32.dll!77781b57()
PBSHR125.DLL!10b955c3()
user32.dll!7778c4e7()
user32.dll!7778c5e7()
user32.dll!7778c590()
user32.dll!77784f0e()
user32.dll!77784f7d()
ntdll.dll!77656fce()
user32.dll!77784ec3()
user32.dll!77784f51()
user32.dll!7778517d()
user32.dll!7778c590()
user32.dll!7778c641()
user32.dll!77781b31()
user32.dll!77781b57()
user32.dll!7778c4e7()
user32.dll!7778c641()
user32.dll!77784f0e()
user32.dll!77784f7d()
user32.dll!77784f7d()
ntdll.dll!77656fce()
user32.dll!77784ec3()
user32.dll!77784f51()
user32.dll!7778517d()
user32.dll!7779f630()
user32.dll!777a1ec6()
user32.dll!7778c4e7()
user32.dll!7778c641()
user32.dll!77781b31()
user32.dll!77781b57()
PBSHR125.DLL!10b92fb1()
user32.dll!7778c4e7()
user32.dll!7778c4e7()
user32.dll!7778c641()
user32.dll!7778c590()
user32.dll!7778c641()
user32.dll!77781b31()
user32.dll!77781b57()
PBSHR125.DLL!10b955c3()
user32.dll!7778c4e7()
user32.dll!7778c5e7()
user32.dll!7778c590()
user32.dll!7778cc19()
user32.dll!7778cc70()
PBVM125.DLL!00466629()
PBVM125.DLL!0051c71a()
PBVM125.DLL!00523737()
PBVM125.DLL!004681dd()
PBVM125.DLL!004667da()
kernel32.dll!7757c3d4()
GdiPlus.dll!749e726b()
GdiPlus.dll!749c586b()
GdiPlus.dll!749d862f()
PBSHR125.DLL!10bc0e90()
PBSHR125.DLL!10bbff81()
PBVM125.DLL!004945cd()
user32.dll!7778c4e7()
user32.dll!777861ef()
user32.dll!777a41d0()
user32.dll!77781b31()
user32.dll!77781b57()
PBSYS125.DLL!1061ac18()
gdi32.dll!773c899f()
gdi32.dll!773c892d()
gdi32.dll!773c898a()
user32.dll!7778c4e7()
user32.dll!7778c5e7()
user32.dll!7778c590()
user32.dll!77785294()
user32.dll!77785582()
PBSYS125.DLL!1061c4ce()
PBSYS125.DLL!1061ffed()
GdiPlus.dll!74a3a2be()
gdi32.dll!773cf4db()
gdi32.dll!773cf4c4()
GdiPlus.dll!74a3f9b2()
GdiPlus.dll!749f70db()
GdiPlus.dll!74a4f37d()
GdiPlus.dll!74a42a07()
GdiPlus.dll!749f8129()
kernel32.dll!7757c3d4()
GdiPlus.dll!749e726b()
GdiPlus.dll!749d862f()
PBSHR125.DLL!10bc0e90()
PBVM125.DLL!004888fc()
user32.dll!7778c4e7()
user32.dll!7778c641()
user32.dll!77784f0e()
user32.dll!7778437a()
PBVM125.DLL!0049095d()
PBVM125.DLL!004945cd()
user32.dll!77785cf8()
user32.dll!77785bee()
user32.dll!777850d1()
PBVM125.DLL!004888fc()
PBVM125.DLL!004888fc()
user32.dll!7778c4e7()
user32.dll!7778c5e7()
user32.dll!7778c590()
user32.dll!7778cc19()
user32.dll!7778cc70()
PBSYS125.DLL!1061d907()
PB125.EXE!1000277e()
PB125.EXE!10001185()
kernel32.dll!7757ed6c()
ntdll.dll!7767377b()
ntdll.dll!7767374e()


Chris Pollach Posted on 2013-03-11 11:35:46.0Z
From: Chris Pollach <cpollach@travel-net.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PBSHR125.dll crash
References: <513db882.346d.1681692777@sybase.com>
In-Reply-To: <513db882.346d.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <513dc192$1@forums-1-dub>
Date: 11 Mar 2013 03:35:46 -0800
X-Trace: forums-1-dub 1363001746 172.20.134.152 (11 Mar 2013 03:35:46 -0800)
X-Original-Trace: 11 Mar 2013 03:35:46 -0800, vip152.sybase.com
Lines: 225
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249863
Article PK: 1308251

Hi;

WOW ... when the window is closed - that also means its destroyed
along with its associated menu! So posting something to the windows
"InitMenu" at this point-in-time just does not makes sense. It may not
be he cause of the PBSHR errors ... but, its a highly-suspect item at
first glance.

BTW: Are you using the PFC?

--

Regards ... Chris
President: OSUG / STD Inc.
Vice President: ISUG-TECH
Blog: http://chrispollach.blogspot.com
SourceForge: http://sourceforge.net/projects/stdfndclass
PBDJ: http://chrispollach.sys-con.com
TKD: http://www.syeoh.com

On 3/11/2013 6:57 AM, jmv wrote:
> Thank you in advance for your help.
>
> I am running PB 12.5 Build 2511 on Windows7 32bit 4GBRAM
> machine.
>
> My mdi app exe and dev environment code is crashing. In
> debug it shows PBSHR125.dll as the culprit.
>
> The app crashes when I open a specific window and then close
> the window using the X option.
>
> The specific window is inherited from a w_edit window that
> calls the w_main.PostEvent("InitMenu") event on close. The
> "InitMenu" even simply disables and enables a few menu
> options.
>
> What could the possible issue be?
>
> Below is the call stack that displays when I debug the
> crash.
>
>> PBSHR125.DLL!10bf0199()
> [Frames below may be incorrect and/or missing, no symbols
> loaded for PBSHR125.DLL]
> kernel32.dll!7757c3d4()
> rica1Igr.dll!52a4280d()
> rica1Igr.dll!52a3fe62()
> gdi32.dll!773d21a8()
> gdi32.dll!773d218d()
> user32.dll!777a14bc()
> user32.dll!77780ab9()
> ntdll.dll!7766d0da()
> ntdll.dll!776853ae()
> PBSHR125.DLL!10bef629()
> PBSHR125.DLL!10bef7c9()
> PBSHR125.DLL!10bef629()
> user32.dll!777843ea()
> user32.dll!7778443d()
> user32.dll!7778445e()
> comctl32.dll!74269e81()
> comctl32.dll!74269d97()
> user32.dll!7778c4e7()
> user32.dll!7778c641()
> user32.dll!77781b31()
> user32.dll!77781b57()
> PBSHR125.DLL!10b92fb1()
> PBVM125.DLL!0057398e()
> PBVM125.DLL!00548fc3()
> user32.dll!7778c4e7()
> user32.dll!7778c5e7()
> user32.dll!7778c590()
> user32.dll!77781b31()
> user32.dll!77781b57()
> PBVM125.DLL!004f335c()
> PBVM125.DLL!004f2fb9()
> PBVM125.DLL!00429b62()
> user32.dll!7778c4e7()
> user32.dll!7778c5e7()
> user32.dll!7778c590()
> user32.dll!77784f0e()
> user32.dll!77784f7d()
> ntdll.dll!77656fce()
> user32.dll!77784ec3()
> user32.dll!7777b300()
> user32.dll!777a2319()
> user32.dll!777a233b()
> user32.dll!7778c4e7()
> user32.dll!7778c5e7()
> user32.dll!7778c590()
> user32.dll!77781b31()
> user32.dll!77781b57()
> PBSHR125.DLL!10b92fb1()
> user32.dll!7778c4e7()
> user32.dll!7778c4e7()
> user32.dll!7778c5e7()
> user32.dll!7778c590()
> user32.dll!77781b31()
> user32.dll!77781b57()
> PBVM125.DLL!0042c76d()
> user32.dll!7778c4e7()
> user32.dll!7778c5e7()
> user32.dll!7778c590()
> user32.dll!77785294()
> user32.dll!77785582()
> user32.dll!777b39b8()
> user32.dll!777a42e0()
> user32.dll!777a42e0()
> user32.dll!777a1501()
> user32.dll!7778c4e7()
> user32.dll!7778c641()
> user32.dll!77781b31()
> user32.dll!77781b57()
> PBSHR125.DLL!10b955c3()
> user32.dll!7778c4e7()
> user32.dll!7778c5e7()
> user32.dll!7778c590()
> user32.dll!77784f0e()
> user32.dll!77784f7d()
> ntdll.dll!77656fce()
> user32.dll!77784ec3()
> user32.dll!77784f51()
> user32.dll!7778517d()
> user32.dll!7778c590()
> user32.dll!7778c641()
> user32.dll!77781b31()
> user32.dll!77781b57()
> user32.dll!7778c4e7()
> user32.dll!7778c641()
> user32.dll!77784f0e()
> user32.dll!77784f7d()
> user32.dll!77784f7d()
> ntdll.dll!77656fce()
> user32.dll!77784ec3()
> user32.dll!77784f51()
> user32.dll!7778517d()
> user32.dll!7779f630()
> user32.dll!777a1ec6()
> user32.dll!7778c4e7()
> user32.dll!7778c641()
> user32.dll!77781b31()
> user32.dll!77781b57()
> PBSHR125.DLL!10b92fb1()
> user32.dll!7778c4e7()
> user32.dll!7778c4e7()
> user32.dll!7778c641()
> user32.dll!7778c590()
> user32.dll!7778c641()
> user32.dll!77781b31()
> user32.dll!77781b57()
> PBSHR125.DLL!10b955c3()
> user32.dll!7778c4e7()
> user32.dll!7778c5e7()
> user32.dll!7778c590()
> user32.dll!7778cc19()
> user32.dll!7778cc70()
> PBVM125.DLL!00466629()
> PBVM125.DLL!0051c71a()
> PBVM125.DLL!00523737()
> PBVM125.DLL!004681dd()
> PBVM125.DLL!004667da()
> kernel32.dll!7757c3d4()
> GdiPlus.dll!749e726b()
> GdiPlus.dll!749c586b()
> GdiPlus.dll!749d862f()
> PBSHR125.DLL!10bc0e90()
> PBSHR125.DLL!10bbff81()
> PBVM125.DLL!004945cd()
> user32.dll!7778c4e7()
> user32.dll!777861ef()
> user32.dll!777a41d0()
> user32.dll!77781b31()
> user32.dll!77781b57()
> PBSYS125.DLL!1061ac18()
> gdi32.dll!773c899f()
> gdi32.dll!773c892d()
> gdi32.dll!773c898a()
> user32.dll!7778c4e7()
> user32.dll!7778c5e7()
> user32.dll!7778c590()
> user32.dll!77785294()
> user32.dll!77785582()
> PBSYS125.DLL!1061c4ce()
> PBSYS125.DLL!1061ffed()
> GdiPlus.dll!74a3a2be()
> gdi32.dll!773cf4db()
> gdi32.dll!773cf4c4()
> GdiPlus.dll!74a3f9b2()
> GdiPlus.dll!749f70db()
> GdiPlus.dll!74a4f37d()
> GdiPlus.dll!74a42a07()
> GdiPlus.dll!749f8129()
> kernel32.dll!7757c3d4()
> GdiPlus.dll!749e726b()
> GdiPlus.dll!749d862f()
> PBSHR125.DLL!10bc0e90()
> PBVM125.DLL!004888fc()
> user32.dll!7778c4e7()
> user32.dll!7778c641()
> user32.dll!77784f0e()
> user32.dll!7778437a()
> PBVM125.DLL!0049095d()
> PBVM125.DLL!004945cd()
> user32.dll!77785cf8()
> user32.dll!77785bee()
> user32.dll!777850d1()
> PBVM125.DLL!004888fc()
> PBVM125.DLL!004888fc()
> user32.dll!7778c4e7()
> user32.dll!7778c5e7()
> user32.dll!7778c590()
> user32.dll!7778cc19()
> user32.dll!7778cc70()
> PBSYS125.DLL!1061d907()
> PB125.EXE!1000277e()
> PB125.EXE!10001185()
> kernel32.dll!7757ed6c()
> ntdll.dll!7767377b()
> ntdll.dll!7767374e()
>


Chris Pollach Posted on 2013-03-11 12:49:33.0Z
From: Chris Pollach <cpollach@travel-net.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PBSHR125.dll crash
References: <513dc192$1@forums-1-dub> <513dc3f3.380f.1681692777@sybase.com>
In-Reply-To: <513dc3f3.380f.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <513dd2dd$1@forums-1-dub>
Date: 11 Mar 2013 04:49:33 -0800
X-Trace: forums-1-dub 1363006173 172.20.134.152 (11 Mar 2013 04:49:33 -0800)
X-Original-Trace: 11 Mar 2013 04:49:33 -0800, vip152.sybase.com
Lines: 270
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249869
Article PK: 1308258

Hi;

Thanks for the further information .. that makes more sense now and
eliminates the post to w_main - which really sounds like your MDI Frame
- as the potential culprit here.

1) In the InitMenu event ... do you refer to the current menu on w_main
via its pointer (ie: its property "menuid")?

2) What type of window is the one inherited from w_edit?

3) I would strongly advise you to apply the PB 12.5.1 official
maintenance release (build 4015) update.

4) Did you download the new PFC for PB 12.5.x from CodePlex when you
migrated?


--

Regards ... Chris
President: OSUG / STD Inc.
Vice President: ISUG-TECH
Blog: http://chrispollach.blogspot.com
SourceForge: http://sourceforge.net/projects/stdfndclass
PBDJ: http://chrispollach.sys-con.com
TKD: http://www.syeoh.com

On 3/11/2013 7:45 AM, jmv wrote:
> Well the w_main is always open until the app closes. So the
> event should be avaiable.
> The specific window is opened as a sheet to w_main.
> So the specific window is inherited from w_edit...w_edit
> posts the w_main event InitMenu. The menu us attached to
> w_main.
>
> Yes using PFC. Also we are not having this issue with other
> windows that use the same structure.
>
>> Hi;
>>
>> WOW ... when the window is closed - that also means its
>> destroyed along with its associated menu! So posting
>> something to the windows "InitMenu" at this point-in-time
>> just does not makes sense. It may not be he cause of the
>> PBSHR errors ... but, its a highly-suspect item at first
>> glance.
>>
>> BTW: Are you using the PFC?
>>
>> --
>>
>> Regards ... Chris
>> President: OSUG / STD Inc.
>> Vice President: ISUG-TECH
>> Blog: http://chrispollach.blogspot.com
>> SourceForge: http://sourceforge.net/projects/stdfndclass
>> PBDJ: http://chrispollach.sys-con.com
>> TKD: http://www.syeoh.com
>>
>>
>>
>>
>> On 3/11/2013 6:57 AM, jmv wrote:
>>> Thank you in advance for your help.
>>>
>>> I am running PB 12.5 Build 2511 on Windows7 32bit 4GBRAM
>>> machine.
>>>
>>> My mdi app exe and dev environment code is crashing. In
>>> debug it shows PBSHR125.dll as the culprit.
>>>
>>> The app crashes when I open a specific window and then
>>> close the window using the X option.
>>>
>>> The specific window is inherited from a w_edit window
>>> that calls the w_main.PostEvent("InitMenu") event on
>>> close. The "InitMenu" even simply disables and enables
>>> a few menu options.
>>>
>>> What could the possible issue be?
>>>
>>> Below is the call stack that displays when I debug the
>>> crash.
>>>
>>>> PBSHR125.DLL!10bf0199()
>>> [Frames below may be incorrect and/or missing, no
>>> symbols loaded for PBSHR125.DLL]
>>> kernel32.dll!7757c3d4()
>>> rica1Igr.dll!52a4280d()
>>> rica1Igr.dll!52a3fe62()
>>> gdi32.dll!773d21a8()
>>> gdi32.dll!773d218d()
>>> user32.dll!777a14bc()
>>> user32.dll!77780ab9()
>>> ntdll.dll!7766d0da()
>>> ntdll.dll!776853ae()
>>> PBSHR125.DLL!10bef629()
>>> PBSHR125.DLL!10bef7c9()
>>> PBSHR125.DLL!10bef629()
>>> user32.dll!777843ea()
>>> user32.dll!7778443d()
>>> user32.dll!7778445e()
>>> comctl32.dll!74269e81()
>>> comctl32.dll!74269d97()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c641()
>>> user32.dll!77781b31()
>>> user32.dll!77781b57()
>>> PBSHR125.DLL!10b92fb1()
>>> PBVM125.DLL!0057398e()
>>> PBVM125.DLL!00548fc3()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c5e7()
>>> user32.dll!7778c590()
>>> user32.dll!77781b31()
>>> user32.dll!77781b57()
>>> PBVM125.DLL!004f335c()
>>> PBVM125.DLL!004f2fb9()
>>> PBVM125.DLL!00429b62()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c5e7()
>>> user32.dll!7778c590()
>>> user32.dll!77784f0e()
>>> user32.dll!77784f7d()
>>> ntdll.dll!77656fce()
>>> user32.dll!77784ec3()
>>> user32.dll!7777b300()
>>> user32.dll!777a2319()
>>> user32.dll!777a233b()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c5e7()
>>> user32.dll!7778c590()
>>> user32.dll!77781b31()
>>> user32.dll!77781b57()
>>> PBSHR125.DLL!10b92fb1()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c5e7()
>>> user32.dll!7778c590()
>>> user32.dll!77781b31()
>>> user32.dll!77781b57()
>>> PBVM125.DLL!0042c76d()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c5e7()
>>> user32.dll!7778c590()
>>> user32.dll!77785294()
>>> user32.dll!77785582()
>>> user32.dll!777b39b8()
>>> user32.dll!777a42e0()
>>> user32.dll!777a42e0()
>>> user32.dll!777a1501()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c641()
>>> user32.dll!77781b31()
>>> user32.dll!77781b57()
>>> PBSHR125.DLL!10b955c3()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c5e7()
>>> user32.dll!7778c590()
>>> user32.dll!77784f0e()
>>> user32.dll!77784f7d()
>>> ntdll.dll!77656fce()
>>> user32.dll!77784ec3()
>>> user32.dll!77784f51()
>>> user32.dll!7778517d()
>>> user32.dll!7778c590()
>>> user32.dll!7778c641()
>>> user32.dll!77781b31()
>>> user32.dll!77781b57()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c641()
>>> user32.dll!77784f0e()
>>> user32.dll!77784f7d()
>>> user32.dll!77784f7d()
>>> ntdll.dll!77656fce()
>>> user32.dll!77784ec3()
>>> user32.dll!77784f51()
>>> user32.dll!7778517d()
>>> user32.dll!7779f630()
>>> user32.dll!777a1ec6()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c641()
>>> user32.dll!77781b31()
>>> user32.dll!77781b57()
>>> PBSHR125.DLL!10b92fb1()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c641()
>>> user32.dll!7778c590()
>>> user32.dll!7778c641()
>>> user32.dll!77781b31()
>>> user32.dll!77781b57()
>>> PBSHR125.DLL!10b955c3()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c5e7()
>>> user32.dll!7778c590()
>>> user32.dll!7778cc19()
>>> user32.dll!7778cc70()
>>> PBVM125.DLL!00466629()
>>> PBVM125.DLL!0051c71a()
>>> PBVM125.DLL!00523737()
>>> PBVM125.DLL!004681dd()
>>> PBVM125.DLL!004667da()
>>> kernel32.dll!7757c3d4()
>>> GdiPlus.dll!749e726b()
>>> GdiPlus.dll!749c586b()
>>> GdiPlus.dll!749d862f()
>>> PBSHR125.DLL!10bc0e90()
>>> PBSHR125.DLL!10bbff81()
>>> PBVM125.DLL!004945cd()
>>> user32.dll!7778c4e7()
>>> user32.dll!777861ef()
>>> user32.dll!777a41d0()
>>> user32.dll!77781b31()
>>> user32.dll!77781b57()
>>> PBSYS125.DLL!1061ac18()
>>> gdi32.dll!773c899f()
>>> gdi32.dll!773c892d()
>>> gdi32.dll!773c898a()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c5e7()
>>> user32.dll!7778c590()
>>> user32.dll!77785294()
>>> user32.dll!77785582()
>>> PBSYS125.DLL!1061c4ce()
>>> PBSYS125.DLL!1061ffed()
>>> GdiPlus.dll!74a3a2be()
>>> gdi32.dll!773cf4db()
>>> gdi32.dll!773cf4c4()
>>> GdiPlus.dll!74a3f9b2()
>>> GdiPlus.dll!749f70db()
>>> GdiPlus.dll!74a4f37d()
>>> GdiPlus.dll!74a42a07()
>>> GdiPlus.dll!749f8129()
>>> kernel32.dll!7757c3d4()
>>> GdiPlus.dll!749e726b()
>>> GdiPlus.dll!749d862f()
>>> PBSHR125.DLL!10bc0e90()
>>> PBVM125.DLL!004888fc()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c641()
>>> user32.dll!77784f0e()
>>> user32.dll!7778437a()
>>> PBVM125.DLL!0049095d()
>>> PBVM125.DLL!004945cd()
>>> user32.dll!77785cf8()
>>> user32.dll!77785bee()
>>> user32.dll!777850d1()
>>> PBVM125.DLL!004888fc()
>>> PBVM125.DLL!004888fc()
>>> user32.dll!7778c4e7()
>>> user32.dll!7778c5e7()
>>> user32.dll!7778c590()
>>> user32.dll!7778cc19()
>>> user32.dll!7778cc70()
>>> PBSYS125.DLL!1061d907()
>>> PB125.EXE!1000277e()
>>> PB125.EXE!10001185()
>>> kernel32.dll!7757ed6c()
>>> ntdll.dll!7767377b()
>>> ntdll.dll!7767374e()
>>>
>>


jmv Posted on 2013-03-11 15:23:28.0Z
Sender: 339f.513db59f.1804289383@sybase.com
From: jmv
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PBSHR125.dll crash
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <513df6f0.481e.1681692777@sybase.com>
References: <513dd2dd$1@forums-1-dub>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 11 Mar 2013 07:23:28 -0800
X-Trace: forums-1-dub 1363015408 172.20.134.41 (11 Mar 2013 07:23:28 -0800)
X-Original-Trace: 11 Mar 2013 07:23:28 -0800, 172.20.134.41
Lines: 299
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249877
Article PK: 1308269

Thank you!

1. w_main is inherited from window
w_edit is inherited from child
2. w_specific is inherited from w_edit

close of w_specific calls close of w_edit
w_edit close has this line
w_main.PostEvent("InitMenu")

w_main InitMenu event has this code
if IsValid(m_shell) then
m_shell.m_file.TriggerEvent(Clicked!)
m_shell.m_edit.TriggerEvent(Clicked!)
m_shell.m_data.TriggerEvent(Clicked!)
m_shell.m_view.TriggerEvent(Clicked!)
m_shell.m_computations.TriggerEvent(Clicked!)
m_shell.m_tools.TriggerEvent(Clicked!)
m_shell.m_reports.TriggerEvent(Clicked!)
m_shell.m_admin.TriggerEvent(Clicked!)
m_shell.m_window.TriggerEvent(Clicked!)
m_shell.m_help.TriggerEvent(Clicked!)
end if

3. I will apply the update (build 4015)

4. I did not perform the migration so I am not sure the new
PFC for PB 12.5.x from CodePlex was downloaded.

> Hi;
>
> Thanks for the further information .. that makes more
> sense now and eliminates the post to w_main - which
> really sounds like your MDI Frame - as the potential
> culprit here.
>
> 1) In the InitMenu event ... do you refer to the current
> menu on w_main via its pointer (ie: its property
> "menuid")?
>
> 2) What type of window is the one inherited from w_edit?
>
> 3) I would strongly advise you to apply the PB 12.5.1
> official maintenance release (build 4015) update.
>
> 4) Did you download the new PFC for PB 12.5.x from
> CodePlex when you migrated?
>
>
> --
>
> Regards ... Chris
> President: OSUG / STD Inc.
> Vice President: ISUG-TECH
> Blog: http://chrispollach.blogspot.com
> SourceForge: http://sourceforge.net/projects/stdfndclass
> PBDJ: http://chrispollach.sys-con.com
> TKD: http://www.syeoh.com
>
>
>
>
> On 3/11/2013 7:45 AM, jmv wrote:
> > Well the w_main is always open until the app closes. So
> > the event should be avaiable.
> > The specific window is opened as a sheet to w_main.
> > So the specific window is inherited from w_edit...w_edit
> > posts the w_main event InitMenu. The menu us attached
> > to w_main.
> >
> > Yes using PFC. Also we are not having this issue with
> > other windows that use the same structure.
> >
> >> Hi;
> >>
> >> WOW ... when the window is closed - that also means
> its >> destroyed along with its associated menu! So
> posting >> something to the windows "InitMenu" at this
> point-in-time >> just does not makes sense. It may not be
> he cause of the >> PBSHR errors ... but, its a
> highly-suspect item at first >> glance.
> >>
> >> BTW: Are you using the PFC?
> >>
> >> --
> >>
> >> Regards ... Chris
> >> President: OSUG / STD Inc.
> >> Vice President: ISUG-TECH
> >> Blog: http://chrispollach.blogspot.com
> >> SourceForge:
> http://sourceforge.net/projects/stdfndclass >> PBDJ:
> http://chrispollach.sys-con.com >> TKD:
> http://www.syeoh.com >>
> >>
> >>
> >>
> >> On 3/11/2013 6:57 AM, jmv wrote:
> >>> Thank you in advance for your help.
> >>>
> >>> I am running PB 12.5 Build 2511 on Windows7 32bit
> 4GBRAM >>> machine.
> >>>
> >>> My mdi app exe and dev environment code is crashing.
> In >>> debug it shows PBSHR125.dll as the culprit.
> >>>
> >>> The app crashes when I open a specific window and then
> >>> close the window using the X option.
> >>>
> >>> The specific window is inherited from a w_edit window
> >>> that calls the w_main.PostEvent("InitMenu") event on
> >>> close. The "InitMenu" even simply disables and
> enables >>> a few menu options.
> >>>
> >>> What could the possible issue be?
> >>>
> >>> Below is the call stack that displays when I debug the
> >>> crash.
> >>>
> >>>> PBSHR125.DLL!10bf0199()
> >>> [Frames below may be incorrect and/or missing,
> no >>> symbols loaded for PBSHR125.DLL]
> >>> kernel32.dll!7757c3d4()
> >>> rica1Igr.dll!52a4280d()
> >>> rica1Igr.dll!52a3fe62()
> >>> gdi32.dll!773d21a8()
> >>> gdi32.dll!773d218d()
> >>> user32.dll!777a14bc()
> >>> user32.dll!77780ab9()
> >>> ntdll.dll!7766d0da()
> >>> ntdll.dll!776853ae()
> >>> PBSHR125.DLL!10bef629()
> >>> PBSHR125.DLL!10bef7c9()
> >>> PBSHR125.DLL!10bef629()
> >>> user32.dll!777843ea()
> >>> user32.dll!7778443d()
> >>> user32.dll!7778445e()
> >>> comctl32.dll!74269e81()
> >>> comctl32.dll!74269d97()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c641()
> >>> user32.dll!77781b31()
> >>> user32.dll!77781b57()
> >>> PBSHR125.DLL!10b92fb1()
> >>> PBVM125.DLL!0057398e()
> >>> PBVM125.DLL!00548fc3()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c5e7()
> >>> user32.dll!7778c590()
> >>> user32.dll!77781b31()
> >>> user32.dll!77781b57()
> >>> PBVM125.DLL!004f335c()
> >>> PBVM125.DLL!004f2fb9()
> >>> PBVM125.DLL!00429b62()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c5e7()
> >>> user32.dll!7778c590()
> >>> user32.dll!77784f0e()
> >>> user32.dll!77784f7d()
> >>> ntdll.dll!77656fce()
> >>> user32.dll!77784ec3()
> >>> user32.dll!7777b300()
> >>> user32.dll!777a2319()
> >>> user32.dll!777a233b()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c5e7()
> >>> user32.dll!7778c590()
> >>> user32.dll!77781b31()
> >>> user32.dll!77781b57()
> >>> PBSHR125.DLL!10b92fb1()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c5e7()
> >>> user32.dll!7778c590()
> >>> user32.dll!77781b31()
> >>> user32.dll!77781b57()
> >>> PBVM125.DLL!0042c76d()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c5e7()
> >>> user32.dll!7778c590()
> >>> user32.dll!77785294()
> >>> user32.dll!77785582()
> >>> user32.dll!777b39b8()
> >>> user32.dll!777a42e0()
> >>> user32.dll!777a42e0()
> >>> user32.dll!777a1501()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c641()
> >>> user32.dll!77781b31()
> >>> user32.dll!77781b57()
> >>> PBSHR125.DLL!10b955c3()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c5e7()
> >>> user32.dll!7778c590()
> >>> user32.dll!77784f0e()
> >>> user32.dll!77784f7d()
> >>> ntdll.dll!77656fce()
> >>> user32.dll!77784ec3()
> >>> user32.dll!77784f51()
> >>> user32.dll!7778517d()
> >>> user32.dll!7778c590()
> >>> user32.dll!7778c641()
> >>> user32.dll!77781b31()
> >>> user32.dll!77781b57()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c641()
> >>> user32.dll!77784f0e()
> >>> user32.dll!77784f7d()
> >>> user32.dll!77784f7d()
> >>> ntdll.dll!77656fce()
> >>> user32.dll!77784ec3()
> >>> user32.dll!77784f51()
> >>> user32.dll!7778517d()
> >>> user32.dll!7779f630()
> >>> user32.dll!777a1ec6()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c641()
> >>> user32.dll!77781b31()
> >>> user32.dll!77781b57()
> >>> PBSHR125.DLL!10b92fb1()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c641()
> >>> user32.dll!7778c590()
> >>> user32.dll!7778c641()
> >>> user32.dll!77781b31()
> >>> user32.dll!77781b57()
> >>> PBSHR125.DLL!10b955c3()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c5e7()
> >>> user32.dll!7778c590()
> >>> user32.dll!7778cc19()
> >>> user32.dll!7778cc70()
> >>> PBVM125.DLL!00466629()
> >>> PBVM125.DLL!0051c71a()
> >>> PBVM125.DLL!00523737()
> >>> PBVM125.DLL!004681dd()
> >>> PBVM125.DLL!004667da()
> >>> kernel32.dll!7757c3d4()
> >>> GdiPlus.dll!749e726b()
> >>> GdiPlus.dll!749c586b()
> >>> GdiPlus.dll!749d862f()
> >>> PBSHR125.DLL!10bc0e90()
> >>> PBSHR125.DLL!10bbff81()
> >>> PBVM125.DLL!004945cd()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!777861ef()
> >>> user32.dll!777a41d0()
> >>> user32.dll!77781b31()
> >>> user32.dll!77781b57()
> >>> PBSYS125.DLL!1061ac18()
> >>> gdi32.dll!773c899f()
> >>> gdi32.dll!773c892d()
> >>> gdi32.dll!773c898a()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c5e7()
> >>> user32.dll!7778c590()
> >>> user32.dll!77785294()
> >>> user32.dll!77785582()
> >>> PBSYS125.DLL!1061c4ce()
> >>> PBSYS125.DLL!1061ffed()
> >>> GdiPlus.dll!74a3a2be()
> >>> gdi32.dll!773cf4db()
> >>> gdi32.dll!773cf4c4()
> >>> GdiPlus.dll!74a3f9b2()
> >>> GdiPlus.dll!749f70db()
> >>> GdiPlus.dll!74a4f37d()
> >>> GdiPlus.dll!74a42a07()
> >>> GdiPlus.dll!749f8129()
> >>> kernel32.dll!7757c3d4()
> >>> GdiPlus.dll!749e726b()
> >>> GdiPlus.dll!749d862f()
> >>> PBSHR125.DLL!10bc0e90()
> >>> PBVM125.DLL!004888fc()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c641()
> >>> user32.dll!77784f0e()
> >>> user32.dll!7778437a()
> >>> PBVM125.DLL!0049095d()
> >>> PBVM125.DLL!004945cd()
> >>> user32.dll!77785cf8()
> >>> user32.dll!77785bee()
> >>> user32.dll!777850d1()
> >>> PBVM125.DLL!004888fc()
> >>> PBVM125.DLL!004888fc()
> >>> user32.dll!7778c4e7()
> >>> user32.dll!7778c5e7()
> >>> user32.dll!7778c590()
> >>> user32.dll!7778cc19()
> >>> user32.dll!7778cc70()
> >>> PBSYS125.DLL!1061d907()
> >>> PB125.EXE!1000277e()
> >>> PB125.EXE!10001185()
> >>> kernel32.dll!7757ed6c()
> >>> ntdll.dll!7767377b()
> >>> ntdll.dll!7767374e()
> >>>
> >>
>


Chris Pollach Posted on 2013-03-11 15:37:21.0Z
From: Chris Pollach <cpollach@travel-net.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PBSHR125.dll crash
References: <513dd2dd$1@forums-1-dub> <513df6f0.481e.1681692777@sybase.com>
In-Reply-To: <513df6f0.481e.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <513dfa31$1@forums-1-dub>
Date: 11 Mar 2013 07:37:21 -0800
X-Trace: forums-1-dub 1363016241 172.20.134.152 (11 Mar 2013 07:37:21 -0800)
X-Original-Trace: 11 Mar 2013 07:37:21 -0800, vip152.sybase.com
Lines: 318
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249878
Article PK: 1308271

See in-line

On 3/11/2013 11:23 AM, jmv wrote:
> Thank you!
>
> 1. w_main is inherited from window

=> w_main should be inherited from the PFC not the system class.

> w_edit is inherited from child
=> w_child should be inherited from the PFC not the system class.
=> Hopefully, you do not try an open w_child as a Sheet unless you
changed it window type to Main!

> 2. w_specific is inherited from w_edit
>
> close of w_specific calls close of w_edit
=> is this a natural ancestor => descendant call or
an "over-ride" with callback to the ancestor?

> w_edit close has this line
> w_main.PostEvent("InitMenu")
>
> w_main InitMenu event has this code
> if IsValid(m_shell) then
> m_shell.m_file.TriggerEvent(Clicked!)
> m_shell.m_edit.TriggerEvent(Clicked!)
> m_shell.m_data.TriggerEvent(Clicked!)
> m_shell.m_view.TriggerEvent(Clicked!)
> m_shell.m_computations.TriggerEvent(Clicked!)
> m_shell.m_tools.TriggerEvent(Clicked!)
> m_shell.m_reports.TriggerEvent(Clicked!)
> m_shell.m_admin.TriggerEvent(Clicked!)
> m_shell.m_window.TriggerEvent(Clicked!)
> m_shell.m_help.TriggerEvent(Clicked!)
> end if
>
> 3. I will apply the update (build 4015)
>
> 4. I did not perform the migration so I am not sure the new
> PFC for PB 12.5.x from CodePlex was downloaded.

FYI => http://pfc.codeplex.com
Note: The PFC and PB versions are a matched pair and should never be
mixed. Just like the tires on your car! :-)

>
>> Hi;
>>
>> Thanks for the further information .. that makes more
>> sense now and eliminates the post to w_main - which
>> really sounds like your MDI Frame - as the potential
>> culprit here.
>>
>> 1) In the InitMenu event ... do you refer to the current
>> menu on w_main via its pointer (ie: its property
>> "menuid")?
>>
>> 2) What type of window is the one inherited from w_edit?
>>
>> 3) I would strongly advise you to apply the PB 12.5.1
>> official maintenance release (build 4015) update.
>>
>> 4) Did you download the new PFC for PB 12.5.x from
>> CodePlex when you migrated?
>>
>>
>> --
>>
>> Regards ... Chris
>> President: OSUG / STD Inc.
>> Vice President: ISUG-TECH
>> Blog: http://chrispollach.blogspot.com
>> SourceForge: http://sourceforge.net/projects/stdfndclass
>> PBDJ: http://chrispollach.sys-con.com
>> TKD: http://www.syeoh.com
>>
>>
>>
>>
>> On 3/11/2013 7:45 AM, jmv wrote:
>>> Well the w_main is always open until the app closes. So
>>> the event should be avaiable.
>>> The specific window is opened as a sheet to w_main.
>>> So the specific window is inherited from w_edit...w_edit
>>> posts the w_main event InitMenu. The menu us attached
>>> to w_main.
>>>
>>> Yes using PFC. Also we are not having this issue with
>>> other windows that use the same structure.
>>>
>>>> Hi;
>>>>
>>>> WOW ... when the window is closed - that also means
>> its >> destroyed along with its associated menu! So
>> posting >> something to the windows "InitMenu" at this
>> point-in-time >> just does not makes sense. It may not be
>> he cause of the >> PBSHR errors ... but, its a
>> highly-suspect item at first >> glance.
>>>>
>>>> BTW: Are you using the PFC?
>>>>
>>>> --
>>>>
>>>> Regards ... Chris
>>>> President: OSUG / STD Inc.
>>>> Vice President: ISUG-TECH
>>>> Blog: http://chrispollach.blogspot.com
>>>> SourceForge:
>> http://sourceforge.net/projects/stdfndclass >> PBDJ:
>> http://chrispollach.sys-con.com >> TKD:
>> http://www.syeoh.com >>
>>>>
>>>>
>>>>
>>>> On 3/11/2013 6:57 AM, jmv wrote:
>>>>> Thank you in advance for your help.
>>>>>
>>>>> I am running PB 12.5 Build 2511 on Windows7 32bit
>> 4GBRAM >>> machine.
>>>>>
>>>>> My mdi app exe and dev environment code is crashing.
>> In >>> debug it shows PBSHR125.dll as the culprit.
>>>>>
>>>>> The app crashes when I open a specific window and then
>>>>> close the window using the X option.
>>>>>
>>>>> The specific window is inherited from a w_edit window
>>>>> that calls the w_main.PostEvent("InitMenu") event on
>>>>> close. The "InitMenu" even simply disables and
>> enables >>> a few menu options.
>>>>>
>>>>> What could the possible issue be?
>>>>>
>>>>> Below is the call stack that displays when I debug the
>>>>> crash.
>>>>>
>>>>>> PBSHR125.DLL!10bf0199()
>>>>> [Frames below may be incorrect and/or missing,
>> no >>> symbols loaded for PBSHR125.DLL]
>>>>> kernel32.dll!7757c3d4()
>>>>> rica1Igr.dll!52a4280d()
>>>>> rica1Igr.dll!52a3fe62()
>>>>> gdi32.dll!773d21a8()
>>>>> gdi32.dll!773d218d()
>>>>> user32.dll!777a14bc()
>>>>> user32.dll!77780ab9()
>>>>> ntdll.dll!7766d0da()
>>>>> ntdll.dll!776853ae()
>>>>> PBSHR125.DLL!10bef629()
>>>>> PBSHR125.DLL!10bef7c9()
>>>>> PBSHR125.DLL!10bef629()
>>>>> user32.dll!777843ea()
>>>>> user32.dll!7778443d()
>>>>> user32.dll!7778445e()
>>>>> comctl32.dll!74269e81()
>>>>> comctl32.dll!74269d97()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c641()
>>>>> user32.dll!77781b31()
>>>>> user32.dll!77781b57()
>>>>> PBSHR125.DLL!10b92fb1()
>>>>> PBVM125.DLL!0057398e()
>>>>> PBVM125.DLL!00548fc3()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c5e7()
>>>>> user32.dll!7778c590()
>>>>> user32.dll!77781b31()
>>>>> user32.dll!77781b57()
>>>>> PBVM125.DLL!004f335c()
>>>>> PBVM125.DLL!004f2fb9()
>>>>> PBVM125.DLL!00429b62()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c5e7()
>>>>> user32.dll!7778c590()
>>>>> user32.dll!77784f0e()
>>>>> user32.dll!77784f7d()
>>>>> ntdll.dll!77656fce()
>>>>> user32.dll!77784ec3()
>>>>> user32.dll!7777b300()
>>>>> user32.dll!777a2319()
>>>>> user32.dll!777a233b()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c5e7()
>>>>> user32.dll!7778c590()
>>>>> user32.dll!77781b31()
>>>>> user32.dll!77781b57()
>>>>> PBSHR125.DLL!10b92fb1()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c5e7()
>>>>> user32.dll!7778c590()
>>>>> user32.dll!77781b31()
>>>>> user32.dll!77781b57()
>>>>> PBVM125.DLL!0042c76d()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c5e7()
>>>>> user32.dll!7778c590()
>>>>> user32.dll!77785294()
>>>>> user32.dll!77785582()
>>>>> user32.dll!777b39b8()
>>>>> user32.dll!777a42e0()
>>>>> user32.dll!777a42e0()
>>>>> user32.dll!777a1501()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c641()
>>>>> user32.dll!77781b31()
>>>>> user32.dll!77781b57()
>>>>> PBSHR125.DLL!10b955c3()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c5e7()
>>>>> user32.dll!7778c590()
>>>>> user32.dll!77784f0e()
>>>>> user32.dll!77784f7d()
>>>>> ntdll.dll!77656fce()
>>>>> user32.dll!77784ec3()
>>>>> user32.dll!77784f51()
>>>>> user32.dll!7778517d()
>>>>> user32.dll!7778c590()
>>>>> user32.dll!7778c641()
>>>>> user32.dll!77781b31()
>>>>> user32.dll!77781b57()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c641()
>>>>> user32.dll!77784f0e()
>>>>> user32.dll!77784f7d()
>>>>> user32.dll!77784f7d()
>>>>> ntdll.dll!77656fce()
>>>>> user32.dll!77784ec3()
>>>>> user32.dll!77784f51()
>>>>> user32.dll!7778517d()
>>>>> user32.dll!7779f630()
>>>>> user32.dll!777a1ec6()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c641()
>>>>> user32.dll!77781b31()
>>>>> user32.dll!77781b57()
>>>>> PBSHR125.DLL!10b92fb1()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c641()
>>>>> user32.dll!7778c590()
>>>>> user32.dll!7778c641()
>>>>> user32.dll!77781b31()
>>>>> user32.dll!77781b57()
>>>>> PBSHR125.DLL!10b955c3()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c5e7()
>>>>> user32.dll!7778c590()
>>>>> user32.dll!7778cc19()
>>>>> user32.dll!7778cc70()
>>>>> PBVM125.DLL!00466629()
>>>>> PBVM125.DLL!0051c71a()
>>>>> PBVM125.DLL!00523737()
>>>>> PBVM125.DLL!004681dd()
>>>>> PBVM125.DLL!004667da()
>>>>> kernel32.dll!7757c3d4()
>>>>> GdiPlus.dll!749e726b()
>>>>> GdiPlus.dll!749c586b()
>>>>> GdiPlus.dll!749d862f()
>>>>> PBSHR125.DLL!10bc0e90()
>>>>> PBSHR125.DLL!10bbff81()
>>>>> PBVM125.DLL!004945cd()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!777861ef()
>>>>> user32.dll!777a41d0()
>>>>> user32.dll!77781b31()
>>>>> user32.dll!77781b57()
>>>>> PBSYS125.DLL!1061ac18()
>>>>> gdi32.dll!773c899f()
>>>>> gdi32.dll!773c892d()
>>>>> gdi32.dll!773c898a()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c5e7()
>>>>> user32.dll!7778c590()
>>>>> user32.dll!77785294()
>>>>> user32.dll!77785582()
>>>>> PBSYS125.DLL!1061c4ce()
>>>>> PBSYS125.DLL!1061ffed()
>>>>> GdiPlus.dll!74a3a2be()
>>>>> gdi32.dll!773cf4db()
>>>>> gdi32.dll!773cf4c4()
>>>>> GdiPlus.dll!74a3f9b2()
>>>>> GdiPlus.dll!749f70db()
>>>>> GdiPlus.dll!74a4f37d()
>>>>> GdiPlus.dll!74a42a07()
>>>>> GdiPlus.dll!749f8129()
>>>>> kernel32.dll!7757c3d4()
>>>>> GdiPlus.dll!749e726b()
>>>>> GdiPlus.dll!749d862f()
>>>>> PBSHR125.DLL!10bc0e90()
>>>>> PBVM125.DLL!004888fc()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c641()
>>>>> user32.dll!77784f0e()
>>>>> user32.dll!7778437a()
>>>>> PBVM125.DLL!0049095d()
>>>>> PBVM125.DLL!004945cd()
>>>>> user32.dll!77785cf8()
>>>>> user32.dll!77785bee()
>>>>> user32.dll!777850d1()
>>>>> PBVM125.DLL!004888fc()
>>>>> PBVM125.DLL!004888fc()
>>>>> user32.dll!7778c4e7()
>>>>> user32.dll!7778c5e7()
>>>>> user32.dll!7778c590()
>>>>> user32.dll!7778cc19()
>>>>> user32.dll!7778cc70()
>>>>> PBSYS125.DLL!1061d907()
>>>>> PB125.EXE!1000277e()
>>>>> PB125.EXE!10001185()
>>>>> kernel32.dll!7757ed6c()
>>>>> ntdll.dll!7767377b()
>>>>> ntdll.dll!7767374e()
>>>>>
>>>>
>>


Jeremy.Lakeman Posted on 2013-03-12 08:15:27.0Z
Sender: 105c.513ee2f5.1804289383@sybase.com
From: Jeremy.Lakeman@gmail.com
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PBSHR125.dll crash
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <513ee41f.10c6.1681692777@sybase.com>
References: <513df6f0.481e.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 12 Mar 2013 00:15:27 -0800
X-Trace: forums-1-dub 1363076127 172.20.134.41 (12 Mar 2013 00:15:27 -0800)
X-Original-Trace: 12 Mar 2013 00:15:27 -0800, 172.20.134.41
Lines: 316
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249890
Article PK: 1308287

Firstly, run the application with PBDEBUG tracing enabled,
you can find it in system options. That will tell you the
last line of code executed before the crash.

It has a huge impact on the performance of your app though,
which sometimes makes it unusable.

Why are you accessing w_main & m_shell through their global
variables? Are you certain you know which instance of these
two classes you will actually be accessing at run time?

What do all of those clicked events do? Could any of them
have unexpected side effects?

Why call "X.triggerevent(clicked!)" why not just "x.event
clicked()"?

> Thank you!
>
> 1. w_main is inherited from window
> w_edit is inherited from child
> 2. w_specific is inherited from w_edit
>
> close of w_specific calls close of w_edit
> w_edit close has this line
> w_main.PostEvent("InitMenu")
>
> w_main InitMenu event has this code
> if IsValid(m_shell) then
> m_shell.m_file.TriggerEvent(Clicked!)
> m_shell.m_edit.TriggerEvent(Clicked!)
> m_shell.m_data.TriggerEvent(Clicked!)
> m_shell.m_view.TriggerEvent(Clicked!)
> m_shell.m_computations.TriggerEvent(Clicked!)
> m_shell.m_tools.TriggerEvent(Clicked!)
> m_shell.m_reports.TriggerEvent(Clicked!)
> m_shell.m_admin.TriggerEvent(Clicked!)
> m_shell.m_window.TriggerEvent(Clicked!)
> m_shell.m_help.TriggerEvent(Clicked!)
> end if
>
> 3. I will apply the update (build 4015)
>
> 4. I did not perform the migration so I am not sure the
> new PFC for PB 12.5.x from CodePlex was downloaded.
>
> > Hi;
> >
> > Thanks for the further information .. that makes more
> > sense now and eliminates the post to w_main - which
> > really sounds like your MDI Frame - as the potential
> > culprit here.
> >
> > 1) In the InitMenu event ... do you refer to the current
> > menu on w_main via its pointer (ie: its property
> > "menuid")?
> >
> > 2) What type of window is the one inherited from w_edit?
> >
> > 3) I would strongly advise you to apply the PB 12.5.1
> > official maintenance release (build 4015) update.
> >
> > 4) Did you download the new PFC for PB 12.5.x from
> > CodePlex when you migrated?
> >
> >
> > --
> >
> > Regards ... Chris
> > President: OSUG / STD Inc.
> > Vice President: ISUG-TECH
> > Blog: http://chrispollach.blogspot.com
> > SourceForge: http://sourceforge.net/projects/stdfndclass
> > PBDJ: http://chrispollach.sys-con.com
> > TKD: http://www.syeoh.com
> >
> >
> >
> >
> > On 3/11/2013 7:45 AM, jmv wrote:
> > > Well the w_main is always open until the app closes.
> > > So the event should be avaiable.
> > > The specific window is opened as a sheet to w_main.
> > > So the specific window is inherited from
> > > w_edit...w_edit posts the w_main event InitMenu. The
> > > menu us attached to w_main.
> > >
> > > Yes using PFC. Also we are not having this issue with
> > > other windows that use the same structure.
> > >
> > >> Hi;
> > >>
> > >> WOW ... when the window is closed - that also
> > means its >> destroyed along with its associated menu!
> > So posting >> something to the windows "InitMenu" at
> > this point-in-time >> just does not makes sense. It may
> > not be he cause of the >> PBSHR errors ... but, its a
> > highly-suspect item at first >> glance.
> > >>
> > >> BTW: Are you using the PFC?
> > >>
> > >> --
> > >>
> > >> Regards ... Chris
> > >> President: OSUG / STD Inc.
> > >> Vice President: ISUG-TECH
> > >> Blog: http://chrispollach.blogspot.com
> > >> SourceForge:
> > http://sourceforge.net/projects/stdfndclass >> PBDJ:
> > http://chrispollach.sys-con.com >> TKD:
> > http://www.syeoh.com >>
> > >>
> > >>
> > >>
> > >> On 3/11/2013 6:57 AM, jmv wrote:
> > >>> Thank you in advance for your help.
> > >>>
> > >>> I am running PB 12.5 Build 2511 on Windows7 32bit
> > 4GBRAM >>> machine.
> > >>>
> > >>> My mdi app exe and dev environment code is
> > crashing. In >>> debug it shows PBSHR125.dll as the
> > culprit. >>>
> > >>> The app crashes when I open a specific window and
> > then >>> close the window using the X option.
> > >>>
> > >>> The specific window is inherited from a w_edit
> > window >>> that calls the w_main.PostEvent("InitMenu")
> > event on >>> close. The "InitMenu" even simply disables
> > and enables >>> a few menu options.
> > >>>
> > >>> What could the possible issue be?
> > >>>
> > >>> Below is the call stack that displays when I debug
> > the >>> crash.
> > >>>
> > >>>> PBSHR125.DLL!10bf0199()
> > >>> [Frames below may be incorrect and/or missing
> > , no >>> symbols loaded for PBSHR125.DLL]
> > >>> kernel32.dll!7757c3d4()
> > >>> rica1Igr.dll!52a4280d()
> > >>> rica1Igr.dll!52a3fe62()
> > >>> gdi32.dll!773d21a8()
> > >>> gdi32.dll!773d218d()
> > >>> user32.dll!777a14bc()
> > >>> user32.dll!77780ab9()
> > >>> ntdll.dll!7766d0da()
> > >>> ntdll.dll!776853ae()
> > >>> PBSHR125.DLL!10bef629()
> > >>> PBSHR125.DLL!10bef7c9()
> > >>> PBSHR125.DLL!10bef629()
> > >>> user32.dll!777843ea()
> > >>> user32.dll!7778443d()
> > >>> user32.dll!7778445e()
> > >>> comctl32.dll!74269e81()
> > >>> comctl32.dll!74269d97()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c641()
> > >>> user32.dll!77781b31()
> > >>> user32.dll!77781b57()
> > >>> PBSHR125.DLL!10b92fb1()
> > >>> PBVM125.DLL!0057398e()
> > >>> PBVM125.DLL!00548fc3()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c5e7()
> > >>> user32.dll!7778c590()
> > >>> user32.dll!77781b31()
> > >>> user32.dll!77781b57()
> > >>> PBVM125.DLL!004f335c()
> > >>> PBVM125.DLL!004f2fb9()
> > >>> PBVM125.DLL!00429b62()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c5e7()
> > >>> user32.dll!7778c590()
> > >>> user32.dll!77784f0e()
> > >>> user32.dll!77784f7d()
> > >>> ntdll.dll!77656fce()
> > >>> user32.dll!77784ec3()
> > >>> user32.dll!7777b300()
> > >>> user32.dll!777a2319()
> > >>> user32.dll!777a233b()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c5e7()
> > >>> user32.dll!7778c590()
> > >>> user32.dll!77781b31()
> > >>> user32.dll!77781b57()
> > >>> PBSHR125.DLL!10b92fb1()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c5e7()
> > >>> user32.dll!7778c590()
> > >>> user32.dll!77781b31()
> > >>> user32.dll!77781b57()
> > >>> PBVM125.DLL!0042c76d()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c5e7()
> > >>> user32.dll!7778c590()
> > >>> user32.dll!77785294()
> > >>> user32.dll!77785582()
> > >>> user32.dll!777b39b8()
> > >>> user32.dll!777a42e0()
> > >>> user32.dll!777a42e0()
> > >>> user32.dll!777a1501()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c641()
> > >>> user32.dll!77781b31()
> > >>> user32.dll!77781b57()
> > >>> PBSHR125.DLL!10b955c3()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c5e7()
> > >>> user32.dll!7778c590()
> > >>> user32.dll!77784f0e()
> > >>> user32.dll!77784f7d()
> > >>> ntdll.dll!77656fce()
> > >>> user32.dll!77784ec3()
> > >>> user32.dll!77784f51()
> > >>> user32.dll!7778517d()
> > >>> user32.dll!7778c590()
> > >>> user32.dll!7778c641()
> > >>> user32.dll!77781b31()
> > >>> user32.dll!77781b57()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c641()
> > >>> user32.dll!77784f0e()
> > >>> user32.dll!77784f7d()
> > >>> user32.dll!77784f7d()
> > >>> ntdll.dll!77656fce()
> > >>> user32.dll!77784ec3()
> > >>> user32.dll!77784f51()
> > >>> user32.dll!7778517d()
> > >>> user32.dll!7779f630()
> > >>> user32.dll!777a1ec6()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c641()
> > >>> user32.dll!77781b31()
> > >>> user32.dll!77781b57()
> > >>> PBSHR125.DLL!10b92fb1()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c641()
> > >>> user32.dll!7778c590()
> > >>> user32.dll!7778c641()
> > >>> user32.dll!77781b31()
> > >>> user32.dll!77781b57()
> > >>> PBSHR125.DLL!10b955c3()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c5e7()
> > >>> user32.dll!7778c590()
> > >>> user32.dll!7778cc19()
> > >>> user32.dll!7778cc70()
> > >>> PBVM125.DLL!00466629()
> > >>> PBVM125.DLL!0051c71a()
> > >>> PBVM125.DLL!00523737()
> > >>> PBVM125.DLL!004681dd()
> > >>> PBVM125.DLL!004667da()
> > >>> kernel32.dll!7757c3d4()
> > >>> GdiPlus.dll!749e726b()
> > >>> GdiPlus.dll!749c586b()
> > >>> GdiPlus.dll!749d862f()
> > >>> PBSHR125.DLL!10bc0e90()
> > >>> PBSHR125.DLL!10bbff81()
> > >>> PBVM125.DLL!004945cd()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!777861ef()
> > >>> user32.dll!777a41d0()
> > >>> user32.dll!77781b31()
> > >>> user32.dll!77781b57()
> > >>> PBSYS125.DLL!1061ac18()
> > >>> gdi32.dll!773c899f()
> > >>> gdi32.dll!773c892d()
> > >>> gdi32.dll!773c898a()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c5e7()
> > >>> user32.dll!7778c590()
> > >>> user32.dll!77785294()
> > >>> user32.dll!77785582()
> > >>> PBSYS125.DLL!1061c4ce()
> > >>> PBSYS125.DLL!1061ffed()
> > >>> GdiPlus.dll!74a3a2be()
> > >>> gdi32.dll!773cf4db()
> > >>> gdi32.dll!773cf4c4()
> > >>> GdiPlus.dll!74a3f9b2()
> > >>> GdiPlus.dll!749f70db()
> > >>> GdiPlus.dll!74a4f37d()
> > >>> GdiPlus.dll!74a42a07()
> > >>> GdiPlus.dll!749f8129()
> > >>> kernel32.dll!7757c3d4()
> > >>> GdiPlus.dll!749e726b()
> > >>> GdiPlus.dll!749d862f()
> > >>> PBSHR125.DLL!10bc0e90()
> > >>> PBVM125.DLL!004888fc()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c641()
> > >>> user32.dll!77784f0e()
> > >>> user32.dll!7778437a()
> > >>> PBVM125.DLL!0049095d()
> > >>> PBVM125.DLL!004945cd()
> > >>> user32.dll!77785cf8()
> > >>> user32.dll!77785bee()
> > >>> user32.dll!777850d1()
> > >>> PBVM125.DLL!004888fc()
> > >>> PBVM125.DLL!004888fc()
> > >>> user32.dll!7778c4e7()
> > >>> user32.dll!7778c5e7()
> > >>> user32.dll!7778c590()
> > >>> user32.dll!7778cc19()
> > >>> user32.dll!7778cc70()
> > >>> PBSYS125.DLL!1061d907()
> > >>> PB125.EXE!1000277e()
> > >>> PB125.EXE!10001185()
> > >>> kernel32.dll!7757ed6c()
> > >>> ntdll.dll!7767377b()
> > >>> ntdll.dll!7767374e()
> > >>>
> > >>
> >


jmv Posted on 2013-03-25 14:28:03.0Z
Sender: 6c32.51505e4f.1804289383@sybase.com
From: jmv
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PBSHR125.dll crash
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <51505ef3.6c5d.1681692777@sybase.com>
References: <513ee41f.10c6.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 25 Mar 2013 06:28:03 -0800
X-Trace: forums-1-dub 1364221683 172.20.134.41 (25 Mar 2013 06:28:03 -0800)
X-Original-Trace: 25 Mar 2013 06:28:03 -0800, 172.20.134.41
Lines: 333
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:250065
Article PK: 1308593

I have been away from this issue for a while. Now I am back
on it and no where closer to a solution.

I tried to find build 4015 for PB 12.5.1 buty I did not find
it on the Sybase EBF list.

Does anyone have a link to this ownload?

Also the .DBG file dod not point to anything specific. So I
did not find that helpful.

Thanks in advance,

jmv

> Firstly, run the application with PBDEBUG tracing enabled,
> you can find it in system options. That will tell you the
> last line of code executed before the crash.
>
> It has a huge impact on the performance of your app though
> , which sometimes makes it unusable.
>
> Why are you accessing w_main & m_shell through their
> global variables? Are you certain you know which instance
> of these two classes you will actually be accessing at run
> time?
>
> What do all of those clicked events do? Could any of them
> have unexpected side effects?
>
> Why call "X.triggerevent(clicked!)" why not just "x.event
> clicked()"?
>
> > Thank you!
> >
> > 1. w_main is inherited from window
> > w_edit is inherited from child
> > 2. w_specific is inherited from w_edit
> >
> > close of w_specific calls close of w_edit
> > w_edit close has this line
> > w_main.PostEvent("InitMenu")
> >
> > w_main InitMenu event has this code
> > if IsValid(m_shell) then
> > m_shell.m_file.TriggerEvent(Clicked!)
> > m_shell.m_edit.TriggerEvent(Clicked!)
> > m_shell.m_data.TriggerEvent(Clicked!)
> > m_shell.m_view.TriggerEvent(Clicked!)
> > m_shell.m_computations.TriggerEvent(Clicked!)
> > m_shell.m_tools.TriggerEvent(Clicked!)
> > m_shell.m_reports.TriggerEvent(Clicked!)
> > m_shell.m_admin.TriggerEvent(Clicked!)
> > m_shell.m_window.TriggerEvent(Clicked!)
> > m_shell.m_help.TriggerEvent(Clicked!)
> > end if
> >
> > 3. I will apply the update (build 4015)
> >
> > 4. I did not perform the migration so I am not sure the
> > new PFC for PB 12.5.x from CodePlex was downloaded.
> >
> > > Hi;
> > >
> > > Thanks for the further information .. that makes
> > > more sense now and eliminates the post to w_main -
> > > which really sounds like your MDI Frame - as the
> > > potential culprit here.
> > >
> > > 1) In the InitMenu event ... do you refer to the
> > > current menu on w_main via its pointer (ie: its
> > > property "menuid")?
> > >
> > > 2) What type of window is the one inherited from
> > w_edit? >
> > > 3) I would strongly advise you to apply the PB 12.5.1
> > > official maintenance release (build 4015) update.
> > >
> > > 4) Did you download the new PFC for PB 12.5.x from
> > > CodePlex when you migrated?
> > >
> > >
> > > --
> > >
> > > Regards ... Chris
> > > President: OSUG / STD Inc.
> > > Vice President: ISUG-TECH
> > > Blog: http://chrispollach.blogspot.com
> > > SourceForge:
> > > http://sourceforge.net/projects/stdfndclass PBDJ:
> > > http://chrispollach.sys-con.com TKD:
> > http://www.syeoh.com >
> > >
> > >
> > >
> > > On 3/11/2013 7:45 AM, jmv wrote:
> > > > Well the w_main is always open until the app closes.
> > > > So the event should be avaiable.
> > > > The specific window is opened as a sheet to w_main.
> > > > So the specific window is inherited from
> > > > w_edit...w_edit posts the w_main event InitMenu.
> > > > The menu us attached to w_main.
> > > >
> > > > Yes using PFC. Also we are not having this issue
> > > > with other windows that use the same structure.
> > > >
> > > >> Hi;
> > > >>
> > > >> WOW ... when the window is closed - that also
> > > means its >> destroyed along with its associated
> > > menu! So posting >> something to the windows
> > > "InitMenu" at this point-in-time >> just does not
> > > makes sense. It may not be he cause of the >> PBSHR
> > > errors ... but, its a highly-suspect item at first >>
> > > glance. >>
> > > >> BTW: Are you using the PFC?
> > > >>
> > > >> --
> > > >>
> > > >> Regards ... Chris
> > > >> President: OSUG / STD Inc.
> > > >> Vice President: ISUG-TECH
> > > >> Blog: http://chrispollach.blogspot.com
> > > >> SourceForge:
> > > http://sourceforge.net/projects/stdfndclass >> PBDJ:
> > > http://chrispollach.sys-con.com >> TKD:
> > > http://www.syeoh.com >>
> > > >>
> > > >>
> > > >>
> > > >> On 3/11/2013 6:57 AM, jmv wrote:
> > > >>> Thank you in advance for your help.
> > > >>>
> > > >>> I am running PB 12.5 Build 2511 on Windows7 32bit
> > > 4GBRAM >>> machine.
> > > >>>
> > > >>> My mdi app exe and dev environment code is
> > > crashing. In >>> debug it shows PBSHR125.dll as the
> > > culprit. >>>
> > > >>> The app crashes when I open a specific window and
> > > then >>> close the window using the X option.
> > > >>>
> > > >>> The specific window is inherited from a w_edit
> > > window >>> that calls the w_main.PostEvent("InitMenu")
> > > event on >>> close. The "InitMenu" even simply
> > > disables and enables >>> a few menu options.
> > > >>>
> > > >>> What could the possible issue be?
> > > >>>
> > > >>> Below is the call stack that displays when I debug
> > > the >>> crash.
> > > >>>
> > > >>>> PBSHR125.DLL!10bf0199()
> > > >>> [Frames below may be incorrect and/or
> > > missing , no >>> symbols loaded for PBSHR125.DLL]
> > > >>> kernel32.dll!7757c3d4()
> > > >>> rica1Igr.dll!52a4280d()
> > > >>> rica1Igr.dll!52a3fe62()
> > > >>> gdi32.dll!773d21a8()
> > > >>> gdi32.dll!773d218d()
> > > >>> user32.dll!777a14bc()
> > > >>> user32.dll!77780ab9()
> > > >>> ntdll.dll!7766d0da()
> > > >>> ntdll.dll!776853ae()
> > > >>> PBSHR125.DLL!10bef629()
> > > >>> PBSHR125.DLL!10bef7c9()
> > > >>> PBSHR125.DLL!10bef629()
> > > >>> user32.dll!777843ea()
> > > >>> user32.dll!7778443d()
> > > >>> user32.dll!7778445e()
> > > >>> comctl32.dll!74269e81()
> > > >>> comctl32.dll!74269d97()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c641()
> > > >>> user32.dll!77781b31()
> > > >>> user32.dll!77781b57()
> > > >>> PBSHR125.DLL!10b92fb1()
> > > >>> PBVM125.DLL!0057398e()
> > > >>> PBVM125.DLL!00548fc3()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c5e7()
> > > >>> user32.dll!7778c590()
> > > >>> user32.dll!77781b31()
> > > >>> user32.dll!77781b57()
> > > >>> PBVM125.DLL!004f335c()
> > > >>> PBVM125.DLL!004f2fb9()
> > > >>> PBVM125.DLL!00429b62()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c5e7()
> > > >>> user32.dll!7778c590()
> > > >>> user32.dll!77784f0e()
> > > >>> user32.dll!77784f7d()
> > > >>> ntdll.dll!77656fce()
> > > >>> user32.dll!77784ec3()
> > > >>> user32.dll!7777b300()
> > > >>> user32.dll!777a2319()
> > > >>> user32.dll!777a233b()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c5e7()
> > > >>> user32.dll!7778c590()
> > > >>> user32.dll!77781b31()
> > > >>> user32.dll!77781b57()
> > > >>> PBSHR125.DLL!10b92fb1()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c5e7()
> > > >>> user32.dll!7778c590()
> > > >>> user32.dll!77781b31()
> > > >>> user32.dll!77781b57()
> > > >>> PBVM125.DLL!0042c76d()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c5e7()
> > > >>> user32.dll!7778c590()
> > > >>> user32.dll!77785294()
> > > >>> user32.dll!77785582()
> > > >>> user32.dll!777b39b8()
> > > >>> user32.dll!777a42e0()
> > > >>> user32.dll!777a42e0()
> > > >>> user32.dll!777a1501()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c641()
> > > >>> user32.dll!77781b31()
> > > >>> user32.dll!77781b57()
> > > >>> PBSHR125.DLL!10b955c3()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c5e7()
> > > >>> user32.dll!7778c590()
> > > >>> user32.dll!77784f0e()
> > > >>> user32.dll!77784f7d()
> > > >>> ntdll.dll!77656fce()
> > > >>> user32.dll!77784ec3()
> > > >>> user32.dll!77784f51()
> > > >>> user32.dll!7778517d()
> > > >>> user32.dll!7778c590()
> > > >>> user32.dll!7778c641()
> > > >>> user32.dll!77781b31()
> > > >>> user32.dll!77781b57()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c641()
> > > >>> user32.dll!77784f0e()
> > > >>> user32.dll!77784f7d()
> > > >>> user32.dll!77784f7d()
> > > >>> ntdll.dll!77656fce()
> > > >>> user32.dll!77784ec3()
> > > >>> user32.dll!77784f51()
> > > >>> user32.dll!7778517d()
> > > >>> user32.dll!7779f630()
> > > >>> user32.dll!777a1ec6()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c641()
> > > >>> user32.dll!77781b31()
> > > >>> user32.dll!77781b57()
> > > >>> PBSHR125.DLL!10b92fb1()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c641()
> > > >>> user32.dll!7778c590()
> > > >>> user32.dll!7778c641()
> > > >>> user32.dll!77781b31()
> > > >>> user32.dll!77781b57()
> > > >>> PBSHR125.DLL!10b955c3()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c5e7()
> > > >>> user32.dll!7778c590()
> > > >>> user32.dll!7778cc19()
> > > >>> user32.dll!7778cc70()
> > > >>> PBVM125.DLL!00466629()
> > > >>> PBVM125.DLL!0051c71a()
> > > >>> PBVM125.DLL!00523737()
> > > >>> PBVM125.DLL!004681dd()
> > > >>> PBVM125.DLL!004667da()
> > > >>> kernel32.dll!7757c3d4()
> > > >>> GdiPlus.dll!749e726b()
> > > >>> GdiPlus.dll!749c586b()
> > > >>> GdiPlus.dll!749d862f()
> > > >>> PBSHR125.DLL!10bc0e90()
> > > >>> PBSHR125.DLL!10bbff81()
> > > >>> PBVM125.DLL!004945cd()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!777861ef()
> > > >>> user32.dll!777a41d0()
> > > >>> user32.dll!77781b31()
> > > >>> user32.dll!77781b57()
> > > >>> PBSYS125.DLL!1061ac18()
> > > >>> gdi32.dll!773c899f()
> > > >>> gdi32.dll!773c892d()
> > > >>> gdi32.dll!773c898a()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c5e7()
> > > >>> user32.dll!7778c590()
> > > >>> user32.dll!77785294()
> > > >>> user32.dll!77785582()
> > > >>> PBSYS125.DLL!1061c4ce()
> > > >>> PBSYS125.DLL!1061ffed()
> > > >>> GdiPlus.dll!74a3a2be()
> > > >>> gdi32.dll!773cf4db()
> > > >>> gdi32.dll!773cf4c4()
> > > >>> GdiPlus.dll!74a3f9b2()
> > > >>> GdiPlus.dll!749f70db()
> > > >>> GdiPlus.dll!74a4f37d()
> > > >>> GdiPlus.dll!74a42a07()
> > > >>> GdiPlus.dll!749f8129()
> > > >>> kernel32.dll!7757c3d4()
> > > >>> GdiPlus.dll!749e726b()
> > > >>> GdiPlus.dll!749d862f()
> > > >>> PBSHR125.DLL!10bc0e90()
> > > >>> PBVM125.DLL!004888fc()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c641()
> > > >>> user32.dll!77784f0e()
> > > >>> user32.dll!7778437a()
> > > >>> PBVM125.DLL!0049095d()
> > > >>> PBVM125.DLL!004945cd()
> > > >>> user32.dll!77785cf8()
> > > >>> user32.dll!77785bee()
> > > >>> user32.dll!777850d1()
> > > >>> PBVM125.DLL!004888fc()
> > > >>> PBVM125.DLL!004888fc()
> > > >>> user32.dll!7778c4e7()
> > > >>> user32.dll!7778c5e7()
> > > >>> user32.dll!7778c590()
> > > >>> user32.dll!7778cc19()
> > > >>> user32.dll!7778cc70()
> > > >>> PBSYS125.DLL!1061d907()
> > > >>> PB125.EXE!1000277e()
> > > >>> PB125.EXE!10001185()
> > > >>> kernel32.dll!7757ed6c()
> > > >>> ntdll.dll!7767377b()
> > > >>> ntdll.dll!7767374e()
> > > >>>
> > > >>
> > >


Mark L Posted on 2013-03-25 16:08:34.0Z
From: Mark L <mlibner@yahoo.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PBSHR125.dll crash
References: <513ee41f.10c6.1681692777@sybase.com> <51505ef3.6c5d.1681692777@sybase.com>
In-Reply-To: <51505ef3.6c5d.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <51507682$1@forums-1-dub>
Date: 25 Mar 2013 08:08:34 -0800
X-Trace: forums-1-dub 1364227714 172.20.134.152 (25 Mar 2013 08:08:34 -0800)
X-Original-Trace: 25 Mar 2013 08:08:34 -0800, vip152.sybase.com
Lines: 338
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:250066
Article PK: 1308595

All the EBFs are listed first on the Sybase site. When the column
labeled "Type" changes from "EBF/Patch" to "Maint/Update" you will find
the build you are looking for.

On 3/25/2013 10:28 AM, jmv wrote:
> I have been away from this issue for a while. Now I am back
> on it and no where closer to a solution.
>
> I tried to find build 4015 for PB 12.5.1 buty I did not find
> it on the Sybase EBF list.
>
> Does anyone have a link to this ownload?
>
> Also the .DBG file dod not point to anything specific. So I
> did not find that helpful.
>
> Thanks in advance,
>
> jmv
>
>
>> Firstly, run the application with PBDEBUG tracing enabled,
>> you can find it in system options. That will tell you the
>> last line of code executed before the crash.
>>
>> It has a huge impact on the performance of your app though
>> , which sometimes makes it unusable.
>>
>> Why are you accessing w_main & m_shell through their
>> global variables? Are you certain you know which instance
>> of these two classes you will actually be accessing at run
>> time?
>>
>> What do all of those clicked events do? Could any of them
>> have unexpected side effects?
>>
>> Why call "X.triggerevent(clicked!)" why not just "x.event
>> clicked()"?
>>
>>> Thank you!
>>>
>>> 1. w_main is inherited from window
>>> w_edit is inherited from child
>>> 2. w_specific is inherited from w_edit
>>>
>>> close of w_specific calls close of w_edit
>>> w_edit close has this line
>>> w_main.PostEvent("InitMenu")
>>>
>>> w_main InitMenu event has this code
>>> if IsValid(m_shell) then
>>> m_shell.m_file.TriggerEvent(Clicked!)
>>> m_shell.m_edit.TriggerEvent(Clicked!)
>>> m_shell.m_data.TriggerEvent(Clicked!)
>>> m_shell.m_view.TriggerEvent(Clicked!)
>>> m_shell.m_computations.TriggerEvent(Clicked!)
>>> m_shell.m_tools.TriggerEvent(Clicked!)
>>> m_shell.m_reports.TriggerEvent(Clicked!)
>>> m_shell.m_admin.TriggerEvent(Clicked!)
>>> m_shell.m_window.TriggerEvent(Clicked!)
>>> m_shell.m_help.TriggerEvent(Clicked!)
>>> end if
>>>
>>> 3. I will apply the update (build 4015)
>>>
>>> 4. I did not perform the migration so I am not sure the
>>> new PFC for PB 12.5.x from CodePlex was downloaded.
>>>
>>>> Hi;
>>>>
>>>> Thanks for the further information .. that makes
>>>> more sense now and eliminates the post to w_main -
>>>> which really sounds like your MDI Frame - as the
>>>> potential culprit here.
>>>>
>>>> 1) In the InitMenu event ... do you refer to the
>>>> current menu on w_main via its pointer (ie: its
>>>> property "menuid")?
>>>>
>>>> 2) What type of window is the one inherited from
>>> w_edit? >
>>>> 3) I would strongly advise you to apply the PB 12.5.1
>>>> official maintenance release (build 4015) update.
>>>>
>>>> 4) Did you download the new PFC for PB 12.5.x from
>>>> CodePlex when you migrated?
>>>>
>>>>
>>>> --
>>>>
>>>> Regards ... Chris
>>>> President: OSUG / STD Inc.
>>>> Vice President: ISUG-TECH
>>>> Blog: http://chrispollach.blogspot.com
>>>> SourceForge:
>>>> http://sourceforge.net/projects/stdfndclass PBDJ:
>>>> http://chrispollach.sys-con.com TKD:
>>> http://www.syeoh.com >
>>>>
>>>>
>>>>
>>>> On 3/11/2013 7:45 AM, jmv wrote:
>>>>> Well the w_main is always open until the app closes.
>>>>> So the event should be avaiable.
>>>>> The specific window is opened as a sheet to w_main.
>>>>> So the specific window is inherited from
>>>>> w_edit...w_edit posts the w_main event InitMenu.
>>>>> The menu us attached to w_main.
>>>>>
>>>>> Yes using PFC. Also we are not having this issue
>>>>> with other windows that use the same structure.
>>>>>
>>>>>> Hi;
>>>>>>
>>>>>> WOW ... when the window is closed - that also
>>>> means its >> destroyed along with its associated
>>>> menu! So posting >> something to the windows
>>>> "InitMenu" at this point-in-time >> just does not
>>>> makes sense. It may not be he cause of the >> PBSHR
>>>> errors ... but, its a highly-suspect item at first >>
>>>> glance. >>
>>>>>> BTW: Are you using the PFC?
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Regards ... Chris
>>>>>> President: OSUG / STD Inc.
>>>>>> Vice President: ISUG-TECH
>>>>>> Blog: http://chrispollach.blogspot.com
>>>>>> SourceForge:
>>>> http://sourceforge.net/projects/stdfndclass >> PBDJ:
>>>> http://chrispollach.sys-con.com >> TKD:
>>>> http://www.syeoh.com >>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 3/11/2013 6:57 AM, jmv wrote:
>>>>>>> Thank you in advance for your help.
>>>>>>>
>>>>>>> I am running PB 12.5 Build 2511 on Windows7 32bit
>>>> 4GBRAM >>> machine.
>>>>>>>
>>>>>>> My mdi app exe and dev environment code is
>>>> crashing. In >>> debug it shows PBSHR125.dll as the
>>>> culprit. >>>
>>>>>>> The app crashes when I open a specific window and
>>>> then >>> close the window using the X option.
>>>>>>>
>>>>>>> The specific window is inherited from a w_edit
>>>> window >>> that calls the w_main.PostEvent("InitMenu")
>>>> event on >>> close. The "InitMenu" even simply
>>>> disables and enables >>> a few menu options.
>>>>>>>
>>>>>>> What could the possible issue be?
>>>>>>>
>>>>>>> Below is the call stack that displays when I debug
>>>> the >>> crash.
>>>>>>>
>>>>>>>> PBSHR125.DLL!10bf0199()
>>>>>>> [Frames below may be incorrect and/or
>>>> missing , no >>> symbols loaded for PBSHR125.DLL]
>>>>>>> kernel32.dll!7757c3d4()
>>>>>>> rica1Igr.dll!52a4280d()
>>>>>>> rica1Igr.dll!52a3fe62()
>>>>>>> gdi32.dll!773d21a8()
>>>>>>> gdi32.dll!773d218d()
>>>>>>> user32.dll!777a14bc()
>>>>>>> user32.dll!77780ab9()
>>>>>>> ntdll.dll!7766d0da()
>>>>>>> ntdll.dll!776853ae()
>>>>>>> PBSHR125.DLL!10bef629()
>>>>>>> PBSHR125.DLL!10bef7c9()
>>>>>>> PBSHR125.DLL!10bef629()
>>>>>>> user32.dll!777843ea()
>>>>>>> user32.dll!7778443d()
>>>>>>> user32.dll!7778445e()
>>>>>>> comctl32.dll!74269e81()
>>>>>>> comctl32.dll!74269d97()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c641()
>>>>>>> user32.dll!77781b31()
>>>>>>> user32.dll!77781b57()
>>>>>>> PBSHR125.DLL!10b92fb1()
>>>>>>> PBVM125.DLL!0057398e()
>>>>>>> PBVM125.DLL!00548fc3()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c5e7()
>>>>>>> user32.dll!7778c590()
>>>>>>> user32.dll!77781b31()
>>>>>>> user32.dll!77781b57()
>>>>>>> PBVM125.DLL!004f335c()
>>>>>>> PBVM125.DLL!004f2fb9()
>>>>>>> PBVM125.DLL!00429b62()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c5e7()
>>>>>>> user32.dll!7778c590()
>>>>>>> user32.dll!77784f0e()
>>>>>>> user32.dll!77784f7d()
>>>>>>> ntdll.dll!77656fce()
>>>>>>> user32.dll!77784ec3()
>>>>>>> user32.dll!7777b300()
>>>>>>> user32.dll!777a2319()
>>>>>>> user32.dll!777a233b()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c5e7()
>>>>>>> user32.dll!7778c590()
>>>>>>> user32.dll!77781b31()
>>>>>>> user32.dll!77781b57()
>>>>>>> PBSHR125.DLL!10b92fb1()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c5e7()
>>>>>>> user32.dll!7778c590()
>>>>>>> user32.dll!77781b31()
>>>>>>> user32.dll!77781b57()
>>>>>>> PBVM125.DLL!0042c76d()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c5e7()
>>>>>>> user32.dll!7778c590()
>>>>>>> user32.dll!77785294()
>>>>>>> user32.dll!77785582()
>>>>>>> user32.dll!777b39b8()
>>>>>>> user32.dll!777a42e0()
>>>>>>> user32.dll!777a42e0()
>>>>>>> user32.dll!777a1501()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c641()
>>>>>>> user32.dll!77781b31()
>>>>>>> user32.dll!77781b57()
>>>>>>> PBSHR125.DLL!10b955c3()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c5e7()
>>>>>>> user32.dll!7778c590()
>>>>>>> user32.dll!77784f0e()
>>>>>>> user32.dll!77784f7d()
>>>>>>> ntdll.dll!77656fce()
>>>>>>> user32.dll!77784ec3()
>>>>>>> user32.dll!77784f51()
>>>>>>> user32.dll!7778517d()
>>>>>>> user32.dll!7778c590()
>>>>>>> user32.dll!7778c641()
>>>>>>> user32.dll!77781b31()
>>>>>>> user32.dll!77781b57()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c641()
>>>>>>> user32.dll!77784f0e()
>>>>>>> user32.dll!77784f7d()
>>>>>>> user32.dll!77784f7d()
>>>>>>> ntdll.dll!77656fce()
>>>>>>> user32.dll!77784ec3()
>>>>>>> user32.dll!77784f51()
>>>>>>> user32.dll!7778517d()
>>>>>>> user32.dll!7779f630()
>>>>>>> user32.dll!777a1ec6()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c641()
>>>>>>> user32.dll!77781b31()
>>>>>>> user32.dll!77781b57()
>>>>>>> PBSHR125.DLL!10b92fb1()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c641()
>>>>>>> user32.dll!7778c590()
>>>>>>> user32.dll!7778c641()
>>>>>>> user32.dll!77781b31()
>>>>>>> user32.dll!77781b57()
>>>>>>> PBSHR125.DLL!10b955c3()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c5e7()
>>>>>>> user32.dll!7778c590()
>>>>>>> user32.dll!7778cc19()
>>>>>>> user32.dll!7778cc70()
>>>>>>> PBVM125.DLL!00466629()
>>>>>>> PBVM125.DLL!0051c71a()
>>>>>>> PBVM125.DLL!00523737()
>>>>>>> PBVM125.DLL!004681dd()
>>>>>>> PBVM125.DLL!004667da()
>>>>>>> kernel32.dll!7757c3d4()
>>>>>>> GdiPlus.dll!749e726b()
>>>>>>> GdiPlus.dll!749c586b()
>>>>>>> GdiPlus.dll!749d862f()
>>>>>>> PBSHR125.DLL!10bc0e90()
>>>>>>> PBSHR125.DLL!10bbff81()
>>>>>>> PBVM125.DLL!004945cd()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!777861ef()
>>>>>>> user32.dll!777a41d0()
>>>>>>> user32.dll!77781b31()
>>>>>>> user32.dll!77781b57()
>>>>>>> PBSYS125.DLL!1061ac18()
>>>>>>> gdi32.dll!773c899f()
>>>>>>> gdi32.dll!773c892d()
>>>>>>> gdi32.dll!773c898a()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c5e7()
>>>>>>> user32.dll!7778c590()
>>>>>>> user32.dll!77785294()
>>>>>>> user32.dll!77785582()
>>>>>>> PBSYS125.DLL!1061c4ce()
>>>>>>> PBSYS125.DLL!1061ffed()
>>>>>>> GdiPlus.dll!74a3a2be()
>>>>>>> gdi32.dll!773cf4db()
>>>>>>> gdi32.dll!773cf4c4()
>>>>>>> GdiPlus.dll!74a3f9b2()
>>>>>>> GdiPlus.dll!749f70db()
>>>>>>> GdiPlus.dll!74a4f37d()
>>>>>>> GdiPlus.dll!74a42a07()
>>>>>>> GdiPlus.dll!749f8129()
>>>>>>> kernel32.dll!7757c3d4()
>>>>>>> GdiPlus.dll!749e726b()
>>>>>>> GdiPlus.dll!749d862f()
>>>>>>> PBSHR125.DLL!10bc0e90()
>>>>>>> PBVM125.DLL!004888fc()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c641()
>>>>>>> user32.dll!77784f0e()
>>>>>>> user32.dll!7778437a()
>>>>>>> PBVM125.DLL!0049095d()
>>>>>>> PBVM125.DLL!004945cd()
>>>>>>> user32.dll!77785cf8()
>>>>>>> user32.dll!77785bee()
>>>>>>> user32.dll!777850d1()
>>>>>>> PBVM125.DLL!004888fc()
>>>>>>> PBVM125.DLL!004888fc()
>>>>>>> user32.dll!7778c4e7()
>>>>>>> user32.dll!7778c5e7()
>>>>>>> user32.dll!7778c590()
>>>>>>> user32.dll!7778cc19()
>>>>>>> user32.dll!7778cc70()
>>>>>>> PBSYS125.DLL!1061d907()
>>>>>>> PB125.EXE!1000277e()
>>>>>>> PB125.EXE!10001185()
>>>>>>> kernel32.dll!7757ed6c()
>>>>>>> ntdll.dll!7767377b()
>>>>>>> ntdll.dll!7767374e()
>>>>>>>
>>>>>>
>>>>


Scott Morris Posted on 2013-03-11 12:49:49.0Z
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PBSHR125.dll crash
References: <513db882.346d.1681692777@sybase.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Scott Morris" <bogus@abc.def>
Message-ID: <op.wtr8lbq1q59cbq@scott-win7.divinv.net>
User-Agent: Opera Mail/11.51 (Win32)
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 11 Mar 2013 04:49:49 -0800
X-Trace: forums-1-dub 1363006189 172.20.134.152 (11 Mar 2013 04:49:49 -0800)
X-Original-Trace: 11 Mar 2013 04:49:49 -0800, vip152.sybase.com
Lines: 35
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249870
Article PK: 1308259


On Mon, 11 Mar 2013 06:57:07 -0400, <jmv> wrote:

> Thank you in advance for your help.
>
> I am running PB 12.5 Build 2511 on Windows7 32bit 4GBRAM
> machine.
>
> My mdi app exe and dev environment code is crashing. In
> debug it shows PBSHR125.dll as the culprit.
>
> The app crashes when I open a specific window and then close
> the window using the X option.
>
> The specific window is inherited from a w_edit window that
> calls the w_main.PostEvent("InitMenu") event on close. The
> "InitMenu" even simply disables and enables a few menu
> options.
>
> What could the possible issue be?
>
> Below is the call stack that displays when I debug the
> crash.
>
>> PBSHR125.DLL!10bf0199()

Posting the stack is generally pointless. Presumably you have a classic
APP - the error occurs when running the application in the IDE or the
EXE? If the EXE, does it occur on the same machine used for building or
one without the IDE?

Simple question - is w_main valid? In a MDI application, there are safer
ways to get the frame to which a sheet is associated. With PFC, you can
use gnv_app.of_getframe. Does the code in InitMenu rely on global
variables as well - or perhaps assume something is valid/open when it is
not?