La v4.10 me créé un panneau erreur window

Sujets variés concernant le développement en PureBasic
Avatar de l’utilisateur
Kwai chang caine
Messages : 6989
Inscription : sam. 23/sept./2006 18:32
Localisation : Isere

La v4.10 me créé un panneau erreur window

Message par Kwai chang caine »

Bonjour à tous

Depuis quelque temps, la v4.10 me créé quasi constament le panneau erreur windows (Envoyer le message à windows etc ...) :?
PureBasic_Compilation0.exe a rencontré un problème et doit fermer. Nous vous prions de nous excuser pour le désagrément encouru.
Je ne comprend pas, ça a toujours gazouillé entre elle et moi :roll:
Je ne pourrais pas dire depuis exactement quand, mais c'est peut etre apres l'installe de la 4.20, mais j'suis pas sur.

Je l'ai réinstallé 3 fois et rien de mieux.
J'ai changé l'emplacement et pareil.

J'ai ce message d'erreur, si je clique sur debogage, ça ouvre Visual C++
J'ai d'abord un panneau visual C++
Unhandled exception in purebasic_compilation0.exe(CRTDLL.DLL):0xC0000005:Access Violation
Et le curseur est arreté à la ligne 7C911230

Code : Tout sélectionner

7C911230   int         3
7C911231   ret
7C911232   mov         edi,edi
7C911234   nop
7C911235   nop
7C911236   nop
7C911237   nop
7C911238   nop
7C911239   int         3
7C91123A   ret
7C91123B   nop
7C91123C   mov         edi,edi
7C91123E   nop
7C91123F   nop
7C911240   nop
7C911241   nop
7C911242   nop
7C911243   mov         eax,dword ptr [esp+4]
7C911247   int         3
7C911248   ret         4
7C91124B   nop
7C91124C   nop
7C91124D   nop
7C91124E   nop
7C91124F   nop
7C911250   mov         eax,fs:[00000018]
7C911256   ret
7C911257   nop
7C911258   nop
7C911259   nop
7C91125A   nop
7C91125B   nop
7C91125C   push        edi
7C91125D   mov         edi,dword ptr [esp+0Ch]
7C911261   mov         edx,dword ptr [esp+8]
7C911265   mov         dword ptr [edx],0
Puis quand je clique ok dessus ça continue et cette fois le curseur se bloque à la ligne 73CE22E9

Code : Tout sélectionner

73CE22E9   cmp         dword ptr [eax+4],ebx
73CE22EC   je          73CE22E3
73CE22EE   jmp         73CE234A
73CE22F0   push        1
73CE22F2   call        73CF15BE
73CE22F7   add         esp,4
73CE22FA   cmp         ebx,2
73CE22FD   je          73CE2304
73CE22FF   cmp         ebx,15h
73CE2302   jne         73CE2328
73CE2304   cmp         dword ptr ds:[73CFE138h],0
73CE230B   jne         73CE2328
73CE230D   mov         esi,1
73CE2312   push        esi
73CE2313   push        73CE23B7h
73CE2318   call        dword ptr ds:[73CE105Ch]
73CE231E   cmp         eax,esi
73CE2320   jne         73CE234E
73CE2322   mov         dword ptr ds:[73CFE138h],esi
73CE2328   cmp         ebx,2
73CE232B   je          73CE237F
73CE232D   cmp         ebx,0Fh
73CE2330   je          73CE238D
73CE2332   cmp         ebx,15h
73CE2335   je          73CE239B
73CE2337   cmp         ebx,16h
73CE233A   je          73CE23A9
73CE233C   mov         esi,dword ptr [esp+10h]
73CE2340   push        1
73CE2342   call        73CF1625
73CE2347   add         esp,4
73CE234A   mov         eax,esi
73CE234C   jmp         73CE2377
73CE234E   call        73CE221D
73CE2353   mov         esi,eax
Quand je fait go dans visual C++ cette fois ça marche et le programme se termine 8O
J'ai le panneau en bas qui dit ça une fois terminé :

Code : Tout sélectionner

Loaded 'C:\Documents and Settings\Pc Internet\Local Settings\Temp\PureBasic_Compilation0.exe', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\crtdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\lpk.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\usp10.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\apphelp.dll', no matching symbolic information found.
The thread 0x8B8 has exited with code 0 (0x0).
The thread 0x3C4 has exited with code 0 (0x0).
The thread 0x2E8 has exited with code 0 (0x0).
The thread 0x10C has exited with code 0 (0x0).
The thread 0x340 has exited with code 0 (0x0).
The program 'C:\Documents and Settings\Pc Internet\Local Settings\Temp\PureBasic_Compilation0.exe' has exited with code 0 (0x0).
La 4.20 marche nickel quand à elle 8O

Je manque d'idées.
Aurais-je encore loupé une super conversation dans la famille ?

Jalousie entre nouvelle et ancienne version, je n'ose y croire :lol:

Merci de votre aide
beauregard
Messages : 1307
Inscription : dim. 08/juil./2007 18:32
Localisation : Toulouse

Re: La v4.10 me créé un panneau erreur window

Message par beauregard »

Kwai chang caine a écrit :Bonjour à tous

Depuis quelque temps, la v4.10 me créé quasi constament le panneau erreur windows (Envoyer le message à windows etc ...) :?
quand je m'enmelle les pinceaux avec mes listes chainées, j'ai également une belle fenêtre windaube d'erreur. çà fait toujours peur, et puis je m'exclame: milliard! et puis je pense:"quel étourdis! c'est pourtant pas la première fois qe tu fais cette belle bourde"...
config de mon ordi: seven, directx11, Pentium(R) DualCore E5700, RadeonHD 4550 512MB, PureBasic 4.61 x86
Avatar de l’utilisateur
Kwai chang caine
Messages : 6989
Inscription : sam. 23/sept./2006 18:32
Localisation : Isere

Message par Kwai chang caine »

Bah le probleme c'est quand je fais tourner pas mal de codes dont celui-ci qui n'est pas de moi.

Code : Tout sélectionner

; http://www.purebasic.fr/english/viewtopic.php?t=31272

; --------------------------------------------------- 
;              SIN-COS-tables.pbi 
; --------------------------------------------------- 
; precomputed global SIN/COS lookup tables are 
; referenced by macros to reduce function call 
; overhead and avoid trig conversion calculations 
; - fSIN ( degrees )    ; fast sine 
; - fCOS ( degrees )    ; fast cosine 
; --------------------------------------------------- 
; based on Kaeru Gaman's following PureBoard entry: 
; http://www.purebasic.fr/german/viewtopic.php?t=5884 
; --------------------------------------------------- 

Global _Trig_Resolution_.w = 16384   ; steps around unity circle, needs 
                                     ; to be a power of 2, i.e. 
                                     ; 512, 1024, 2048, 4096, 8192, ... 
                                     ; the larger this value, the larger 
                                     ; the tables become, but one also 
                                     ; gets more precision 

Global Dim SinTable.f(_Trig_Resolution_ - 1) 
Global Dim CosTable.f(_Trig_Resolution_ - 1) 

Global Angle_to_Index.f = ( _Trig_Resolution_ / 360.0 ) 

_Trig_Res_.w = _Trig_Resolution_.w >> 1              ; populate tables 
For n=0 To (_Trig_Resolution_ - 1)                        
    SinTable(n) = Sin(#PI / _Trig_Res_.w * n ) 
    CosTable(n) = Cos(#PI / _Trig_Res_.w * n ) 
Next 

Macro fSIN( degrees ) 
  SinTable( Int((Angle_to_Index.f * degrees) + 0.5 ) & (_Trig_Resolution_ - 1) ) 
EndMacro 

Macro fCOS( degrees ) 
  CosTable( Int((Angle_to_Index.f * degrees) + 0.5 ) & (_Trig_Resolution_ - 1) ) 
EndMacro 


; ------------------------------------------ 
; Usage 
; ------------------------------------------ 
; set __UsageDefined__ to #True to test this 
; file standalone 
; ------------------------------------------ 
Define.b __UsageDefined__ = #True 
If __UsageDefined__ 
  For i = 0 To 359 Step 15 
    Debug( "SIN(" + Str(i)+") = " + StrD( fSIN( i ), 6) ) 
    Debug( "COS(" + Str(i)+") = " + StrD( fCOS( i ), 6) ) 
  Next 
EndIf
Backup
Messages : 14526
Inscription : lun. 26/avr./2004 0:40

Message par Backup »

ce code ne genere aucune erreur chez moi avec la 4.10 :)
Avatar de l’utilisateur
Kwai chang caine
Messages : 6989
Inscription : sam. 23/sept./2006 18:32
Localisation : Isere

Message par Kwai chang caine »

Merci DOBRO comme ça j'suis sur que ça viens de chez moi 8)
En plus ce qui est dingue, c'est qu'au boulot ça fait pareil sur une autre machine et un autre OS 8O
Bon ça doit etre un probleme de copie quand je transfert tous le pépertoire de ma clef aux machines. :roll:
Répondre