10-24-2011 11:43 AM
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb7dd5120, pid=13764, tid=2134440848
#
# JRE version: 6.0_27-b07
# Java VM: Java HotSpot(TM) Server VM (20.2-b06 mixed mode linux-x86 )
# Problematic frame:
# C [libc.so.6+0x69120] _int_free+0x250
#
# An error report file with more information is saved as:
# /opt/alfresco/hs_err_pid13764.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
$ ls ./tomcat/webapps/alfresco/WEB-INF/lib/*box*
./tomcat/webapps/alfresco/WEB-INF/lib/fontbox-1.6.0.jar ./tomcat/webapps/alfresco/WEB-INF/lib/pdfbox-1.6.0.jar
$ top -bn1
top - 08:42:10 up 21:21, 1 user, load average: 0.01, 0.25, 0.94
Tasks: 25 total, 1 running, 24 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.7%us, 6.7%sy, 0.0%ni, 92.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2097152k total, 1423856k used, 673296k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 18 0 2156 668 572 S 0.0 0.0 0:04.71 init
1108 root 21 -4 2248 552 344 S 0.0 0.0 0:00.00 udevd
1429 named 18 0 110m 4780 2044 S 0.0 0.2 0:00.60 named
1465 root 15 0 7212 1048 656 S 0.0 0.0 0:00.03 sshd
1474 root 25 0 2832 872 700 S 0.0 0.0 0:00.00 xinetd
1720 root 15 0 6964 1772 1408 S 0.0 0.1 0:00.53 master
1727 postfix 15 0 7204 1900 1472 S 0.0 0.1 0:00.27 qmgr
1731 root 18 0 34536 15m 9096 S 0.0 0.7 0:00.99 httpd
1739 root 15 0 3332 1108 572 S 0.0 0.1 0:00.02 crond
1747 root 18 0 5696 708 432 S 0.0 0.0 0:00.00 saslauthd
1748 root 19 0 5696 428 152 S 0.0 0.0 0:00.00 saslauthd
3183 root 15 0 9796 2576 2104 S 0.0 0.1 0:00.04 sshd
3187 aurea 15 0 9956 1396 876 S 0.0 0.1 0:00.22 sshd
3188 aurea 15 0 2680 1448 1144 S 0.0 0.1 0:00.08 bash
11600 aurea 15 0 179m 58m 45m S 0.0 2.9 0:00.80 soffice.bin
11674 apache 15 0 34672 9228 2556 S 0.0 0.4 0:00.26 httpd
11834 aurea 18 0 2496 1096 924 S 0.0 0.1 0:00.00 mysqld_safe
11947 aurea 16 0 119m 25m 4976 S 0.0 1.3 0:21.70 mysqld.bin
14284 aurea 21 0 1011m 505m 8372 S 0.0 24.7 2:21.91 java
15481 apache 18 0 34672 8968 2308 S 0.0 0.4 0:00.03 httpd
15483 apache 17 0 34672 8980 2316 S 0.0 0.4 0:00.03 httpd
15490 apache 15 0 34672 8724 2080 S 0.0 0.4 0:00.00 httpd
15495 apache 15 0 34672 8724 2088 S 0.0 0.4 0:00.00 httpd
15525 postfix 15 0 7028 1732 1388 S 0.0 0.1 0:00.00 pickup
15549 aurea 15 0 2284 908 724 R 0.0 0.0 0:00.00 top
10-27-2011 07:49 PM
09-07-2012 07:41 AM
private BasicStroke autoAdjustStrokeWidth(Graphics2D g, BasicStroke bs) {
AffineTransform bt = new AffineTransform(g.getTransform());
float width = bs.getLineWidth() * (float) bt.getScaleX();
BasicStroke stroke = bs;
if (width < 1f) {
if (bt.getScaleX() > 0.01) {
width = 1.0f / (float) bt.getScaleX();
} else {
// prevent division by a really small number
width = 1.0f;
}
}
stroke = new BasicStroke(width,
bs.getEndCap(),
bs.getLineJoin(),
bs.getMiterLimit(),
getDashArray(bs),
bs.getDashPhase());
return stroke;
}
private float[] getDashArray(BasicStroke bs) {
float[] dashArray = bs.getDashArray();
if (dashArray != null) {
int arrayLength = dashArray.length;
float dash;
for (int i = 0; i<arrayLength; i++) {
dash = dashArray[i];
if (dash == 1.0E-5f) {
dashArray[i] = 0.01f;
}
}
}
return dashArray;
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.