SIGBUS 10 bus error
I'm having problem with weblogic server core dumping with 'SIGBUS 10 bus error' irregularly. I'm unable to reproduce this bug as there doesn't seem to be any pattern. It would work for a few customers and then dies even though we've only had no more than 5 requests (The traffic on our website is fairly slow). Once I bounce the server, it would work again for a few more customers then core dumps again with same error. I noticed from previous discussion boards that this might be a JVM issue (Solaris_JDK_1.2.2_05a)?? Can anyone tell me if rolling back my jdk version would fix this problem? Any help would be greatly appreciated, thanks!WeblogicServer 5.10 sp6Platform (OS Version)=================Sun Sparc Solaris 7JDK Version (if applicable)=====================Solaris_JDK_1.2.2_05aERROR MESSAGE===============SIGBUS 10 bus error si_signo [10]: BUS si_errno [0]: si_code [1]: BUS_ADRALN [addr: 0xedc1fdfd]stackpointer=EADC0D70Inconsistent thread : best efforts attempt (may fail)"SeedGenerator Thread" (TID:0x17637a8, sys_thread_t:0x17636e0, state:CW, thread_t: t@31, threadID:0xe9701dc8, stack_bottom:0xe9702000, stack_size:0x20000) prio=1
take a look at http://www.weblogic.com/platforms/sun/index.html
it recommends using:
export JVMARGS="inline_instrs_jit=0"
with 1.2.2_05a
"Thomas" <[email protected]> wrote in message
news:3a2e8d4c$[email protected]..
I'm having problem with weblogic server core dumping with 'SIGBUS 10 buserror' irregularly. I'm unable to reproduce this bug as there doesn't seem
to be any pattern. It would work for a few customers and then dies even
though we've only had no more than 5 requests (The traffic on our website is
fairly slow). Once I bounce the server, it would work again for a few more
customers then core dumps again with same error. I noticed from previous
discussion boards that this might be a JVM issue (Solaris_JDK_1.2.2_05a)??
Can anyone tell me if rolling back my jdk version would fix this problem?
Any help would be greatly appreciated, thanks!WeblogicServer 5.10
sp6Platform (OS Version)=================Sun Sparc Solaris 7JDK Version (if
applicable)=====================Solaris_JDK_1.2.2_05aERROR
MESSAGE===============SIGBUS 10 bus error si_signo [10]: BUS si_errno
[0]: si_code [1]: BUS_ADRALN [addr:
0xedc1fdfd]stackpointer=EADC0D70Inconsistent thread : best efforts attempt
(may fail)"SeedGenerator Thread" (TID:0x17637a8, sys_thread_t:0x17636e0,
state:CW, thread_t: t@31, threadID:0xe9701dc8, stack_bottom:0xe9702000,
stack_size:0x20000) prio=1
Similar Messages
-
Mplayer and Thunderbird only outputs Bus Error
Hi guys
I have a "small" issue. I reinstalled my Arch the other day and when I tried to start mplayer and thunderbird they both just generate an error.
root@fredrik:/home/fredrik> mplayer
Bus error
root@fredrik:/home/fredrik> thunderbird
/usr/lib/thunderbird-2.0/run-mozilla.sh: line 131: 2656 Bus error "$prog" ${1+"$@"}
Trying to figure out what went wrong using ldd to see if there is some shared library problem does this:
root@fredrik:/home/fredrik> ldd /usr/bin/mplayer
ldd: exited with unknown exit code (135)
stracing mplayer gives me this
root@fredrik:/home/fredrik> strace /usr/bin/mplayer
execve("/usr/bin/mplayer", ["/usr/bin/mplayer"], [/* 57 vars */]) = -1 EFAULT (Bad address)
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS +++
Does anyone know what this is? I'd rather not reinstall everything just because some lib is broken.
ps.
just now I'm reinstalling all my "lib" packages in a hope that something just randomly broke when i installed.
pacman -S $(for i in $(pacman -Q |grep lib|awk {'print $1'}); do echo -n "$i "; done)
ds.
Best regards
Fredrik ErikssonI had the same problem. In the same time, "/sbin/ldconfig: file /usr/lib/lib<whatever>.so.X is truncated" errors begun to appear (after pacman upgrades).
It was apparent, that some libraries were truncated (probably because of unavailable disk space during last upgrade (which I fixed with pacman -Scc and localepurge)), one of them was the same as the one appearing at almost very end of strace output, just before the failure (libmng).
Running ldconfig manually and reinstalling corresponding packages fixed the problem. -
What can I do about following error: SIGBUS 10 bus error?
Hello,
We use iPlanet AS 6.0 SP3 on Solaris 8
In kjs_1_CCS0 I found the following error:
SIGBUS 10 bus error
si_signo [10]: BUS
si_errno [0]:
si_code [1]: BUS_ADRALN [addr: 0x6966223b]
stackpointer=B72FE880
Inconsistent thread : best efforts attempt (may fail)
"Thread-61" (TID:0x11c90568, sys_thread_t:0x11c904a0, state:CW, thread_t: t@67, threadID:0xb4b80000, stack_bottom:0xb4b80000, stack_size:0x80000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] com.ibm.mq.server.MQThread.run(MQThread.java:923)
Inconsistent thread : best efforts attempt (may fail)
"Thread-59"/appl/iplanet/ias6/ias/bin/kjs[76]: 15876 Abort(coredump)
After this the App server restarts itself
Who knows what's wrong here?
Thanks in advance
PeterWe got this same error with increasing frequency until it was happening all the time. Increasing the values of
-Xms and -Xmx in the iasenv.ksh script seems to have completly eliminated the problem. It seems that when the jdk runs out of memory it will throw a Java lang OutofMemory error (which you will never see in the logs) followed by the SIGBUS error. Be careful with these settings they can severely affect the performance of the server you might try turrning on verbose:gc in order to watch memory usage. -
SIGBUS 10* bus error in the iplanet weblogic 7.0 sp2 on hpux 11i
My iplanet web server crashed with the following error messages found in the iplanet error log file:
[11/Nov/2003:04:12:41] config ( 5180): SIGBUS 10* bus error
[11/Nov/2003:04:12:41] config ( 5180): si_signo [10]: SIGBUS 10* bus error
[11/Nov/2003:04:12:41] config ( 5180): si_errno [0]: Error 0
[11/Nov/2003:04:12:41] config ( 5180): si_code [0]: BUS_UNKNOWN [addr: 0x42618307]
[11/Nov/2003:04:12:41] config ( 5180): stackpointer=7690A438
I am running iplanet 6.0 sp 5 with WebLogic 7.0 sp2 on HPUX 11i. There is no error message in the web logic log file.
On the other hands, I have found out that there is a recommended patch for weblogic 7.0sp2 if running on HPUX 11i (CR102314). Would this patch fix my problem? Please help.My iplanet web server crashed with the following error messages found in the iplanet error log file:
[11/Nov/2003:04:12:41] config ( 5180): SIGBUS 10* bus error
[11/Nov/2003:04:12:41] config ( 5180): si_signo [10]: SIGBUS 10* bus error
[11/Nov/2003:04:12:41] config ( 5180): si_errno [0]: Error 0
[11/Nov/2003:04:12:41] config ( 5180): si_code [0]: BUS_UNKNOWN [addr: 0x42618307]
[11/Nov/2003:04:12:41] config ( 5180): stackpointer=7690A438
I am running iplanet 6.0 sp 5 with WebLogic 7.0 sp2 on HPUX 11i. There is no error message in the web logic log file.
On the other hands, I have found out that there is a recommended patch for weblogic 7.0sp2 if running on HPUX 11i (CR102314). Would this patch fix my problem? Please help. -
Weblogic core dumps with "SIGBUS 10* bus error"
I am getting a core dump when starting up my WL server. It seems to be
timing related. The WL startup class is causing the error.
The error does not occur if I do not deploy any EJBs. If I deploy one EJB
the error occurrs. If I deploy two or more EJBs the error does not occur.
The startup class is accessing the database.
Has anyone seen a similar error or know of a solution. Is this a supported
platform?
Environment info and the error dump follow. Thanks in advance.
Bryan Bugliari
[email protected]
Some info on the environment:
Solaris 2.6
jdk1.2.2
WL 5.1.0 sp2
Oracle 8.0.5 client
WL PROPERTIES FILE:
weblogic.jdbc.connectionPool.oraclePool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver, \
loginDelaySecs=1,\
initialCapacity=4,\
maxCapacity=25,\
capacityIncrement=5,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=10,\
testTable=dual,\
props=user=esteel;password=esteel;server=esteel
# Add a TXDataSource for the connection pool:
weblogic.jdbc.TXDataSource.oracleDataSource=oraclePool
WL LOG FILE:
Fri Jun 30 12:10:21 EDT 2000:<I> <System Props> java.class.path =
/opt/app/weblogic/lib/weblogic510sp2boot.jar:/opt/app/weblogic/classes/boot:
/opt/app/weblogic/license:/opt/app/weblogic/oci/classes
java.class.version = 46.0
java.compiler = sunwjit
java.ext.dirs = /usr/local/jdk1.2.2/jre/lib/ext
java.home = /usr/local/jdk1.2.2/jre
java.io.tmpdir = /var/tmp/
java.library.path =
/usr/local/jdk1.2.2/bin/../jre/lib/sparc/native_threads:/usr/local/jdk1.2.2/
bin/../jre/lib/sparc/classic:/usr/local/jdk1.2.2/bin/../jre/lib/sparc:/opt/a
pp/weblogic/oci/lib/solaris/oci805_8:/opt/app/oracle/products/8.0.5/lib:/usr
/lib
java.protocol.handler.pkgs = weblogic.utils|weblogic.utils
java.security.manager =
java.security.policy = =/opt/app/weblogic/weblogic.policy
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.2
java.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
java.version = 1.2.2
java.vm.info = build JDK-1.2.2-001, native threads, sunwjit
java.vm.name = Classic VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.2.2
ERROR BEGINS HERE:
Fri Jun 30 12:10:25 EDT 2000:<I> <EJB> Enterprise JavaBeans initializing
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB JAR deployment
/local/home/weblogic/bbugliar/myserver/ActivityManager.jar> EJB home
interface: 'com.esteel.exchange.domain.activitymanager.ActivityManagerHome'
deployed bound to the JNDI name: 'ActivityManagerHome'
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB> 1 EJB jar files loaded, containing 1
EJBs
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB> 1 deployed, 0 failed to deploy.
Fri Jun 30 12:10:28 EDT 2000:<I> <ZAC> ZAC disabled
Fri Jun 30 12:10:28 EDT 2000:<I> <WebLogicServer> Invoking T3StartupDef
ReferenceDataWLStartup com.esteel.referencedata.ReferenceDataWLStartup with
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [0]: Error 0
si_code [1]: BUS_ADRALN [addr: 0xB]
stackpointer=e7f0be04
Full thread dump Classic VM (JDK-1.2.2-001, native threads):
"StartupThread" (TID:0xea673398, sys_thread_t:0x2e82ab0, state:R, native
ID:0x1b) prio=5
at
weblogic.jdbc20.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.j
ava, Compiled Code)
at
weblogic.jdbc20.rmi.SerialConnection.createStatement(SerialConnection.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._loadRDBase1FromId(RDMeta.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._load(RDMeta.java, Compiled Code)
at com.esteel.referencedata.RDMeta.loadData(RDMeta.java, Compiled
Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.loadData(ReferenceDataServe
rImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.<init>(ReferenceDataServerI
mpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.getInstance(ReferenceDataSe
rverImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataWLStartup.startup(ReferenceDataWLStart
up.java, Compiled Code)
at weblogic.t3.srvr.StartupThread.runStartup(StartupThread.java,
Compiled Code)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java,
Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java,
Compiled Code)
"ExecuteThread-14" (TID:0xea4f4100, sys_thread_t:0x525998, state:CW,
native ID:0x18) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-13" (TID:0xea4f3fa0, sys_thread_t:0x51c648, state:CW,
native ID:0x17) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-12" (TID:0xea4f3e48, sys_thread_t:0x51c530, state:CW,
native ID:0x16) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-11" (TID:0xea4f3cf0, sys_thread_t:0x51c418, state:CW,
native ID:0x15) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-10" (TID:0xea4f3b90, sys_thread_t:0x51c300, state:CW,
native ID:0x14) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-9" (TID:0xea4f3a38, sys_thread_t:0x51c1e8, state:CW,
native ID:0x13) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-8" (TID:0xea4f38e8, sys_thread_t:0x51c0d0, state:CW,
native ID:0x12) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-7" (TID:0xea4f3788, sys_thread_t:0x51bfb8, state:CW,
native ID:0x11) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-6" (TID:0xea4f3630, sys_thread_t:0x51a570, state:CW,
native ID:0x10) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-5" (TID:0xea4f34d8, sys_thread_t:0x51a458, state:CW,
native ID:0xf) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-4" (TID:0xea4f3380, sys_thread_t:0x51bea0, state:CW,
native ID:0xe) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-3" (TID:0xea4f32c0, sys_thread_t:0x51ba30, state:CW,
native ID:0xd) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-2" (TID:0xea4f30d0, sys_thread_t:0x51b918, state:CW,
native ID:0xc) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-1" (TID:0xea4f2f70, sys_thread_t:0x51a840, state:CW,
native ID:0xb) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-0" (TID:0xea4f2868, sys_thread_t:0x51a728, state:CW,
native ID:0xa) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"TimeEventGenerator" (TID:0xea4e2e38, sys_thread_t:0x4e11a8, state:CW,
native ID:0x9) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java,
Compiled Code)
at
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
"SpinnerRandomSource" (TID:0xea4e19f0, sys_thread_t:0x4d3018, state:CW,
native ID:0x7) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java,
Compiled Code)
at weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java,
Compiled Code)
"Finalizer" (TID:0xea400320, sys_thread_t:0x6e4f8, state:CW, native
ID:0x6) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0xea4003b0, sys_thread_t:0x3ca80, state:CW,
native ID:0x5) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0xea4003e0, sys_thread_t:0x65460, state:CW,
native ID:0x4) prio=5
"main" (TID:0xea4001e0, sys_thread_t:0x2ef60, state:CW, native ID:0x1)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.waitForCompletion(PropertyExecuteThre
ad.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java, Compiled
Code)
at weblogic.Server.main(Server.java, Compiled Code)
at weblogic.Server.main(Server.java, Compiled Code)
Monitor Cache Dump:
weblogic.kernel.ExecuteThread@EA4F32C0/EB9188F0: <unowned>
Waiting to be notified:
"ExecuteThread-3" (0x51ba30)
weblogic.kernel.ExecuteThread@EA4F34D8/EB9193D8: <unowned>
Waiting to be notified:
"ExecuteThread-5" (0x51a458)
weblogic.security.SpinnerThread@EA4E19F0/EB870528: <unowned>
Waiting to be notified:
"SpinnerRandomSource" (0x4d3018)
weblogic.kernel.ExecuteThread@EA4F30D0/EB918348: <unowned>
Waiting to be notified:
"ExecuteThread-2" (0x51b918)
weblogic.kernel.ExecuteThread@EA4F38E8/EB91A3E0: <unowned>
Waiting to be notified:
"ExecuteThread-8" (0x51c0d0)
weblogic.kernel.ExecuteThread@EA4F3CF0/EB91B458: <unowned>
Waiting to be notified:
"ExecuteThread-11" (0x51c418)
java.lang.ref.Reference$Lock@EA4003C0/EB0CF4B8: <unowned>
Waiting to be notified:
"Reference Handler" (0x3ca80)
weblogic.kernel.ExecuteThread@EA4F3E48/EB91B9B8: <unowned>
Waiting to be notified:
"ExecuteThread-12" (0x51c530)
weblogic.kernel.ExecuteThread@EA4F2868/EB913FC0: <unowned>
Waiting to be notified:
"ExecuteThread-0" (0x51a728)
java.lang.ref.ReferenceQueue$Lock@EA400338/EB0CF9C0: <unowned>
Waiting to be notified:
"Finalizer" (0x6e4f8)
java.lang.Object@EA675248/EC4A6D18: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3630/EB919930: <unowned>
Waiting to be notified:
"ExecuteThread-6" (0x51a570)
weblogic.kernel.ExecuteThread@EA4F3A38/EB91A998: <unowned>
Waiting to be notified:
"ExecuteThread-9" (0x51c1e8)
weblogic.kernel.ExecuteThread@EA4F3788/EB919E80: <unowned>
Waiting to be notified:
"ExecuteThread-7" (0x51bfb8)
weblogic.kernel.ExecuteThread@EA4F3380/EB918E60: <unowned>
Waiting to be notified:
"ExecuteThread-4" (0x51bea0)
weblogic.t3.srvr.StartupThread@EA673398/EC48C990: <unowned>
Waiting to be notified:
"main" (0x2ef60)
weblogic.kernel.ExecuteThread@EA4F3B90/EB91AF00: <unowned>
Waiting to be notified:
"ExecuteThread-10" (0x51c300)
java.lang.Class@EA68B010/EC5668C8: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3FA0/EB91BF20: <unowned>
Waiting to be notified:
"ExecuteThread-13" (0x51c648)
weblogic.time.common.internal.TimeTable@EA4E38A8/EB881130: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x4e11a8)
java.lang.Object@EA676D30/EC4B9378: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F2F70/EB917DC0: <unowned>
Waiting to be notified:
"ExecuteThread-1" (0x51a840)
weblogic.kernel.ExecuteThread@EA4F4100/EB91C478: <unowned>
Waiting to be notified:
"ExecuteThread-14" (0x525998)
Registered Monitor Dump:
PCMap lock: <unowned>
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: owner "StartupThread" (0x2e82ab0) 1 entry
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "StartupThread" (0x2e82ab0) 1 entry
Thread queue lock: owner "StartupThread" (0x2e82ab0) 1 entry
Monitor registry: owner "StartupThread" (0x2e82ab0) 1 entry
SIGABRT 6* abort (generated by abort(3) routine)
si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine)
si_errno [0]: Error 0
si_code [-1]: SI_LWP [pid: 11078, uid: 3058]
stackpointer=e7f0b55c
Full thread dump Classic VM (JDK-1.2.2-001, native threads):
"StartupThread" (TID:0xea673398, sys_thread_t:0x2e82ab0, state:R, native
ID:0x1b) prio=5
at
weblogic.jdbc20.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.j
ava, Compiled Code)
at
weblogic.jdbc20.rmi.SerialConnection.createStatement(SerialConnection.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._loadRDBase1FromId(RDMeta.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._load(RDMeta.java, Compiled Code)
at com.esteel.referencedata.RDMeta.loadData(RDMeta.java, Compiled
Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.loadData(ReferenceDataServe
rImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.<init>(ReferenceDataServerI
mpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.getInstance(ReferenceDataSe
rverImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataWLStartup.startup(ReferenceDataWLStart
up.java, Compiled Code)
at weblogic.t3.srvr.StartupThread.runStartup(StartupThread.java,
Compiled Code)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java,
Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java,
Compiled Code)
"ExecuteThread-14" (TID:0xea4f4100, sys_thread_t:0x525998, state:CW,
native ID:0x18) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-13" (TID:0xea4f3fa0, sys_thread_t:0x51c648, state:CW,
native ID:0x17) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-12" (TID:0xea4f3e48, sys_thread_t:0x51c530, state:CW,
native ID:0x16) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-11" (TID:0xea4f3cf0, sys_thread_t:0x51c418, state:CW,
native ID:0x15) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-10" (TID:0xea4f3b90, sys_thread_t:0x51c300, state:CW,
native ID:0x14) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-9" (TID:0xea4f3a38, sys_thread_t:0x51c1e8, state:CW,
native ID:0x13) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-8" (TID:0xea4f38e8, sys_thread_t:0x51c0d0, state:CW,
native ID:0x12) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-7" (TID:0xea4f3788, sys_thread_t:0x51bfb8, state:CW,
native ID:0x11) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-6" (TID:0xea4f3630, sys_thread_t:0x51a570, state:CW,
native ID:0x10) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-5" (TID:0xea4f34d8, sys_thread_t:0x51a458, state:CW,
native ID:0xf) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-4" (TID:0xea4f3380, sys_thread_t:0x51bea0, state:CW,
native ID:0xe) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-3" (TID:0xea4f32c0, sys_thread_t:0x51ba30, state:CW,
native ID:0xd) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-2" (TID:0xea4f30d0, sys_thread_t:0x51b918, state:CW,
native ID:0xc) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-1" (TID:0xea4f2f70, sys_thread_t:0x51a840, state:CW,
native ID:0xb) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-0" (TID:0xea4f2868, sys_thread_t:0x51a728, state:CW,
native ID:0xa) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"TimeEventGenerator" (TID:0xea4e2e38, sys_thread_t:0x4e11a8, state:CW,
native ID:0x9) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java,
Compiled Code)
at
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
"SpinnerRandomSource" (TID:0xea4e19f0, sys_thread_t:0x4d3018, state:CW,
native ID:0x7) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java,
Compiled Code)
at weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java,
Compiled Code)
"Finalizer" (TID:0xea400320, sys_thread_t:0x6e4f8, state:CW, native
ID:0x6) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0xea4003b0, sys_thread_t:0x3ca80, state:CW,
native ID:0x5) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0xea4003e0, sys_thread_t:0x65460, state:CW,
native ID:0x4) prio=5
"main" (TID:0xea4001e0, sys_thread_t:0x2ef60, state:CW, native ID:0x1)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.waitForCompletion(PropertyExecuteThre
ad.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java, Compiled
Code)
at weblogic.Server.main(Server.java, Compiled Code)
at weblogic.Server.main(Server.java, Compiled Code)
Monitor Cache Dump:
weblogic.kernel.ExecuteThread@EA4F32C0/EB9188F0: <unowned>
Waiting to be notified:
"ExecuteThread-3" (0x51ba30)
weblogic.kernel.ExecuteThread@EA4F34D8/EB9193D8: <unowned>
Waiting to be notified:
"ExecuteThread-5" (0x51a458)
weblogic.security.SpinnerThread@EA4E19F0/EB870528: <unowned>
Waiting to be notified:
"SpinnerRandomSource" (0x4d3018)
weblogic.kernel.ExecuteThread@EA4F30D0/EB918348: <unowned>
Waiting to be notified:
"ExecuteThread-2" (0x51b918)
weblogic.kernel.ExecuteThread@EA4F38E8/EB91A3E0: <unowned>
Waiting to be notified:
"ExecuteThread-8" (0x51c0d0)
weblogic.kernel.ExecuteThread@EA4F3CF0/EB91B458: <unowned>
Waiting to be notified:
"ExecuteThread-11" (0x51c418)
java.lang.ref.Reference$Lock@EA4003C0/EB0CF4B8: <unowned>
Waiting to be notified:
"Reference Handler" (0x3ca80)
weblogic.kernel.ExecuteThread@EA4F3E48/EB91B9B8: <unowned>
Waiting to be notified:
"ExecuteThread-12" (0x51c530)
weblogic.kernel.ExecuteThread@EA4F2868/EB913FC0: <unowned>
Waiting to be notified:
"ExecuteThread-0" (0x51a728)
java.lang.ref.ReferenceQueue$Lock@EA400338/EB0CF9C0: <unowned>
Waiting to be notified:
"Finalizer" (0x6e4f8)
java.lang.Object@EA675248/EC4A6D18: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3630/EB919930: <unowned>
Waiting to be notified:
"ExecuteThread-6" (0x51a570)
weblogic.kernel.ExecuteThread@EA4F3A38/EB91A998: <unowned>
Waiting to be notified:
"ExecuteThread-9" (0x51c1e8)
weblogic.kernel.ExecuteThread@EA4F3788/EB919E80: <unowned>
Waiting to be notified:
"ExecuteThread-7" (0x51bfb8)
weblogic.kernel.ExecuteThread@EA4F3380/EB918E60: <unowned>
Waiting to be notified:
"ExecuteThread-4" (0x51bea0)
weblogic.t3.srvr.StartupThread@EA673398/EC48C990: <unowned>
Waiting to be notified:
"main" (0x2ef60)
weblogic.kernel.ExecuteThread@EA4F3B90/EB91AF00: <unowned>
Waiting to be notified:
"ExecuteThread-10" (0x51c300)
java.lang.Class@EA68B010/EC5668C8: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3FA0/EB91BF20: <unowned>
Waiting to be notified:
"ExecuteThread-13" (0x51c648)
weblogic.time.common.internal.TimeTable@EA4E38A8/EB881130: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x4e11a8)
java.lang.Object@EA676D30/EC4B9378: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F2F70/EB917DC0: <unowned>
Waiting to be notified:
"ExecuteThread-1" (0x51a840)
weblogic.kernel.ExecuteThread@EA4F4100/EB91C478: <unowned>
Waiting to be notified:
"ExecuteThread-14" (0x525998)
Registered Monitor Dump:
PCMap lock: <unowned>
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: owner "StartupThread" (0x2e82ab0) 1 entry
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "StartupThread" (0x2e82ab0) 1 entry
Thread queue lock: owner "StartupThread" (0x2e82ab0) 1 entry
Monitor registry: owner "StartupThread" (0x2e82ab0) 1 entry
Abort (core dumped)Weblogic does not dump core. The Java virtual machine does.
As for your problem, I would be willing to bet that this is a 122_05a
JVM. I would recommend downgrading to the versions that we certify.
The platform support page for WebLogic Server is located at:
http://www.weblogic.com/docs51/platforms/index.html
This page has the latest and greatest information on the platforms that
WebLogic is certified and supported on.
Bryan Bugliari wrote:
>
I am getting a core dump when starting up my WL server. It seems to be
timing related. The WL startup class is causing the error.
The error does not occur if I do not deploy any EJBs. If I deploy one EJB
the error occurrs. If I deploy two or more EJBs the error does not occur.
The startup class is accessing the database.
Has anyone seen a similar error or know of a solution. Is this a supported
platform?
Environment info and the error dump follow. Thanks in advance.
Bryan Bugliari
[email protected]
Some info on the environment:
Solaris 2.6
jdk1.2.2
WL 5.1.0 sp2
Oracle 8.0.5 client
WL PROPERTIES FILE:
weblogic.jdbc.connectionPool.oraclePool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver, \
loginDelaySecs=1,\
initialCapacity=4,\
maxCapacity=25,\
capacityIncrement=5,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=10,\
testTable=dual,\
props=user=esteel;password=esteel;server=esteel
# Add a TXDataSource for the connection pool:
weblogic.jdbc.TXDataSource.oracleDataSource=oraclePool
WL LOG FILE:
Fri Jun 30 12:10:21 EDT 2000:<I> <System Props> java.class.path =
/opt/app/weblogic/lib/weblogic510sp2boot.jar:/opt/app/weblogic/classes/boot:
/opt/app/weblogic/license:/opt/app/weblogic/oci/classes
java.class.version = 46.0
java.compiler = sunwjit
java.ext.dirs = /usr/local/jdk1.2.2/jre/lib/ext
java.home = /usr/local/jdk1.2.2/jre
java.io.tmpdir = /var/tmp/
java.library.path =
/usr/local/jdk1.2.2/bin/../jre/lib/sparc/native_threads:/usr/local/jdk1.2.2/
bin/../jre/lib/sparc/classic:/usr/local/jdk1.2.2/bin/../jre/lib/sparc:/opt/a
pp/weblogic/oci/lib/solaris/oci805_8:/opt/app/oracle/products/8.0.5/lib:/usr
/lib
java.protocol.handler.pkgs = weblogic.utils|weblogic.utils
java.security.manager =
java.security.policy = =/opt/app/weblogic/weblogic.policy
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.2
java.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
java.version = 1.2.2
java.vm.info = build JDK-1.2.2-001, native threads, sunwjit
java.vm.name = Classic VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.2.2
ERROR BEGINS HERE:
Fri Jun 30 12:10:25 EDT 2000:<I> <EJB> Enterprise JavaBeans initializing
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB JAR deployment
/local/home/weblogic/bbugliar/myserver/ActivityManager.jar> EJB home
interface: 'com.esteel.exchange.domain.activitymanager.ActivityManagerHome'
deployed bound to the JNDI name: 'ActivityManagerHome'
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB> 1 EJB jar files loaded, containing 1
EJBs
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB> 1 deployed, 0 failed to deploy.
Fri Jun 30 12:10:28 EDT 2000:<I> <ZAC> ZAC disabled
Fri Jun 30 12:10:28 EDT 2000:<I> <WebLogicServer> Invoking T3StartupDef
ReferenceDataWLStartup com.esteel.referencedata.ReferenceDataWLStartup with
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [0]: Error 0
si_code [1]: BUS_ADRALN [addr: 0xB]
stackpointer=e7f0be04
Full thread dump Classic VM (JDK-1.2.2-001, native threads):
"StartupThread" (TID:0xea673398, sys_thread_t:0x2e82ab0, state:R, native
ID:0x1b) prio=5
at
weblogic.jdbc20.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.j
ava, Compiled Code)
at
weblogic.jdbc20.rmi.SerialConnection.createStatement(SerialConnection.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._loadRDBase1FromId(RDMeta.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._load(RDMeta.java, Compiled Code)
at com.esteel.referencedata.RDMeta.loadData(RDMeta.java, Compiled
Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.loadData(ReferenceDataServe
rImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.<init>(ReferenceDataServerI
mpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.getInstance(ReferenceDataSe
rverImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataWLStartup.startup(ReferenceDataWLStart
up.java, Compiled Code)
at weblogic.t3.srvr.StartupThread.runStartup(StartupThread.java,
Compiled Code)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java,
Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java,
Compiled Code)
"ExecuteThread-14" (TID:0xea4f4100, sys_thread_t:0x525998, state:CW,
native ID:0x18) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-13" (TID:0xea4f3fa0, sys_thread_t:0x51c648, state:CW,
native ID:0x17) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-12" (TID:0xea4f3e48, sys_thread_t:0x51c530, state:CW,
native ID:0x16) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-11" (TID:0xea4f3cf0, sys_thread_t:0x51c418, state:CW,
native ID:0x15) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-10" (TID:0xea4f3b90, sys_thread_t:0x51c300, state:CW,
native ID:0x14) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-9" (TID:0xea4f3a38, sys_thread_t:0x51c1e8, state:CW,
native ID:0x13) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-8" (TID:0xea4f38e8, sys_thread_t:0x51c0d0, state:CW,
native ID:0x12) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-7" (TID:0xea4f3788, sys_thread_t:0x51bfb8, state:CW,
native ID:0x11) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-6" (TID:0xea4f3630, sys_thread_t:0x51a570, state:CW,
native ID:0x10) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-5" (TID:0xea4f34d8, sys_thread_t:0x51a458, state:CW,
native ID:0xf) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-4" (TID:0xea4f3380, sys_thread_t:0x51bea0, state:CW,
native ID:0xe) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-3" (TID:0xea4f32c0, sys_thread_t:0x51ba30, state:CW,
native ID:0xd) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-2" (TID:0xea4f30d0, sys_thread_t:0x51b918, state:CW,
native ID:0xc) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-1" (TID:0xea4f2f70, sys_thread_t:0x51a840, state:CW,
native ID:0xb) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-0" (TID:0xea4f2868, sys_thread_t:0x51a728, state:CW,
native ID:0xa) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"TimeEventGenerator" (TID:0xea4e2e38, sys_thread_t:0x4e11a8, state:CW,
native ID:0x9) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java,
Compiled Code)
at
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
"SpinnerRandomSource" (TID:0xea4e19f0, sys_thread_t:0x4d3018, state:CW,
native ID:0x7) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java,
Compiled Code)
at weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java,
Compiled Code)
"Finalizer" (TID:0xea400320, sys_thread_t:0x6e4f8, state:CW, native
ID:0x6) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0xea4003b0, sys_thread_t:0x3ca80, state:CW,
native ID:0x5) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0xea4003e0, sys_thread_t:0x65460, state:CW,
native ID:0x4) prio=5
"main" (TID:0xea4001e0, sys_thread_t:0x2ef60, state:CW, native ID:0x1)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.waitForCompletion(PropertyExecuteThre
ad.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java, Compiled
Code)
at weblogic.Server.main(Server.java, Compiled Code)
at weblogic.Server.main(Server.java, Compiled Code)
Monitor Cache Dump:
weblogic.kernel.ExecuteThread@EA4F32C0/EB9188F0: <unowned>
Waiting to be notified:
"ExecuteThread-3" (0x51ba30)
weblogic.kernel.ExecuteThread@EA4F34D8/EB9193D8: <unowned>
Waiting to be notified:
"ExecuteThread-5" (0x51a458)
weblogic.security.SpinnerThread@EA4E19F0/EB870528: <unowned>
Waiting to be notified:
"SpinnerRandomSource" (0x4d3018)
weblogic.kernel.ExecuteThread@EA4F30D0/EB918348: <unowned>
Waiting to be notified:
"ExecuteThread-2" (0x51b918)
weblogic.kernel.ExecuteThread@EA4F38E8/EB91A3E0: <unowned>
Waiting to be notified:
"ExecuteThread-8" (0x51c0d0)
weblogic.kernel.ExecuteThread@EA4F3CF0/EB91B458: <unowned>
Waiting to be notified:
"ExecuteThread-11" (0x51c418)
java.lang.ref.Reference$Lock@EA4003C0/EB0CF4B8: <unowned>
Waiting to be notified:
"Reference Handler" (0x3ca80)
weblogic.kernel.ExecuteThread@EA4F3E48/EB91B9B8: <unowned>
Waiting to be notified:
"ExecuteThread-12" (0x51c530)
weblogic.kernel.ExecuteThread@EA4F2868/EB913FC0: <unowned>
Waiting to be notified:
"ExecuteThread-0" (0x51a728)
java.lang.ref.ReferenceQueue$Lock@EA400338/EB0CF9C0: <unowned>
Waiting to be notified:
"Finalizer" (0x6e4f8)
java.lang.Object@EA675248/EC4A6D18: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3630/EB919930: <unowned>
Waiting to be notified:
"ExecuteThread-6" (0x51a570)
weblogic.kernel.ExecuteThread@EA4F3A38/EB91A998: <unowned>
Waiting to be notified:
"ExecuteThread-9" (0x51c1e8)
weblogic.kernel.ExecuteThread@EA4F3788/EB919E80: <unowned>
Waiting to be notified:
"ExecuteThread-7" (0x51bfb8)
weblogic.kernel.ExecuteThread@EA4F3380/EB918E60: <unowned>
Waiting to be notified:
"ExecuteThread-4" (0x51bea0)
weblogic.t3.srvr.StartupThread@EA673398/EC48C990: <unowned>
Waiting to be notified:
"main" (0x2ef60)
weblogic.kernel.ExecuteThread@EA4F3B90/EB91AF00: <unowned>
Waiting to be notified:
"ExecuteThread-10" (0x51c300)
java.lang.Class@EA68B010/EC5668C8: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3FA0/EB91BF20: <unowned>
Waiting to be notified:
"ExecuteThread-13" (0x51c648)
weblogic.time.common.internal.TimeTable@EA4E38A8/EB881130: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x4e11a8)
java.lang.Object@EA676D30/EC4B9378: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F2F70/EB917DC0: <unowned>
Waiting to be notified:
"ExecuteThread-1" (0x51a840)
weblogic.kernel.ExecuteThread@EA4F4100/EB91C478: <unowned>
Waiting to be notified:
"ExecuteThread-14" (0x525998)
Registered Monitor Dump:
PCMap lock: <unowned>
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: owner "StartupThread" (0x2e82ab0) 1 entry
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "StartupThread" (0x2e82ab0) 1 entry
Thread queue lock: owner "StartupThread" (0x2e82ab0) 1 entry
Monitor registry: owner "StartupThread" (0x2e82ab0) 1 entry
SIGABRT 6* abort (generated by abort(3) routine)
si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine)
si_errno [0]: Error 0
si_code [-1]: SI_LWP [pid: 11078, uid: 3058]
stackpointer=e7f0b55c
Full thread dump Classic VM (JDK-1.2.2-001, native threads):
"StartupThread" (TID:0xea673398, sys_thread_t:0x2e82ab0, state:R, native
ID:0x1b) prio=5
at
weblogic.jdbc20.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.j
ava, Compiled Code)
at
weblogic.jdbc20.rmi.SerialConnection.createStatement(SerialConnection.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._loadRDBase1FromId(RDMeta.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._load(RDMeta.java, Compiled Code)
at com.esteel.referencedata.RDMeta.loadData(RDMeta.java, Compiled
Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.loadData(ReferenceDataServe
rImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.<init>(ReferenceDataServerI
mpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.getInstance(ReferenceDataSe
rverImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataWLStartup.startup(ReferenceDataWLStart
up.java, Compiled Code)
at weblogic.t3.srvr.StartupThread.runStartup(StartupThread.java,
Compiled Code)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java,
Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java,
Compiled Code)
"ExecuteThread-14" (TID:0xea4f4100, sys_thread_t:0x525998, state:CW,
native ID:0x18) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-13" (TID:0xea4f3fa0, sys_thread_t:0x51c648, state:CW,
native ID:0x17) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-12" (TID:0xea4f3e48, sys_thread_t:0x51c530, state:CW,
native ID:0x16) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-11" (TID:0xea4f3cf0, sys_thread_t:0x51c418, state:CW,
native ID:0x15) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-10" (TID:0xea4f3b90, sys_thread_t:0x51c300, state:CW,
native ID:0x14) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-9" (TID:0xea4f3a38, sys_thread_t:0x51c1e8, state:CW,
native ID:0x13) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-8" (TID:0xea4f38e8, sys_thread_t:0x51c0d0, state:CW,
native ID:0x12) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-7" (TID:0xea4f3788, sys_thread_t:0x51bfb8, state:CW,
native ID:0x11) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-6" (TID:0xea4f3630, sys_thread_t:0x51a570, state:CW,
native ID:0x10) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-5" (TID:0xea4f34d8, sys_thread_t:0x51a458, state:CW,
native ID:0xf) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-4" (TID:0xea4f3380, sys_thread_t:0x51bea0, state:CW,
native ID:0xe) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-3" (TID:0xea4f32c0, sys_thread_t:0x51ba30, state:CW,
native ID:0xd) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-2" (TID:0xea4f30d0, sys_thread_t:0x51b918, state:CW,
native ID:0xc) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-1" (TID:0xea4f2f70, sys_thread_t:0x51a840, state:CW,
native ID:0xb) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-0" (TID:0xea4f2868, sys_thread_t:0x51a728, state:CW,
native ID:0xa) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"TimeEventGenerator" (TID:0xea4e2e38, sys_thread_t:0x4e11a8, state:CW,
native ID:0x9) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java,
Compiled Code)
at
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
"SpinnerRandomSource" (TID:0xea4e19f0, sys_thread_t:0x4d3018, state:CW,
native ID:0x7) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java,
Compiled Code)
at weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java,
Compiled Code)
"Finalizer" (TID:0xea400320, sys_thread_t:0x6e4f8, state:CW, native
ID:0x6) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0xea4003b0, sys_thread_t:0x3ca80, state:CW,
native ID:0x5) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0xea4003e0, sys_thread_t:0x65460, state:CW,
native ID:0x4) prio=5
"main" (TID:0xea4001e0, sys_thread_t:0x2ef60, state:CW, native ID:0x1)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.waitForCompletion(PropertyExecuteThre
ad.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java, Compiled
Code)
at weblogic.Server.main(Server.java, Compiled Code)
at weblogic.Server.main(Server.java, Compiled Code)
Monitor Cache Dump:
weblogic.kernel.ExecuteThread@EA4F32C0/EB9188F0: <unowned>
Waiting to be notified:
"ExecuteThread-3" (0x51ba30)
weblogic.kernel.ExecuteThread@EA4F34D8/EB9193D8: <unowned>
Waiting to be notified:
"ExecuteThread-5" (0x51a458)
weblogic.security.SpinnerThread@EA4E19F0/EB870528: <unowned>
Waiting to be notified:
"SpinnerRandomSource" (0x4d3018)
weblogic.kernel.ExecuteThread@EA4F30D0/EB918348: <unowned>
Waiting to be notified:
"ExecuteThread-2" (0x51b918)
weblogic.kernel.ExecuteThread@EA4F38E8/EB91A3E0: <unowned>
Waiting to be notified:
"ExecuteThread-8" (0x51c0d0)
weblogic.kernel.ExecuteThread@EA4F3CF0/EB91B458: <unowned>
Waiting to be notified:
"ExecuteThread-11" (0x51c418)
java.lang.ref.Reference$Lock@EA4003C0/EB0CF4B8: <unowned>
Waiting to be notified:
"Reference Handler" (0x3ca80)
weblogic.kernel.ExecuteThread@EA4F3E48/EB91B9B8: <unowned>
Waiting to be notified:
"ExecuteThread-12" (0x51c530)
weblogic.kernel.ExecuteThread@EA4F2868/EB913FC0: <unowned>
Waiting to be notified:
"ExecuteThread-0" (0x51a728)
java.lang.ref.ReferenceQueue$Lock@EA400338/EB0CF9C0: <unowned>
Waiting to be notified:
"Finalizer" (0x6e4f8)
java.lang.Object@EA675248/EC4A6D18: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3630/EB919930: <unowned>
Waiting to be notified:
"ExecuteThread-6" (0x51a570)
weblogic.kernel.ExecuteThread@EA4F3A38/EB91A998: <unowned>
Waiting to be notified:
"ExecuteThread-9" (0x51c1e8)
weblogic.kernel.ExecuteThread@EA4F3788/EB919E80: <unowned>
Waiting to be notified:
"ExecuteThread-7" (0x51bfb8)
weblogic.kernel.ExecuteThread@EA4F3380/EB918E60: <unowned>
Waiting to be notified:
"ExecuteThread-4" (0x51bea0)
weblogic.t3.srvr.StartupThread@EA673398/EC48C990: <unowned>
Waiting to be notified:
"main" (0x2ef60)
weblogic.kernel.ExecuteThread@EA4F3B90/EB91AF00: <unowned>
Waiting to be notified:
"ExecuteThread-10" (0x51c300)
java.lang.Class@EA68B010/EC5668C8: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3FA0/EB91BF20: <unowned>
Waiting to be notified:
"ExecuteThread-13" (0x51c648)
weblogic.time.common.internal.TimeTable@EA4E38A8/EB881130: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x4e11a8)
java.lang.Object@EA676D30/EC4B9378: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F2F70/EB917DC0: <unowned>
Waiting to be notified: -
SIGBUS 10 bus error" & "Inconsistent thread : best efforts attempt (may fail)
We are using Weblogic 5.1 (no service pack installd) on SUN Solaris.
Suddenly weblogic server was down & in log file
we found the "SIGBUS 10 bus error" & "Inconsistent thread : best efforts
attempt (may fail)" errors (see below for full errors in log file).
We have executeThreadCount=100 in properties file.
Is it known problem/bug with solaris?
thanks,
-ravi
Tue Jun 06 15:30:55 PDT 2000:<E> <ServletContext-General> Cannot find
resource 'javascript/stub.rmf' in document root
'/qa/weblogic/p4root/website/htdocs-portal'
SIGBUS 10 bus error
si_signo [10]: BUS
si_errno [0]:
si_code [1]: BUS_ADRALN [addr: 0xd81eb71d]
stackpointer=C99D0D80
Inconsistent thread : best efforts attempt (may fail)
"Thread-36" (TID:0x4e92320, sys_thread_t:0x4e92258, state:CW, thread_t:
t@202, threadID:0xc8ae1dd8, stack_bottom:0xc8ae2000, stack_size:0x20000)
prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] javax.mail.EventQueue.dequeue(EventQueue.java:73)
[3] javax.mail.EventQueue.run(EventQueue.java:93)
[4] java.lang.Thread.run(Thread.java:478)
Inconsistent thread : best efforts attempt (may fail)
"SeedGenerator Thread" (TID:0x4994508, sys_thread_t:0x4994440, state:CW,
thread_t: t@118, threadID:0xc8ab1dd8, stack_bottom:0xc8ab2000,
stack_size:0x20000) prio=1
[1] java.lang.Object.wait(Object.java:424)
[2] sun.security.provider.SeedGenerator.run(SeedGenerator.java:107)
[3] java.lang.Thread.run(Thread.java:479)
Inconsistent thread : best efforts attempt (may fail)
"SSLListenThread" (TID:0x4381688, sys_thread_t:0x43815c0, state:R, thread_t:
t@114, threadID:0xc8b41dd8, stack_bottom:0xc8b42000, stack_size:0x20000)
prio=5
[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
[4] java.net.ServerSocket.accept(ServerSocket.java:223)
[5]
weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java
:121)
[6] weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
[7] weblogic.t3.srvr.ListenThread.run(ListenThread.java:226)Hi Steve,
We are also not getting that error on NT. We are not getting SIGBUS error
at particular point/place. Randomly (approx after 30 min)
the server will give this SIGBUS error & shutdowns.
I tried with -native option with JAVA VM also. Still we are getting the same
error.
We are using ORACLE8.1.5 with Weblogic's OCI driver.
I feel this problem may be related to "jdk1.2.2_05a" on Solaris!!
Weblogic guys: Will weblogic supports jdk1.2.2_05a on Solaris?
thanks
-ravi
Steve Rogers <[email protected]> wrote in message
news:[email protected]...
Ravi, I am developing on WL 4.5.1 and solaris 2.6 with SIGBUS 10 erroralso
(I also have jdk 1.2.2_05a) I do NOT think it has anything to do withthis,
java always runs with -native on, infact you cannot turn it off. I am
using HTMLkona, and getting this (from the thread dump) in
weblogic.html.OptionElement.
Do you know where yours is coming from?
I have been hacking at this for 3 days, and have submitted to
[email protected] as well. I still cannot figure out why this happens. The
really strange thing is, it WORKS on Windows NT.
Please respond, maybe we can help each other solve this problem.
Thanks
Steve Rogers
[email protected]
"Ravi Kumar.T" <[email protected]> wrote in message
news:[email protected]...
We are using Weblogic 5.1 (no service pack installd) on SUN Solaris.
Suddenly weblogic server was down & in log file
we found the "SIGBUS 10 bus error" & "Inconsistent thread : best efforts
attempt (may fail)" errors (see below for full errors in log file).
We have executeThreadCount=100 in properties file.
Is it known problem/bug with solaris?
thanks,
-ravi
Tue Jun 06 15:30:55 PDT 2000:<E> <ServletContext-General> Cannot find
resource 'javascript/stub.rmf' in document root
'/qa/weblogic/p4root/website/htdocs-portal'
SIGBUS 10 bus error
si_signo [10]: BUS
si_errno [0]:
si_code [1]: BUS_ADRALN [addr: 0xd81eb71d]
stackpointer=C99D0D80
Inconsistent thread : best efforts attempt (may fail)
"Thread-36" (TID:0x4e92320, sys_thread_t:0x4e92258, state:CW, thread_t:
t@202, threadID:0xc8ae1dd8, stack_bottom:0xc8ae2000, stack_size:0x20000)
prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] javax.mail.EventQueue.dequeue(EventQueue.java:73)
[3] javax.mail.EventQueue.run(EventQueue.java:93)
[4] java.lang.Thread.run(Thread.java:478)
Inconsistent thread : best efforts attempt (may fail)
"SeedGenerator Thread" (TID:0x4994508, sys_thread_t:0x4994440, state:CW,
thread_t: t@118, threadID:0xc8ab1dd8, stack_bottom:0xc8ab2000,
stack_size:0x20000) prio=1
[1] java.lang.Object.wait(Object.java:424)
[2] sun.security.provider.SeedGenerator.run(SeedGenerator.java:107)
[3] java.lang.Thread.run(Thread.java:479)
Inconsistent thread : best efforts attempt (may fail)
"SSLListenThread" (TID:0x4381688, sys_thread_t:0x43815c0, state:R,thread_t:
t@114, threadID:0xc8b41dd8, stack_bottom:0xc8b42000, stack_size:0x20000)
prio=5
[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
[4] java.net.ServerSocket.accept(ServerSocket.java:223)
[5]
weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java
:121)
[6]weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
[7] weblogic.t3.srvr.ListenThread.run(ListenThread.java:226) -
SIGBUS 10 bus error Inconsistent thread
Getting the SIGBUS 10 bus error Inconsistent thread randomly when running
the server.
Having read all the discussions it seems as if JDK 1.2.1_03 is the
latest version of the JDK that will prevent this problem from arizing.
Does anyone know any other fixes to the SIGBUS 10 bus error apart from reverting
to JDK 1.2.1_03?
Thanks
Our Configuration:
JDK 1.2.2_05a
Solaris 2.7
Weblogic 5.7 servicepack 4So far so good...
Added the
JVMARGS="inline_instrs_jit=0" export JVMARGS
directive to startWebLogic.sh on 10/2/00 and have not seen any of the random core dumps we were experiencing before that.
JDK 1.2.2_05a
Solaris 2.7
Weblogic 5.7 servicepack 4
"Jesus M. Salvo Jr." <[email protected]> wrote:
I can only tell you that it fixed our problem on this configuration:
Solaris Sparc SunOS 2.7 (with all the Solaris patches required for
JDK1.2.2_005a)
JDK1.2.2_005a
WLS 5.1 + SP5
.... and JVMARGS is not a Java system property so using it with java -D
will definitely not work.
.... and we placed the code:
JVMARGS="inline_instrs_jit=0"
export JVMARGS
.... within startWebLogic.sh ( near the top where all the other env.
variables were declared ) to make the directive work.
John Salvo
Roberto Nanamura wrote:
Hi,
I am having the same problem but I set the JVMARGS in the command line like:
java -D_JVM_ARGS="inline_instrs_jit=0" ....
and it did not work.
Now I going to use the:
JVMARGS="inline_instrs_jit=0"
export JVMARGS
as suggested in the BEA page.
Can you confirm that adding these lines to startWebLogic.sh file will fix the
problem?
Thanks in advance,
Roberto N Nanamura
Technical Consultant
Summa Technologies
"Jesus M. Salvo Jr." wrote:
We also experienced this, with the following config:
Solaris 2.7
JDK 1.2.2_005a
WLS 5.1 + SP5
The workaround in our case was to include the JVMARGS directive
specified in BEA's platform support document.
John Salvo
mic murphy wrote:
Thanks Kumar, have you the Sun bug number for this?
Kumar Allamraju <[email protected]> wrote:
We already reported this problem to sun.
The workaround is to turn-off JIT
Kumar
mic murphy wrote:
Getting the SIGBUS 10 bus error Inconsistent thread randomly when running
the server.
Having read all the discussions it seems as if JDK 1.2.1_03 is the
latest version of the JDK that will prevent this problem from arizing.
Does anyone know any other fixes to the SIGBUS 10 bus error apart from reverting
to JDK 1.2.1_03?
Thanks
Our Configuration:
JDK 1.2.2_05a
Solaris 2.7
Weblogic 5.7 servicepack 4 -
How do I fix: DirectoryServices: Job appears to have crashed: Bus error
Can anyone help with this problem? The only solution I have found is to erase and reinstall the OS. A reinstall alone will not fix it.
I have experienced this problem on 3 Macs now, and Apple Care has virtually rebuilt my mini attempting to fix it. However to date, I haven't been able to find anyone at Apple who will look at the data. Here is what appears endlessly in /var/log/system.log:
Apr 1 08:55:43 Peters-MacBook-Air com.apple.launchd[1] (com.apple.DirectoryServices[161]): Job appears to have crashed: Bus error
Apr 1 08:55:43 Peters-MacBook-Air com.apple.launchd[1] (com.apple.DirectoryServices): Throttling respawn: Will start in 8 seconds
Apr 1 08:55:43 Peters-MacBook-Air com.apple.ReportCrash.Root[156]: 2011-04-01 08:55:43.390 ReportCrash[156:140b] Saved crash report for DirectoryService[161] version ??? (???) to /Library/Logs/DiagnosticReports/DirectoryService2011-04-01-085543localhost.crash
Apr 1 08:55:51 Peters-MacBook-Air DirectoryService[162]: Improper shutdown detected
Apr 1 08:55:53 Peters-MacBook-Air com.apple.launchd[1] (com.apple.DirectoryServices[162]): Job appears to have crashed: Bus error
Apr 1 08:55:53 Peters-MacBook-Air com.apple.launchd[1] (com.apple.DirectoryServices): Throttling respawn: Will start in 8 seconds
Apr 1 08:55:53 Peters-MacBook-Air com.apple.ReportCrash.Root[156]: 2011-04-01 08:55:53.788 ReportCrash[156:380b] Saved crash report for DirectoryService[162] version ??? (???) to /Library/Logs/DiagnosticReports/DirectoryService2011-04-01-085553localhost.crash
Apr 1 08:56:01 Peters-MacBook-Air DirectoryService[163]: Improper shutdown detected
Apr 1 08:56:04 Peters-MacBook-Air com.apple.launchd[1] (com.apple.DirectoryServices[163]): Job appears to have crashed: Bus error
Apr 1 08:56:04 Peters-MacBook-Air com.apple.launchd[1] (com.apple.DirectoryServices): Throttling respawn: Will start in 8 seconds
Apr 1 08:56:04 Peters-MacBook-Air com.apple.ReportCrash.Root[156]: 2011-04-01 08:56:04.237 ReportCrash[156:472f] Saved crash report for DirectoryService[163] version ??? (???) to /Library/Logs/DiagnosticReports/DirectoryService2011-04-01-085604localhost.crash
Apr 1 08:56:12 Peters-MacBook-Air DirectoryService[165]: Improper shutdown detected
Here is one of the crash logs.
Process: DirectoryService [226]
Path: /usr/sbin/DirectoryService
Identifier: DirectoryService
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
Date/Time: 2011-04-04 10:30:15.232 -0600
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: 0x000000000000000a, 0x0000000100385000
Crashed Thread: 1 Dispatch queue: com.apple.root.default-priority
Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff8503f2da machmsgtrap + 10
1 libSystem.B.dylib 0x00007fff8503f94d mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff83955932 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff83954dbf CFRunLoopRunSpecific + 575
4 com.apple.CoreFoundation 0x00007fff83954b46 CFRunLoopRun + 70
5 DirectoryService 0x000000010000dbe9 main + 3061
6 DirectoryService 0x000000010000cfec start + 52
Thread 1 Crashed: Dispatch queue: com.apple.root.default-priority
0 libSystem.B.dylib 0x00007fff8509a33d strtok_r + 19
1 DirectoryService 0x00000001000a9d04 FlatFileNode::FetchMatchingRecords(sBDPISearchRecordsContext*, void*, unsigned int*) + 1976
2 DirectoryService 0x00000001000acad7 FlatFileNode::InternalSearchRecords(sBDPISearchRecordsContext*, void*, unsigned int*) + 681
3 DirectoryService 0x00000001000acd5b FlatFileNode::SearchRecords(sBDPISearchRecordsContext*, void*, unsigned int*) + 237
4 DirectoryService 0x00000001000a5a5b BaseDirectoryPlugin::GetRecordList(sGetRecordList*) + 309
5 DirectoryService 0x00000001000a68a0 BaseDirectoryPlugin::ProcessRequest(void*) + 584
6 DirectoryService 0x00000001000017fb CRequestHandler::HandlePluginCall(sComData**) + 715
7 DirectoryService 0x00000001000024bc CRequestHandler::HandleRequest(sComData**) + 222
8 DirectoryService 0x000000010002e42a CMessaging::SendInlineMessage(unsigned int) + 148
9 DirectoryService 0x000000010000562b dsGetRecordList + 1113
10 DirectoryService 0x0000000100082929 CCachePlugin::GetRecordListLibInfo(unsigned int, char const*, char const*, unsigned int, tDataList*, sCacheValidation* (*)(unsigned int, unsigned int, kvbuf_t*, tDataBuffer*, tRecordEntry*, unsigned int, void*, CCache*, char const**), kvbuf_t*, void*, CCache*, char const**, sCacheValidation**) + 221
11 DirectoryService 0x000000010008933e CCachePlugin::DSgethostbyname_int(char*, char const*, char const*, int, bool, void**, int*) + 960
12 DirectoryService 0x0000000100089ae2 CCachePlugin::DSgethostbynameservice(kvbuft*, int) + 336
13 DirectoryService 0x000000010008f7e7 CCachePlugin::ProcessLookupRequest(int, char*, int, int) + 811
14 DirectoryService 0x000000010002a0fd libinfoDSmigdoQuery + 559
15 DirectoryService 0x000000010009325a _XQuery + 262
16 DirectoryService 0x0000000100092fea DSlibinfoMIG_server + 106
17 DirectoryService 0x00000001000282a1 dsmigdemux_internaldispatch(mach_msg_headert*, machmsg_headert*) + 65
18 libSystem.B.dylib 0x00007fff850bbe24 machmsgserver + 357
19 libSystem.B.dylib 0x00007fff8507b2c4 dispatch_call_block_andrelease + 15
20 libSystem.B.dylib 0x00007fff85059810 dispatch_workerthread2 + 206
21 libSystem.B.dylib 0x00007fff85059168 pthreadwqthread + 353
22 libSystem.B.dylib 0x00007fff85059005 start_wqthread + 13
Thread 2:
0 libSystem.B.dylib 0x00007fff8503f2da machmsgtrap + 10
1 libSystem.B.dylib 0x00007fff8503f94d mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff83955932 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff83954dbf CFRunLoopRunSpecific + 575
4 com.apple.CoreFoundation 0x00007fff83954b46 CFRunLoopRun + 70
5 DirectoryService 0x000000010001c784 CPluginRunLoopThread::ThreadMain() + 150
6 ...ectoryServiceCore.Framework 0x00000001001790ac DSCThread::Run() + 36
7 ...ectoryServiceCore.Framework 0x000000010017934b DSLThread::_RunWrapper(void*) + 67
8 libSystem.B.dylib 0x00007fff85078536 pthreadstart + 331
9 libSystem.B.dylib 0x00007fff850783e9 thread_start + 13
Thread 3: Dispatch queue: com.apple.root.high-priority
0 libSystem.B.dylib 0x00007fff8503f316 semaphorewaittrap + 10
1 libSystem.B.dylib 0x00007fff8507b669 dispatch_semaphore_waitslow + 211
2 DirectoryService 0x00000001000286bd ___StartKernelListener_block_invoke8 + 33
3 libSystem.B.dylib 0x00007fff8507b2c4 dispatch_call_block_andrelease + 15
4 libSystem.B.dylib 0x00007fff85059831 dispatch_workerthread2 + 239
5 libSystem.B.dylib 0x00007fff85059168 pthreadwqthread + 353
6 libSystem.B.dylib 0x00007fff85059005 start_wqthread + 13
Thread 4: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff8505816a kevent + 10
1 libSystem.B.dylib 0x00007fff8505a03d dispatch_mgrinvoke + 154
2 libSystem.B.dylib 0x00007fff85059d14 dispatch_queueinvoke + 185
3 libSystem.B.dylib 0x00007fff8505983e dispatch_workerthread2 + 252
4 libSystem.B.dylib 0x00007fff85059168 pthreadwqthread + 353
5 libSystem.B.dylib 0x00007fff85059005 start_wqthread + 13
Thread 5:
0 libSystem.B.dylib 0x00007fff8503f2da machmsgtrap + 10
1 libSystem.B.dylib 0x00007fff8503f94d mach_msg + 59
2 libSystem.B.dylib 0x00007fff8504ac4e vprocmig_lookup2 + 182
3 libSystem.B.dylib 0x00007fff8504aaa5 bootstraplookup2 + 268
4 libSystem.B.dylib 0x00007fff85053ec4 dsrunning + 52
5 libSystem.B.dylib 0x00007fff85053ce1 searchgetmodule + 86
6 libSystem.B.dylib 0x00007fff85053c68 searchitembynumber + 196
7 libSystem.B.dylib 0x00007fff85073a56 getpwuid + 26
8 com.apple.CoreFoundation 0x00007fff8393cf49 _CFUpdateUserInfo + 105
9 com.apple.CoreFoundation 0x00007fff8393ce96 _CFUserName + 22
10 com.apple.CoreFoundation 0x00007fff8393b119 __CFXPreferencesGetManagedSourceForBundleIDAndUser + 537
11 com.apple.CoreFoundation 0x00007fff8393aae7 __CFXPreferencesGetSearchListForBundleID + 119
12 com.apple.CoreFoundation 0x00007fff8393a9fb CFPreferencesCopyAppValue + 43
13 com.apple.CoreFoundation 0x00007fff8393a999 _CFBundleCopyUserLanguages + 665
14 com.apple.CoreFoundation 0x00007fff8393a1b4 _CFBundleAddPreferredLprojNamesInDirectory + 404
15 com.apple.CoreFoundation 0x00007fff83939c8a _CFBundleGetLanguageSearchList + 170
16 com.apple.CoreFoundation 0x00007fff8393a4ba _CFBundleAddPreferredLprojNamesInDirectory + 1178
17 com.apple.CoreFoundation 0x00007fff83993e97 _CFBundleCopyLanguageSearchListInDirectory + 167
18 com.apple.CoreFoundation 0x00007fff839990d9 CFBundleCopyResourceURLsOfTypeInDirectory + 249
19 DirectoryService 0x000000010001eb92 CPluginHandler::LoadPlugins(unsigned int) + 388
20 DirectoryService 0x000000010000e9c9 CPluginHandler::ThreadMain() + 491
21 ...ectoryServiceCore.Framework 0x00000001001790ac DSCThread::Run() + 36
22 ...ectoryServiceCore.Framework 0x000000010017934b DSLThread::_RunWrapper(void*) + 67
23 libSystem.B.dylib 0x00007fff85078536 pthreadstart + 331
24 libSystem.B.dylib 0x00007fff850783e9 thread_start + 13
Thread 6: Dispatch queue: com.apple.root.default-priority
0 libSystem.B.dylib 0x00007fff8503f2da machmsgtrap + 10
1 libSystem.B.dylib 0x00007fff8503f94d mach_msg + 59
2 libSystem.B.dylib 0x00007fff850bbe93 machmsgserver + 468
3 libSystem.B.dylib 0x00007fff8507b2c4 dispatch_call_block_andrelease + 15
4 libSystem.B.dylib 0x00007fff85059810 dispatch_workerthread2 + 206
5 libSystem.B.dylib 0x00007fff85059168 pthreadwqthread + 353
6 libSystem.B.dylib 0x00007fff85059005 start_wqthread + 13
Thread 7: Dispatch queue: com.apple.root.high-priority
0 libSystem.B.dylib 0x00007fff8507b8c2 syscall + 10
1 DirectoryService 0x00000001000284ca ___StartKernelListener_block_invoke9 + 72
2 libSystem.B.dylib 0x00007fff8507b2c4 dispatch_call_block_andrelease + 15
3 libSystem.B.dylib 0x00007fff85059831 dispatch_workerthread2 + 239
4 libSystem.B.dylib 0x00007fff85059168 pthreadwqthread + 353
5 libSystem.B.dylib 0x00007fff85059005 start_wqthread + 13
Thread 1 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000010040c300 rcx: 0x00007fff70996630 rdx: 0x000000010040bab0
rdi: 0x0000000100385000 rsi: 0x00000001000eebea rbp: 0x000000010037fd70 rsp: 0x000000010037fd70
r8: 0x0000000000000000 r9: 0x000000010040c1e0 r10: 0x0000000000000001 r11: 0x0000000000000011
r12: 0x0000000000000000 r13: 0x0000000000000001 r14: 0x000000010040c380 r15: 0x000000010037fea0
rip: 0x00007fff8509a33d rfl: 0x0000000000010206 cr2: 0x0000000100385000
Binary Images:
0x100000000 - 0x100120ff7 +DirectoryService ??? (???) <910DBBCD-D741-1530-210F-9A3944045A5B> /usr/sbin/DirectoryService
0x100171000 - 0x100182fff com.apple.DirectoryServiceCore.Framework 3.6 (621.9) <16FCF0D0-89B6-6BD2-F8CA-443E1A89307C> /System/Library/PrivateFrameworks/DirectoryServiceCore.framework/Versions/A/Dir ectoryServiceCore
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <DB8B8AB0-0C97-B51C-BE8B-B79895735A33> /usr/lib/dyld
0x7fff80a41000 - 0x7fff80b58fef libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <AFE91118-DBF3-6313-37B8-8A2002C6A46B> /usr/lib/libxml2.2.dylib
0x7fff80bc6000 - 0x7fff80c7cfff libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <1960E662-D35C-5D98-EB16-D43166AE6A22> /usr/lib/libobjc.A.dylib
0x7fff813f6000 - 0x7fff81445ff7 com.apple.DirectoryService.PasswordServerFramework 6.0 (6.0) <F5B744D7-AEAF-6B66-43CF-6E31CDA18EAB> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
0x7fff81446000 - 0x7fff8144aff7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
0x7fff8144b000 - 0x7fff814ebfff com.apple.LaunchServices 362.2 (362.2) <A8EDC37C-1D40-5ED0-49BE-90EF110A6B3A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff814ec000 - 0x7fff81569fef libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
0x7fff817a6000 - 0x7fff817d1ff7 libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <6589F0FC-41DB-8494-CA8B-487F4E328EB9> /usr/lib/libxslt.1.dylib
0x7fff821e1000 - 0x7fff82467fff com.apple.security 6.1.1 (37594) <1B4E1ABD-1BB3-DA49-F574-0EEB23E73C6A> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff824fd000 - 0x7fff82525fff com.apple.DictionaryServices 1.1.2 (1.1.2) <E9269069-93FA-2B71-F9BA-FDDD23C4A65E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x7fff828c2000 - 0x7fff82922fe7 com.apple.framework.IOKit 2.0 (???) <D107CB8A-5182-3AC4-35D0-07068A695C05> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff82968000 - 0x7fff8297afe7 libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <30FE378B-99FE-8C7C-06D0-A3AA0A0A70D4> /usr/lib/libsasl2.2.dylib
0x7fff829ff000 - 0x7fff82a20fff libresolv.9.dylib 41.0.0 (compatibility 1.0.0) <9B7AEE96-D18E-5ECF-9837-BD5CFD397831> /usr/lib/libresolv.9.dylib
0x7fff83909000 - 0x7fff83a80fe7 com.apple.CoreFoundation 6.6.4 (550.42) <770C572A-CF70-168F-F43C-242B9114FCB5> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff84e33000 - 0x7fff84e44ff7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <5BAFAE5C-2307-C27B-464D-582A10A6990B> /usr/lib/libz.1.dylib
0x7fff84ee3000 - 0x7fff84f2ffff libauto.dylib ??? (???) <F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
0x7fff84f7b000 - 0x7fff84fb8fff com.apple.LDAPFramework 2.0 (120.1) <A890D6E1-2721-1C1B-3B3C-13ACE5EF6B3D> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x7fff84ff3000 - 0x7fff8503dff7 com.apple.Metadata 10.6.3 (507.15) <5170FCE0-ED6C-2E3E-AB28-1DDE3F628FC5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x7fff8503e000 - 0x7fff851fffff libSystem.B.dylib 125.2.1 (compatibility 1.0.0) <71E6D4C9-F945-6EC2-998C-D61AD590DAB6> /usr/lib/libSystem.B.dylib
0x7fff857a0000 - 0x7fff857a1ff7 com.apple.TrustEvaluationAgent 1.1 (1) <A91CE5B9-3C63-5F8C-5052-95CCAB866F72> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
0x7fff857c5000 - 0x7fff85882ff7 com.apple.CoreServices.OSServices 357 (357) <ABB9A264-05D8-DFF1-35DB-C4B19C4E0B71> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x7fff85883000 - 0x7fff85a41fff libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <781E7B63-2AD0-E9BA-927C-4521DB616D02> /usr/lib/libicucore.A.dylib
0x7fff85b42000 - 0x7fff85b83fff com.apple.SystemConfiguration 1.10.5 (1.10.2) <FB39F09C-57BB-D8CC-348D-93E00C602F7D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x7fff85fab000 - 0x7fff8605afff edu.mit.Kerberos 6.5.10 (6.5.10) <05AEA348-2288-E1C0-8F10-0D8880AE7530> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff861c2000 - 0x7fff8627bfff libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <2C5ED312-E646-9ADE-73A9-6199A2A43150> /usr/lib/libsqlite3.dylib
0x7fff8627c000 - 0x7fff86292fef libbsm.0.dylib ??? (???) <0321D32C-9FE1-3919-E03E-2530A0C1191B> /usr/lib/libbsm.0.dylib
0x7fff86958000 - 0x7fff86a79fe7 libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <48AEAFE1-21F4-B3C8-4199-35AD5E8D0613> /usr/lib/libcrypto.0.9.8.dylib
0x7fff86c7c000 - 0x7fff86cb6fff libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <C7153747-50E3-32DA-426F-CC4C505D1D6C> /usr/lib/libssl.0.9.8.dylib
0x7fff8740e000 - 0x7fff8741cff7 libkxld.dylib ??? (???) <4016E9E6-0645-5384-A697-2775B5228113> /usr/lib/system/libkxld.dylib
0x7fff87454000 - 0x7fff87788fff com.apple.CoreServices.CarbonCore 861.23 (861.23) <08F360FA-1771-4F0B-F356-BEF68BB9D421> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x7fff878b9000 - 0x7fff878b9ff7 com.apple.CoreServices 44 (44) <DC7400FB-851E-7B8A-5BF6-6F50094302FB> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff8864d000 - 0x7fff88688fff com.apple.AE 496.4 (496.4) <CB905496-4D6B-F26A-399D-840D26DBEE5B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x7fff88878000 - 0x7fff8894afe7 com.apple.CFNetwork 454.11.5 (454.11.5) <B3E2BE12-D7AA-5940-632A-1E5E7BF8E6E3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x7fff8894b000 - 0x7fff88bceff7 com.apple.Foundation 6.6.4 (751.42) <9A99D378-E97A-8C0F-3857-D0FAA30FCDD5> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff88e7f000 - 0x7fff88f0ffff com.apple.SearchKit 1.3.0 (1.3.0) <45BA1053-9196-3C2F-2421-AFF5E09627CC> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x7fff89120000 - 0x7fff8912ffff com.apple.NetFS 3.2.1 (3.2.1) <4396CAD7-FDAF-8C63-97FA-74E7124DFF2A> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff8913e000 - 0x7fff89144fff com.apple.DiskArbitration 2.3.1 (2.3.1) <D5D3AE5F-83AC-0CEB-2DC3-755F0CC20A4E> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <71E6D4C9-F945-6EC2-998C-D61AD590DAB6> /usr/lib/libSystem.B.dylibAny fix for this yet?
com.apple.DirectoryServices crashes and attempts to restart every 10 seconds on my system:
10/10/11 4:05:29 PM com.apple.launchd[1] (com.apple.DirectoryServices[1791]) Job appears to have crashed: Bus error
10/10/11 4:05:29 PM com.apple.launchd[1] (com.apple.DirectoryServices) Throttling respawn: Will start in 7 seconds
10/10/11 4:05:29 PM com.apple.ReportCrash.Root[1789] 2011-10-10 16:05:29.978 ReportCrash[1789:4543] Saved crash report for DirectoryService[1791] version ??? (???) to /Library/Logs/DiagnosticReports/DirectoryService_2011-10-10-160529_localhost.cr ash -
After Security Update today: "Bus error" when starting "ssh" client
Hi,
I'm using OS X 10.5.2 and updated my system with the newest Safari 3.1 and Security Update a few hours ago. After I did this update, I cant use the command-line ssh client anymore. When I start the ssh, I immediately get a "Bus error" on the shell.
Any suggestions?
Thanks, MarcDisk Utility Permission Repair doesn't do any good either.
I now actually use my Parallels VM to ssh thanks to putty but still...
This is what Crash Reporter has to say:
The application ssh quit unexpectedly.
Process: ssh [323]
Path: /usr/bin/ssh
Identifier: ssh
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [189]
Date/Time: 2008-03-18 23:04:56.717 +0100
OS Version: Mac OS X 10.5.2 (9C31)
Report Version: 6
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000001014
Crashed Thread: 0
Thread 0 Crashed:
0 ??? 0x0004c4e7 0 + 312551
1 ??? 0x0004c56e 0 + 312686
2 ??? 0x0004c7f7 0 + 313335
3 ??? 0x0004b070 0 + 307312
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00001000 ebx: 0x0004c7d5 ecx: 0x0004e338 edx: 0x0004e340
edi: 0x0000101c esi: 0x00000000 ebp: 0xbffffa18 esp: 0xbffff9f0
ss: 0x0000001f efl: 0x00010286 eip: 0x0004c4e7 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00001014
Binary Images:
0x363d8000 - 0x36415fef +ssh ??? (???) <38f6d3ec24f0b372e64c12b15bb319d4> /usr/bin/ssh
0x8fe00000 - 0x8fe2da53 dyld 96.2 (???) <7af47d3b00b2268947563c7fa8c59a07> /usr/lib/dyld
0x90125000 - 0x90129fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x90841000 - 0x909a0ff3 libSystem.B.dylib ??? (???) <4899376234e55593b22fc370935f8cdf> /usr/lib/libSystem.B.dylib
0x9316d000 - 0x9317bffd libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x9317c000 - 0x931a7fe7 libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
0x931a9000 - 0x93206ffb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x936a2000 - 0x937d4fef com.apple.CoreFoundation 6.5.1 (476.10) <d5bed2688a5eea11a6dc3a3c5c17030e> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x93adf000 - 0x93b91ffb libcrypto.0.9.7.dylib ??? (???) <330b0e48e67faffc8c22dfc069ca7a47> /usr/lib/libcrypto.0.9.7.dylib
0x93be1000 - 0x93cc0fff libobjc.A.dylib ??? (???) <a53206274b6c2d42691f677863f379ae> /usr/lib/libobjc.A.dylib
0x93d20000 - 0x93e58ff7 libicucore.A.dylib ??? (???) <afcea652ff2ec36885b2c81c57d06d4c> /usr/lib/libicucore.A.dylib
0x93fbc000 - 0x93fdafff libresolv.9.dylib ??? (???) <0629b6dcd71f4aac6a891cbe26253e85> /usr/lib/libresolv.9.dylib
0x94c9c000 - 0x94d4cfff edu.mit.Kerberos 6.0.12 (6.0.12) <3dd13466876a8fe4549cfc1354233ec3> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x94d4d000 - 0x94d54ffe libbsm.dylib ??? (???) <d25c63378a5029648ffd4b4669be31bf> /usr/lib/libbsm.dylib
0x95ca0000 - 0x95e6bff7 com.apple.security 5.0.2 (33001) <0788969ffe7961153219be10786da436> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x966d7000 - 0x966defe9 libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib -
I have written a java program which accesses:
SetSystemUIMode(kUIModeNormal, 0);
(through JNI) to return system settings to normal after the java program has been locked out.
When I call this function about one in ten calls it gives a Bus Error and brings down the whole program.
I would like to avoid the program being taken down.
You can reliably get this error by running the command through a for loop of about 100 loops.
Anyone know how to fix this or can think of a work around.
Thanks for any input!
G4 Mac OS X (10.4.8)see http://www.weblogic.com/platforms/index.html#solaris8
Guna Desaiyan <[email protected]> wrote:
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
I got this in the WL 4.5.1 log running on Sun Solaris.
Please advise.
Thanks,
Guna DesaiyanDimitri -
Bus error on some applications after installing 2013-002 update
Hi,
After installing 2013-002 Security Update on Mac Os 10.6.8 I get Bus Error when starting chrome (last version), trying to select a disc image in VirtualBox 4.2.12 and possibly in other applications.
Any known bug that I'm not aware of? Reseting PRAM didn't work.
Thanks.Tried to fix permission with Disk Utility but it didn't work.
Here is the beggining of my crash reports:
Process:
Google Chrome [248]
Path:
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
Identifier:
com.google.Chrome
Version:
27.0.1453.110 (1453.110)
Code Type:
X86 (Native)
Parent Process: launchd [211]
Date/Time:
2013-06-05 17:58:25.353 -0300
OS Version:
Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report:
13318 sec
Crashes Since Last Report:
25
Per-App Interval Since Last Report: 40 sec
Per-App Crashes Since Last Report: 11
Anonymous UUID:
9839EF92-04E8-4A96-A582-68E940C20B35
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x000000000000000a
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread -
Svn Bus error (core dumped)
I can't seem to get subversion to work. I just need the client utility (trying to set up an OpenWRT build environment). Most commands included with the package result in the terminal outputting "Bus error (core dumped)". I've tried to do some searching, but I haven't come up with anything relevant.
[jeffro@jeffro-t60 ~]$ svn
Bus error (core dumped)
[jeffro@jeffro-t60 ~]$ svn
svn svnadmin svndumpfilter svnlook svnmucc svnrdump svnserve svnsync svnversion
[jeffro@jeffro-t60 ~]$ svnadmin
Bus error (core dumped)
[jeffro@jeffro-t60 ~]$ svndumpfilter
Bus error (core dumped)
[jeffro@jeffro-t60 ~]$ svnlook
Bus error (core dumped)
[jeffro@jeffro-t60 ~]$ svnmucc
Bus error (core dumped)
[jeffro@jeffro-t60 ~]$ svnrdump
Bus error (core dumped)
[jeffro@jeffro-t60 ~]$ svnserve
Bus error (core dumped)
[jeffro@jeffro-t60 ~]$ svnsync
Bus error (core dumped)
[jeffro@jeffro-t60 ~]$ svnversion
Unversioned directory
[jeffro@jeffro-t60 ~]$ uname -a
Linux jeffro-t60 4.0.4-2-ARCH #1 SMP PREEMPT Fri May 22 03:19:32 UTC 2015 i686 GNU/LinuxOkay, back at my computer. I guess I didn't realize that journalctl kept tabs on damn near everything, and I just had to look for the relevant lines.
[jeffro@jeffro-t60 ~]$ svn
Bus error (core dumped)
[jeffro@jeffro-t60 ~]$ journalctl -xn 15
-- Logs begin at Sat 2015-04-25 13:00:05 EDT, end at Sun 2015-06-07 20:10:48 EDT. --
Jun 07 20:10:33 jeffro-t60 konsole[890]: org.kde.kurlfilter-ikws: "[jeffro@jeffro-t60 ~]$ journalctl -xn 15 -- Logs begin at Sat 2015-04-25 13:
Jun 07 20:10:48 jeffro-t60 kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Jun 07 20:10:48 jeffro-t60 kernel: ata3.00: irq_stat 0x40000001
Jun 07 20:10:48 jeffro-t60 kernel: ata3.00: failed command: READ DMA
Jun 07 20:10:48 jeffro-t60 kernel: ata3.00: cmd c8/00:08:00:79:55/00:00:00:00:00/e5 tag 23 dma 4096 in
res 51/40:07:01:79:55/00:00:00:00:00/e5 Emask 0x9 (media error)
Jun 07 20:10:48 jeffro-t60 kernel: ata3.00: status: { DRDY ERR }
Jun 07 20:10:48 jeffro-t60 kernel: ata3.00: error: { UNC }
Jun 07 20:10:48 jeffro-t60 kernel: ata3.00: configured for UDMA/100
Jun 07 20:10:48 jeffro-t60 kernel: sd 2:0:0:0: [sda] tag#23 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
Jun 07 20:10:48 jeffro-t60 kernel: sd 2:0:0:0: [sda] tag#23 Sense Key : 0x3 [current] [descriptor]
Jun 07 20:10:48 jeffro-t60 kernel: sd 2:0:0:0: [sda] tag#23 ASC=0x11 ASCQ=0x4
Jun 07 20:10:48 jeffro-t60 kernel: sd 2:0:0:0: [sda] tag#23 CDB: opcode=0x28 28 00 05 55 79 00 00 00 08 00
Jun 07 20:10:48 jeffro-t60 kernel: blk_update_request: I/O error, dev sda, sector 89487617
Jun 07 20:10:48 jeffro-t60 kernel: ata3: EH complete
Jun 07 20:10:48 jeffro-t60 systemd-coredump[1412]: Process 1411 (svn) of user 502 dumped core.
-- Subject: Process 1411 (svn) dumped core
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
-- Process 1411 (svn) crashed and dumped core.
-- This usually indicates a programming error in the crashing program and
-- should be reported to its vendor as a bug.
I installed strace, so here's the output from that.
[jeffro@jeffro-t60 ~]$ strace svn
execve("/usr/bin/svn", ["svn"], [/* 49 vars */]) = 0
brk(0) = 0x9c5c000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb775e000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/sse2/libsvn_client-1.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/sse2", 0xbfbec6a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libsvn_client-1.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0xbfbec6a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libsvn_client-1.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/sse2", 0xbfbec6a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libsvn_client-1.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbfbec6a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libsvn_client-1.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2", 0xbfbec6a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libsvn_client-1.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", 0xbfbec6a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libsvn_client-1.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2", 0xbfbec6a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/libsvn_client-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\304\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=475072, ...}) = 0
mmap2(NULL, 473768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76ea000
mmap2(0xb775b000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x71000) = 0xb775b000
close(3) = 0
open("/usr/lib/libsvn_wc-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\0\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=823636, ...}) = 0
mmap2(NULL, 826352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7620000
mmap2(0xb76e8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc7000) = 0xb76e8000
close(3) = 0
open("/usr/lib/libsvn_ra-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3000\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=59312, ...}) = 0
mmap2(NULL, 62016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7610000
mmap2(0xb761d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0xb761d000
close(3) = 0
open("/usr/lib/libsvn_diff-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000-\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=92012, ...}) = 0
mmap2(NULL, 94716, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb75f8000
mmap2(0xb760e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0xb760e000
close(3) = 0
open("/usr/lib/libsvn_delta-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300,\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=79860, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f7000
mmap2(NULL, 82564, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb75e2000
mmap2(0xb75f5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12000) = 0xb75f5000
close(3) = 0
open("/usr/lib/libsvn_subr-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P;\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=557632, ...}) = 0
mmap2(NULL, 560424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7559000
mmap2(0xb75de000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x84000) = 0xb75de000
close(3) = 0
open("/usr/lib/libapr-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \246\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=232536, ...}) = 0
mmap2(NULL, 235396, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb751f000
mmap2(0xb7556000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x36000) = 0xb7556000
close(3) = 0
open("/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pO\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=139764, ...}) = 0
mmap2(NULL, 115340, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7502000
mmap2(0xb751b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0xb751b000
mmap2(0xb751d000, 4748, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb751d000
close(3) = 0
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\207\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=2037072, ...}) = 0
mmap2(NULL, 1796708, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb734b000
mmap2(0xb74fc000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b1000) = 0xb74fc000
mmap2(0xb74ff000, 10852, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb74ff000
close(3) = 0
open("/usr/lib/libsvn_ra_local-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P#\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=34628, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb734a000
mmap2(NULL, 37336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7340000
mmap2(0xb7348000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0xb7348000
close(3) = 0
open("/usr/lib/libsvn_repos-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320q\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=240468, ...}) = 0
mmap2(NULL, 243188, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7304000
mmap2(0xb733e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x39000) = 0xb733e000
close(3) = 0
open("/usr/lib/libsvn_fs-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340-\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=42784, ...}) = 0
mmap2(NULL, 45496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb72f8000
mmap2(0xb7302000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0xb7302000
close(3) = 0
open("/usr/lib/libsvn_fs_fs-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0Pv\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=257264, ...}) = 0
mmap2(NULL, 259988, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb72b8000
mmap2(0xb72f6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3d000) = 0xb72f6000
close(3) = 0
open("/usr/lib/libsvn_fs_base-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pq\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=224432, ...}) = 0
mmap2(NULL, 227152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7280000
mmap2(0xb72b6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35000) = 0xb72b6000
close(3) = 0
open("/usr/lib/libdb-5.3.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\371\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=2034688, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb727f000
mmap2(NULL, 2033352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb708e000
mmap2(0xb7278000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ea000) = 0xb7278000
close(3) = 0
open("/usr/lib/libsvn_fs_util-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\t\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9584, ...}) = 0
mmap2(NULL, 12380, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb708a000
mmap2(0xb708c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xb708c000
close(3) = 0
open("/usr/lib/libsvn_ra_svn-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360T\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=137632, ...}) = 0
mmap2(NULL, 140356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7067000
mmap2(0xb7088000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0xb7088000
close(3) = 0
open("/usr/lib/libsasl2.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2606\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=113004, ...}) = 0
mmap2(NULL, 115848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb704a000
mmap2(0xb7065000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0xb7065000
close(3) = 0
open("/usr/lib/libsvn_ra_serf-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320e\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=203364, ...}) = 0
mmap2(NULL, 201972, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7018000
mmap2(0xb7046000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2e000) = 0xb7046000
close(3) = 0
open("/usr/lib/libserf-1.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200V\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=110044, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7017000
mmap2(NULL, 108704, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6ffc000
mmap2(0xb7016000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0xb7016000
close(3) = 0
open("/usr/lib/libexpat.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0#\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=165328, ...}) = 0
mmap2(NULL, 163956, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6fd3000
mmap2(0xb6ff9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26000) = 0xb6ff9000
close(3) = 0
open("/usr/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\32\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=91760, ...}) = 0
mmap2(NULL, 94468, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6fbb000
mmap2(0xb6fd1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0xb6fd1000
close(3) = 0
open("/usr/lib/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 g\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=882500, ...}) = 0
mmap2(NULL, 886524, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6ee2000
mmap2(0xb6fb7000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd4000) = 0xb6fb7000
close(3) = 0
open("/usr/lib/libmagic.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\37\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=141048, ...}) = 0
mmap2(NULL, 144256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6ebe000
mmap2(0xb6ee0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21000) = 0xb6ee0000
close(3) = 0
open("/usr/lib/libaprutil-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200u\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=170804, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ebd000
mmap2(NULL, 173660, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e92000
mmap2(0xb6ebb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0xb6ebb000
close(3) = 0
open("/usr/lib/libuuid.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\20\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=18172, ...}) = 0
mmap2(NULL, 20696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e8c000
mmap2(0xb6e90000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0xb6e90000
close(3) = 0
open("/usr/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\30\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=30636, ...}) = 0
mmap2(NULL, 33336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e83000
mmap2(0xb6e8a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0xb6e8a000
close(3) = 0
open("/usr/lib/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\10\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=38396, ...}) = 0
mmap2(NULL, 201052, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e51000
mmap2(0xb6e5a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0xb6e5a000
mmap2(0xb6e5c000, 155996, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6e5c000
close(3) = 0
open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13800, ...}) = 0
mmap2(NULL, 16512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e4c000
mmap2(0xb6e4f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xb6e4f000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e4b000
open("/usr/lib/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260&\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=91948, ...}) = 0
mmap2(NULL, 100360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e32000
mmap2(0xb6e46000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0xb6e46000
mmap2(0xb6e49000, 6152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6e49000
close(3) = 0
open("/build/serf/pkg/serf/usr/lib/tls/i686/sse2/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/build/serf/pkg/serf/usr/lib/tls/i686/sse2", 0xbfbec1e0) = -1 ENOENT (No such file or directory)
open("/build/serf/pkg/serf/usr/lib/tls/i686/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/build/serf/pkg/serf/usr/lib/tls/i686", 0xbfbec1e0) = -1 ENOENT (No such file or directory)
open("/build/serf/pkg/serf/usr/lib/tls/sse2/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/build/serf/pkg/serf/usr/lib/tls/sse2", 0xbfbec1e0) = -1 ENOENT (No such file or directory)
open("/build/serf/pkg/serf/usr/lib/tls/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/build/serf/pkg/serf/usr/lib/tls", 0xbfbec1e0) = -1 ENOENT (No such file or directory)
open("/build/serf/pkg/serf/usr/lib/i686/sse2/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/build/serf/pkg/serf/usr/lib/i686/sse2", 0xbfbec1e0) = -1 ENOENT (No such file or directory)
open("/build/serf/pkg/serf/usr/lib/i686/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/build/serf/pkg/serf/usr/lib/i686", 0xbfbec1e0) = -1 ENOENT (No such file or directory)
open("/build/serf/pkg/serf/usr/lib/sse2/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/build/serf/pkg/serf/usr/lib/sse2", 0xbfbec1e0) = -1 ENOENT (No such file or directory)
open("/build/serf/pkg/serf/usr/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/build/serf/pkg/serf/usr/lib", 0xbfbec1e0) = -1 ENOENT (No such file or directory)
open("/usr/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\t\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0555, st_size=544084, ...}) = 0
mmap2(NULL, 497688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6db8000
mmap2(0xb6e2b000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x72000) = 0xb6e2b000
close(3) = 0
open("/usr/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\341\3\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0555, st_size=2390656, ...}) = 0
mmap2(NULL, 2174008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6ba5000
mmap2(0xb6d9d000, 98304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f7000) = 0xb6d9d000
mmap2(0xb6db5000, 11320, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6db5000
close(3) = 0
open("/usr/lib/libldap-2.4.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\246\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=339960, ...}) = 0
mmap2(NULL, 338672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6b52000
mmap2(0xb6ba3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x51000) = 0xb6ba3000
close(3) = 0
open("/usr/lib/liblber-2.4.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0)\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=59148, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6b51000
mmap2(NULL, 62016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6b41000
mmap2(0xb6b4f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0xb6b4f000
close(3) = 0
open("/usr/lib/libgdbm.so.4", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\36\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=46884, ...}) = 0
mmap2(NULL, 49612, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6b34000
mmap2(0xb6b3f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0xb6b3f000
close(3) = 0
open("/usr/lib/libgssapi_krb5.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320}\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=335456, ...}) = 0
mmap2(NULL, 338380, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6ae1000
mmap2(0xb6b32000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x50000) = 0xb6b32000
close(3) = 0
open("/usr/lib/libkrb5.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340H\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=932000, ...}) = 0
mmap2(NULL, 931032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb69fd000
mmap2(0xb6ad9000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xdc000) = 0xb6ad9000
close(3) = 0
open("/usr/lib/libk5crypto.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260-\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=210720, ...}) = 0
mmap2(NULL, 213168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb69c8000
mmap2(0xb69f9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31000) = 0xb69f9000
mmap2(0xb69fc000, 176, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb69fc000
close(3) = 0
open("/usr/lib/libcom_err.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\17\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13820, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb69c7000
mmap2(NULL, 16616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb69c2000
mmap2(0xb69c5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xb69c5000
close(3) = 0
open("/usr/lib/libkrb5support.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200#\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=51032, ...}) = 0
mmap2(NULL, 53860, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb69b4000
mmap2(0xb69c0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0xb69c0000
close(3) = 0
open("/usr/lib/libkeyutils.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\20\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13784, ...}) = 0
mmap2(NULL, 16524, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb69af000
mmap2(0xb69b2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xb69b2000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb69ae000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb69ad000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb69ac000
set_thread_area({entry_number:-1, base_addr:0xb69ac740, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:6)
mprotect(0xb74fc000, 8192, PROT_READ) = 0
mprotect(0xb69b2000, 4096, PROT_READ) = 0
mprotect(0xb6e4f000, 4096, PROT_READ) = 0
mprotect(0xb6e46000, 8192, PROT_READ) = 0
mprotect(0xb69c0000, 4096, PROT_READ) = 0
mprotect(0xb751b000, 4096, PROT_READ) = 0
mprotect(0xb69c5000, 4096, PROT_READ) = 0
mprotect(0xb69f9000, 8192, PROT_READ) = 0
mprotect(0xb6ad9000, 24576, PROT_READ) = 0
mprotect(0xb6b32000, 4096, PROT_READ) = 0
mprotect(0xb6b3f000, 4096, PROT_READ) = 0
mprotect(0xb6b4f000, 4096, PROT_READ) = 0
mprotect(0xb7065000, 4096, PROT_READ) = 0
mprotect(0xb6fd1000, 4096, PROT_READ) = 0
mprotect(0xb6d9d000, 69632, PROT_READ) = 0
mprotect(0xb6e2b000, 12288, PROT_READ) = 0
mprotect(0xb6ba3000, 4096, PROT_READ) = 0
mprotect(0xb6e5a000, 4096, PROT_READ) = 0
mprotect(0xb6e8a000, 4096, PROT_READ) = 0
mprotect(0xb6e90000, 4096, PROT_READ) = 0
mprotect(0xb7556000, 8192, PROT_READ) = 0
mprotect(0xb6ff9000, 8192, PROT_READ) = 0
mprotect(0xb6ebb000, 4096, PROT_READ) = 0
mprotect(0xb6ee0000, 4096, PROT_READ) = 0
mprotect(0xb6fb7000, 8192, PROT_READ) = 0
--- SIGBUS {si_signo=SIGBUS, si_code=BUS_ADRERR, si_addr=0xb709cdfb} ---
+++ killed by SIGBUS (core dumped) +++
Bus error (core dumped)
In that output I see complaints regarding libssl. I do have openssl installed.
[jeffro@jeffro-t60 ~]$ pacman -Qi openssl
Name : openssl
Version : 1.0.2.a-1
Description : The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
Architecture : i686
URL : https://www.openssl.org
Licenses : custom:BSD
Groups : None
Provides : None
Depends On : zlib perl
Optional Deps : ca-certificates [installed]
Required By : coreutils curl git iputils ldns libarchive libevent libgit2 libmariadbclient libsasl libssh libssh2
mariadb-clients openslp openssh python python2 rtmpdump s-nail wget wpa_supplicant
Optional For : apr-util
Conflicts With : None
Replaces : None
Installed Size : 6.66 MiB
Packager : Felix Yan <[email protected]>
Build Date : Thu 19 Mar 2015 10:45:30 AM EDT
Install Date : Sat 25 Apr 2015 11:35:40 AM EDT
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
Any further help is greatly appreciated. -
Mail exits abnormally: bus error. Any suggestions?
Just today I started having problems with the normally reliable Mail application. I disable the only bundle being used and restarted. But the application will quit everytime. Any ideas? I have no idea what a bus error even is.
The same exact thing has happened to me. None of the above suggestions work, and I don't want to do an Archive and Install, is there anything else I can try?
Process: Mail [1737]
Path: /Applications/Mail.app/Contents/MacOS/Mail
Identifier: com.apple.mail
Version: 3.4 (928)
Build Info: Mail-9280000~1
Code Type: X86 (Native)
Parent Process: launchd [80]
Date/Time: 2008-08-27 23:32:58.071 +0100
OS Version: Mac OS X 10.5.4 (9E17)
Report Version: 6
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000000
Crashed Thread: 15
Application Specific Information:
-[LibraryIMAPStore openSynchronouslyUpdatingMetadata:]
-[LocationManager _determineCurrentLocation]
-[MessageContentController _fetchContentsForMessage:fromStore:withViewingState:]
Thread 0:
0 libSystem.B.dylib 0x95d354a6 machmsgtrap + 10
1 libSystem.B.dylib 0x95d3cc9c mach_msg + 72
2 com.apple.CoreFoundation 0x90dd70ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x90dd7cf8 CFRunLoopRunInMode + 88
4 com.apple.HIToolbox 0x90efeda4 RunCurrentEventLoopInMode + 283
5 com.apple.HIToolbox 0x90efebbd ReceiveNextEventCommon + 374
6 com.apple.HIToolbox 0x90efea31 BlockUntilNextEventMatchingListInMode + 106
7 com.apple.AppKit 0x96c53505 _DPSNextEvent + 657
8 com.apple.AppKit 0x96c52db8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
9 com.apple.AppKit 0x96c4bdf3 -[NSApplication run] + 795
10 com.apple.AppKit 0x96c19030 NSApplicationMain + 574
11 com.apple.mail 0x000fb29e 0x1000 + 1024670
Thread 1:
0 libSystem.B.dylib 0x95d354a6 machmsgtrap + 10
1 libSystem.B.dylib 0x95d3cc9c mach_msg + 72
2 com.apple.CoreFoundation 0x90dd70ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x90dd7cf8 CFRunLoopRunInMode + 88
4 com.apple.Foundation 0x902e64a5 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
5 com.apple.Foundation 0x902f25c4 -[NSRunLoop(NSRunLoop) run] + 84
6 com.apple.MessageFramework 0x00483f35 -[RSSInterchange _runManager] + 2140
7 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
8 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
9 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
10 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 2:
0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
9 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 3:
0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
9 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 4:
0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
9 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 5:
0 libSystem.B.dylib 0x95d9f07a _workqops + 10
1 libSystem.B.dylib 0x95d9f0aa start_wqthread + 30
Thread 6:
Thread 7:
0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
9 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 8:
0 libSystem.B.dylib 0x95d3c68e _semwaitsignal + 10
1 libSystem.B.dylib 0x95d6736d pthreadcondwait$UNIX2003 + 73
2 com.apple.QuartzCore 0x9223ee51 fefragmentthread + 54
3 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
4 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 9:
0 libSystem.B.dylib 0x95d354a6 machmsgtrap + 10
1 libSystem.B.dylib 0x95d3cc9c mach_msg + 72
2 libSystem.B.dylib 0x95d5b718 libinfoDSmig_Query + 222
3 libSystem.B.dylib 0x95d5b433 LI_DSLookupQuery + 353
4 libSystem.B.dylib 0x95d9e665 ds_getaddrinfo + 2674
5 libSystem.B.dylib 0x95d9c5f3 getaddrinfo + 504
6 com.apple.SystemConfiguration 0x95cce7ae __SCNetworkReachabilityGetFlags + 1357
7 com.apple.SystemConfiguration 0x95cd3432 SCNetworkReachabilityGetFlags + 118
8 com.apple.SystemConfiguration 0x95cd3aa1 SCNetworkCheckReachabilityByName + 74
9 com.apple.MessageFramework 0x003a8f5c -[NetworkController isHostReachable:] + 138
10 com.apple.MessageFramework 0x003a8937 -[_NSSocket connectToHost:withPort:protocol:] + 206
11 com.apple.MessageFramework 0x003a7db8 -[Connection _connectUsingHostname:onPort:securityLayerType:accountClass:] + 797
12 com.apple.MessageFramework 0x003a7a7f -[Connection _connectUsingAccount:securityLayerType:] + 488
13 com.apple.MessageFramework 0x003a74b5 -[Connection connectAndSetSecurityLayerUsingAccount:] + 196
14 com.apple.MessageFramework 0x0048eaf0 -[Connection connectUsingAccount:] + 101
15 com.apple.MessageFramework 0x003a6b44 -[IMAPAccount _connectAndAuthenticate:] + 292
16 com.apple.MessageFramework 0x003a521f -[IMAPAccount _recoverFromConnectionlessState] + 177
17 com.apple.MessageFramework 0x003a4e6d -[IMAPAccount _getPotentialGatewayForMailbox:options:createdNewConnection:needsSelect:] + 171
18 com.apple.MessageFramework 0x003a4b3a -[IMAPAccount _gatewayForMailboxUid:name:options:] + 160
19 com.apple.MessageFramework 0x003a49dc -[IMAPAccount gatewayForStore:options:] + 159
20 com.apple.MessageFramework 0x003a4812 -[LibraryIMAPStore _gatewayCreateIfNeeded:options:] + 159
21 com.apple.MessageFramework 0x003a0604 -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:withOptions:] + 143
22 com.apple.MessageFramework 0x003a056f -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:] + 50
23 com.apple.CoreFoundation 0x90e56a7d _invoking__ + 29
24 com.apple.CoreFoundation 0x90e56468 -[NSInvocation invoke] + 136
25 com.apple.MessageFramework 0x004863dc -[MonitoredInvocation invoke] + 409
26 com.apple.MessageFramework 0x00485fbe -[InvocationQueue _drainQueue] + 772
27 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
28 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
29 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
30 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 10:
0 libSystem.B.dylib 0x95d354a6 machmsgtrap + 10
1 libSystem.B.dylib 0x95d3cc9c mach_msg + 72
2 libSystem.B.dylib 0x95d5b718 libinfoDSmig_Query + 222
3 libSystem.B.dylib 0x95d5b433 LI_DSLookupQuery + 353
4 libSystem.B.dylib 0x95d9d3c7 getnameinfo + 885
5 com.apple.Foundation 0x90340818 +[NSHost currentHost] + 1016
6 com.apple.MessageFramework 0x0039ef4d -[NetworkController domainNames] + 39
7 com.apple.MessageFramework 0x0039ec69 -[LocationManager _determineCurrentLocation] + 116
8 com.apple.CoreFoundation 0x90e56a7d _invoking__ + 29
9 com.apple.CoreFoundation 0x90e56468 -[NSInvocation invoke] + 136
10 com.apple.MessageFramework 0x00485fbe -[InvocationQueue _drainQueue] + 772
11 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
12 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
13 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
14 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 11:
0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
9 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 12:
0 libSystem.B.dylib 0x95d354a6 machmsgtrap + 10
1 libSystem.B.dylib 0x95d3cc9c mach_msg + 72
2 com.apple.CoreFoundation 0x90dd70ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x90dd7cf8 CFRunLoopRunInMode + 88
4 com.apple.Foundation 0x902e64a5 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
5 com.apple.Foundation 0x902f25c4 -[NSRunLoop(NSRunLoop) run] + 84
6 com.apple.MessageFramework 0x003a910d +[_NSSocket _runIOThread] + 98
7 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
8 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
9 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
10 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 13:
0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
9 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 14:
0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
9 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 15 Crashed:
0 libSystem.B.dylib 0x95d3cd9e pthreadmutexlock + 18
1 com.apple.JavaScriptCore 0x95be91c5 ***::callOnMainThread(void ()(void), void*) + 37
2 com.apple.WebCore 0x9595a61e WebCoreObjCScheduleDeallocateOnMainThread + 94
3 com.apple.WebCore 0x9558c0ac -[WebCoreSharedBufferData dealloc] + 60
4 com.apple.Foundation 0x902ad57f NSPopAutoreleasePool + 431
5 com.apple.MessageFramework 0x003bb23f -[MimeBody webArchive] + 233
6 com.apple.MessageFramework 0x003baebe -[WebMessageDocument initWithMimePart:] + 88
7 com.apple.mail 0x0004660d 0x1000 + 284173
8 com.apple.mail 0x000420d7 0x1000 + 266455
9 com.apple.CoreFoundation 0x90e56a7d _invoking__ + 29
10 com.apple.CoreFoundation 0x90e56468 -[NSInvocation invoke] + 136
11 com.apple.MessageFramework 0x004863dc -[MonitoredInvocation invoke] + 409
12 com.apple.MessageFramework 0x00485fbe -[InvocationQueue _drainQueue] + 772
13 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
14 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
15 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
16 libSystem.B.dylib 0x95d665b2 thread_start + 34
Thread 15 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x95d3cd9d ecx: 0x256740f8 edx: 0x256740fc
edi: 0x00000000 esi: 0xa074c4f0 ebp: 0xb0847808 esp: 0xb08477d0
ss: 0x0000001f efl: 0x00010282 eip: 0x95d3cd9e cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
cr2: 0x00000000
Binary Images:
0x1000 - 0x270ff3 com.apple.mail 3.4 (928) <235e3a26da60172ebb1cef0300698c37> /Applications/Mail.app/Contents/MacOS/Mail
0x2de000 - 0x350fff com.apple.iLifeMediaBrowser 1.0.8 (212) <afa1e1cb24dab8802261493e84692570> /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeM ediaBrowser
0x38e000 - 0x5e2ff3 com.apple.MessageFramework 3.4 (928.1) <eb4365318266f14754831179bedb477d> /System/Library/Frameworks/Message.framework/Versions/B/Message
0x737000 - 0x739fff com.apple.ExceptionHandling 1.5 (10) /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
0x740000 - 0x764fe7 com.apple.speech.LatentSemanticMappingFramework 2.6.4 (2.6.4) <32045add5f408ba4193bfaf296908bd2> /System/Library/Frameworks/LatentSemanticMapping.framework/Versions/A/LatentSem anticMapping
0x780000 - 0x780ffe +org.xlife.InquisitorLoader 3.2 (57) <e4877ee4582562d98c95d447c8f77397> /Library/InputManagers/Inquisitor/Inquisitor.bundle/Contents/MacOS/Inquisitor
0x2596c000 - 0x25a8aff7 com.apple.RawCamera.bundle 2.0.8 (2.0.8) <56067945130800a348eb076676d41e92> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x26647000 - 0x2664cff3 libCGXCoreImage.A.dylib ??? (???) <b6cf72d9cbd5312d4ec435e298954ade> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
0x26779000 - 0x26779ffd liblangid.dylib ??? (???) <d1bba9ec9142b4eb33db9c24d504ac63> /usr/lib/liblangid.dylib
0x267df000 - 0x267e0fe1 com.apple.textencoding.unicode 2.2 (2.2) <6566f38ef8ee61fab9aaecfb6a81f208> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x8fe00000 - 0x8fe2da53 dyld 96.2 (???) <14ac3b684fa5a31932fa89c4bba7a29b> /usr/lib/dyld
0x90003000 - 0x90085ff3 com.apple.CFNetwork 330.4 (330.4) <ce5b085df34a78b7f198aff9db5b52ec> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x90086000 - 0x90086ffc com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x90087000 - 0x90103feb com.apple.audio.CoreAudio 3.1.0 (3.1) <be7120e91df91425e904d5327b4338b7> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x90104000 - 0x901b6ffb libcrypto.0.9.7.dylib ??? (???) <01109b36b445b3e8698ef87f814f7fd4> /usr/lib/libcrypto.0.9.7.dylib
0x9028b000 - 0x902a6ff3 libPng.dylib ??? (???) <c0484bec6e2432b406755591924fe664> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x902a7000 - 0x90522fe7 com.apple.Foundation 6.5.5 (677.19) <bfd4ebea1a7739dd6b523f15dca01a37> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90523000 - 0x90526fff com.apple.help 1.1 (36) <175489f8adf287b3ebd259362b0292c0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x90527000 - 0x908e5fea libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x908e6000 - 0x909cbff3 com.apple.CoreData 100.1 (186) <8e28162ef2288692615b52acc01f8b54> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x909cc000 - 0x909d3ff7 libCGATS.A.dylib ??? (???) <fbc59d0e1eccf907396563568d5cd872> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x909d4000 - 0x90a24feb com.apple.framework.familycontrols 1.0.2 (1.0.2) <bcd9397c28e82724c202830fcc2c04d3> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
0x90a25000 - 0x90b06ff7 libxml2.2.dylib ??? (???) <1baef3d4972ee789d8fa6c1fa44da45c> /usr/lib/libxml2.2.dylib
0x90b07000 - 0x90b11feb com.apple.audio.SoundManager 3.9.2 (3.9.2) <caa41909dcb5a18a94bc68cd13999bd5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x90b12000 - 0x90b7fffb com.apple.WhitePagesFramework 1.2 (119.0) /System/Library/PrivateFrameworks/WhitePages.framework/Versions/A/WhitePages
0x90b80000 - 0x90b90ffc com.apple.LangAnalysis 1.6.4 (1.6.4) <8b7831b5f74a950a56cf2d22a2d436f6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x90b91000 - 0x90b95fff libGIF.dylib ??? (???) <75b4fd9684d792add088205f987fb02e> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x90b96000 - 0x90be5fff com.apple.QuickLookUIFramework 1.3 (170.7) /System/Library/PrivateFrameworks/QuickLookUI.framework/Versions/A/QuickLookUI
0x90be6000 - 0x90c36ff7 com.apple.HIServices 1.7.0 (???) <f7e78891a6d08265c83dca8e378be1ea> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x90c37000 - 0x90c71ffe com.apple.securityfoundation 3.0 (32989) <36f7f260187c435b2670bcb24acd4219> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x90c72000 - 0x90c7efe7 com.apple.opengl 1.5.6 (1.5.6) <125de77ea2434a91364e79a0905a7771> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x90c7f000 - 0x90d12fff com.apple.ink.framework 101.3 (86) <dfa9debcd7537849d228021d1d9c0f63> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x90d13000 - 0x90d18ffc com.apple.KerberosHelper 1.1 (1.0) <86b1b4589baa557d067d07efc01890d2> /System/Library/PrivateFrameworks/KerberosHelper.framework/Versions/A/KerberosH elper
0x90d19000 - 0x90d44fe7 libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
0x90d45000 - 0x90d61fff com.apple.IMFramework 4.0.5 (582) <da822220ccdaabc47408e2f641d48685> /System/Library/Frameworks/InstantMessage.framework/Versions/A/InstantMessage
0x90d62000 - 0x90d64ff5 libRadiance.dylib ??? (???) <c307054a6d8337c85ef501780b54704d> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x90d65000 - 0x90e97fff com.apple.CoreFoundation 6.5.3 (476.14) <7ef7f5db09ff6dd0135a6165872803cc> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90e98000 - 0x90ea3fe7 libCSync.A.dylib ??? (???) <3f58eb487099bff0476ec79974d0ad4d> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x90ea4000 - 0x90ec8fff libxslt.1.dylib ??? (???) <59399cc446ed903fd9479526ee9f116b> /usr/lib/libxslt.1.dylib
0x90ec9000 - 0x90ecefff com.apple.CommonPanels 1.2.4 (85) <3b64ef0de184d09c6f99a1a7e77e42be> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x90ecf000 - 0x911d6ff7 com.apple.HIToolbox 1.5.3 (???) <e36f5c553e5a32f64b7eb458dadadc71> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x911d7000 - 0x911d7ffe com.apple.quartzframework 1.5 (1.5) <49afd7e7e3b2cad89cfaf2ac8c67c8a4> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
0x911d8000 - 0x911defff com.apple.print.framework.Print 218.0.2 (220.1) <8bf7ef71216376d12fcd5ec17e43742c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x911df000 - 0x9139aff3 com.apple.QuartzComposer 2.1 (106.5) <a296178aba94c71fc5314ea2ed0b4349> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
0x9139b000 - 0x913d9fff com.apple.CoreMediaIOServicesPrivate 9.0 (9.0) /System/Library/PrivateFrameworks/CoreMediaIOServicesPrivate.framework/Versions /A/CoreMediaIOServicesPrivate
0x913da000 - 0x91494fe3 com.apple.CoreServices.OSServices 226.5 (226.5) <7e10d25c615a39fe1ab4d48e24a3b555> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x91495000 - 0x91499fff com.apple.OpenDirectory 10.5 (10.5) <29f7b10aad34ba8eb15b55d69dff6ddf> /System/Library/PrivateFrameworks/OpenDirectory.framework/Versions/A/OpenDirect ory
0x9149a000 - 0x914a5ff9 com.apple.helpdata 1.0 (14) /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x914a6000 - 0x9156dff2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x9156e000 - 0x9166ffff com.apple.PubSub 1.0.3 (65.3) /System/Library/Frameworks/PubSub.framework/Versions/A/PubSub
0x91670000 - 0x916a2fff com.apple.LDAPFramework 1.4.3 (106) <fd2a420db8e3bf599c9c41713d7ad0a6> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x916a3000 - 0x916b1ffd libz.1.dylib ??? (???) <545ca09467025f77131cfac09d8b9375> /usr/lib/libz.1.dylib
0x916b2000 - 0x91792fff com.apple.syncservices 3.1 (389.6) <51037594e950b0331d4996691cf4acba> /System/Library/Frameworks/SyncServices.framework/Versions/A/SyncServices
0x91796000 - 0x918dcff7 com.apple.ImageIO.framework 2.0.2 (2.0.2) <77dfee73f4c0d230425a5151ee0bce05> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x918dd000 - 0x91957ff8 com.apple.print.framework.PrintCore 5.5.3 (245.3) <222dade7b33b99708b8c09d1303f93fc> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x91a22000 - 0x91a22ff8 com.apple.ApplicationServices 34 (34) <e9cd7c823062c4382d89e3c9997f4739> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x91a28000 - 0x91ab3fff com.apple.framework.IOKit 1.5.1 (???) <60cfc4b175c4ef60bb8e9036716a29f4> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x91ab4000 - 0x91acafe7 com.apple.CoreVideo 1.5.1 (1.5.1) <ed7bb95fb94817ea3212090aac5c65f3> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x91acb000 - 0x91ae3fff com.apple.openscripting 1.2.8 (???) <d85d82af796d1df9bce7b1db8f6c846c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x91ae4000 - 0x91af1ff7 com.apple.DMNotification 1.1.0 (143) <03a2cc6f170007bdd90642a01769e55a> /System/Library/PrivateFrameworks/DMNotification.framework/Versions/A/DMNotific ation
0x91af2000 - 0x91b4fffb libstdc++.6.dylib ??? (???) <6106b1f2b0b303b06ae476253dbb5f3f> /usr/lib/libstdc++.6.dylib
0x91bf3000 - 0x91c72ff5 com.apple.SearchKit 1.2.0 (1.2.0) <5abfde5537969168b8a8743ccb9ec735> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x91c73000 - 0x91c82fff libsasl2.2.dylib ??? (???) <75b9d97ca7c3d53cd38bdd420a377522> /usr/lib/libsasl2.2.dylib
0x91c83000 - 0x91c9afff com.apple.datadetectors 1.0.1 (66.2) <b4676446cca8a1e4c28ca911026b7ceb> /System/Library/PrivateFrameworks/DataDetectors.framework/Versions/A/DataDetect ors
0x91c9b000 - 0x91cd5fff com.apple.coreui 1.1 (61) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x91cd6000 - 0x91cddfe9 libgcc_s.1.dylib ??? (???) <28a7cbc3a5ca2982d124668306f422d9> /usr/lib/libgcc_s.1.dylib
0x91cde000 - 0x91e3efee com.apple.CalendarStore 3.0.4 (833) /System/Library/Frameworks/CalendarStore.framework/Versions/A/CalendarStore
0x91e3f000 - 0x91e48fff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <6a6518b392d3d41ace3dcea69d6809d9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x91e49000 - 0x91e59fff com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <06d8fc0307314f8ffc16f206ad3dbf44> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x91e5a000 - 0x91e6eff3 com.apple.ImageCapture 4.0 (5.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x91e6f000 - 0x91f4efff libobjc.A.dylib ??? (???) <a53206274b6c2d42691f677863f379ae> /usr/lib/libobjc.A.dylib
0x91f4f000 - 0x91f8efef libTIFF.dylib ??? (???) <4b7d3b3b9a9c8335c2538371cb39b60b> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91f8f000 - 0x91f97fff com.apple.DiskArbitration 2.2.1 (2.2.1) <75b0c8d8940a8a27816961dddcac8e0f> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x91f98000 - 0x91fb7ffa libJPEG.dylib ??? (???) <c776945af9d960ccf5a80aa2d89fd918> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91fb8000 - 0x920effeb com.apple.imageKit 1.0.1 (1.0) <9b6da3210b7e69e75039cbb0fd4a8482> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
0x920f0000 - 0x92120ff3 com.apple.DotMacSyncManager 1.2.3 (283) <3f521a1391d7740aca012fe3e4772095> /System/Library/PrivateFrameworks/DotMacSyncManager.framework/Versions/A/DotMac SyncManager
0x92121000 - 0x92149fff libcups.2.dylib ??? (???) <ece20dff2a2c8ed3ae6ef735ef440c37> /usr/lib/libcups.2.dylib
0x9214a000 - 0x924e0fff com.apple.QuartzCore 1.5.3 (1.5.3) <1b65c05f89e81a499302fd63295b242d> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x925d6000 - 0x9267dfeb com.apple.QD 3.11.52 (???) <c72bd7bd2ce12694c3640a731d1ad878> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x9267e000 - 0x926ccff3 com.apple.datadetectorscore 1.0.2 (52.14) <e137549cb2c0ff943809824e31854a73> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x93813000 - 0x93859fef com.apple.Metadata 10.5.2 (398.18) <9466e348fc3c1fece377ae1238fe74a7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x9385a000 - 0x938edff3 com.apple.ApplicationServices.ATS 3.3 (???) <064eb6d96417afa38a80b1735c4113aa> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x938ee000 - 0x93922fef com.apple.bom 9.0 (136) <eca0b933894328d4b005df53c80b67cb> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x93923000 - 0x93a47fe3 com.apple.audio.toolbox.AudioToolbox 1.5.1 (1.5.1) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93a48000 - 0x93ad2fe3 com.apple.DesktopServices 1.4.6 (1.4.6) <1abd4175c3089704be6824c073f7cc33> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x93ad3000 - 0x93b50fef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x93b51000 - 0x93f61fef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x93f62000 - 0x93f6dfff com.apple.dotMacLegacy 3.1 (244.1) <dc5b306b079718439c199d386ff60cc4> /System/Library/PrivateFrameworks/DotMacLegacy.framework/Versions/A/DotMacLegac y
0x93f6e000 - 0x93f9bfeb libvDSP.dylib ??? (???) <b232c018ddd040ec4e2c2af632dd497f> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x93f9c000 - 0x93ff8ff7 com.apple.htmlrendering 68 (1.1.3) <a9f65fa1c4668dc7c49af5bf7d5287ad> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x93ff9000 - 0x9402ffef libtidy.A.dylib ??? (???) <f1d1742e06280444baa5637b209fd0af> /usr/lib/libtidy.A.dylib
0x94030000 - 0x9404eff7 com.apple.QuickLookFramework 1.3 (170.7) /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
0x9404f000 - 0x94117fef com.apple.WebKit 5528 (5528.1) <fc969bc7b1dbf67d61eaea8afe646865> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x94118000 - 0x9415afef com.apple.NavigationServices 3.5.2 (163) <91844980804067b07a0b6124310d3f31> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x9415b000 - 0x941b5ff7 com.apple.CoreText 2.0.2 (???) <9fde11f84a72e890bbf2aa8b0b13b79a> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x941b6000 - 0x941b6ffd com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x941b7000 - 0x941f5ff7 libGLImage.dylib ??? (???) <093b1b698ca93a0380f5fa262459ea28> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x941f6000 - 0x9427dff7 libsqlite3.0.dylib ??? (???) <6978bbcca4277d6ae9f042beff643f7d> /usr/lib/libsqlite3.0.dylib
0x9427e000 - 0x942c8fe1 com.apple.securityinterface 3.0 (32532) <e849f522f5055fb9083609a3c6e32280> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x942c9000 - 0x94322ff7 libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x94323000 - 0x94328fff com.apple.backup.framework 1.0 (1.0) /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x94329000 - 0x9433cfff com.apple.IMUtils 4.0.5 (582) <535270cbc62da9f8269578251a660e76> /System/Library/Frameworks/InstantMessage.framework/Frameworks/IMUtils.framewor k/Versions/A/IMUtils
0x9433d000 - 0x94381feb com.apple.DirectoryService.PasswordServerFramework 3.0.3 (3.0.3) <8135bb4f34a3bf02b8c2ca869fe33a42> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
0x94382000 - 0x94382ffd com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x94383000 - 0x94a1ffef com.apple.CoreGraphics 1.351.32 (???) <793d7ceb9e1880818e03c1f1b10df04b> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x94a20000 - 0x94a27ffe libbsm.dylib ??? (???) <5582985a86ea36504cca31788bccf963> /usr/lib/libbsm.dylib
0x94a28000 - 0x94a28ffb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallSer ver
0x94a29000 - 0x94af4fff com.apple.ColorSync 4.5.0 (4.5.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x94af5000 - 0x94b31fff com.apple.DAVKit 3.0.4 (651) /System/Library/PrivateFrameworks/DAVKit.framework/Versions/A/DAVKit
0x94b32000 - 0x94b56feb libssl.0.9.7.dylib ??? (???) <3512c4a8198f0e964748bf6acbf359b4> /usr/lib/libssl.0.9.7.dylib
0x94b57000 - 0x94b75fff libresolv.9.dylib ??? (???) <9602435a6eac87a0d1f41b8ca8541693> /usr/lib/libresolv.9.dylib
0x94de7000 - 0x94e05ff3 com.apple.DirectoryService.Framework 3.5.4 (3.5.4) <fe27e80e1a9e86403fd9ed16dcfe4e11> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x94e06000 - 0x952d9ffe libGLProgrammability.dylib ??? (???) <475db64244e011cd8811e076035b2632> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x952da000 - 0x9534cfff com.apple.PDFKit 2.1 (2.1) /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
0x9534d000 - 0x95b15fff com.apple.WebCore 5528 (5528.1) <bb24a083efdb00e9045ce73c5c97959c> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x95b16000 - 0x95bfafef com.apple.JavaScriptCore 5528 (5528.1) <a634d0260034c1c00a8859e29815e86c> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x95bfb000 - 0x95c0cffe com.apple.CFOpenDirectory 10.5 (10.5) <01a0034b48d63524057b5f57dfc0605c> /System/Library/PrivateFrameworks/OpenDirectory.framework/Versions/A/Frameworks /CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x95c0d000 - 0x95cbbffb com.apple.QTKit 7.5 (861) /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
0x95cbc000 - 0x95cc8fff libbz2.1.0.dylib ??? (???) <e266a580d35c4518eee864dc064e4b98> /usr/lib/libbz2.1.0.dylib
0x95cc9000 - 0x95cc9ffd com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x95cca000 - 0x95d01fff com.apple.SystemConfiguration 1.9.2 (1.9.2) <8b26ebf26a009a098484f1ed01ec499c> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x95d32000 - 0x95d32ff8 com.apple.Cocoa 6.5 (???) <e9318c93615b27231498bbe585b8da98> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x95d33000 - 0x95d33fff com.apple.Carbon 136 (136) <ec1d4184925e652dbe1b9200a5a552ec> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x95d34000 - 0x95e94ff3 libSystem.B.dylib ??? (???) <98fc91f31f185411ddc46d3225e9af55> /usr/lib/libSystem.B.dylib
0x95e95000 - 0x95efbffb com.apple.ISSupport 1.7 (38) /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
0x95efc000 - 0x95f2dffb com.apple.quartzfilters 1.5.0 (1.5.0) <01090d7204c55b32a6a11199fa0d2e2b> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters .framework/Versions/A/QuartzFilters
0x95f2e000 - 0x95f6ffe7 libRIP.A.dylib ??? (???) <8c2cd4f044b3413d770ca8ad740f7645> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x95f7a000 - 0x95fa9fe3 com.apple.AE 402.2 (402.2) <e01596187e91af5d48653920017b8c8e> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x95faa000 - 0x95fcaff2 libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x95fcb000 - 0x95fcbffa com.apple.CoreServices 32 (32) <2760719f7a81e8c2bdfd15b0939abc29> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x95fcc000 - 0x95fd0fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x95fd1000 - 0x962f2fea com.apple.QuickTime 7.5.0 (861) <4e1161b204b3b1f1047412c16483c39a> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x962f3000 - 0x962f5fff com.apple.securityhi 3.0 (30817) <020419ad33b8638b174e1a472728a894> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x962f6000 - 0x96305ffe com.apple.DSObjCWrappers.Framework 1.3 (1.3) <09deb9e32d0d09dfb95ae569bdd2b7a4> /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x96306000 - 0x96392ff7 com.apple.LaunchServices 289.2 (289.2) <3577886e3a6d56ee3949850c4fde76c9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x96393000 - 0x96512fff com.apple.AddressBook.framework 4.1.1 (695) <24a448ba4f9f784189bd3183e3474d81> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x96513000 - 0x9653bff7 com.apple.shortcut 1 (1.0) <5b57f8f162f77a1739b436900517d672> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x9653c000 - 0x96674ff7 libicucore.A.dylib ??? (???) <5031226ea28b371d8dfdbb32acfb48b5> /usr/lib/libicucore.A.dylib
0x96675000 - 0x9668bfff com.apple.DictionaryServices 1.0.0 (1.0.0) <7e9ff586b5c9d02b09e2a5527d98524f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x9668c000 - 0x966b6fff com.apple.CoreMediaPrivate 9.0 (9.0) <8eb20bcfecc950600aa62dfa07aa47f3> /System/Library/PrivateFrameworks/CoreMediaPrivate.framework/Versions/A/CoreMed iaPrivate
0x966b7000 - 0x96885fff com.apple.security 5.0.4 (34102) <f01d6cbd6a0f24f6c13952ed448e77d6> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x96886000 - 0x96b60ff3 com.apple.CoreServices.CarbonCore 786.6 (786.6) <bc7c12c84fe21ae2626bdd17070aaafa> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x96b61000 - 0x96c11fff edu.mit.Kerberos 6.0.12 (6.0.12) <1dc515ebe407292db8e603938c72d4e8> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x96c12000 - 0x96c12ffe com.apple.MonitorPanelFramework 1.2.0 (1.2.0) <1bce4a22b6a5cc7055d0938ddad269b2> /System/Library/PrivateFrameworks/MonitorPanel.framework/Versions/A/MonitorPane l
0x96c13000 - 0x97410fef com.apple.AppKit 6.5.3 (949.33) <84b236f43802f4c15011513d18efa101> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x97411000 - 0x97412ffc libffi.dylib ??? (???) <596e0dbf626b211741cecaa9698f271b> /usr/lib/libffi.dylib
0x97413000 - 0x97418ffb com.apple.DisplayServicesFW 2.0 (2.0) <b0b9a41a526a431b09ac0e0e5cec8261> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib -
What will cause "bus error" ?
Hi all,
What will cause "Bus error (core dumped)" ?
Please give example.
Thanks.Hi,
As per "/usr/include/sys/machsig.h", some of the
reasons for SIGBUS are:
- invalid address alignment BUS_ADRALN
- non-existent physical address BUS_ADRERR
- object specific hardware error BUS_OBJERR
The BUS_ADRALN is explained in detail at:
http://access1.sun.com/cgi-bin/rinfo2html?359605.faq
Hope this helps.
Gopinath
Developer Technical Support. -
Hi,
I've been asked to see if I can fix a C program so that it will run on a mac. It currently compiles and runs perfectly on a linux machine, but as soon as you run it on a mac, it will compile, but quit with a bus error very early on. The full code is here:
// Program for the construction of cartograms (density-equalizing map
// projections) using the Gastner-Newman technique. The program needs polygon
// coordinates and a count of cases in each region as input, calculates the new
// coordinates, and writes these to a file. Postscript images of the original
// map and the cartogram are created.
// WRITTEN BY MICHAEL GASTNER, September 20, 2004.
// If you use output created by this program please acknowledge the use of this
// code and its first publication in:
// "Generating population density-equalizing maps", Michael T. Gastner and
// M. E. J. Newman, Proceedings of the National Academy of Sciences of the
// United States of America, vol. 101, pp. 7499-7504, 2004.
// The input coordinates in MAPGENFILE must be in ArcInfo "generate" format of
// the type:
// 1
// 0.3248690E+06 0.8558454E+06
// 0.3248376E+06 0.8557575E+06
// 0.3248171E+06 0.8556783E+06
// 0.3247582E+06 0.8556348E+06
// 0.3246944E+06 0.8555792E+06
// 0.3246167E+06 0.8555253E+06
// 0.3250221E+06 0.8557324E+06
// 0.3249436E+06 0.8557322E+06
// 0.3248690E+06 0.8558454E+06
// END
// 1
// 0.3248690E+06 0.8558454E+06
// 0.3249651E+06 0.8558901E+06
// 0.3250519E+06 0.8559769E+06
// 0.3250691E+06 0.8561246E+06
// 0.3249678E+06 0.8560541E+06
// 0.3249003E+06 0.8560088E+06
// 0.3076424E+06 0.8477603E+06
// 0.3075691E+06 0.8477461E+06
// 0.3075595E+06 0.8476719E+06
// END
// 2
// 0.6233591E+06 0.6056502E+06
// 0.6235193E+06 0.6056467E+06
// 0.6235054E+06 0.6055372E+06
// 0.7384296E+06 0.2334260E+06
// 0.7383532E+06 0.2345770E+06
// END
// END
// The number of cases in CENSUSFILE must be given in the form
// region #cases (optional comment), e. g:
// 43 0.9 Alabama
// 51 0.3 Alaska
// 37 0.8 Arizona
// 47 0.6 Arkansas
// 25 5.4 California
// 32 0.8 Colorado
// 19 0.8 Connecticut
// 29 0.3 Delaware
// 28 0.3 District of Columbia
// 49 2.5 Florida
// 45 1.3 Georgia
// 1 0.4 Hawaii
// The output coordinates are written to CARTGENFILE in ArcInfo "generate"
// format. A postscript image of the original input is prepared as MAP2PS,
// an image of the cartogram as CART2PS.
// Modified on Oct 29, 2004. The number of divisions in each dimension lx, ly
// will now be determined from the input map. Also fixed array bound
// violations in intpol and newt2, and centered the ps-files.
// Modified on Dec 3, 2004. Introduced pointers bbmaxx,bbmaxy,bbminx,bbminy -
// the bounding box coordinates for each polygon - to reduce calculations in
// crnmbr. Thanks to Chris Brunsdon for the suggestion.
// Program now terminates with error message if there is no density specified
// in CENSUSFILE for a region on the map.
// "Donut" polygons are now handled properly. Polygons oriented clockwise will
// be considered exterior boundaries. If they are oriented anti-clockwise they
// are holes inside an enclosing polygon. (Unconventional for mathematicians,
// but this is ArcGIS standard.) The identifier is either that of the enclosing
// polygon, or -99999 in which case it is a hole in the preceding polygon.
// The population can now be a floating-point number.
// If a region contains exactly zero population, it will be replaced by
// MINPOPFAC times the smallest positive population in any region.
// Obviously, MINPOPFAC should be <1, I will set it to 0.1 by default. This
// should reduce the value of sigma necessary for the integrator to finish
// properly.
// Modified on March 31, 2005. Initialized maxchange in nonlinvoltra() as
// INFTY. Replaced crnmbr() by a similar, but faster routine interior().
// Many thanks to Stuart Anderson for pointing out this shortcut.
// TO DO LIST:
// - Do Gaussian blur within nonlinvoltra as a simple call to calcv and
// eliminate gaussianblur().
// - Modify the NR code for the FFTs to deal more naturally with the fencepost
// issue. No more copying of arrays in sinft and cosft.
// - Write truly two-dimensional versions of coscosft, cossinft, and sincosft.
// See Chan and Ho: A new two-dimensional fast cosine transform algorithm,
// IEEE Transactions on Signal Processing, 39, 481ff. (1991).
// - Read polygon data directly from shapefile instead of generate file.
// - Reorganize data structures. It is currently quite a mess to read.
// Inclusions
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
// Definitions
#define CART2PS "./cart.ps","w" // Cartogram image.
#define CARTGENFILE "./cartogram.gen" // Cartogram generate file.
#define CENSUSFILE "./census.dat","r" // Input.
#define CONVERGENCE 1e-100 // Convergence criterion for integrator.
// #define DISPLFILE "./displ.dat","w"
#define FALSE 0
#define HINITIAL 1e-4 // Initial time step size in nonlinvoltra.
#define IMAX 50 // Maximum number of iterations in Newton-Raphson routine.
#define INFTY 1e100
#define LINELENGTH 1000
#define MAP2PS "map.ps","w" // Map image.
#define MAPGENFILE "./map.gen","r" // Input coordinates.
#define MAX(a,b) ((b>a)?(b):(a))
#define MAXINTSTEPS 3000 // Maximum number of time steps in nonlinvoltra.
#define MAXNSQLOG 18 // The number of sample points for rho_0 is <~2^MAXNSQLOG.
#define MIN(a,b) ((b<a)?(b):(a))
#define MINH 1e-5 // Smallest permitted time step in the integrator.
#define MINPOPFAC 0.1 // Replace 0 population by a fraction of the minimum.
#define NR_END 1
#define NSUBDIV 1 // Number of linear subdivisions for digitizing the density.
#define PADDING 1.5 // Determines space between map and boundary.
#define PI 3.141592653589793
#define SIGMA 0.1 // Initial width of Gaussian blur.
#define SIGMAFAC 1.2 // Increase sigma by this factor. Must be > 1.
#define SWAP(a,b) tempr=(a);(a)=(b);(b)=tempr;
#define TIMELIMIT 1e8 // Maximum time allowed in integrator.
#define TOLF 1e-3 // Sensitivity w. r. t. function value in newt2.
#define TOLINT 1e-3 // Sensitivity of the integrator.
#define TOLX 1e-3 // Sensitivity w. r. t. independent variables in newt2.
#define TRUE !FALSE
// Types
typedef int BOOLEAN;
typedef struct
float x;
float y;
} POINT;
// Globals
float bbmaxx,*bbmaxy,*bbminx,*bbminy,**gridvx,*gridvy,maxx,maxy,minpop,
minx,miny,polymaxx,polymaxy,polyminx,polyminy,*rho,**rho_0,**vx,**vy,*x,
*xappr,xstepsize,**y,*yappr,ystepsize;
int lx,ly,maxid,nblurs=0,npoly,npolycorn,*npolyinreg,nregcorn,nregion,
polygonid,**polyinreg,*regionid,*regionidinv,*within;
POINT *polycorn,*regcorn;
// Function prototypes
int readline(char line[],FILE *infile);
void countpoly(FILE *infile);
void countcorn(FILE *infile);
void readcorn(FILE *infile);
void makeregion(void);
void pspicture(FILE *outfile);
void bboxes(void);
void interior(void);
double regionarea(int ncrns,POINT *polygon);
void digdens(void);
void four1(float data[],unsigned long nn,int isign);
void realft(float data[],unsigned long n,int isign);
void cosft(float z[],unsigned long n,int isign);
void sinft(float z[],unsigned long n,int isign);
void coscosft(float **y,int isign1,int isign2);
void cossinft(float **y,int isign1,int isign2);
void sincosft(float **y,int isign1,int isign2);
float **dmatrix(long nrl,long nrh,long ncl,long nch);
float *d3tensor(long nrl, long nrh, long ncl, long nch, long ndl, long ndh);
void free_matrix(float **m,long nrl,long nrh,long ncl,long nch);
void free_f3tensor(float *t,long nrl,long nrh,long ncl,long nch,long ndl,
long ndh);
void fourn(float data[],unsigned long nn[],int ndim,int isign);
void rlft3(float *data,float **speq,unsigned long nn1,unsigned long nn2,
unsigned long nn3,int isign);
void gaussianblur(void);
void initcond(void);
void calcv(float t);
float intpol(float **arr,float x,float y);
BOOLEAN newt2(float h,float *xappr,float xguess,float *yappr,float yguess,
int j,int k);
BOOLEAN nonlinvoltra(void);
POINT transf(POINT p);
void cartogram(void);
// Function to read one line.
int readline(char line[],FILE *infile)
if (fgets(line,LINELENGTH,infile)==NULL) return 1;
return 0;
// Function to count the number of polygons.
void countpoly(FILE *infile)
char line[LINELENGTH];
npoly = 0;
while (!readline(line,infile)) if (line[0] == 'E') npoly++;
npoly--; // The .gen file ends with two consecutive "END"s.
// Function to count polygon corners. Also determines minimum/maximum x-/y-
// coordinate.
void countcorn(FILE *infile)
BOOLEAN bnd_ok = FALSE;
char line[LINELENGTH];
float x,y;
int polyctr=0,ratiolog;
npolycorn = (int*)calloc(npoly,sizeof(int));
polycorn = (POINT*)malloc(npoly*sizeof(POINT));
readline(line,infile); // Skip first line.
readline(line,infile);
sscanf(line,"%f %f",&x,&y);
polyminx = x; polymaxx = x; polyminy = y; polymaxy = y;
npolycorn[0] = 1;
while (!readline(line,infile))
if (line[0] != 'E')
sscanf(line,"%f %f",&x,&y);
if (x < polyminx) polyminx = x;
if (x > polymaxx) polymaxx = x;
if (y < polyminy) polyminy = y;
if (y > polymaxy) polymaxy = y;
npolycorn[polyctr]++;
else
readline(line,infile);
polycorn[polyctr] = (POINT)malloc(npolycorn[polyctr]sizeof(POINT));
polyctr++;
if (ceil(log((polymaxx-polyminx)/(polymaxy-polyminy))/log(2))+
floor(log((polymaxx-polyminx)/(polymaxy-polyminy))/log(2))>
2*log((polymaxx-polyminx)/(polymaxy-polyminy))/log(2))
ratiolog = (int)floor(log((polymaxx-polyminx)/(polymaxy-polyminy))/log(2));
else
ratiolog = (int)ceil(log((polymaxx-polyminx)/(polymaxy-polyminy))/log(2));
lx = (int)pow(2,(int)(0.5*(ratiolog+MAXNSQLOG)));
ly = (int)pow(2,(int)(0.5*(MAXNSQLOG-ratiolog)));
if ((polymaxx-polyminx)/lx > (polymaxy-polyminy)/ly)
maxx = 0.5((1PADDING)*polymaxx(1-PADDING)polyminx);
minx = 0.5((1-PADDING)*polymaxx(1PADDING)polyminx);
maxy = 0.5(polymaxypolyminy(maxx-minx)ly/lx);
miny = 0.5(polymaxy+polyminy-(maxx-minx)ly/lx);
else
maxy = 0.5((1PADDING)*polymaxy(1-PADDING)polyminy);
miny = 0.5((1-PADDING)*polymaxy(1PADDING)polyminy);
maxx = 0.5(polymaxxpolyminx(maxy-miny)lx/ly);
minx = 0.5(polymaxx+polyminx-(maxy-miny)lx/ly);
// Uncomment the next lines for interactive choice of boundary conditions.
/* printf("For the %i polygon(s) under consideration:\n",npoly);
printf("minimum x = %f\tmaximum x = %f\n",polyminx,polymaxx);
printf("minimum y = %f\tmaximum y = %f\n",polyminy,polymaxy);
while (!bnd_ok)
printf("Type in your choice of boundaries.\nminx = ");
scanf("%f",&minx);
printf("maxx = ");
scanf("%f",&maxx);
printf("miny = ");
scanf("%f",&miny);
printf("maxy = ");
scanf("%f",&maxy);
if (minx>polyminx || maxx<polymaxx || miny>polyminy || maxy<polymaxy)
printf("Invalid choice, does not enclose the polygon(s).\n");
else bnd_ok = TRUE;
// Function to read polygon corners. The first and last vertex of each polygon
// must be identical.
void readcorn(FILE *infile)
char line[LINELENGTH];
float xcoord,ycoord;
int i,id,polyctr=0;
polygonid = (int)malloc(npolysizeof(int));
xstepsize = (maxx-minx)/lx;
ystepsize = (maxy-miny)/ly;
if (fabs((xstepsize/ystepsize)-1)>1e-3)
fprintf(stderr,"WARNING: Area elements are not square: %f : %f\n",
xstepsize,ystepsize);
readline(line,infile);
sscanf(line,"%i",&id);
polygonid[polyctr] = id;
i = 0;
while (!readline(line,infile))
if (line[0] != 'E')
sscanf(line,"%f %f",&xcoord,&ycoord);
polycorn[polyctr].x = (xcoord-minx)/xstepsize;
polycorn[polyctr][i++].y = (ycoord-miny)/ystepsize;
else
// Is first and last vertex the same?
if (fabs(polycorn[polyctr][0].x-
polycorn[polyctr][npolycorn[polyctr]-1].x)+
fabs(polycorn[polyctr][0].y-
polycorn[polyctr][npolycorn[polyctr]-1].y)>1e-12)
fprintf(stderr,
"ERROR: %i-th polygon does not close upon itself.\n",
polyctr+1);
fprintf(stderr,"Identifier %i, first point %f %f.\n",
polygonid[polyctr],polycorn[polyctr][0].x*xstepsize+minx,
polycorn[polyctr][0].y*ystepsize+miny);
exit(1);
readline(line,infile);
sscanf(line,"%i",&id);
i = 0;
polyctr++;
if (polyctr<npoly) polygonid[polyctr] = id;
polyminx = (polyminx-minx)/xstepsize;
polyminy = (polyminy-miny)/ystepsize;
polymaxx = (polymaxx-minx)/xstepsize;
polymaxy = (polymaxy-miny)/ystepsize;
// Function to make regions from polygons.
void makeregion(void)
BOOLEAN repeat;
int i,lastid,minid,polyctr,ptctr,regctr;
// Count the number of regions.
nregion = 0;
maxid = minid = polygonid[0];
for (polyctr=0; polyctr<npoly; polyctr++)
if (polygonid[polyctr] == -99999) continue;
if (polygonid[polyctr]>maxid || polygonid[polyctr]<minid) nregion++;
else
repeat = FALSE;
for (i=0; i<polyctr; i++)
if (polygonid[polyctr]==polygonid)
repeat = TRUE;
break;
if (!repeat) nregion++;
if (polygonid[polyctr]>maxid) maxid = polygonid[polyctr];
if (polygonid[polyctr]<minid) minid = polygonid[polyctr];
if (minid < 0)
fprintf(stderr,
"ERROR: Negative region identifier %i.\n",minid);
exit(1);
// Match region identifiers.
regionid = (int)malloc(nregionsizeof(int));
nregion = 0;
maxid = minid = polygonid[0];
for (polyctr=0; polyctr<npoly; polyctr++)
if (polygonid[polyctr] == -99999) continue;
if (polygonid[polyctr]>maxid || polygonid[polyctr]<minid)
regionid[nregion++] = polygonid[polyctr];
else
repeat = FALSE;
for (i=0; i<polyctr; i++)
if (polygonid[polyctr]==polygonid)
repeat = TRUE;
break;
if (!repeat) regionid[nregion++] = polygonid[polyctr];
if (polygonid[polyctr]>maxid) maxid = polygonid[polyctr];
if (polygonid[polyctr]<minid) minid = polygonid[polyctr];
regionidinv = (int)malloc((maxid+1)sizeof(int));
// Negative number for unused identifiers.
for (i=0; i<=maxid; i++) regionidinv = -1;
for (regctr=0; regctr<nregion; regctr++)
regionidinv[regionid[regctr]] = regctr;
// Which polygons contribute to which regions?
npolyinreg = (int*)calloc(nregion,sizeof(int));
polyinreg = (int*)malloc(nregion*sizeof(int));
lastid = polygonid[0];
for (polyctr=0; polyctr<npoly; polyctr++)
if (polygonid[polyctr] != -99999)
npolyinreg[regionidinv[polygonid[polyctr]]]++;
lastid = polygonid[polyctr];
else npolyinreg[regionidinv[lastid]]++;
for (regctr=0; regctr<nregion; regctr++)
polyinreg[regctr] = (int)malloc(npolyinreg[regctr]sizeof(int));
for (regctr=0; regctr<nregion; regctr++) npolyinreg[regctr] = 0;
lastid = polygonid[0];
for (polyctr=0; polyctr<npoly; polyctr++)
if (polygonid[polyctr] != -99999)
polyinreg[regionidinv[polygonid[polyctr]]]
[npolyinreg[regionidinv[polygonid[polyctr]]]++] = polyctr;
lastid = polygonid[polyctr];
else polyinreg[regionidinv[lastid]][npolyinreg[regionidinv[lastid]]++]
= polyctr;
// Make regions from polygons. Start and end each polygon at (0,0).
nregcorn = (int*)calloc(nregion,sizeof(int));
regcorn = (POINT*)malloc(nregion*sizeof(POINT));
for (regctr=0; regctr<nregion; regctr++)
for (i=0; i<npolyinreg[regctr]; i++)
nregcorn[regctr] += npolycorn[polyinreg[regctr]]+1;
nregcorn[regctr]++;
for (regctr=0; regctr<nregion; regctr++)
regcorn[regctr] = (POINT)malloc(nregcorn[regctr]sizeof(POINT));
ptctr = 0;
regcorn[regctr][ptctr].x = regcorn[regctr][ptctr++].y = 0.0;
for (polyctr=0; polyctr<npolyinreg[regctr]; polyctr++)
for (i=0; i<npolycorn[polyinreg[regctr][polyctr]]; i++)
regcorn[regctr][ptctr++] = polycorn[polyinreg[regctr][polyctr]];
regcorn[regctr][ptctr].x = regcorn[regctr][ptctr++].y = 0.0;
// Function to prepare a map in postscript standard letter format.
void pspicture(FILE *outfile)
char line[LINELENGTH];
float addx,addy,b,conv,g,r;
int ptctr,regctr;
if (11*lx > 8.5*ly)
conv = (float)8.5*72/lx;
addx = 0;
addy = 1136-8.5*36ly/lx;
else
conv = (float)11*72/ly;
addx = 8.536-11*36lx/ly;
addy = 0;
fprintf(outfile,"0.5 setlinewidth\n");
for (regctr=0; regctr<nregion; regctr++)
fprintf(outfile,"newpath\n");
fprintf(outfile,"%f %f moveto\n",
regcorn[regctr][1].x*conv+addx,
regcorn[regctr][1].y*conv+addy);
for (ptctr=2; ptctr<nregcorn[regctr]; ptctr++)
if (fabs(regcorn[regctr][ptctr].x)+
fabs(regcorn[regctr][ptctr].y)>1e-12)
fprintf(outfile,"%f %f lineto\n",
regcorn[regctr][ptctr].x*conv+addx,
regcorn[regctr][ptctr].y*conv+addy);
else
fprintf(outfile,"closepath\n");
if (ptctr<nregcorn[regctr]-1)
ptctr++;
fprintf(outfile,"%f %f moveto\n",
regcorn[regctr][ptctr].x*conv+addx,
regcorn[regctr][ptctr].y*conv+addy);
// Determine colors for map (without better knowledge I will do it
// arbitrarily).
if (regctr%3 == 0)
r = (float)regctr/nregion;
g = 1-(float)regctr/nregion;
b = fabs(1-2*(float)regctr/nregion);
else if (regctr%3 == 1)
b = (float)regctr/nregion;
r = 1-(float)regctr/nregion;
g = fabs(1-2*(float)regctr/nregion);
else
g = (float)regctr/nregion;
b = 1-(float)regctr/nregion;
r = fabs(1-2*(float)regctr/nregion);
fprintf(outfile,"%f %f %f setrgbcolor\ngsave\nfill\n",r,g,b);
fprintf(outfile,"grestore\n0 setgray stroke\n");
fprintf(outfile,"showpage\n");
// Function to find the bounding box for each polygon.
void bboxes(void)
int i,j;
float maxx, minx, maxy, miny;
bbmaxx = (float)malloc(npolysizeof(float));
bbmaxy = (float)malloc(npolysizeof(float));
bbminx = (float)malloc(npolysizeof(float));
bbminy = (float)malloc(npolysizeof(float));
for (i = 0; i < npoly; i++)
maxx = polycorn[0].x;
maxy = polycorn[0].y;
minx = maxx;
miny = maxy;
for (j = 0; j < npolycorn; j++)
if (polycorn[j].x > maxx) maxx = polycorn[j].x;
if (polycorn[j].x < minx) minx = polycorn[j].x;
if (polycorn[j].y < miny) miny = polycorn[j].y;
if (polycorn[j].y > maxy) maxy = polycorn[j].y;
bbmaxx=maxx;
bbmaxy=maxy;
bbminx=minx;
bbminy=miny;
void interior(void)
int i,inhowmanyregions,inregion[2],j,k,l,m,n,regctr;
// Initialize within[][]. -1 means outside all regions.
for (i=0; i<=lx; i++) for (j=0; j<=ly; j++) within[j] = -1;
// Fill within[][].
for (i=0; i<nregion; i++) for (j=0; j<npolyinreg; j++)
for (k=0, n=npolycorn[polyinreg[j]]-1;
k<npolycorn[polyinreg[j]]; n=k++)
for (l=(int)ceil(MIN(polycorn[polyinreg[j]][k-1].y,
polycorn[polyinreg[j]][k].y));
l<MAX(polycorn[polyinreg[j]][k-1].y,
polycorn[polyinreg[j]][k].y); l++)
for (m=(int)floor(bbminx[polyinreg[j]]);
m<(polycorn[polyinreg[j]][n].x-
polycorn[polyinreg[j]][k].x)*
(l-polycorn[polyinreg[j]][k].y)/
(polycorn[polyinreg[j]][n].y-
polycorn[polyinreg[j]][k].y)+
polycorn[polyinreg[j]][k].x;
m++)
within[m][l] = i-within[m][l]-1;
// Function to determine polygon area. This is needed to determine the average
// population.
// The problem in short is to find the area of a polygon whose vertices are
// given. Recall Stokes' theorem in 3d for a vector field v:
// integral[around closed curve dA]v(x,y,z).ds =
// integral[over area A]curl(v).dA.
// Now let v(x,y,z) = (0,Q(x,y),0) and dA = (0,0,dx*dy). Then
// integral[around closed curve dA]Q(x,y)dy = integral[over area A]dQ/dxdxdy.
// If Q = x:
// A = integral[over area A]dx*dy = integral[around closed curve dA]x dy.
// For every edge from (x,y) to (x[i1],y[i1]) there is a
// parametrization
// (x(t),y(t)) = ((1-t)xtx[i+1],(1-t)y+ty[i1]), 0<t<1
// so that the path integral along this edge is
// int[from 0 to 1]{(1-t)xt*x[i+1]}(y[i1]-y)dt =
// 0.5(y[i1]-y)(x+x[i1]).
// Summing over all edges yields:
// Area = 0.5*[(x[0]+x[1])(y[1]-y[0]) + (x[1]+x[2])(y[2]-y[1]) + ...
// ...(x[n-1]+x[n])(y[n]-y[n-1])+(x[n]x[0])(y[0]-y[n])]
// ArcGIS treats a clockwise direction as positive, so there is a minus sign.
double regionarea(int ncrns,POINT *polygon)
double area=0;
int i;
for (i=0; i<ncrns-1; i++)
area -=
0.5(polygon.xpolygon[i+1].x)(polygon[i1].y-polygon.y);
return area -= 0.5(polygon[ncrns-1].x+polygon[0].x)
(polygon[0].y-polygon[ncrns-1].y);
// Function to digitize density.
void digdens(void)
char line[LINELENGTH];
double area,avgdens,*cases,dens,minpop=INFTY,ncases,totarea=0.0,totpop=0.0;
FILE* infile;
int i,id,ii,inhowmanyregions,inregion[2],j,jj,regctr;
if ((infile=fopen(CENSUSFILE))==NULL)
fprintf(stderr,"ERROR: Cannot find CENSUSFILE.\n");
exit(1);
// Find the minimum positive number of cases.
while (!readline(line,infile))
sscanf(line,"%i %lf",&id,&ncases);
if (ncases<minpop && ncases>1e-12) minpop = ncases;
fclose(infile);
// Store the number of cases in an array.
cases = (double)malloc(nregionsizeof(double));
for (i=0; i<nregion; i++) cases = -1.0;
infile = fopen(CENSUSFILE);
while (!readline(line,infile))
sscanf(line,"%i %lf",&id,&ncases);
if (id>maxid || regionidinv[id]<0)
fprintf(stderr,"ERROR: Identifier %i in CENSUSFILE does not\n",id);
fprintf(stderr,"match any identifier in generate file.\n");
exit(1);
if (ncases>1e-12) totpop += (cases[regionidinv[id]] = ncases);
else totpop += (cases[regionidinv[id]] = MINPOPFAC*minpop);
for (regctr=0; regctr<nregion; regctr++) if (cases[regctr] < 0.0)
fprintf(stderr,"ERROR: No density for region %i?\n",regionid[regctr]);
fprintf(stderr,"cases = %f\n",cases[regctr]);
exit(1);
fclose(infile);
// Calculate regions' areas, total area to be mapped, regional and average
// densities.
area = (double)malloc(nregionsizeof(double));
for (regctr=0; regctr<nregion; regctr++)
totarea += (area[regctr] = regionarea(nregcorn[regctr],regcorn[regctr]));
dens = (double)malloc(nregionsizeof(double));
for (regctr=0; regctr<nregion; regctr++)
dens[regctr] = cases[regctr]/area[regctr];
avgdens = totpop/totarea;
// Digitize density.
for (i=0; i<=lx; i++) for (j=0; j<=ly; j++) rho_0[j] = 0; // Initialize.
printf("digitizing density ...\n");
for (i=0; i<lx; i++) for (j=0; j<ly; j++)
if (within[j]==-1) rho_0[j] = avgdens;
else rho_0[j] = dens[within[j]];
// Fill the edges correctly.
rho_0[0][0] += rho_0[0][ly] + rho_0[lx][0] + rho_0[lx][ly];
for (i=1; i<lx; i++) rho_0[0] += rho_0[ly];
for (j=1; j<ly; j++) rho_0[0][j] += rho_0[lx][j];
for (i=0; i<lx; i++) rho_0[ly] = rho_0[0];
for (j=0; j<=ly; j++) rho_0[lx][j] = rho_0[0][j];
// Replace rho_0 by Fourier transform
coscosft(rho_0,1,1);
free(area);
free(cases);
for (i=0; i<npoly; i++) free(polycorn);
free(polycorn);
for (i=0; i<nregion; i++) free(regcorn);
free(regcorn);
free(dens);
free(npolycorn);
free(nregcorn);
free(polygonid);
free(regionid);
free(regionidinv);
free(bbmaxx);
free(bbmaxy);
free(bbminx);
free(bbminy);
for (i=0; i<nregion; i++) free(polyinreg);
free(polyinreg);
free(npolyinreg);
// Function to replace data[1...2*nn] by its discrete Fourier transform, if
// isign is input as 1; or replaces data[1...2*nn] by nn times its inverse
// discrete Fourier transform, if isign is input as -1. data is a complex array
// of length nn or, equivalently, a real array of length 2*nn. nn MUST be an
// integer power of 2 (this is not checked for!).
// From "Numerical Recipes in C".
void four1(float data[],unsigned long nn,int isign)
double theta,wi,wpi,wpr,wr,wtemp;
float tempi,tempr;
unsigned long i,istep,j,m,mmax,n;
n=nn<<1;
j=1;
for (i=1; i<n; i+=2)
if (j>i)
// This is the bit-reversal section of the routine.
SWAP(data[j],data);
SWAP(data[j1],data[i1]); // Exchange the two complex numbers.
m=n>>1;
while (m>=2 && j>m)
j -= m;
m>>=1;
j += m;
// Here begins the Danielson-Lanczos section of the routine.
mmax=2;
while (n>mmax) // Outer loop executed log_2 nn times.
istep = mmax<<1;
// Initialize the trigonometric recurrence.
theta = isign*(6.28318530717959/mmax);
wtemp = sin(0.5*theta);
wpr = -2.0wtempwtemp;
wpi = sin(theta);
wr = 1.0;
wi = 0.0;
for (m=1; m<mmax; m+=2) // Here are the two nested inner loops.
for (i=m; i<=n; i+=istep)
j=i+mmax; // This is the Danielson-Lanczos formula
tempr=wrdata[j]-widata[j+1];
tempi=wrdata[j1]widata[j];
data[j]=data-tempr;
data[j1]=data[i1]-tempi;
data += tempr;
data[i+1] += tempi;
wr = (wtemp=wr)wpr-wiwpi+wr; // Trigonometric recurrence.
wi = wiwprwtempwpiwi;
mmax=istep;
// Function to calculate the Fourier Transform of a set of n real-valued data
// points. It replaces this data (which is stored in array data[1...n]) by the
// positive frequency half of its complex Fourier Transform. The real-valued
// first and last components of the complex transform are returned as elements
// data[1] and data[2] respectively. n must be a power of 2. This routine also
// calculates the inverse transform of a complex data array if it is the
// transform of real data. (Result in this case must be multiplied by 2/n).
// From "Numerical Recipes in C".
void realft(float data[],unsigned long n,int isign)
double theta,wi,wpi,wpr,wr,wtemp;
float c1=0.5,c2,h1i,h1r,h2i,h2r;
unsigned long i,i1,i2,i3,i4,np3;
theta = 3.141592653589793/(double) (n>>1); // Initialize the recurrence
if (isign == 1)
c2 = -0.5;
four1(data,n>>1,1); // The forward transform is here.
else // Otherwise set up for an inverse transform.
c2 = 0.5;
theta = -theta;
wtemp = sin(0.5*theta);
wpr = -2.0wtempwtemp;
wpi = sin(theta);
wr = 1.0+wpr;
wi = wpi;
np3 = n+3;
for (i=2; i<=(n>>2); i++) // Case i=1 done separately below.
i4 = 1(i3=np3-(i2=1+(i1=ii-1)));
// The two separate transforms are separated out of data.
h1r = c1*(data[i1]+data[i3]);
h1i = c1*(data[i2]-data[i4]);
h2r = -c2*(data[i2]+data[i4]);
h2i = c2*(data[i1]-data[i3]);
// Here they are recombined to form the true transform of the original
// data.
data[i1] = h1r+wrh2r-wih2i;
data[i2] = h1iwrh2iwih2r;
data[i3] = h1r-wrh2r+wih2i;
data[i4] = -h1iwrh2iwih2r;
wr = (wtemp=wr)wpr-wiwpi+wr; // The recurrence.
wi = wiwprwtempwpiwi;
if (isign == 1)
data[1] = (h1r=data[1])+data[2]; // Squeeze the first and last data
// together to get them all within the original array.
data[2] = h1r-data[2];
else
data[1] = c1*((h1r=data[1])+data[2]);
data[2] = c1*(h1r-data[2]);
// This is the inverse transform for the case isign = -1.
four1(data,n>>1,-1);
// Function to calculate the cosine transform of a set z[0...n] of real-valued
// data points. The transformed data replace the original data in array z. n
// must be a power of 2. For forward transform set isign=1, for back transform
// isign = -1. (Note: The factor 2/n has been taken care of.)
// From "Numerical Recipes in C".
void cosft(float z[],unsigned long n,int isign)
double theta,wi=0.0,wpi,wpr,wr=1.0,wtemp;
float *a,sum,y1,y2;
int j,n2;
// Numerical Recipes starts counting at 1 which is rather confusing. I will
// count from 0.
a = (float)malloc((n+2)sizeof(float));
for (j=1; j<=n+1; j++) a[j] = z[j-1];
// Here is the Numerical Recipes code.
theta=PI/n; //Initialize the recurrence.
wtemp = sin(0.5*theta);
wpr = -2.0wtempwtemp;
wpi = sin(theta);
sum = 0.5*(a[1]-a[n+1]);
a[1] = 0.5*(a[1]a[n1]);
n2 = n+2;
for (j=2; j<=(n>>1); j++)
wr = (wtemp=wr)wpr-wiwpi+wr;
wi = wiwprwtempwpiwi;
y1 = 0.5*(a[j]+a[n2-j]);
y2 = (a[j]-a[n2-j]);
a[j] = y1-wi*y2;
a[n2-j] = y1+wi*y2;
sum += wr*y2;
realft(a,n,1);
a[n+1] = a[2];
a[2] = sum;
for (j=4; j<=n; j+=2)
sum += a[j];
a[j] = sum;
// Finally I revert to my counting method.
if (isign == 1) for (j=1; j<=n+1; j++) z[j-1] = a[j];
else if (isign == -1) for (j=1; j<=n+1; j++) z[j-1] = 2.0*a[j]/n;
free(a);
// Function to calculate the sine transform of a set of n real-valued data
// points stored in array z[0..n]. The number n must be a power of 2. On exit
// z is replaced by its transform. For forward transform set isign=1, for back
// transform isign = -1.
void sinft(float z[],unsigned long n,int isign)
double theta,wi=0.0,wpi,wpr,wr=1.0,wtemp;
float *a,sum,y1,y2;
int j;
unsigned long n2=n+2;
// See my comment about Numerical Recipe's counting above. Note that the last
// component plays a completely passive role and does not need to be stored.
a = (float*) malloc((n+1)*sizeof(float));
for (j=1; j<=n; j++) a[j] = z[j-1];
// Here is the Numerical Recipes code.
theta = PI/(double)n; // Initialize the recurrence.
wtemp = sin(0.5*theta);
wpr = -2.0wtempwtemp;
wpi = sin(theta);
a[1] = 0.0;
for (j=2; j<=(n>>1)+1; j++)
// Calculate the sine for the auxiliary array.
wr = (wtemp=wr)wpr-wiwpi+wr;
// The cosine is needed to continue the recurrence.
wi = wiwprwtempwpiwi;
// Construct the auxiliary array.
y1 = wi*(a[j]+a[n2-j]);
y2 = 0.5*(a[j]-a[n2-j]);
// Terms j and N-j are related.
a[j] = y1+y2;
a[n2-j] = y1-y2;
// Transform the auxiliary array.
realft(a,n,1);
// Initialize the sum used for odd terms below.
a[1] *= 0.5;
sum = a[2] = 0.0;
// Even terms determined directly. Odd terms determined by running sum.
for (j=1; j<=n-1; j+=2)
sum += a[j];
a[j] = a[j+1];
a[j+1] = sum;
// Change the indices.
if (isign == 1) for (j=1; j<=n; j++) z[j-1] = a[j];
else if (isign == -1) for (j=1; j<=n; j++) z[j-1] = 2.0*a[j]/n;
z[n] = 0.0;
free(a);
// Function to calculate a two-dimensional cosine Fourier transform. Forward/
// backward transform in x: isign1 = +/-1, in y: isign2 = +/-1.
void coscosft(float **y,int isign1,int isign2)
float temp[lx+1];
unsigned long i,j;
for (i=0; i<=lx; i++)
cosft(y,ly,isign2);
for (j=0; j<=ly; j++)
for (i=0; i<=lx; i++) temp=y[j];
cosft(temp,lx,isign1);
for (i=0; i<=lx; i++) y[j]=temp;
// Function to calculate a cosine Fourier transform in x and a sine transform
// in y. Forward/backward transform in x: isign1 = +/-1, in y: isign2 = +/-1.
void cossinft(float **y,int isign1,int isign2)
float temp[lx+1];
unsigned long i,j;
for (i=0; i<=lx; i++)
sinft(y,ly,isign2);
for (j=0; j<=ly; j++)
for (i=0; i<=lx; i++) temp=y[j];
cosft(temp,lx,isign1);
for (i=0; i<=lx; i++) y[j]=temp;
// Function to calculate a sine Fourier transform in x and a cosine transform
// in y. Forward/backward transform in x: isign1 = +/-1, in y: isign2 = +/-1.
void sincosft(float **y,int isign1,int isign2)
float temp[lx+1];
unsigned long i,j;
for (i=0; i<=lx; i++)
cosft(y,ly,isign2);
for (j=0; j<=ly; j++)
for (i=0; i<=lx; i++) temp=y[j];
sinft(temp,lx,isign1);
for (i=0; i<=lx; i++) y[j]=temp;
// Function to allocate a float matrix with subscript range
// m[nrl..nrh][ncl..nch]. From "Numerical Recipes in C".
float **dmatrix(long nrl,long nrh,long ncl,long nch)
long i, nrow=nrh-nrl1,ncol=nch-ncl1;
float **m;
/* allocate pointers to rows */
m=(float **) malloc((unsigned int)((nrow+NR_END)sizeof(float)));
if (!m)
fprintf(stderr,"allocation failure 1 in matrix()\n");
exit(1);
m += NR_END;
m -= nrl;
/* allocate rows and set pointers to them */
m[nrl]=(float *) malloc((unsigned int)((nrowncol+NR_END)sizeof(float)));
if (!m[nrl])
fprintf(stderr,"allocation failure 2 in matrix()\n");
exit(1);
m[nrl] += NR_END;
m[nrl] -= ncl;
for(i=nrl1;i<=nrh;i+) m=m[i-1]+ncol;
/* return pointer to array of pointers to rows */
return m;
// Function to allocate a float 3tensor with range
// t[nrl..nrh][ncl..nch][ndl..ndh]. From "Numerical Recipes in C".
float *d3tensor(long nrl, long nrh, long ncl, long nch, long ndl, long ndh)
long i,j,nrow=nrh-nrl1,ncol=nch-ncl+1,ndep=ndh-ndl1;
float *t;
/* allocate pointers to pointers to rows */
t=(float *) malloc((sizet)((nrow+NREND)sizeof(float*)));
if (!t)
fprintf(stderr,"allocation failure 1 in f3tensor()\n");
exit(1);
t += NR_END;
t -= nrl;
/* allocate pointers to rows and set pointers to them */
t[nrl]=(float **) malloc((sizet)((nrowncol+NREND)*sizeof(float)));
if (!t[nrl])
fprintf(stderr,"allocation failure 2 in f3tensor()\n");
exit(1);
t[nrl] += NR_END;
t[nrl] -= ncl;
/* allocate rows and set pointers to them */
t[nrl][ncl]=(float *) malloc((sizet)((nrowncol*ndep+NREND)sizeof(float)));
if (!t[nrl][ncl])
fprintf(stderr,"allocation failure 3 in f3tensor()\n");
exit(1);
t[nrl][ncl] += NR_END;
t[nrl][ncl] -= ndl;
for(j=ncl1;j<=nch;j+) t[nrl][j]=t[nrl][j-1]+ndep;
for(i=nrl1;i<=nrh;i+) {
t=t[i-1]+ncol;
t[ncl]=t[i-1][ncl]+ncol*ndep;
for(j=ncl1;j<=nch;j+) t[j]=t[j-1]+ndep;
/* return pointer to array of pointers to rows */
return t;
void free_matrix(float **m,long nrl,long nrh,long ncl,long nch)
free((char*) (m[nrl]+ncl-1));
free((char*) (m+nrl-1));
void free_f3tensor(float *t,long nrl,long nrh,long ncl,long nch,long ndl,
long ndh)
free((char*) (t[nrl][ncl]+ndl-1));
free((char*) (t[nrl]+ncl-1));
free((char*) (t+nrl-1));
// Function to replace data by its ndim-dimensional discrete Fourier transform,
// if isign is input as 1. nn[1..ndim] is an integer array containing the
// lengths of each dimension (number of complex values), which MUST be all
// powers of 2. data is a real array of length twice the product of these
// lengths, in which the data are stored as in a multidimensional complex
// array: real and imaginary parts of each element are in consecutive
// locations, and the rightmost index of the array increases most rapidly as
// one proceeds along data. For a two-dimensional array, this is equivalent to
// storing the arrays by rows. If isign is input as -1, data is replaced by its
// inverse transform times the product of the lengths of all dimensions.
void fourn(float data[],unsigned long nn[],int ndim,int isign)
int idim;
unsigned long i1,i2,i3,i2rev,i3rev,ip1,ip2,ip3,ifp1,ifp2;
unsigned long ibit,k1,k2,n,nprev,nrem,ntot;
double tempi,tempr;
float theta,wi,wpi,wpr,wr,wtemp;
for (ntot=1, idim=1; idim<=ndim; idim++)
ntot *= nn[idim];
nprev = 1;
for (idim=ndim; idim>=1; idim--)
n = nn[idim];
nrem = ntot/(n*nprev);
ip1=nprev << 1;
ip2 = ip1*n;
ip3 = ip2*nrem;
i2rev = 1;
for (i2=1; i2<=ip2; i2+=ip1)
if (i2 < i2rev)
for (i1=i2; i1<=i2+ip1-2; i1+=2)
for (i3=i1; i3<=ip3; i3+=ip2)
i3rev = i2rev+i3-i2;
SWAP(data[i3],data[i3rev]);
SWAP(data[i31],data[i3rev1]);
ibit = ip2>>1;
while (ibit>=ip1 && i2rev>ibit)
i2rev -= ibit;
ibit >>= 1;
i2rev += ibit;
ifp1 = ip1;
while (ifp1 < ip2)
ifp2 = ifp1 << 1;
theta = 2isignPI/(ifp2/ip1);
wtemp = sin(0.5*theta);
wpr = -2.0wtempwtemp;
wpi = sin(theta);
wr = 1.0;
wi = 0.0;
for (i3=1; i3<=ifp1; i3+=ip1)
for (i1=i3; i1<=i3+ip1-2; i1+=2)
for (i2=i1; i2<=ip3; i2+=ifp2)
k1 = i2;
k2 = k1+ifp1;
tempr = (float)wrdata[k2]-(float)widata[k2+1];
tempi = (float)wrdata[k21](float)widata[k2];
data[k2] = data[k1]-tempr;
data[k2+1] = data[k1+1]-tempi;
data[k1] += tempr;
data[k1+1] += tempi;
wr = (wtemp=wr)wpr-wiwpi+wr;
wi = wiwprwtempwpiwi;
ifp1 = ifp2;
nprev *= n;
// Function to calculate a three-dimensional Fourier transform of
// data[1..nn1][1..nn2][1..nn3] (where nn1=1 for the case of a logically two-
// dimensional array). This routine returns (for isign=1) the complex fast
// Fourier transform as two complex arrays: On output, data contains the zero
// and positive frequency values of the third frequency component, while
// speq[1..nn1][1..2*nn2] contains the Nyquist critical frequency values of the
// third frequency component. First (and second) frequency components are
// stored for zero, positive, and negative frequencies, in standard wrap-around
// order. See Numerical Recipes for description of how complex values are
// arranged. For isign=-1, the inverse transform (times nn1nn2nn3/2 as a
// constant multiplicative factor) is performed, with output data (viewed as
// real array) deriving from input data (viewed as complex) and speq. For
// inverse transforms on data not generated first by a forward transform, make
// sure the complex input data array satisfies property 12.5.2 from NR. The
// dimensions nn1, nn2, nn3 must always be integer powers of 2.
void rlft3(float *data,float **speq,unsigned long nn1,unsigned long nn2,
unsigned long nn3,int isign)
double theta,wi,wpi,wpr,wr,wtemp;
float c1,c2,h1r,h1i,h2r,h2i;
unsigned long i1,i2,i3,j1,j2,j3,nn[4],ii3;
if (1+&data[nn1][nn2][nn3]-&data[1][1][1] != nn1nn2nn3)
fprintf(stderr,
"rlft3: problem with dimensions or contiguity of data array\n");
exit(1);
c1 = 0.5;
c2 = -0.5*isign;
theta = 2isign(PI/nn3);
wtemp = sin(0.5*theta);
wpr = -2.0wtempwtemp;
wpi = sin(theta);
nn[1] = nn1;
nn[2] = nn2;
nn[3] = nn3 >> 1;
// Case of forward transform. Here is where most all of the compute time is
// spent. Extend data periodically into speq.
if (isign == 1)
fourn(&data[1][1][1]-1,nn,3,isign);
for (i1=1; i1<=nn1; i1++)
for (i2=1, j2=0; i2<=nn2; i2++)
speq[i1][++j2] = data[i1][i2][1];
speq[i1][++j2] = data[i1][i2][2];
for (i1=1; i1<=nn1; i1++)
// Zero frequency is its own reflection; otherwise locate corresponding
// negative frequency in wrap-around order.
j1 = (i1 != 1 ? nn1-i1+2 : 1);
// Initialize trigonometric recurrence.
wr = 1.0;
wi = 0.0;
for (ii3=1, i3=1; i3<=(nn3>>2)+1; i3+,ii3=2)
for (i2=1; i2<=nn2; i2++)
if (i3 == 1)
j2 = (i2 != 1 ? ((nn2-i2)<<1)+3 : 1);
h1r = c1*(data[i1][i2][1]+speq[j1][j2]);
h1i = c1*(data[i1][i2][2]-speq[j1][j2+1]);
h2i = c2*(data[i1][i2][1]-speq[j1][j2]);
h2r = -c2*(data[i1][i2][2]speq[j1][j21]);
data[i1][i2][1] = h1r+h2r;
data[i1][i2][2] = h1i+h2i;
speq[j1][j2] = h1r-h2r;
speq[j1][j2+1] = h2i-h1i;
else
j2 = (i2 != 1 ? nn2-i2+2 : 1);
j3 = nn3+3-(i3<<1);
h1r = c1*(data[i1][i2][ii3]+data[j1][j2][j3]);
h1i = c1*(data[i1][i2][ii31]-data[j1][j2][j31]);
h2i = c2*(data[i1][i2][ii3]-data[j1][j2][j3]);
h2r = -c2*(data[i1][i2][ii31]+data[j1][j2][j31]);
data[i1][i2][ii3] = h1r+wrh2r-wih2i;
data[i1][i2][ii3+1] = h1iwrh2iwih2r;
data[j1][j2][j3] = h1r-wrh2r+wih2i;
data[j1][j2][j3+1] = -h1iwrh2iwih2r;
// Do the recurrence.
wr = (wtemp=wr)wpr-wiwpi+wr;
wi = wiwprwtempwpiwi;
// Case of reverse transform.
if (isign == -1)
fourn(&data[1][1][1]-1,nn,3,isign);
// Function to perform Gaussian blur.
void gaussianblur(void)
float **blur,***conv,***pop,**speqblur,**speqconv,*speqpop;
int i,j,p,q;
blur = d3tensor(1,1,1,lx,1,ly);
conv = d3tensor(1,1,1,lx,1,ly);
pop = d3tensor(1,1,1,lx,1,ly);
speqblur = dmatrix(1,1,1,2*lx);
speqconv = dmatrix(1,1,1,2*lx);
speqpop = dmatrix(1,1,1,2*lx);
// Fill population and convolution matrix.
for (i=1; i<=lx; i++) for (j=1; j<=ly; j++)
if (i > lx/2) p = i-1-lx;
else p = i-1;
if (j > ly/2) q = j-1-ly;
else q = j-1;
pop[1][j] = rho_0[i-1][j-1];
conv[1][j] = 0.5*
(erf((p+0.5)/(sqrt(2.0)(SIGMApow(SIGMAFAC,nblurs))))-
erf((p-0.5)/(sqrt(2.0)(SIGMA*pow(SIGMAFAC,nblurs)))))
(erf((q+0.5)/(sqrt(2.0)(SIGMApow(SIGMAFAC,nblurs))))-
erf((q-0.5)/(sqrt(2.0)(SIGMA*pow(SIGMAFAC,nblurs)))))/(lxly);
// Fourier transform.
rlft3(pop,speqpop,1,lx,ly,1);
rlft3(conv,speqconv,1,lx,ly,1);
// Multiply pointwise.
for (i=1; i<=lx; i++)
for (j=1; j<=ly/2; j++)
blur[1][2*j-1] =
pop[1][2j-1]*conv[1][2j-1]-
pop[1][2j]*conv[1][2j];
blur[1][2*j] =
pop[1][2j]*conv[1][2j-1]+
pop[1][2j-1]*conv[1][2j];
for (i=1; i<=lx; i++)
speqblur[1][2*i-1] =
speqpop[1][2i-1]*speqconv[1][2i-1]-
speqpop[1][2i]*speqconv[1][2i];
speqblur[1][2*i] =
speqpop[1][2i]*speqconv[1][2i-1]+
speqpop[1][2i-1]*speqconv[1][2i];
// Backtransform.
rlft3(blur,speqblur,1,lx,ly,-1);
// Write to rho_0.
for (i=1; i<=lx; i++) for (j=1; j<=ly; j++) rho_0[i-1][j-1] = blur[1][j];
free_f3tensor(blur,1,1,1,lx,1,ly);
free_f3tensor(conv,1,1,1,lx,1,ly);
free_f3tensor(pop,1,1,1,lx,1,ly);
free_matrix(speqblur,1,1,1,2*lx);
free_matrix(speqconv,1,1,1,2*lx);
free_matrix(speqpop,1,1,1,2*lx);
// Function to initialize rho_0. The original density is blurred with width
// SIGMA*pow(SIGMAFAC,nblurs).
void initcond(void)
float maxpop;
int i,j;
// Reconstruct population density.
coscosft(rho_0,-1,-1);
// There must not be negative densities.
for (i=0; i<lx; i++) for (j=0; j<ly; j++) if (rho_0[j]<-1e10)
fprintf(stderr,"ERROR: Negative density in DENSITYFILE.\n");
exit(1);
// Perform Gaussian blur.
printf("Gaussian blur ...\n");
gaussianblur();
// Find the mimimum density. If it is very small suggest an increase in
// SIGMA.
minpop = rho_0[0][0];
maxpop = rho_0[0][0];
for (i=0; i<lx; i++) for (j=0; j<ly; j++) if (rho_0[j]<minpop)
minpop = rho_0[j];
for (i=0; i<lx; i++) for (j=0; j<ly; j++) if (rho_0[j]>maxpop)
maxpop = rho_0[j];
if (0<minpop && minpop<1e-8*maxpop)
fprintf(stderr,"Minimimum population very small (%f). Integrator\n",
minpop);
fprintf(stderr,
"will probably converge very slowly. You can speed up the\n");
fprintf(stderr,"process by increasing SIGMA to a value > %f.\n",
SIGMA*pow(SIGMAFAC,nblurs));
// Replace rho_0 by cosine Fourier transform in both variables.
coscosft(rho_0,1,1);
// Function to calculate the velocity field
void calcv(float t)
int j,k;
// Fill rho with Fourier coefficients.
for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
rho[j][k] = exp(-((PIj/lx)*(PI*j/lx)+(PI*k/ly)*(PI*k/ly))*t)rho_0[j][k];
// Calculate the Fourier coefficients for the partial derivative of rho.
// Store temporary results in arrays gridvx, gridvy.
for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
gridvx[j][k] = -(PIj/lx)rho[j][k];
gridvy[j][k] = -(PIk/ly)rho[j][k];
// Replace rho by cosine Fourier backtransform in both variables.
coscosft(rho,-1,-1);
// Replace vx by sine Fourier backtransform in the first and cosine Fourier
// backtransform in the second variable.
sincosft(gridvx,-1,-1);
// Replace vy by cosine Fourier backtransform in the first and sine Fourier
// backtransform in the second variable.
cossinft(gridvy,-1,-1);
// Calculate the velocity field.
for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
gridvx[j][k] = -gridvx[j][k]/rho[j][k];
gridvy[j][k] = -gridvy[j][k]/rho[j][k];
// Function to bilinearly interpolate a two-dimensional array. For higher
// accuracy one could consider higher order interpolation schemes.
float intpol(float **arr,float x,float y)
int gaussx,gaussy;
float deltax,deltay;
// Decompose x and y into an integer part and a decimal.
gaussx = (int)x;
gaussy = (int)y;
deltax = x-gaussx;
deltay = y-gaussy;
// Interpolate.
if (gaussx==lx && gaussy==ly)
return arr[gaussx][gaussy];
if (gaussx==lx)
return (1-deltay)arr[gaussx][gaussy]deltayarr[gaussx][gaussy1];
if (gaussy==ly)
return (1-deltax)arr[gaussx][gaussy]deltaxarr[gaussx1][gaussy];
return (1-deltax)(1-deltay)arr[gaussx][gaussy]+
(1-deltax)deltayarr[gaussx][gaussy1]
deltax(1-deltay)arr[gaussx1][gaussy]
deltaxdeltayarr[gaussx1][gaussy1];
// Function to find the root of the system of equations
// xappr-0.5h*v_x(t+h,xappr,yappr)-x[j][k]-0.5*hvx[j][k]=0,
// yappr-0.5h*v_y(t+h,xappr,yappr)-y[j][k]-0.5*hvy[j][k]=0
// with Newton-Raphson. Returns TRUE after sufficient convergence.
BOOLEAN newt2(float h,float *xappr,float xguess,float *yappr,float yguess,
int j,int k)
float deltax,deltay,dfxdx,dfxdy,dfydx,dfydy,fx,fy;
int gaussx,gaussxplus,gaussy,gaussyplus,i;
// Initial guess.
*xappr = xguess;
*yappr = yguess;
for (i=1; i<=IMAX; i++)
// fx, fy are the left-hand sides of the two equations. Find
// v_x(t+h,xappr,yappr), v_y(t+h,xappr,yappr) by interpolation.
fx = xappr-0.5*h*intpol(gridvx,*xappr,*yappr)-x[j][k]-0.5*hvx[j][k];
fy = yappr-0.5*h*intpol(gridvy,*xappr,*yappr)-y[j][k]-0.5*hvy[j][k];
// Linearly approximate the partial derivatives of fx, fy with a finite
// difference method. More elaborate techniques are possible, but this
// quick and dirty method appears to work reasonably for our purpose.
gaussx = (int)(*xappr);
gaussy = (int)(*yappr);
if (gaussx == lx) gaussxplus = 0;
else gaussxplus = gaussx+1;
if (gaussy == ly) gaussyplus = 0;
else gaussyplus = gaussy+1;
deltax = x[j][k] - gaussx;
deltay = y[j][k] - gaussy;
dfxdx = 1 - 0.5h
((1-deltay)*(gridvx[gaussxplus][gaussy]-gridvx[gaussx][gaussy])+
deltay*(gridvx[gaussxplus][gaussyplus]-gridvx[gaussx][gaussyplus]));
dfxdy = -0.5h
((1-deltax)*(gridvx[gaussx][gaussyplus]-gridvx[gaussx][gaussy])+
deltax*(gridvx[gaussxplus][gaussyplus]-gridvx[gaussxplus][gaussy]));
dfydx = -0.5h
((1-deltay)*(gridvy[gaussxplus][gaussy]-gridvy[gaussx][gaussy])+
deltay*(gridvy[gaussxplus][gaussyplus]-gridvy[gaussx][gaussyplus]));
dfydy = 1 - 0.5h
((1-deltax)*(gridvy[gaussx][gaussyplus]-gridvy[gaussx][gaussy])+
deltax*(gridvy[gaussxplus][gaussyplus]-gridvy[gaussxplus][gaussy]));
// If the current approximation is (xappr,yappr) for the zero of
// (fx(x,y),fy(x,y)) and J is the Jacobian, then we can approximate (in
// vector notation) for |delta|<<1:
// f((xappr,yappr)+delta) = f(xappr,yappr)+J*delta.
// Setting f((xappr,yappr)+delta)=0 we obtain a set of linear equations
// for the correction delta which moves f closer to zero, namely
// J*delta = -f.
// The improved approximation is then x = xappr+delta.
// The process will be iterated until convergence is reached.
if ((fx*fx + fy*fy) < TOLF) return TRUE;
deltax = (fy*dfxdy - fxdfydy)/(dfxdxdfydy - dfxdy*dfydx);
deltay = (fx*dfydx - fydfxdx)/(dfxdxdfydy - dfxdy*dfydx);
if ((deltax*deltax + deltay*deltay) < TOLX) return TRUE;
*xappr += deltax;
*yappr += deltay;
//printf("deltax %f, deltay %f\n",deltax,deltay);
fprintf(stderr,"newt2 failed, increasing sigma to %f.\n",
SIGMA*pow(SIGMAFAC,nblurs));
return FALSE;
// Function to integrate the nonlinear Volterra equation. Returns TRUE after
// the displacement field converged, after MAXINTSTEPS integration steps, or
// if the time exceeds TIMELIMIT.
BOOLEAN nonlinvoltra(void)
BOOLEAN stepsize_ok;
#ifdef DISPLFILE
FILE *displfile = fopen(DISPLFILE);
#endif
float h,maxchange=INFTY,t,vxplus,vyplus,xguess,yguess;
int i,j,k;
do
initcond();
nblurs++;
if (minpop<0.0)
fprintf(stderr,
"Minimum population negative, will increase sigma to %f\n",
SIGMA*pow(SIGMAFAC,nblurs));
while (minpop<0.0);
h = HINITIAL;
t = 0; // Start at time t=0.
// (x[j][k],y[j][k]) is the position for the element that was at position
// (j,k) at time t=0.
for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
x[j][k] = j;
y[j][k] = k;
calcv(0.0);
// (gridvx[j][k],gridvy[j][k]) is the velocity at position (j,k).
// (vx[j][k],vy[j][k]) is the velocity at position (x[j][k],y[j][k]).
// At t=0 they are of course identical.
for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
vx[j][k] = gridvx[j][k];
vy[j][k] = gridvy[j][k];
i = 1; // i counts the integration steps.
// Here is the integrator.
do
stepsize_ok = TRUE;
calcv(t+h);
for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
// First take a naive integration step. The velocity at time t+h for
// the element [j][k] is approximately
// v(th,x[j][k]+hvx[j][k],y[j][k]hvy[j][k]).
// The components, call them vxplus and vyplus, are interpolated from
// gridvx and gridvy.
vxplus = intpol(gridvx,x[j][k]hvx[j][k],y[j][k]hvy[j][k]);
vyplus = intpol(gridvy,x[j][k]hvx[j][k],y[j][k]hvy[j][k]);
// Based on (vx[j][k],vy[j][k]) and (vxplus,vyplus) we expect the
// new position at time t+h to be:
xguess = x[j][k] + 0.5h(vx[j][k]+vxplus);
yguess = y[j][k] + 0.5h(vy[j][k]+vyplus);
// Then we make a better approximation by solving the two nonlinear
// equations:
// xappr[j][k]-0.5hv_x(t+h,xappr[j][k],yappr[j][k])-
// x[j][k]-0.5hvx[j][k]=0,
// yappr[j][k]-0.5hv_y(t+h,xappr[j][k],yappr[j][k])-
// y[j][k]-0.5hvy[j][k]=0
// with Newton-Raphson and (xguess,yguess) as initial guess.
// If newt2 fails to converge, exit nonlinvoltra.
if (!newt2(h,&xappr[j][k],xguess,&yappr[j][k],yguess,j,k))
return FALSE;
// If the integration step was too large reduce the step size.
if ((xguess-xappr[j][k])*(xguess-xappr[j][k])+
(yguess-yappr[j][k])*(yguess-yappr[j][k]) > TOLINT)
if (h<MINH)
fprintf(stderr,
"Time step below %f, increasing SIGMA to %f\n",
h,SIGMA*pow(SIGMAFAC,nblurs));
nblurs++;
return FALSE;
h /= 10;
stepsize_ok = FALSE;
break;
if (!stepsize_ok) continue;
else
t += h;
maxchange = 0.0; // Monitor the maximum change in positions.
for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
if ((x[j][k]-xappr[j][k])*(x[j][k]-xappr[j][k])+
(y[j][k]-yappr[j][k])*(y[j][k]-yappr[j][k]) > maxchange)
maxchange =
(x[j][k]-xappr[j][k])*(x[j][k]-xappr[j][k])+
(y[j][k]-yappr[j][k])*(y[j][k]-yappr[j][k]);
x[j][k] = xappr[j][k];
y[j][k] = yappr[j][k];
vx[j][k] = intpol(gridvx,xappr[j][k],yappr[j][k]);
vy[j][k] = intpol(gridvy,xappr[j][k],yappr[j][k]);
h *= 1.2; // Make the next integration step larger.
if (i%10==0) printf("time %f\n",t);
i++;
} while (i<MAXINTSTEPS && t<TIMELIMIT && maxchange>CONVERGENCE);
if (maxchange>CONVERGENCE)
fprintf(stderr,
"WARNING: Insufficient convergence within %i steps, time %f.\n",
MAXINTSTEPS,TIMELIMIT);
#ifdef DISPLFILE
// Write displacement field to file.
fprintf(displfile,"time %f\nminx %f\nmaxx %f\nminy %f\nmaxy %f\n",
t,minx,maxx,miny,maxy);
fprintf(displfile,"sigma %f\n",SIGMA*pow(SIGMAFAC,nblurs-1));
fprintf(displfile,"background %f\nlx\nly\n\n",0,lx,ly);
for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
fprintf(displfile,"j %i, k %i, x %f, y %f\n",j,k,x[j][k],y[j][k]);
fclose(displfile);
#endif
return TRUE;
// Function to transform points according to displacement field.
POINT transf(POINT p)
float deltax,deltay,den,t,u;
int gaussx,gaussy;
POINT a,b,c,d,ptr;
p.x = (p.x-minx)*lx/(maxx-minx);
p.y = (p.y-miny)*ly/(maxy-miny);
gaussx = (int)p.x;
gaussy = (int)p.y;
if (gaussx<0 || gaussx>lx || gaussy<0 || gaussy>ly)
fprintf(stderr,"ERROR: Coordinate limits exceeded in transf.\n");
exit(1);
deltax = p.x - gaussx;
deltay = p.y - gaussy;
// The transformed point is the intersection of the lines:
// (I) connecting
// (1-deltax)(x,y[gaussx][gaussy])deltax(x,y[gaussx1][gaussy])
// and
// (1-deltax)(x,y[gaussx][gaussy1])+deltax(x,y[gaussx+1][gaussy1])
// (II) connecting
// (1-deltay)(x,y[gaussx][gaussy])deltay(x,y[gaussx][gaussy1])
// and
// (1-deltay)(x,y[gaussx1][gaussy])+deltay(x,y[gaussx+1][gaussy1]).
// Call these four points a, b, c and d.
a.x = (1-deltax)*x[gaussx][gaussy] + deltax*x[gaussx+1][gaussy];
a.y = (1-deltax)*y[gaussx][gaussy] + deltax*y[gaussx+1][gaussy];
b.x = (1-deltax)*x[gaussx][gaussy+1] + deltax*x[gaussx1][gaussy1];
b.y = (1-deltax)*y[gaussx][gaussy+1] + deltax*y[gaussx1][gaussy1];
c.x = (1-deltay)*x[gaussx][gaussy] + deltay*x[gaussx][gaussy+1];
c.y = (1-deltay)*y[gaussx][gaussy] + deltay*y[gaussx][gaussy+1];
d.x = (1-deltay)*x[gaussx+1][gaussy] + deltay*x[gaussx1][gaussy1];
d.y = (1-deltay)*y[gaussx+1][gaussy] + deltay*y[gaussx1][gaussy1];
// Solve the vector equation a+t(b-a) = c+u(d-c) for the scalars t, u.
if (fabs(den=(b.x-a.x)(c.y-d.y)+(a.y-b.y)(c.x-d.x))<1e-12)
fprintf(stderr,"ERROR: Transformed area element has parallel edges.\n");
exit(1);
t = ((c.x-a.x)(c.y-d.y)+(a.y-c.y)(c.x-d.x))/den;
u = ((b.x-a.x)(c.y-a.y)+(a.y-b.y)(c.x-a.x))/den;
if (t<-1e-3|| t>1+1e-3 || u<-1e-3 || u>1+1e-3)
fprintf(stderr,"WARNING: Transformed area element non-convex.\n");
ptr.x = (1-(a.x+t(b.x-a.x))/lx)minx + ((a.x+t(b.x-a.x))/lx)maxx;
ptr.y = (1-(a.y+t(b.y-a.y))/ly)miny + ((a.y+t(b.y-a.y))/ly)maxy;
return ptr;
// Function to read spatial features from user-specified file and map to
// cartogram.
void cartogram(void)
char id[LINELENGTH],line[LINELENGTH];
FILE infile,outfile;
float xcoord,ycoord;
POINT p;
infile = fopen(MAPGENFILE);
outfile = fopen(CARTGENFILE,"w");
while (!readline(line,infile))
if (sscanf(line,"%s %f %f",&id,&xcoord,&ycoord)==3)
p.x = xcoord;
p.y = ycoord;
p = transf(p);
fprintf(outfile,"%s %f %f\n",id,p.x,p.y);
else if (sscanf(line,"%f %f",&xcoord,&ycoord)==2)
p.x = xcoord;
p.y = ycoord;
p = transf(p);
fprintf(outfile,"%f %f\n",p.x,p.y);
else
sscanf(line,"%s",&id);
fprintf(outfile,"%s\n",id);
fclose(infile);
fclose(outfile);
main(void)
BOOLEAN n;
char c;
FILE genfile,psfile = fopen(MAP2PS);
float oldlx,oldly,oldmaxx,oldmaxy,oldminx,oldminy,totarea;
int i,polyctr,regctr;
// Read the polygon coordinates.
if ((genfile = fopen(MAPGENFILE)) == NULL)
fprintf(stderr,"ERROR: Cannot find MAPGENFILE\n");
exit(1);
countpoly(genfile);
fclose(genfile);
genfile = fopen(MAPGENFILE);
countcorn(genfile);
fclose(genfile);
genfile = fopen(MAPGENFILE);
readcorn(genfile);
fclose(genfile);
makeregion();
printf("%i polygon(s), %i region(s)\n",npoly,nregion);
printf("lx=%i, ly=%i\n",lx,ly);
// Calculate total area.
//totarea = 0.0;
//for (regctr=0; regctr<nregion; regctr++)
// printf("region %i has area %f, contains %i polygons\n",regionid[regctr],
// regionarea(nregcorn[regctr],regcorn[regctr]),npolyinreg[regctr]);
// totarea += regionarea(nregcorn[regctr],regcorn[regctr]);
//printf("totarea = %f\n",totarea);
// Make map.
pspicture(psfile);
fclose(psfile);
// Allocate memory for arrays.
gridvx = (float*)malloc((lx+1)*sizeof(float));
gridvy = (float*)malloc((lx+1)*sizeof(float));
rho = (float*)malloc((lx+1)*sizeof(float));
rho_0 = (float*)malloc((lx+1)*sizeof(float));
vx = (float*)malloc((lx+1)*sizeof(float));
vy = (float*)malloc((lx+1)*sizeof(float));
x = (float*)malloc((lx+1)*sizeof(float));
xappr = (float*)malloc((lx+1)*sizeof(float));
y = (float*)malloc((lx+1)*sizeof(float));
yappr = (float*)malloc((lx+1)*sizeof(float));
within = (int*)malloc((lx+1)*sizeof(int));
for (i=0; i<=lx; i++)
gridvx = (float)malloc((ly+1)sizeof(float));
gridvy = (float)malloc((ly+1)sizeof(float));
rho = (float)malloc((ly+1)sizeof(float));
rho_0 = (float)malloc((ly+1)sizeof(float));
vx = (float)malloc((ly+1)sizeof(float));
vy = (float)malloc((ly+1)sizeof(float));
x = (float)malloc((ly+1)sizeof(float));
xappr = (float)malloc((ly+1)sizeof(float));
y = (float)malloc((ly+1)sizeof(float));
yappr = (float)malloc((ly+1)sizeof(float));
within = (int)malloc((ly+1)sizeof(int));
// Digitize the density.
bboxes();
interior();
digdens();
// Solve the diffusion equation.
do n = nonlinvoltra(); while (!n);
// Print cartogram generate file.
cartogram();
// Read the transformed polygon coordinates.
oldlx = lx;
oldly = ly;
oldmaxx = maxx;
oldmaxy = maxy;
oldminx = minx;
oldminy = miny;
genfile = fopen(CARTGENFILE,"r");
countpoly(genfile);
fclose(genfile);
genfile = fopen(CARTGENFILE,"r");
countcorn(genfile);
fclose(genfile);
lx = oldlx;
ly = oldly;
maxx = oldmaxx;
maxy = oldmaxy;
minx = oldminx;
miny = oldminy;
genfile = fopen(CARTGENFILE,"r");
readcorn(genfile);
fclose(genfile);
makeregion();
// Make cartogram
psfile = fopen(CART2PS);
pspicture(psfile);
fclose(psfile);
The part of the code where the bus error occurs is this:
void interior(void)
int i,inhowmanyregions,inregion[2],j,k,l,m,n,regctr;
// Initialize within[][]. -1 means outside all regions.
for (i=0; i<=lx; i++) for (j=0; j<=ly; j++) within[j] = -1;
// Fill within[][].
for (i=0; i<nregion; i++) for (j=0; j<npolyinreg; j++)
for (k=0, n=npolycorn[polyinreg[j]]-1;
k<npolycorn[polyinreg[j]]; n=k++)
for (l=(int)ceil(MIN(polycorn[polyinreg[j]][k-1].y,
polycorn[polyinreg[j]][k].y));
l<MAX(polycorn[polyinreg[j]][k-1].y,
polycorn[polyinreg[j]][k].y); l++)
for (m=(int)floor(bbminx[polyinreg[j]]);
m<(polycorn[polyinreg[j]][n].x-
polycorn[polyinreg[j]][k].x)*
(l-polycorn[polyinreg[j]][k].y)/
(polycorn[polyinreg[j]][n].y-
polycorn[polyinreg[j]][k].y)+
polycorn[polyinreg[j]][k].x;
m++)
within[m][l] = i-within[m][l]-1;
I really have no idea what is going on. Can anyone help?
Thanks,
mooseguyorangekay wrote:
That is absolutely unreadable.
I agree completely. How about also providing a link to a set of input files so that we could actually run the code ourselves? Otherwise, there is no chance to debug the source code, it is just a mess.
You might have better luck with an older version of the file. To quote the comments:
// Modified on March 31, 2005. Initialized maxchange in nonlinvoltra() as
// INFTY. Replaced crnmbr() by a similar, but faster routine interior().
// Many thanks to Stuart Anderson for pointing out this shortcut.
I suspect that the "interior" function is just plain incorrect. It doesn't matter if it runs on some other OS. Something about it is wrong and the code is so cryptic that it can't be deciphered.
Maybe you are looking for
-
I've inherited an old eMac with no install disks
I have inherited an eMac (ATI Graphics) 1GHz Power PC. I don't, however, have any install disks and the HD is wiped. My question is, does anyone know if I can use an eMac install disk from a later eMac design? I see some on Craigslist and/or eBay and
-
Dropped MacBook Display Problem
Hi, I dropped my old MacBook while it was asleep and closed, now the display is messed up. The right third of the display is no longer functional. Roughly half the damaged area is black. The other half consists of vertical lines in various colors, on
-
BusinessObjects Enterprise Premium XI R2 Linux I'm in the process of creating a custom scheduling interface. I understand how to schedule a report with the java SDK, but I'm having a great deal of difficulty retrieving all recurring schedules associa
-
I want to give facility to client to upload photo of patients and upload scanned photo of reports. I want to copy that photo to my folder at run time with name what I wanna give for uniqueness. Please reply. Thanks in advance.
-
IPhone4 sound's not working?
I have owned an iPhone4 for about 3 weeks and the external speaker no longer seems to work. I am unable to play music out loud, my ringtone doesn't ring, my message alert doesn't sound, and all other functions associated with the speakers do not work