SDL sous Vista
Répondre à la discussion
Affichage des résultats 1 à 7 sur 7

SDL sous Vista



  1. #1
    invited023a47c

    SDL sous Vista


    ------

    Bonjour,

    J'ai fait un programme C avec de la SDL. Sur mon ordi Xp il marche nickel mais dès que je l'exécute sur un vista, il y a un écran bleu et l'ordi plante.

    Savez-vous si SDL et vista sont compatible ? Avez-vous déjà créé un logiciel SDL sous vista ?

    Merci,
    Valentin074

    -----

  2. #2
    inviteba9bce0d

    Re : SDL sous Vista

    SDL a quelques fuites de mémoire, mais j'ai déjà codé un prgm en SDL sous vista. Pourrait-tu nous montrer tes sources ?

  3. #3
    invited023a47c

    Re : SDL sous Vista

    Bonsoir,

    Je l'ai ai envoyé via MP.

    Merci,
    Valentin

  4. #4
    inviteba9bce0d

    Re : SDL sous Vista

    J'ai pas tout regardé, mais tu dois avoir des fuites mémoire. Tu dois libérer toute tes SDL_Surface à la fin du prgm avec SDL_FreeSurface(), et d'après ce que j'ai vu, t'en a un bon paquet ^^.
    Si çà marche pas, essai de déboguer petit à petit pour voir où çà plante (trop d'allocation mémoire etc ...).

  5. A voir en vidéo sur Futura
  6. #5
    invited023a47c

    Re : SDL sous Vista

    Bonjour,

    J'ai libérer les surfaces mais ça marche toujours pas. Pour le débogueur je peut pas des que je lance le logiciel l'ordi s'arrete via un ecran bleu.

    Voici le rapport d'erreur :

    Code:
    Signature du problème*:
      Nom d’événement de problème:	BlueScreen
      Version du système:	6.0.6001.2.1.0.768.3
      Identificateur de paramètres régionaux:	1036
    
    Informations supplémentaires sur le problème*:
      BCCode:	f4
      BCP1:	00000003
      BCP2:	86766D90
      BCP3:	86766EDC
      BCP4:	82257400
      OS Version:	6_0_6001
      Service Pack:	1_0
      Product:	768_1
    
    Fichiers aidant à décrire le problème*:
      C:\Windows\Minidump\Mini080509-01.dmp
      C:\Users\bonneaud\AppData\Local\Temp\WER-63430-0.sysdata.xml
      C:\Users\bonneaud\AppData\Local\Temp\WER190B.tmp.version.txt
    
    Lire notre déclaration de confidentialité*:
      http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x040c
    J'ai fait un minidump, le voici :

    Code:
    Microsoft (R) Windows Debugger Version 6.11.0001.404 X86
    Copyright (c) Microsoft Corporation. All rights reserved.
    
    
    Loading Dump File [Z:\VISTA\Mini080509-01.dmp]
    Mini Kernel Dump File: Only registers and stack trace are available
    
    Symbol search path is: srv*c:\symbols*http://msdl.microsoft.com/download/symbols
    Executable search path is: 
    Windows Server 2008/Windows Vista Kernel Version 6001 (Service Pack 1) MP (2 procs) Free x86 compatible
    Product: WinNt, suite: TerminalServer SingleUserTS Personal
    Built by: 6001.18226.x86fre.vistasp1_gdr.090302-1506
    Machine Name:
    Kernel base = 0x82019000 PsLoadedModuleList = 0x82130c70
    Debug session time: Wed Aug  5 11:49:46.992 2009 (GMT+2)
    System Uptime: 0 days 1:40:50.023
    Loading Kernel Symbols
    ...............................................................
    ................................................................
    ..........................
    Loading User Symbols
    Loading unloaded module list
    .........
    *******************************************************************************
    *                                                                             *
    *                        Bugcheck Analysis                                    *
    *                                                                             *
    *******************************************************************************
    
    Use !analyze -v to get detailed debugging information.
    
    BugCheck F4, {3, 86766d90, 86766edc, 82257400}
    
    *** WARNING: Unable to verify timestamp for PCTAppEvent.sys
    *** ERROR: Module load completed but symbols could not be loaded for PCTAppEvent.sys
    Probably caused by : csrss.exe
    
    Followup: MachineOwner
    ---------
    
    0: kd> !analyze -v
    *******************************************************************************
    *                                                                             *
    *                        Bugcheck Analysis                                    *
    *                                                                             *
    *******************************************************************************
    
    CRITICAL_OBJECT_TERMINATION (f4)
    A process or thread crucial to system operation has unexpectedly exited or been
    terminated.
    Several processes and threads are necessary for the operation of the
    system; when they are terminated (for any reason), the system can no
    longer function.
    Arguments:
    Arg1: 00000003, Process
    Arg2: 86766d90, Terminating object
    Arg3: 86766edc, Process image file name
    Arg4: 82257400, Explanatory message (ascii)
    
    Debugging Details:
    ------------------
    
    
    PROCESS_OBJECT: 86766d90
    
    IMAGE_NAME:  csrss.exe
    
    DEBUG_FLR_IMAGE_TIMESTAMP:  0
    
    MODULE_NAME: csrss
    
    FAULTING_MODULE: 00000000 
    
    PROCESS_NAME:  csrss.exe
    
    EXCEPTION_RECORD:  9b7de9dc -- (.exr 0xffffffff9b7de9dc)
    ExceptionAddress: 7585e0f9
       ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
    NumberParameters: 2
       Parameter[0]: 00000000
       Parameter[1]: 00000004
    Attempt to read from address 00000004
    
    EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - L'instruction   0x%08lx emploie l'adresse m moire 0x%08lx. La m moire ne peut pas  tre en  tat
    
    CUSTOMER_CRASH_COUNT:  1
    
    CURRENT_IRQL:  0
    
    ERROR_CODE: (NTSTATUS) 0xc0000005 - L'instruction   0x%08lx emploie l'adresse m moire 0x%08lx. La m moire ne peut pas  tre en  tat
    
    EXCEPTION_PARAMETER1:  00000000
    
    EXCEPTION_PARAMETER2:  00000004
    
    READ_ADDRESS: GetPointerFromAddress: unable to read from 82150868
    Unable to read MiSystemVaType memory at 82130420
     00000004 
    
    FOLLOWUP_IP: 
    +6708952f021bdd78
    7585e0f9 ??              ???
    
    FAULTING_IP: 
    +6708952f021bdd78
    7585e0f9 ??              ???
    
    FAILED_INSTRUCTION_ADDRESS: 
    +6708952f021bdd78
    7585e0f9 ??              ???
    
    BUGCHECK_STR:  0xF4_C0000005
    
    DEFAULT_BUCKET_ID:  NULL_CLASS_PTR_DEREFERENCE
    
    STACK_TEXT:  
    9b7de4d0 822ae034 000000f4 00000003 86766d90 nt!KeBugCheckEx+0x1e
    9b7de4f4 821fbda8 82257400 86766edc 86766fb8 nt!PspCatchCriticalBreak+0x73
    9b7de524 821fc141 86766d90 8f28baf8 c0000005 nt!PspTerminateAllThreads+0x2c
    9b7de558 9ba59ea8 ffffffff c0000005 9b7de57c nt!NtTerminateProcess+0x1c1
    WARNING: Stack unwind information not available. Following frames may be wrong.
    9b7de56c 82070a1a ffffffff c0000005 9b7de9b0 PCTAppEvent+0x9ea8
    9b7de56c 8206fa71 ffffffff c0000005 9b7de9b0 nt!KiFastCallEntry+0x12a
    9b7de5ec 8204f80d ffffffff c0000005 e5353865 nt!ZwTerminateProcess+0x11
    9b7de9b0 82045822 9b7de9dc 00000000 9b7ded64 nt!KiDispatchException+0x41b
    9b7ded34 82074513 00def894 00def8b0 00000000 nt!KiRaiseException+0x175
    9b7ded50 82070a1a 00def894 00def8b0 00000000 nt!NtRaiseException+0x33
    9b7ded50 7585e0f9 00def894 00def8b0 00000000 nt!KiFastCallEntry+0x12a
    00defb8c 00000000 00000000 00000000 00000000 0x7585e0f9
    
    
    STACK_COMMAND:  kb
    
    FOLLOWUP_NAME:  MachineOwner
    
    FAILURE_BUCKET_ID:  0xF4_C0000005_IMAGE_csrss.exe
    
    BUCKET_ID:  0xF4_C0000005_IMAGE_csrss.exe
    
    Followup: MachineOwner
    ---------
    Merci,
    Valentin

  7. #6
    ProgVal

    Re : SDL sous Vista

    Bonjour,

    As-tu moyen d'essayer:
    -sur ton PC, avec XP ou Seven
    -sur un autre PC, avec Vista?
    -sur ton PC, dans une machine virtuelle, avec Vista

    Cordialement,
    ProgVal

  8. #7
    invited023a47c

    Re : SDL sous Vista

    Bonsoir,

    J'ai deux PC : un XP (sur lequel je programme) et un VISTA. Sur l'XP ça marche nickel mais sur le vista, ça fait un blue screen of death.
    Je pense que ça va etre dur sur une machine virtuelle, mon pc XP n'est pas puissant.

    Merci,
    Valentin

Discussions similaires

  1. mode TV sous vista ???
    Par salsitawapa dans le forum Matériel - Hardware
    Réponses: 0
    Dernier message: 15/05/2009, 19h54
  2. Administrateur sous Vista
    Par invitefdead068 dans le forum Logiciel - Software - Open Source
    Réponses: 4
    Dernier message: 27/01/2009, 22h03
  3. Latex sous Vista
    Par inviteec581d0f dans le forum Logiciel - Software - Open Source
    Réponses: 6
    Dernier message: 10/07/2008, 14h30
  4. java sous vista
    Par bird12358 dans le forum Logiciel - Software - Open Source
    Réponses: 1
    Dernier message: 02/09/2007, 08h57
  5. Vista & Parkinson (PB d'affichage des fenêtres sous vista)
    Par Koranten dans le forum Logiciel - Software - Open Source
    Réponses: 7
    Dernier message: 09/05/2007, 18h51
Découvrez nos comparatifs produits sur l'informatique et les technologies.