A tester!

J'ai une petite application à vous faire essayer.
Je l'ai compilé pour ppc et i386, mais je n'ai pas de machine Mac-intel!
Cette appli resoud les problèmes du compte est bon et c'est tout.
Je suis preneur de toutes informations que vous jugerez utile de me renvoyer.
Nota: l'emploi est très simple et il y a un help en ligne.
Pour avoir un Jingle correct, quicktime doit pouvoir lire du mp3!
Je joins l'application compactée.
Merci d'avance.
:P
[Fichier joint supprimé par l'administrateur]
Je l'ai compilé pour ppc et i386, mais je n'ai pas de machine Mac-intel!
Cette appli resoud les problèmes du compte est bon et c'est tout.
Je suis preneur de toutes informations que vous jugerez utile de me renvoyer.
Nota: l'emploi est très simple et il y a un help en ligne.
Pour avoir un Jingle correct, quicktime doit pouvoir lire du mp3!
Je joins l'application compactée.
Merci d'avance.
:P
[Fichier joint supprimé par l'administrateur]
Connectez-vous ou Inscrivez-vous pour répondre.
Réponses
Y a-t-il quelqu'un qui accepte de jeter un ½il à mon code sur sa machine Intel? Ou bien, dans la région Grenobloise quelqu'un me laisserait-il l'accès à sa machine Intel?
Apparament une division par 0 dans [LeCalcul cherche::::::::].
[tt]**********
Host Name: MmRenaud
Date/Time: 2006-04-04 11:36:32.519 +0200
OS Version: 10.4.5 (Build 8H1619)
Report Version: 4
Command: Le bon compte
Path: /Users/renaud/Desktop/Le bon compte.app/Contents/MacOS/Le bon compte
Parent: WindowServer [61]
Version: 1.0 (1.0)
PID: 1087
Thread: 0
Exception: EXC_ARITHMETIC (0x0003)
Codes: EXC_I386_DIV (divide by zero)
Thread 0 Crashed:
0 libSystem.B.dylib 0x90091d2f div + 26
1 com.yourcompany.Compte 0x0000350e -[LeCalcul cherche::::::::] + 980 (crt.c:305)
2 com.yourcompany.Compte 0x00002e7b -[ControlCompte a_calcule:] + 457 (crt.c:305)
3 com.apple.AppKit 0x934661bc -[NSApplication sendAction:to:from:] + 107
4 com.apple.AppKit 0x93466115 -[NSControl sendAction:to:] + 101
5 com.apple.AppKit 0x934682c5 -[NSCell _sendActionFrom:] + 168
6 com.apple.AppKit 0x93467d7f -[NSButtonCell performClick:] + 591
7 com.apple.AppKit 0x93467ac4 -[NSButton performKeyEquivalent:] + 373
8 com.apple.AppKit 0x93466b4d -[NSView performKeyEquivalent:] + 146
9 com.apple.AppKit 0x934649c4 -[NSTextField textDidEndEditing:] + 880
10 com.apple.Foundation 0x926f604f _nsnote_callback + 230
11 com.apple.CoreFoundation 0x9084c861 __CFXNotificationPost + 345
12 com.apple.CoreFoundation 0x9084408c _CFXNotificationPostNotification + 600
13 com.apple.Foundation 0x926ee6b4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 121
14 com.apple.AppKit 0x93463b04 -[NSTextView(NSPrivate) _giveUpFirstResponder:] + 575
15 com.apple.AppKit 0x934638be -[NSTextView(NSKeyBindingCommands) insertNewline:] + 525
16 com.apple.AppKit 0x93463679 -[NSResponder doCommandBySelector:] + 76
17 com.apple.AppKit 0x9346350a -[NSTextView doCommandBySelector:] + 229
18 com.apple.AppKit 0x93458c81 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 1932
19 com.apple.AppKit 0x934571ed -[NSTSMInputContext interpretKeyEvents:] + 1157
20 com.apple.AppKit 0x93456592 -[NSView interpretKeyEvents:] + 65
21 com.apple.AppKit 0x93456480 -[NSTextView keyDown:] + 1061
22 com.apple.AppKit 0x93456005 -[NSWindow sendEvent:] + 7377
23 com.apple.AppKit 0x93447858 -[NSApplication sendEvent:] + 5023
24 com.apple.AppKit 0x93372466 -[NSApplication run] + 547
25 com.apple.AppKit 0x93366397 NSApplicationMain + 573
26 com.yourcompany.Compte 0x000021e2 _start + 228 (crt.c:272)
27 com.yourcompany.Compte 0x000020fd start + 41
Thread 1:
0 libSystem.B.dylib 0x9000a607 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082395e CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x90823179 CFRunLoopRunInMode + 61
3 com.apple.audio.CoreAudio 0x91454a5a HALRunLoop::OwnThread(void*) + 158
4 com.apple.audio.CoreAudio 0x91454875 CAPThread::Entry(CAPThread*) + 93
5 libSystem.B.dylib 0x90024b47 _pthread_body + 84
Thread 2:
0 libSystem.B.dylib 0x9003fb5f syscall_thread_switch + 7
1 com.apple.AppKit 0x9344fa8e -[NSUIHeartBeat _heartBeatThread:] + 1399
2 com.apple.Foundation 0x926fe1b0 forkThreadForFunction + 123
3 libSystem.B.dylib 0x90024b47 _pthread_body + 84
Thread 0 crashed with i386 Thread State:
eax: 0x0000007e ebx: 0x00000003 ecx:0x00000000 edx: 0x00000000
edi: 0x0000007e esi: 0x0035a900 ebp:0xbffff278 esp: 0xbffff268
ss: 0x0000002f efl: 0x00010292 eip:0x90091d2f cs: 0x00000027
ds: 0x0000002f es: 0x0000002f fs:0x00000000 gs: 0x00000037
[/tt]
Eh oui, le traitement de la division par 0 est fondamentalement différent entre Intel et PPC :
Voir ici pour les explications.
En gros, un div par 0 est fatal sur Intel mais pas sur PPC qui continue...
.
J'en tiens compte, je corrige et je renvoie. Merci!
En question subsidiaire, comment se fait-il que le nom de méthode soit accessible ([LeCalcul cherche::::::::]) alors que j'ai compilé en mode release?
Je met l'appli corrigée en pièce jointe.
Nota: Mon PB part en dépannage tantot (zones claires et foncés dans l'écran) et je retourne sur mon vieux G3 sous 10.2.8! Pour les mails et le Web cela reste possibles, mais pour le reste, boaf!!
[Fichier joint supprimé par l'administrateur]