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.

GPFs/hangs on datawindow update()

9 posts in Pocket PowerBuilder Last posting was on 2003-10-23 22:54:57.0Z
forums.sybase.com' Posted on 2003-10-02 20:18:44.0Z
From: "forums.sybase.com'" <jamesallen@maximus.com>
Newsgroups: sybase.public.pocketpowerbuilder
Subject: GPFs/hangs on datawindow update()
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Original-NNTP-Posting-Host: 65.245.3.190
Message-ID: <3f7c88d7$1@forums-2-dub>
X-Original-Trace: 2 Oct 2003 13:21:43 -0700, 65.245.3.190
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 2 Oct 2003 13:13:44 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 2 Oct 2003 13:18:44 -0700
X-Trace: forums-1-dub 1065125924 10.22.108.75 (2 Oct 2003 13:18:44 -0700)
X-Original-Trace: 2 Oct 2003 13:18:44 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:676
Article PK: 267209

Good Afternoon all:

We are having GPF's when the datawindow update() is called. The same
window is used of inserts, and updates to a specific row. If you retrieve a
row edit the row and save, the datawindow update() works perfectly. On
inserts values are entered to all the fields, the desktop version GPF in the
debugger and hangs when just running the app. It also hangs on the iPAQ.
We have tried various way to trap the error with no success. We have left a
not null column null and the error is returned and caught in the datawindow
control's dberror event, which is correct.

Funny thing is updates work, inserting a record that should cause an error
displays the db error message, but inserting a valid record hangs or GPF's
the system.

Software/Hardware configuration
Pocket Powerbuilder Version 1.0 Build 109
ASA 8.0.2.4272
desktop Dell P-III 750, Windows 2000 5.00.2195 SP 4.
Handheld Compaq iPAQ 3850

This issue sounds very much like the one posted 28 Aug 2003 by Patty
Brown, but we did not find a resolution to that issue listed.

Any help or guidance will be greatly appriceiated.

James Allen
Sr. Programmer
Maximus, Inc.
jamesallen@maximus.com or
james.t.allen@bigfoot.com


Chris Pollach Posted on 2003-10-03 01:03:32.0Z
Reply-To: "Chris Pollach" <cpollach@ajja.com>
From: "Chris Pollach" <cpollach@ajja.com>
Newsgroups: sybase.public.pocketpowerbuilder
References: <3f7c88d7$1@forums-2-dub>
Subject: Re: GPFs/hangs on datawindow update()
Lines: 53
Organization: Software Tool & Die Inc.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 207.176.178.145
X-Original-NNTP-Posting-Host: 207.176.178.145
Message-ID: <3f7ccae4$1@forums-1-dub>
Date: 2 Oct 2003 18:03:32 -0700
X-Trace: forums-1-dub 1065143012 207.176.178.145 (2 Oct 2003 18:03:32 -0700)
X-Original-Trace: 2 Oct 2003 18:03:32 -0700, 207.176.178.145
X-Authenticated-User: pocketpb
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:680
Article PK: 267214

James;

I would strongly suggest that you upgrade to release 1.0.1 (build 212)
before you test any further. That release had quite a few problems resolved.

Regards ... Chris

"forums.sybase.com'" <jamesallen@maximus.com> wrote in message
news:3f7c88d7$1@forums-2-dub...
> Good Afternoon all:
>
> We are having GPF's when the datawindow update() is called. The same
> window is used of inserts, and updates to a specific row. If you retrieve
a
> row edit the row and save, the datawindow update() works perfectly. On
> inserts values are entered to all the fields, the desktop version GPF in
the
> debugger and hangs when just running the app. It also hangs on the iPAQ.
> We have tried various way to trap the error with no success. We have left
a
> not null column null and the error is returned and caught in the
datawindow
> control's dberror event, which is correct.
>
> Funny thing is updates work, inserting a record that should cause an error
> displays the db error message, but inserting a valid record hangs or GPF's
> the system.
>
> Software/Hardware configuration
> Pocket Powerbuilder Version 1.0 Build 109
> ASA 8.0.2.4272
> desktop Dell P-III 750, Windows 2000 5.00.2195 SP
4.
> Handheld Compaq iPAQ 3850
>
> This issue sounds very much like the one posted 28 Aug 2003 by Patty
> Brown, but we did not find a resolution to that issue listed.
>
> Any help or guidance will be greatly appriceiated.
>
> James Allen
> Sr. Programmer
> Maximus, Inc.
> jamesallen@maximus.com or
> james.t.allen@bigfoot.com
>
>
>
>
>


forums.sybase.com' Posted on 2003-10-03 14:36:28.0Z
From: "forums.sybase.com'" <jamesallen@maximus.com>
Newsgroups: sybase.public.pocketpowerbuilder
References: <3f7c88d7$1@forums-2-dub> <3f7ccae4$1@forums-1-dub>
Subject: Re: GPFs/hangs on datawindow update()
Lines: 80
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 65.245.3.190
X-Original-NNTP-Posting-Host: 65.245.3.190
Message-ID: <3f7d896c$1@forums-1-dub>
Date: 3 Oct 2003 07:36:28 -0700
X-Trace: forums-1-dub 1065191788 65.245.3.190 (3 Oct 2003 07:36:28 -0700)
X-Original-Trace: 3 Oct 2003 07:36:28 -0700, 65.245.3.190
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:687
Article PK: 267221

Hi Chris

We downloaded the build 212 patch and applied it. The about box now
states version 1.0 build 212 (not version 1.0.1). We regenerated the entire
app. The application still hangs when ran on the desktop, and GPF's in the
debugger. The line that GPF's in the debugger is ...

ll_ret_val = dw_master.update()

...This line works fine on other screens created from the frame work.
It also works fine on this screen for updates. We have no idea where to go
from here.

james

"Chris Pollach" <cpollach@ajja.com> wrote in message
news:3f7ccae4$1@forums-1-dub...
> James;
>
> I would strongly suggest that you upgrade to release 1.0.1 (build 212)
> before you test any further. That release had quite a few problems
resolved.
>
> Regards ... Chris
>
>
> "forums.sybase.com'" <jamesallen@maximus.com> wrote in message
> news:3f7c88d7$1@forums-2-dub...
> > Good Afternoon all:
> >
> > We are having GPF's when the datawindow update() is called. The
same
> > window is used of inserts, and updates to a specific row. If you
retrieve
> a
> > row edit the row and save, the datawindow update() works perfectly. On
> > inserts values are entered to all the fields, the desktop version GPF in
> the
> > debugger and hangs when just running the app. It also hangs on the
iPAQ.
> > We have tried various way to trap the error with no success. We have
left
> a
> > not null column null and the error is returned and caught in the
> datawindow
> > control's dberror event, which is correct.
> >
> > Funny thing is updates work, inserting a record that should cause an
error
> > displays the db error message, but inserting a valid record hangs or
GPF's
> > the system.
> >
> > Software/Hardware configuration
> > Pocket Powerbuilder Version 1.0 Build 109
> > ASA 8.0.2.4272
> > desktop Dell P-III 750, Windows 2000 5.00.2195
SP
> 4.
> > Handheld Compaq iPAQ 3850
> >
> > This issue sounds very much like the one posted 28 Aug 2003 by Patty
> > Brown, but we did not find a resolution to that issue listed.
> >
> > Any help or guidance will be greatly appriceiated.
> >
> > James Allen
> > Sr. Programmer
> > Maximus, Inc.
> > jamesallen@maximus.com or
> > james.t.allen@bigfoot.com
> >
> >
> >
> >
> >
>
>


Chris Pollach Posted on 2003-10-06 11:18:47.0Z
From: "Chris Pollach" <PollachC@SCC-CSC.gc.ca>
Newsgroups: sybase.public.pocketpowerbuilder
References: <3f7c88d7$1@forums-2-dub> <3f7ccae4$1@forums-1-dub> <3f7d896c$1@forums-1-dub>
Subject: Re: GPFs/hangs on datawindow update()
Lines: 112
Organization: The Supreme Court of Canada
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: www.scc-csc.gc.ca
X-Original-NNTP-Posting-Host: www.scc-csc.gc.ca
Message-ID: <3f814f97@forums-1-dub>
Date: 6 Oct 2003 04:18:47 -0700
X-Trace: forums-1-dub 1065439127 209.47.227.132 (6 Oct 2003 04:18:47 -0700)
X-Original-Trace: 6 Oct 2003 04:18:47 -0700, www.scc-csc.gc.ca
X-Authenticated-User: PPBBeta11
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:708
Article PK: 267242

James;

Yes, release 1.0.1 is build 212 .. so that's perfect!

Strange behavior for your application though. The Update ( ) method will
trigger an Acceptext ( ), which could also fire an ItemChanged event, the
UpdateStart and UpdateEnd events will fire. Is there any code on the
ItemFocusChanged, RowFocusChanged, or ItemFocusChanged events. If so,
comment it out (or override the ancestor completely) and see if the GPF goes
away.

If commenting the above events does not stop the GPF, have a look at the
DW Object. Could there be some weird "expressions" on any of the data
objects?

Does this only happen on one particular DW Object?

Thanks .... Chris
Great White North Technical Evangelist

"forums.sybase.com'" <jamesallen@maximus.com> wrote in message
news:3f7d896c$1@forums-1-dub...
> Hi Chris
>
> We downloaded the build 212 patch and applied it. The about box now
> states version 1.0 build 212 (not version 1.0.1). We regenerated the
entire
> app. The application still hangs when ran on the desktop, and GPF's in
the
> debugger. The line that GPF's in the debugger is ...
>
> ll_ret_val = dw_master.update()
>
> ...This line works fine on other screens created from the frame work.
> It also works fine on this screen for updates. We have no idea where to
go
> from here.
>
> james
>
> "Chris Pollach" <cpollach@ajja.com> wrote in message
> news:3f7ccae4$1@forums-1-dub...
> > James;
> >
> > I would strongly suggest that you upgrade to release 1.0.1 (build 212)
> > before you test any further. That release had quite a few problems
> resolved.
> >
> > Regards ... Chris
> >
> >
> > "forums.sybase.com'" <jamesallen@maximus.com> wrote in message
> > news:3f7c88d7$1@forums-2-dub...
> > > Good Afternoon all:
> > >
> > > We are having GPF's when the datawindow update() is called. The
> same
> > > window is used of inserts, and updates to a specific row. If you
> retrieve
> > a
> > > row edit the row and save, the datawindow update() works perfectly.
On
> > > inserts values are entered to all the fields, the desktop version GPF
in
> > the
> > > debugger and hangs when just running the app. It also hangs on the
> iPAQ.
> > > We have tried various way to trap the error with no success. We have
> left
> > a
> > > not null column null and the error is returned and caught in the
> > datawindow
> > > control's dberror event, which is correct.
> > >
> > > Funny thing is updates work, inserting a record that should cause an
> error
> > > displays the db error message, but inserting a valid record hangs or
> GPF's
> > > the system.
> > >
> > > Software/Hardware configuration
> > > Pocket Powerbuilder Version 1.0 Build 109
> > > ASA 8.0.2.4272
> > > desktop Dell P-III 750, Windows 2000 5.00.2195
> SP
> > 4.
> > > Handheld Compaq iPAQ 3850
> > >
> > > This issue sounds very much like the one posted 28 Aug 2003 by
Patty
> > > Brown, but we did not find a resolution to that issue listed.
> > >
> > > Any help or guidance will be greatly appriceiated.
> > >
> > > James Allen
> > > Sr. Programmer
> > > Maximus, Inc.
> > > jamesallen@maximus.com or
> > > james.t.allen@bigfoot.com
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>


James Allen Posted on 2003-10-08 19:49:09.0Z
From: "James Allen" <jamesallen@maximus.com>
Newsgroups: sybase.public.pocketpowerbuilder
References: <3f7c88d7$1@forums-2-dub> <3f7ccae4$1@forums-1-dub> <3f7d896c$1@forums-1-dub> <3f814f97@forums-1-dub>
Subject: Re: GPFs/hangs on datawindow update()
Lines: 137
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 65.245.3.190
X-Original-NNTP-Posting-Host: 65.245.3.190
Message-ID: <3f846a35$1@forums-1-dub>
Date: 8 Oct 2003 12:49:09 -0700
X-Trace: forums-1-dub 1065642549 65.245.3.190 (8 Oct 2003 12:49:09 -0700)
X-Original-Trace: 8 Oct 2003 12:49:09 -0700, 65.245.3.190
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:804
Article PK: 268108

I have rebuilt the screen and the datawindow. I did as you suggested and it
still GPF's. I also found out that I was wrong on the hang part. I let it
run for about 10 minutes and then the GPF fired. The Datawindow itself is
pretty generic. And it only happens on this one datawindow. I have 3 other
screens that are built the exact same way inherited from the same parents.
I am stuck.

James Allen
Sr. Programmer
Maximus, Inc.
jamesallen@maximus.com or
james.t.allen@bigfoot.com

"Chris Pollach" <PollachC@SCC-CSC.gc.ca> wrote in message
news:3f814f97@forums-1-dub...
> James;
>
> Yes, release 1.0.1 is build 212 .. so that's perfect!
>
> Strange behavior for your application though. The Update ( ) method
will
> trigger an Acceptext ( ), which could also fire an ItemChanged event, the
> UpdateStart and UpdateEnd events will fire. Is there any code on the
> ItemFocusChanged, RowFocusChanged, or ItemFocusChanged events. If so,
> comment it out (or override the ancestor completely) and see if the GPF
goes
> away.
>
> If commenting the above events does not stop the GPF, have a look at
the
> DW Object. Could there be some weird "expressions" on any of the data
> objects?
>
> Does this only happen on one particular DW Object?
>
> Thanks .... Chris
> Great White North Technical Evangelist
>
>
>
> "forums.sybase.com'" <jamesallen@maximus.com> wrote in message
> news:3f7d896c$1@forums-1-dub...
> > Hi Chris
> >
> > We downloaded the build 212 patch and applied it. The about box now
> > states version 1.0 build 212 (not version 1.0.1). We regenerated the
> entire
> > app. The application still hangs when ran on the desktop, and GPF's in
> the
> > debugger. The line that GPF's in the debugger is ...
> >
> > ll_ret_val = dw_master.update()
> >
> > ...This line works fine on other screens created from the frame
work.
> > It also works fine on this screen for updates. We have no idea where to
> go
> > from here.
> >
> > james
> >
> > "Chris Pollach" <cpollach@ajja.com> wrote in message
> > news:3f7ccae4$1@forums-1-dub...
> > > James;
> > >
> > > I would strongly suggest that you upgrade to release 1.0.1 (build
212)
> > > before you test any further. That release had quite a few problems
> > resolved.
> > >
> > > Regards ... Chris
> > >
> > >
> > > "forums.sybase.com'" <jamesallen@maximus.com> wrote in message
> > > news:3f7c88d7$1@forums-2-dub...
> > > > Good Afternoon all:
> > > >
> > > > We are having GPF's when the datawindow update() is called. The
> > same
> > > > window is used of inserts, and updates to a specific row. If you
> > retrieve
> > > a
> > > > row edit the row and save, the datawindow update() works perfectly.
> On
> > > > inserts values are entered to all the fields, the desktop version
GPF
> in
> > > the
> > > > debugger and hangs when just running the app. It also hangs on the
> > iPAQ.
> > > > We have tried various way to trap the error with no success. We
have
> > left
> > > a
> > > > not null column null and the error is returned and caught in the
> > > datawindow
> > > > control's dberror event, which is correct.
> > > >
> > > > Funny thing is updates work, inserting a record that should cause an
> > error
> > > > displays the db error message, but inserting a valid record hangs or
> > GPF's
> > > > the system.
> > > >
> > > > Software/Hardware configuration
> > > > Pocket Powerbuilder Version 1.0 Build 109
> > > > ASA 8.0.2.4272
> > > > desktop Dell P-III 750, Windows 2000
5.00.2195
> > SP
> > > 4.
> > > > Handheld Compaq iPAQ 3850
> > > >
> > > > This issue sounds very much like the one posted 28 Aug 2003 by
> Patty
> > > > Brown, but we did not find a resolution to that issue listed.
> > > >
> > > > Any help or guidance will be greatly appriceiated.
> > > >
> > > > James Allen
> > > > Sr. Programmer
> > > > Maximus, Inc.
> > > > jamesallen@maximus.com or
> > > > james.t.allen@bigfoot.com
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>


Martyn Mallick Posted on 2003-10-09 20:10:21.0Z
From: "Martyn Mallick" <mmallick.removethis@ianywhere.com>
Newsgroups: sybase.public.pocketpowerbuilder
References: <3f7c88d7$1@forums-2-dub> <3f7ccae4$1@forums-1-dub> <3f7d896c$1@forums-1-dub> <3f814f97@forums-1-dub> <3f846a35$1@forums-1-dub>
Subject: Re: GPFs/hangs on datawindow update()
Lines: 160
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
NNTP-Posting-Host: vpn-dub-143.sybase.com
X-Original-NNTP-Posting-Host: vpn-dub-143.sybase.com
Message-ID: <3f85c0ad@forums-1-dub>
Date: 9 Oct 2003 13:10:21 -0700
X-Trace: forums-1-dub 1065730221 10.22.120.143 (9 Oct 2003 13:10:21 -0700)
X-Original-Trace: 9 Oct 2003 13:10:21 -0700, vpn-dub-143.sybase.com
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:830
Article PK: 268137

James,

You will probably need to open a case for this and provide a code example
that demonstrates it. I don't think it is easily reproducable.

-Marty

"James Allen" <jamesallen@maximus.com> wrote in message
news:3f846a35$1@forums-1-dub...
> I have rebuilt the screen and the datawindow. I did as you suggested and
it
> still GPF's. I also found out that I was wrong on the hang part. I let
it
> run for about 10 minutes and then the GPF fired. The Datawindow itself is
> pretty generic. And it only happens on this one datawindow. I have 3
other
> screens that are built the exact same way inherited from the same parents.
> I am stuck.
>
> James Allen
> Sr. Programmer
> Maximus, Inc.
> jamesallen@maximus.com or
> james.t.allen@bigfoot.com
>
> "Chris Pollach" <PollachC@SCC-CSC.gc.ca> wrote in message
> news:3f814f97@forums-1-dub...
> > James;
> >
> > Yes, release 1.0.1 is build 212 .. so that's perfect!
> >
> > Strange behavior for your application though. The Update ( ) method
> will
> > trigger an Acceptext ( ), which could also fire an ItemChanged event,
the
> > UpdateStart and UpdateEnd events will fire. Is there any code on the
> > ItemFocusChanged, RowFocusChanged, or ItemFocusChanged events. If so,
> > comment it out (or override the ancestor completely) and see if the GPF
> goes
> > away.
> >
> > If commenting the above events does not stop the GPF, have a look at
> the
> > DW Object. Could there be some weird "expressions" on any of the data
> > objects?
> >
> > Does this only happen on one particular DW Object?
> >
> > Thanks .... Chris
> > Great White North Technical Evangelist
> >
> >
> >
> > "forums.sybase.com'" <jamesallen@maximus.com> wrote in message
> > news:3f7d896c$1@forums-1-dub...
> > > Hi Chris
> > >
> > > We downloaded the build 212 patch and applied it. The about box
now
> > > states version 1.0 build 212 (not version 1.0.1). We regenerated the
> > entire
> > > app. The application still hangs when ran on the desktop, and GPF's
in
> > the
> > > debugger. The line that GPF's in the debugger is ...
> > >
> > > ll_ret_val = dw_master.update()
> > >
> > > ...This line works fine on other screens created from the frame
> work.
> > > It also works fine on this screen for updates. We have no idea where
to
> > go
> > > from here.
> > >
> > > james
> > >
> > > "Chris Pollach" <cpollach@ajja.com> wrote in message
> > > news:3f7ccae4$1@forums-1-dub...
> > > > James;
> > > >
> > > > I would strongly suggest that you upgrade to release 1.0.1 (build
> 212)
> > > > before you test any further. That release had quite a few problems
> > > resolved.
> > > >
> > > > Regards ... Chris
> > > >
> > > >
> > > > "forums.sybase.com'" <jamesallen@maximus.com> wrote in message
> > > > news:3f7c88d7$1@forums-2-dub...
> > > > > Good Afternoon all:
> > > > >
> > > > > We are having GPF's when the datawindow update() is called.
The
> > > same
> > > > > window is used of inserts, and updates to a specific row. If you
> > > retrieve
> > > > a
> > > > > row edit the row and save, the datawindow update() works
perfectly.
> > On
> > > > > inserts values are entered to all the fields, the desktop version
> GPF
> > in
> > > > the
> > > > > debugger and hangs when just running the app. It also hangs on
the
> > > iPAQ.
> > > > > We have tried various way to trap the error with no success. We
> have
> > > left
> > > > a
> > > > > not null column null and the error is returned and caught in the
> > > > datawindow
> > > > > control's dberror event, which is correct.
> > > > >
> > > > > Funny thing is updates work, inserting a record that should cause
an
> > > error
> > > > > displays the db error message, but inserting a valid record hangs
or
> > > GPF's
> > > > > the system.
> > > > >
> > > > > Software/Hardware configuration
> > > > > Pocket Powerbuilder Version 1.0 Build 109
> > > > > ASA 8.0.2.4272
> > > > > desktop Dell P-III 750, Windows 2000
> 5.00.2195
> > > SP
> > > > 4.
> > > > > Handheld Compaq iPAQ 3850
> > > > >
> > > > > This issue sounds very much like the one posted 28 Aug 2003 by
> > Patty
> > > > > Brown, but we did not find a resolution to that issue listed.
> > > > >
> > > > > Any help or guidance will be greatly appriceiated.
> > > > >
> > > > > James Allen
> > > > > Sr. Programmer
> > > > > Maximus, Inc.
> > > > > jamesallen@maximus.com or
> > > > > james.t.allen@bigfoot.com
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>


James Allen Posted on 2003-10-10 15:01:36.0Z
From: "James Allen" <jamesallen@maximus.com>
Newsgroups: sybase.public.pocketpowerbuilder
References: <3f7c88d7$1@forums-2-dub> <3f7ccae4$1@forums-1-dub> <3f7d896c$1@forums-1-dub> <3f814f97@forums-1-dub> <3f846a35$1@forums-1-dub> <3f85c0ad@forums-1-dub>
Subject: Re: GPFs/hangs on datawindow update()
Lines: 185
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Original-NNTP-Posting-Host: 65.245.3.190
Message-ID: <3f86ca9f$1@forums-2-dub>
X-Original-Trace: 10 Oct 2003 08:05:03 -0700, 65.245.3.190
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 10 Oct 2003 07:55:48 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 10 Oct 2003 08:01:36 -0700
X-Trace: forums-1-dub 1065798096 10.22.108.75 (10 Oct 2003 08:01:36 -0700)
X-Original-Trace: 10 Oct 2003 08:01:36 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:843
Article PK: 268145

Hi Martyn
I'll gen an application with the window in question and get a case
started. I'll post the results here if and when....

thanks
james

"Martyn Mallick" <mmallick.removethis@ianywhere.com> wrote in message
news:3f85c0ad@forums-1-dub...
> James,
>
> You will probably need to open a case for this and provide a code example
> that demonstrates it. I don't think it is easily reproducable.
>
> -Marty
>
> "James Allen" <jamesallen@maximus.com> wrote in message
> news:3f846a35$1@forums-1-dub...
> > I have rebuilt the screen and the datawindow. I did as you suggested
and
> it
> > still GPF's. I also found out that I was wrong on the hang part. I let
> it
> > run for about 10 minutes and then the GPF fired. The Datawindow itself
is
> > pretty generic. And it only happens on this one datawindow. I have 3
> other
> > screens that are built the exact same way inherited from the same
parents.
> > I am stuck.
> >
> > James Allen
> > Sr. Programmer
> > Maximus, Inc.
> > jamesallen@maximus.com or
> > james.t.allen@bigfoot.com
> >
> > "Chris Pollach" <PollachC@SCC-CSC.gc.ca> wrote in message
> > news:3f814f97@forums-1-dub...
> > > James;
> > >
> > > Yes, release 1.0.1 is build 212 .. so that's perfect!
> > >
> > > Strange behavior for your application though. The Update ( )
method
> > will
> > > trigger an Acceptext ( ), which could also fire an ItemChanged event,
> the
> > > UpdateStart and UpdateEnd events will fire. Is there any code on the
> > > ItemFocusChanged, RowFocusChanged, or ItemFocusChanged events. If so,
> > > comment it out (or override the ancestor completely) and see if the
GPF
> > goes
> > > away.
> > >
> > > If commenting the above events does not stop the GPF, have a look
at
> > the
> > > DW Object. Could there be some weird "expressions" on any of the data
> > > objects?
> > >
> > > Does this only happen on one particular DW Object?
> > >
> > > Thanks .... Chris
> > > Great White North Technical Evangelist
> > >
> > >
> > >
> > > "forums.sybase.com'" <jamesallen@maximus.com> wrote in message
> > > news:3f7d896c$1@forums-1-dub...
> > > > Hi Chris
> > > >
> > > > We downloaded the build 212 patch and applied it. The about box
> now
> > > > states version 1.0 build 212 (not version 1.0.1). We regenerated
the
> > > entire
> > > > app. The application still hangs when ran on the desktop, and GPF's
> in
> > > the
> > > > debugger. The line that GPF's in the debugger is ...
> > > >
> > > > ll_ret_val = dw_master.update()
> > > >
> > > > ...This line works fine on other screens created from the frame
> > work.
> > > > It also works fine on this screen for updates. We have no idea
where
> to
> > > go
> > > > from here.
> > > >
> > > > james
> > > >
> > > > "Chris Pollach" <cpollach@ajja.com> wrote in message
> > > > news:3f7ccae4$1@forums-1-dub...
> > > > > James;
> > > > >
> > > > > I would strongly suggest that you upgrade to release 1.0.1 (build
> > 212)
> > > > > before you test any further. That release had quite a few problems
> > > > resolved.
> > > > >
> > > > > Regards ... Chris
> > > > >
> > > > >
> > > > > "forums.sybase.com'" <jamesallen@maximus.com> wrote in message
> > > > > news:3f7c88d7$1@forums-2-dub...
> > > > > > Good Afternoon all:
> > > > > >
> > > > > > We are having GPF's when the datawindow update() is called.
> The
> > > > same
> > > > > > window is used of inserts, and updates to a specific row. If
you
> > > > retrieve
> > > > > a
> > > > > > row edit the row and save, the datawindow update() works
> perfectly.
> > > On
> > > > > > inserts values are entered to all the fields, the desktop
version
> > GPF
> > > in
> > > > > the
> > > > > > debugger and hangs when just running the app. It also hangs on
> the
> > > > iPAQ.
> > > > > > We have tried various way to trap the error with no success. We
> > have
> > > > left
> > > > > a
> > > > > > not null column null and the error is returned and caught in the
> > > > > datawindow
> > > > > > control's dberror event, which is correct.
> > > > > >
> > > > > > Funny thing is updates work, inserting a record that should
cause
> an
> > > > error
> > > > > > displays the db error message, but inserting a valid record
hangs
> or
> > > > GPF's
> > > > > > the system.
> > > > > >
> > > > > > Software/Hardware configuration
> > > > > > Pocket Powerbuilder Version 1.0 Build
109
> > > > > > ASA 8.0.2.4272
> > > > > > desktop Dell P-III 750, Windows 2000
> > 5.00.2195
> > > > SP
> > > > > 4.
> > > > > > Handheld Compaq iPAQ 3850
> > > > > >
> > > > > > This issue sounds very much like the one posted 28 Aug 2003
by
> > > Patty
> > > > > > Brown, but we did not find a resolution to that issue listed.
> > > > > >
> > > > > > Any help or guidance will be greatly appriceiated.
> > > > > >
> > > > > > James Allen
> > > > > > Sr. Programmer
> > > > > > Maximus, Inc.
> > > > > > jamesallen@maximus.com or
> > > > > > james.t.allen@bigfoot.com
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>


Mike Posted on 2003-10-16 16:05:42.0Z
Reply-To: "Mike" <mike.wahlig@brinksinc.com>
From: "Mike" <mike.wahlig@brinksinc.com>
Newsgroups: sybase.public.pocketpowerbuilder
References: <3f7c88d7$1@forums-2-dub>
Subject: Re: GPFs/hangs on datawindow update()
Lines: 77
Organization: Brinks
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: obftp.brinksinc.com
X-Original-NNTP-Posting-Host: obftp.brinksinc.com
Message-ID: <3f8ec1d6$1@forums-1-dub>
Date: 16 Oct 2003 09:05:42 -0700
X-Trace: forums-1-dub 1066320342 208.249.243.131 (16 Oct 2003 09:05:42 -0700)
X-Original-Trace: 16 Oct 2003 09:05:42 -0700, obftp.brinksinc.com
X-Authenticated-User: ppb
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:916
Article PK: 268214

James -

I'm experiencing the same thing. A call to the datawindow update() function
when it is trying to Insert rows will GPF. I've currently coded around it
by doing embedded SQL Insert statements... Ugly, but it works.

I've setup a test application to try and narrow down the bug. Using the
same data, and the same datawindow it works fine, but the environment is a
little different. In my "real" application I am connected to 2 databases,
our central database (ASA 8.0.02.4229 running on Windows 2000) and a local
ASA database on the handheld( Symbol 8100, Pocket PC 2002 Build 11178, ASA
8.02 CE ebf 4308). I retrieve from the handheld database 2 records and then
either using RowsCopy or manually (.Object notation) move the data into the
central database datastore and call .Update(). It blows up. I've never
been able to get it to blow up with just one row... always seems to need
more than one row. Maybe is has to do with multiple Transaction Objects?
Do you have multiple connections?

As soon as I can get my little test app to blow up, I will submit it. The
real app. is too complicated to setup. I guess the best place would be
here... ?

Maybe someone can advise me where the best place to post this would be.

Good Luck and Best Regards,

- Mike Wahlig
Consultant
Brink's Inc.

"forums.sybase.com'" <jamesallen@maximus.com> wrote in message
news:3f7c88d7$1@forums-2-dub...
> Good Afternoon all:
>
> We are having GPF's when the datawindow update() is called. The same
> window is used of inserts, and updates to a specific row. If you retrieve
a
> row edit the row and save, the datawindow update() works perfectly. On
> inserts values are entered to all the fields, the desktop version GPF in
the
> debugger and hangs when just running the app. It also hangs on the iPAQ.
> We have tried various way to trap the error with no success. We have left
a
> not null column null and the error is returned and caught in the
datawindow
> control's dberror event, which is correct.
>
> Funny thing is updates work, inserting a record that should cause an error
> displays the db error message, but inserting a valid record hangs or GPF's
> the system.
>
> Software/Hardware configuration
> Pocket Powerbuilder Version 1.0 Build 109
> ASA 8.0.2.4272
> desktop Dell P-III 750, Windows 2000 5.00.2195 SP
4.
> Handheld Compaq iPAQ 3850
>
> This issue sounds very much like the one posted 28 Aug 2003 by Patty
> Brown, but we did not find a resolution to that issue listed.
>
> Any help or guidance will be greatly appriceiated.
>
> James Allen
> Sr. Programmer
> Maximus, Inc.
> jamesallen@maximus.com or
> james.t.allen@bigfoot.com
>
>
>
>
>


Paul Watje Posted on 2003-10-23 22:54:57.0Z
From: "Paul Watje" <paulwatje@hotmail.com>
Newsgroups: sybase.public.pocketpowerbuilder
References: <3f7c88d7$1@forums-2-dub> <3f8ec1d6$1@forums-1-dub>
Subject: Re: GPFs/hangs on datawindow update()
Lines: 29
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 65.245.3.190
X-Original-NNTP-Posting-Host: 65.245.3.190
Message-ID: <3f985c41$1@forums-1-dub>
Date: 23 Oct 2003 15:54:57 -0700
X-Trace: forums-1-dub 1066949697 65.245.3.190 (23 Oct 2003 15:54:57 -0700)
X-Original-Trace: 23 Oct 2003 15:54:57 -0700, 65.245.3.190
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:998
Article PK: 268298

I work with James the original poster.

We have figured the specifice problem with our code. We were cramming a 70
char string into a 40 char column and the update() was GPFing rather than
giving an dberror of string to long, etc. As soon as I did a left 40 on the
string and then assigned it to the datawindow field, it worked.

We are running PPB 1.0 Build 212(I believe this is 1.0.1) on ASA
9.0.0(1108). We had the same problem in ASA 8.0 and prior versions of PPB.

There are several things/issues to note.

1. If I did a left 40, 41, or 42 on the string and put it in the
datawindow field with a setitem(), the update() worked.
2. If I did a left 43 on the string, the update() would GPF
3. If I initialized the value in the datawindow to a string of 42 or less
characters, and just did an update(), it worked.
4. If I initialized the value in the datawindow to a string of 43 or more
characters, and just did an update(), the update() GPFed.
5. I was able to inialized a datawindow field with a limit of 40 to more
than 40 char. Does the limit only apply to user entry?

This appears to be a bug in the update().

Paul Watje