Re: 9.1Beta1 - Repeatable Crash on Windows

Поиск
Список
Период
Сортировка
От Mark Watson
Тема Re: 9.1Beta1 - Repeatable Crash on Windows
Дата
Msg-id CD8A2AD4ACBE464CAD8929DAA6DFD39C@Gateway
обсуждение исходный текст
Ответ на Re: 9.1Beta1 - Repeatable Crash on Windows  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-testers
-----Message d'origine-----
De : pgsql-testers-owner@postgresql.org [mailto:pgsql-testers-owner@postgresql.org] De la part de Greg Smith
Envoyé : 9 mai 2011 20:55
À : Richard Broersma
Cc : pgsql-testers@postgresql.org
Objet : Re: [TESTERS] 9.1Beta1 - Repeatable Crash on Windows

Richard Broersma wrote:
> Here is what the logs show:
>
> 2011-05-09 07:49:37 PDT LOG:  server process (PID 2848) was terminated
> by exception 0xC0000005
>

Too bad, that's just a generic "accessed memory you shouldn't have"
exception.  Not much help narrowing down the source.  That could be a
driver or hardware issue, but since you say it's repeatable that seems
less likely.

At this point, fork in the road.  If someone else can reproduce this on
another Windows system, they may be able to run with it.  But if you can
spare some time to dig further, the instructions at
http://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Windows
go over how to trace into where it's actually failing at yourself.  If
you run PostgreSQL on Windows, that's good defensive practice to fit in
on a day it's not an emergency to do so.  (The same is true of any
platform, it just takes more time to setup on Windows)
------------------------
I can reproduce the same exception in another manner. I tried to get a stack trace but cannot seem to attach to the
processusing either process explorer or WinDBG. I reproduced this using the current beta pgAdmin by right-clicking on
LoginRoles, select New login role, Role name test, password testp, and selecting all role privliges then OK. The
servicecrashes. PID 5432 below is the pgAdmin process. 
My log file (sorry about the French):

2011-05-10 08:00:26 EDT LOG:  processus serveur (PID 5432) a été arrêté par l'exception 0xC0000005
2011-05-10 08:00:26 EDT ASTUCE :  Voir le fichier d'en-tête C « ntstatus.h » pour une description de la valeur
    hexadécimale.
2011-05-10 08:00:26 EDT LOG:  arrêt des autres processus serveur actifs
2011-05-10 08:00:26 EDT ATTENTION:  arrêt de la connexion à cause de l'arrêt brutal d'un autre processus serveur
2011-05-10 08:00:26 EDT DÉTAIL:  Le postmaster a commandé à ce processus serveur d'annuler la transaction
    courante et de quitter car un autre processus serveur a quitté anormalement
    et qu'il existe probablement de la mémoire partagée corrompue.
2011-05-10 08:00:26 EDT ASTUCE :  Dans un moment, vous devriez être capable de vous reconnecter à la base de
    données et de relancer votre commande.
2011-05-10 08:00:26 EDT ATTENTION:  arrêt de la connexion à cause de l'arrêt brutal d'un autre processus serveur
2011-05-10 08:00:26 EDT DÉTAIL:  Le postmaster a commandé à ce processus serveur d'annuler la transaction
    courante et de quitter car un autre processus serveur a quitté anormalement
    et qu'il existe probablement de la mémoire partagée corrompue.
2011-05-10 08:00:26 EDT ASTUCE :  Dans un moment, vous devriez être capable de vous reconnecter à la base de
    données et de relancer votre commande.
2011-05-10 08:00:26 EDT LOG:  tous les processus serveur se sont arrêtés, réinitialisation
2011-05-10 08:00:36 EDT FATAL:  le bloc de mémoire partagé pré-existant est toujours en cours d'utilisation
2011-05-10 08:00:36 EDT ASTUCE :  Vérifier s'il n'y a pas de vieux processus serveur en cours d'exécution. Si c'est le
    cas, fermez-les.

- Mark Watson


В списке pgsql-testers по дате отправления:

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: 9.1Beta1 - Repeatable Crash on Windows
Следующее
От: Richard Broersma
Дата:
Сообщение: Re: 9.1Beta1 - Repeatable Crash on Windows