Re: Help! GPF

new topic     » goto parent     » topic index » view thread      » older message » newer message

At 04:19 PM 8/3/99 -0500, you wrote:
>Hi all,
>
>I'm developing a windows midi application in Euphoria and I am having the
>most vexatious possible GPF happen with some regularity.
>
>The GPF happens just after the program starts, before the main window even
>pops up.  It happens occasionally--once every 5 or 10 times the program runs.

I tried David's advice and traced all the c_func calls in win32lib.  I got
a really nice log file (actually not just one--a lot of really nice big
ones).  The last part of the log file is always the same, right before the
"application error".  Here is the last bit (a long stretch of the last bit
is quoted at the end of the message, for your entertainment):

>function 22 16, params 4080 FF0  10 A  1 1  0 0    window 10
>function 22 16, params 3024 BD0  10 A  1 1  0 0    window 9
>function 22 16, params 3260 CBC  10 A  1 1  0 0    window 8
>function 22 16, params 3840 F00  10 A  1 1  0 0    window 5
>function 22 16, params 3388 D3C  10 A  1 1  0 0    window 1
>function 22 16, params 4080 FF0  28 1C  0 0  4294830363 FFFDE91B    window 10
>function 22 16, params 3024 BD0  28 1C  0 0  4294830363 FFFDE91B    window 9
>function 22 16, params 3260 CBC  28 1C  0 0  4294830363 FFFDE91B    window 8
>function 22 16, params 3840 F00  28 1C  0 0  4294830363 FFFDE91B    window 5
>function 22 16, params 3388 D3C  28 1C  0 0  4294830363 FFFDE91B    window 1


Each number is given twice (first in dec., then in hex).  Function 22 is
DefWindowProcA; in these 10 examples it is being called from the last line
in win32lib's WndProc().  Windows 1,5,8,9 and 10 are my main windows,
created with create(Window, . . . ).  iMsg=#A is WM_ENABLE; it is sent with
flag=TRUE (1). iMsg=#1C is WM_ACTIVATEAPP; it is sent with flag=FALSE (0).

So basically what is happening here is that all my windows are being
enabled and then they are all being deactivated because some other app is
going to be taking over in the foreground.  Then my app crashes with the
infamous error message.

Having said all that, I'm not sure if these statements are what is crashing
it.  Perhaps they are just a side effect--something else (say exw?) is
opening a window and coming to the foreground; when it does, it
crashes--something like that.

At any rate, I'm pretty sure it is not these statements specifically that
are causing the problem (I trapped the last 5, stopping them completely,
and this had absolutely no effect).  I think they are either a symptom or a
side effect of something else.

Any other ideas?  I'm plumb out of them . . .

--Brent

last bit of the log file:

function 93 5D, params 1534 5FE  0 0  0 0  0 0
function 94 5E, params 1534 5FE  8 8
function 94 5E, params 1534 5FE  4 4
function 94 5E, params 1534 5FE  10 A
function 94 5E, params 1534 5FE  6 6
function 95 5F, params 1534 5FE  5930992 5A7FF0  1 1
function 96 60, params 8074816 7B3640
function 99 63, params 1534 5FE  -1 FFFFFFFF
function 25 19, params 2944 B80  1534 5FE
function 16 10, params 2944 B80  48 30  2728 AA8  -1 FFFFFFFF
function 62 3E, params -2144039672 80348D08  2944 B80  48 30  2728 AA8
4294967295 FFFFFFFF
function 24 18, params 736 2E0
function 89 59, params 5990 1766
function 90 5A, params 5990 1766  2 2
function 91 5B, params 5990 1766  0 0  1 1
function 92 5C, params 5990 1766  0 0  0 0  0 0
function 93 5D, params 5990 1766  0 0  0 0  0 0
function 94 5E, params 5990 1766  8 8
function 94 5E, params 5990 1766  4 4
function 94 5E, params 5990 1766  10 A
function 94 5E, params 5990 1766  6 6
function 95 5F, params 5990 1766  5930992 5A7FF0  1 1
function 96 60, params 8074928 7B36B0
function 99 63, params 5990 1766  -1 FFFFFFFF
function 25 19, params 736 2E0  5990 1766
function 16 10, params 736 2E0  48 30  2100 834  -1 FFFFFFFF
function 62 3E, params -1 FFFFFFFF  736 2E0  48 30  2100 834  4294967295
FFFFFFFF
function 22 16, params 4080 FF0  31 1F  0 0  0 0
function 22 16, params 4080 FF0  10 A  0 0  0 0
function 22 16, params 3024 BD0  31 1F  0 0  0 0
function 22 16, params 3024 BD0  10 A  0 0  0 0
function 22 16, params 3260 CBC  31 1F  0 0  0 0
function 22 16, params 3260 CBC  10 A  0 0  0 0
function 22 16, params 3840 F00  31 1F  0 0  0 0
function 22 16, params 3840 F00  10 A  0 0  0 0
function 22 16, params 3388 D3C  31 1F  0 0  0 0
function 22 16, params 3388 D3C  10 A  0 0  0 0
function 22 16, params 4080 FF0  28 1C  1 1  4294830363 FFFDE91B
function 22 16, params 3024 BD0  28 1C  1 1  4294830363 FFFDE91B
function 22 16, params 3260 CBC  28 1C  1 1  4294830363 FFFDE91B
function 22 16, params 3840 F00  28 1C  1 1  4294830363 FFFDE91B
function 22 16, params 3388 D3C  28 1C  1 1  4294830363 FFFDE91B
function 62 3E, params -2144040222 80348AE2  3416 D58  5 5  0 0  0 0
function 49 31, params 3388 D3C  0 0  500 1F4  0 0
function 49 31, params 3388 D3C  0 0  500 1F4  0 0
function 49 31, params 3388 D3C  0 0  500 1F4  0 0
function 22 16, params 4080 FF0  10 A  1 1  0 0    window 10
function 22 16, params 3024 BD0  10 A  1 1  0 0    window 9
function 22 16, params 3260 CBC  10 A  1 1  0 0    window 8
function 22 16, params 3840 F00  10 A  1 1  0 0    window 5
function 22 16, params 3388 D3C  10 A  1 1  0 0    window 1
function 22 16, params 4080 FF0  28 1C  0 0  4294830363 FFFDE91B    window 10
function 22 16, params 3024 BD0  28 1C  0 0  4294830363 FFFDE91B    window 9
function 22 16, params 3260 CBC  28 1C  0 0  4294830363 FFFDE91B    window 8
function 22 16, params 3840 F00  28 1C  0 0  4294830363 FFFDE91B    window 5
function 22 16, params 3388 D3C  28 1C  0 0  4294830363 FFFDE91B    window 1



++++++++++++++++++++ Brent Hugh / bhugh at cstp.umkc.edu ++++++++++++++++++++
++++++++ University of Missouri-Kansas City, Conservatory of Music +++++++
++ Sheet Music/Recordings: http://www.sunflower.org/~bhugh/pathetic.spm ++
+ Internet Piano Concert:  http://cctr.umkc.edu/userx/bhugh/recital.html +
++++++++++ Classical Piano MP3s http://www.mp3.com/brent_d_hugh ++++++++++

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu