Does anybody have any idea why my driver, when built with gcc-4.0, causes
kextload to segfault?
I maintain 2 drivers, one of which works fine w/4.0, and
one of which compiles fine, but crashes kextload like this
when built with 4.0:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 com.apple.framework.IOKit 0x90a78520 prepareFileForLink + 124
1 com.apple.framework.IOKit 0x90a78434 kld_file_prepare_for_link +
92
2 com.apple.framework.IOKit 0x90a77fb0 __kload_patch_dgraph + 160
3 com.apple.framework.IOKit 0x90a779b0 __kload_load_modules + 124
4 com.apple.framework.IOKit 0x90a758d4 kload_load_dgraph + 992
5 com.apple.framework.IOKit 0x90a74188 _KXKextManagerLoadKextUsingOptions + 1108
6 kextload 0x00003c34 0x1000 + 11316
7 kextload 0x000024a0 0x1000 + 5280
8 kextload 0x00002340 0x1000 + 4928
To the Apple people, yes, I filed a bug (#4098231).
Thanks,
Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden