Bonjour,

Voila, j'ai un gros probleme: j'ai un script perl plutot long (8-24h) qui s'execute se crash parfois. Pour une meme execution, avec les memes parametres, il plante parfois...Le probleme c'est que je ne vois vraiment pas l'erreur. A priori, une erreur du code n'est pas possible puisque ce script fonctionne parfois...

Quelques infos qui peuvent etre utiles...
Je suis sous MAC OS X. Ce script est lancé via un CGI...et tourne indepedemment de tout navigateur et serveur web...

J'ai inspecter tout d'abord le fichier log des erreurs system du terminal

Apr 23 19:27:57 BioInfo-Server crashdump[13490]: perl crashed
Apr 23 19:27:57 BioInfo-Server crashdump[13490]: crash report written to: /Library/Logs/CrashReporter/perl.crash.log
Voila donc le fichier log des "crash" de perl...
Je n'y comprend pas grand chose...

Quelqu'un parle t'il le log???

**********

Host Name: BioInfo-Server
Date/Time: 2007-04-23 19:27:56.364 +0200
OS Version: 10.4.8 (Build 8L2127)
Report Version: 4

Command: perl
Path: /usr/bin/perl
Parent: launchd [1]

Version: ??? (???)

PID: 12504
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0 libperl.dylib 0x967734cc Perl_Gv_AMupdate + 379
1 libperl.dylib 0x967e5b0c Perl_sv_bless + 256
2 libperl.dylib 0x96800e5e Perl_pp_bless + 218
3 libperl.dylib 0x967d9277 Perl_runops_standard + 19
4 libperl.dylib 0x9676c5d8 perl_run + 724
5 perl 0x000020d2 0x1000 + 4306
6 perl 0x00001f92 0x1000 + 3986
7 perl 0x00001eb9 0x1000 + 3769

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x96773362 ecx: 0xffffffff edx: 0x00000000
edi: 0x00000000 esi: 0x00000000 ebp: 0xbffff2e8 esp: 0xbffff110
ss: 0x0000001f efl: 0x00010246 eip: 0x967734cc cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037

Thread 0 Crashed:
0 libperl.dylib 0x967734cc Perl_Gv_AMupdate + 379
1 libperl.dylib 0x967e5b0c Perl_sv_bless + 256
2 libperl.dylib 0x96800e5e Perl_pp_bless + 218
3 libperl.dylib 0x967d9277 Perl_runops_standard + 19
4 libperl.dylib 0x9676c5d8 perl_run + 724
5 perl 0x000020d2 0x1000 + 4306
6 perl 0x00001f92 0x1000 + 3986
7 perl 0x00001eb9 0x1000 + 3769

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x96773362 ecx: 0xffffffff edx: 0x00000000
edi: 0x00000000 esi: 0x00000000 ebp: 0xbffff2e8 esp: 0xbffff110
ss: 0x0000001f efl: 0x00010246 eip: 0x967734cc cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037

Binary Images Description:
0x1000 - 0x2fff perl /usr/bin/perl
0x11000 - 0x13fff IO.bundle /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/IO/IO.bundle
0x1e000 - 0x38fff POSIX.bundle /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/POSIX/POSIX.bundle
0x3e000 - 0x40fff Fcntl.bundle /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/Fcntl/Fcntl.bundle
0x4c000 - 0x4efff MD5.bundle /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/Digest/MD5/MD5.bundle
0x52000 - 0x55fff Opcode.bundle /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/Opcode/Opcode.bundle
0x59000 - 0x5efff Dumper.bundle /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/Data/Dumper/Dumper.bundle
0x8fe00000 - 0x8fe49fff dyld 46.9 /usr/lib/dyld
0x90000000 - 0x9016ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901bf000 - 0x901c1fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x90bce000 - 0x90bd5fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x96765000 - 0x96879fff libperl.dylib /System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/libperl.dylib
Merci pour votre aide...