fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[fluid-dev] glib crash


From: as
Subject: [fluid-dev] glib crash
Date: Fri, 16 Aug 2013 12:11:16 +0200

Hi list,
I have a difficult bug.
I'm building a Adobe Director Xtra, which is a kind of plugin, i.e. a 
dynamically loaded library, incorporating fluidsynth.
This is on Mac OSX.
I build this Xtra on my MacOSX 10.8.4 system (Xcode 4.3). Fluidsynth is build 
as a static library and is statically linked with the Xtra itself, and in order 
to make this Xtra autonomous, I include the libglib, libgthread and libintl 
dynamic libraries inside the Xtra, as local Frameworks.

The problem is that on certain systems, this Xtra crashes. I have not found any 
clue why it would crash on certain systems and not on others.
The crash report is below. As you can see, it crashes inside glib, with a 
EXC_BAD_INSTRUCTION signal, on the first call of glib.
It does not crash on any of my systems, but on some systems of a customer 
(which I cannot go and test locally).

This crash only started to happen recently, since I have built it on my new Mac 
and against the latest glib (it did not happen with the Xtra build on my old 
Mac with an old glib - but with the same fluidsynth version 1.1.5).

We have a suspicion on the SSE4.2 instruction set, as it seems that this 
instruction set is not present on the machines on which it fails (and present 
on the successful machines that we have been able to test). But this suspicion 
is just a suspicion. And how would we be able to test this and work around it 
if needed ?

Any idea ?
Thank you very much

A test application is available here : 
https://www.dropbox.com/sh/euzkqe09uulo618/-1H1vItfGV

Antoine

Here is the crash report :

Process:         fluidXtraDemo_d11_.5mod [326]
Path:            
/Users/USER/Desktop/*/fluid6b3.app/Contents/MacOS/fluidXtraDemo_d11_.5mod
Identifier:      com.adobe.director.projector
Version:         11.5.8r612 (11.5.8r612)
Code Type:       X86 (Native)
Parent Process:  launchd [155]
User ID:         501

Date/Time:       2013-08-13 12:58:48.271 -0400
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

Interval Since Last Report:          70997 sec
Crashes Since Last Report:           20
Per-App Interval Since Last Report:  34 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      98DB27AC-740D-8B90-FDE7-9CCDC851E05A

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libglib-2.0.0.dylib                 0x062cb4bc thread_memory_from_self + 187
1   libglib-2.0.0.dylib                 0x062caf0e g_slice_alloc + 26
2   libglib-2.0.0.dylib                 0x0628b2e9 
g_static_rec_mutex_get_rec_mutex_impl + 58
3   libglib-2.0.0.dylib                 0x0628b29e g_static_rec_mutex_lock + 15
4   com.adobe.xdkexample                0x061d282a fluid_settings_register_int 
+ 266
5   com.adobe.xdkexample                0x061b7948 fluid_synth_settings + 120
6   com.adobe.xdkexample                0x061d1938 fluid_settings_init + 104
7   com.adobe.xdkexample                0x061d1805 new_fluid_settings + 117
8   com.adobe.xdkexample                0x0615da61 
FLUIDXtra_IMoaMmXScript::getSettingsOptions(MoaMmCallInfo*) + 193
9   com.adobe.xdkexample                0x06172d76 
FLUIDXtra_IMoaMmXScript::Call(MoaMmCallInfo*) + 198
10  com.adobe.DPLib.framework           0x018593b0 SearchPathCallback + 66904
11  com.adobe.DPLib.framework           0x0193672c os_TextCompare + 143077
12  com.adobe.DPLib.framework           0x019369f1 os_TextCompare + 143786
13  com.adobe.DPLib.framework           0x019266d3 os_TextCompare + 77452
14  com.adobe.DPLib.framework           0x0192a1a0 os_TextCompare + 92505
15  com.adobe.DPLib.framework           0x0192a91c os_TextCompare + 94421
16  com.adobe.DPLib.framework           0x0191b8f5 os_TextCompare + 32942
17  com.adobe.DPLib.framework           0x0186b7a1 
TELscriptRef_GetPropertyInitsAsHandle + 988
18  com.adobe.DPLib.framework           0x0186b829 
TELscriptRef_GetPropertyInitsAsHandle + 1124
19  com.adobe.DPLib.framework           0x0180fbdb MovieInstPlayFirstFrame + 67
20  com.adobe.ProjLib.framework         0x00062dcf ProjectorMain + 9132
21  com.adobe.ProjLib.framework         0x000639e8 ProjectorMain + 12229
22  com.adobe.ProjLib.framework         0x0006023f 0x5e000 + 8767
23  com.adobe.IMLLib.framework          0x006414c1 imMessageHandleMacEvent + 
2701
24  com.adobe.ProjLib.framework         0x00060695 0x5e000 + 9877
25  com.adobe.ProjLib.framework         0x00060da5 ProjectorMain + 898
26  com.adobe.director.projector        0x000032e7 0x1000 + 8935
27  com.adobe.director.projector        0x000021e6 0x1000 + 4582
28  com.adobe.director.projector        0x0000210d 0x1000 + 4365

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib              0x93a1d9ae kevent + 10
1   libdispatch.dylib                   0x90b4ec71 _dispatch_mgr_invoke + 993
2   libdispatch.dylib                   0x90b4e7a9 _dispatch_mgr_thread + 53

Thread 2:
0   libsystem_kernel.dylib              0x93a1d0ee __workq_kernreturn + 10
1   libsystem_c.dylib                   0x90da50ac _pthread_workq_return + 45
2   libsystem_c.dylib                   0x90da4e79 _pthread_wqthread + 448
3   libsystem_c.dylib                   0x90d8cd2a start_wqthread + 30

Thread 3:
0   libsystem_kernel.dylib              0x93a1d0ee __workq_kernreturn + 10
1   libsystem_c.dylib                   0x90da50ac _pthread_workq_return + 45
2   libsystem_c.dylib                   0x90da4e79 _pthread_wqthread + 448
3   libsystem_c.dylib                   0x90d8cd2a start_wqthread + 30

Thread 4:
0   libsystem_kernel.dylib              0x93a1d0ee __workq_kernreturn + 10
1   libsystem_c.dylib                   0x90da50ac _pthread_workq_return + 45
2   libsystem_c.dylib                   0x90da4e79 _pthread_wqthread + 448
3   libsystem_c.dylib                   0x90d8cd2a start_wqthread + 30

Thread 0 crashed with X86 Thread State (32-bit):
 eax: 0x00000001  ebx: 0x062cb40f  ecx: 0x00000fff  edx: 0x00000000
 edi: 0x0636f5c8  esi: 0x0636fbec  ebp: 0xbfffd2a8  esp: 0xbfffd280
  ss: 0x00000023  efl: 0x00010246  eip: 0x062cb4bc   cs: 0x0000001b
  ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
 cr2: 0x062cb401
Logical CPU: 0


External Modification Summary:
 Calls made by other processes targeting this process:
   task_for_pid: 2
   thread_create: 0
   thread_set_state: 0
 Calls made by this process:
   task_for_pid: 0
   thread_create: 0
   thread_set_state: 0
 Calls made by all processes on this machine:
   task_for_pid: 215
   thread_create: 0
   thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=163.5M resident=100.2M(61%) 
swapped_out_or_unallocated=63.2M(39%)
Writable regions: Total=94.9M written=4968K(5%) resident=9148K(9%) 
swapped_out=0K(0%) unallocated=86.0M(91%)

REGION TYPE                      VIRTUAL
===========                      =======
ATS (font support)                 32.9M
ATS (font support) (reserved)         4K        reserved VM address space 
(unallocated)
CG backing stores                  3456K
CG image                           7204K
CG shared images                   1184K
CoreServices                       2132K
MALLOC                             22.9M
MALLOC guard page                    48K
Memory tag=240                        4K
Memory tag=242                       12K
Memory tag=249                      156K
Memory tag=35                      4772K
Stack                              66.0M
VM_ALLOCATE                        16.1M
__DATA                             8304K
__DATA/__OBJC                       148K
__IMAGE                             528K
__IMPORT                             96K
__LINKEDIT                         31.5M
__OBJC                             2396K
__OBJC/__DATA                        24K
__PAGEZERO                            4K
__TEXT                            131.9M
__UNICODE                           544K
mapped file                        96.4M
shared memory                       316K
===========                      =======
TOTAL                             428.4M
TOTAL, minus reserved VM space    428.4M

Model: MacBookPro4,1, BootROM MBP41.00C1.B03, 2 processors, Intel Core 2 Duo, 
2.5 GHz, 4 GB, SMC 1.27f3
Graphics: NVIDIA GeForce 8600M GT, GeForce 8600M GT, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR2 SDRAM, 667 MHz, 0x7F7F7F7F7F9B0000, 
0x000000000000000000000000000000000000
Memory Module: BANK 1/DIMM1, 2 GB, DDR2 SDRAM, 667 MHz, 0x7F7F7F7F7F9B0000, 
0x000000000000000000000000000000000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8C), Broadcom 
BCM43xx 1.0 (5.10.131.36.16)
Bluetooth: Version 4.1.4f2 12041, 2 service, 11 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Hitachi HTS542525K9SA00, 250.06 GB
Parallel ATA Device: HL-DT-ST DVDRW  GSA-S10N
USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0xfd400000 / 2
USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x1a100000 / 2
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x820f, 0x1a110000 
/ 5
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0230, 
0x5d200000 / 3
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x5d100000 / 2
FireWire Device: Rugged FW USB3, LaCie, 800mbit_speed





reply via email to

[Prev in Thread] Current Thread [Next in Thread]