Crash on changing characteristics

Discussion forum for Amadeus users

Moderator: Martin Hairer

Post Reply
vrunkel
Posts: 4
Joined: Sun Oct 04, 2009 8:49 am

Crash on changing characteristics

Post by vrunkel »

Hi,

I have openend a 500 kHz WAv file and want to change it to a 441000 kHz file using the Characteristics tool. No matter what I set (samplerate and resample or not), as soon as I start the process, the app crashes with a note that a freed object was sent a message to - see appended log for details.

cheers,
volker

Process: Amadeus Pro [5497]
Path: /Applications/Amadeus Pro.app/Contents/MacOS/Amadeus Pro
Identifier: com.HairerSoft.AmadeusPro
Version: 1.4.3 (490)
Code Type: X86 (Native)
Parent Process: launchd [161]

Date/Time: 2009-10-04 10:46:05.125 +0200
OS Version: Mac OS X 10.6.1 (10B504)
Report Version: 6

Interval Since Last Report: 68645 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 186 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: B28B841F-69E0-4832-8A8D-19BC885340DA

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Application Specific Information:
objc[5497]: FREED(id): message rate sent to freed object=0x4a26e0

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x9175fef4 _objc_error + 116
1 libobjc.A.dylib 0x9175ff2a __objc_error + 52
2 libobjc.A.dylib 0x9175e21c _freedHandler + 58
3 com.HairerSoft.AmadeusPro 0x0002dc7a -[HSSoundWindowController changeSampleRate:] + 388
4 com.apple.CoreFoundation 0x9592b2cd __invoking___ + 29
5 com.apple.CoreFoundation 0x9592b238 -[NSInvocation invoke] + 136
6 com.apple.CoreFoundation 0x95967118 -[NSInvocation invokeWithTarget:] + 72
7 ...HairerSoft.AmadeusInterface 0x0029527b -[HSGenericModalController sendAction:] + 251
8 ...HairerSoft.AmadeusInterface 0x00295450 -[HSGenericModalController _realOK:] + 120
9 ...HairerSoft.AmadeusInterface 0x002954f8 -[HSGenericModalController ok:] + 54
10 com.HairerSoft.AmadeusPro 0x0005fb2e -[HSSoundQualityController ok:] + 76
11 com.apple.AppKit 0x9008a14a -[NSApplication sendAction:to:from:] + 112
12 com.HairerSoft.AmadeusPro 0x0004aba5 -[NSApplicationAmad sendAction:to:from:] + 287
13 com.apple.AppKit 0x90169891 -[NSControl sendAction:to:] + 108
14 com.apple.AppKit 0x9016533e -[NSCell _sendActionFrom:] + 169
15 com.apple.AppKit 0x90164639 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1808
16 com.apple.AppKit 0x901b9915 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 524
17 com.apple.AppKit 0x9016308f -[NSControl mouseDown:] + 812
18 com.apple.AppKit 0x901610c4 -[NSWindow sendEvent:] + 5549
19 com.apple.AppKit 0x90079ceb -[NSApplication sendEvent:] + 6431
20 com.HairerSoft.AmadeusPro 0x0004aa7f -[NSApplicationAmad sendEvent:] + 181
21 com.apple.AppKit 0x9000d6fb -[NSApplication run] + 917
22 com.apple.AppKit 0x90005735 NSApplicationMain + 574
23 com.HairerSoft.AmadeusPro 0x00004962 _start + 216
24 com.HairerSoft.AmadeusPro 0x00004889 start + 41

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x9355503a kevent + 10
1 libSystem.B.dylib 0x93555768 _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x93554bf9 _dispatch_queue_invoke + 183
3 libSystem.B.dylib 0x9355498a _dispatch_worker_thread2 + 234
4 libSystem.B.dylib 0x93554401 _pthread_wqthread + 390
5 libSystem.B.dylib 0x93554246 start_wqthread + 30

Thread 2:
0 libSystem.B.dylib 0x9355c782 __semwait_signal + 10
1 libSystem.B.dylib 0x93588621 nanosleep$UNIX2003 + 188
2 libSystem.B.dylib 0x9358855f usleep$UNIX2003 + 61
3 com.apple.AppKit 0x901b51d1 -[NSUIHeartBeat _heartBeatThread:] + 2039
4 com.apple.Foundation 0x943b5964 -[NSThread main] + 45
5 com.apple.Foundation 0x943b5914 __NSThread__main__ + 1499
6 libSystem.B.dylib 0x9355bf39 _pthread_start + 345
7 libSystem.B.dylib 0x9355bdbe thread_start + 34

User avatar
Martin Hairer
Site Admin
Posts: 1975
Joined: Wed Nov 08, 2006 11:49 am
Contact:

Crash on changing characteristics

Post by Martin Hairer »

Hi Volker,
I have openend a 500 kHz WAv file and want to change it to a 441000
kHz file using the Characteristics tool. No matter what I set
(samplerate and resample or not), as soon as I start the process,
the app crashes with a note that a freed object was sent a message
to - see appended log for details.
Could you upload one of the files that cause the problem onto my ftp
server so that I can have a look at it?

address: ftp.hairersoft.com
username: hairer_guest
password: guestftp

Thanks,

Martin

HairerSoft
http://www.hairersoft.com/



_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list

vrunkel
Posts: 4
Joined: Sun Oct 04, 2009 8:49 am

Post by vrunkel »

Hi Martin,


sorry for the delay, I was buried in work :-(

I uploaded Enilvariationen.wav which was one of the crashers when I reported the crash. Today I tried again, and the file only crashed Amadeus sometimes.

What I did:
1. open the file
2. Sound -> Characteristics
3. a) change samplerate to 441000 with resampling
b) change samplerate to 50000 without resampling

Today I got crashes every fifth time or so. On my secondary machine running 10.6.2 I retested with every 3rd time getting a crash.

I helped my self writing a quick converter based on afconvert - nevertheless doing it within an UI is much nicer ;-)

Cheers,
Volker

User avatar
Martin Hairer
Site Admin
Posts: 1975
Joined: Wed Nov 08, 2006 11:49 am
Contact:

Crash on changing characteristics

Post by Martin Hairer »

OK, I was able to reproduce the crash. Hopefully I'll be able to fix
that in version 1.4.4. Thank you very much,

Martin

HairerSoft
http://www.hairersoft.com/



_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list

vrunkel
Posts: 4
Joined: Sun Oct 04, 2009 8:49 am

Post by vrunkel »

Hello Martin,

I appreciate it!

Have a nice weekend,
Volker

User avatar
Martin Hairer
Site Admin
Posts: 1975
Joined: Wed Nov 08, 2006 11:49 am
Contact:

Crash on changing characteristics

Post by Martin Hairer »

The bug turned out to be trivial to fix. The version at <http://www.hairersoft.com/Downloads/AmadeusPro.zip
should work fine now.
Regards,

Martin

HairerSoft
http://www.hairersoft.com/



_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list

vrunkel
Posts: 4
Joined: Sun Oct 04, 2009 8:49 am

Post by vrunkel »

Works now ;-)

sorry for the delay, I have a bad conscience now. Was rather busy and then offline for a couple of days.

thanks again!

volker

Post Reply