On Mon, 26 Nov 2007, Bill Janssen wrote:

Now that JCC PyLucene has put my Python app in bed with the devil
(Apple's JVM), I'm getting crashes again.

What are the VM flags you're using in your initVM() call, if any ?
Based on what your app's requirements are you might need more VM heap or stack space, for example. If you can reproduce the crash, filing a bug with code reproducing the problem can help too.

Andi..


So, this is OS X 10.5.0, System Java 1.5, System Python 2.5:

Process:         Python [11173]
Path:            
/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
Identifier:      Python
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [1]

Date/Time:       2007-11-26 14:01:46.798 -0800
OS Version:      Mac OS X 10.5 (9A581)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  9

Thread 0:
0   libSystem.B.dylib                   0x96b83f5a select$DARWIN_EXTSN + 10
1   org.python.python                   0x0018d826 PyEval_EvalFrameEx + 17116
2   org.python.python                   0x0018f47b PyEval_EvalCodeEx + 1638
3   org.python.python                   0x0018daa5 PyEval_EvalFrameEx + 17755
4   org.python.python                   0x0018f47b PyEval_EvalCodeEx + 1638
5   org.python.python                   0x0018daa5 PyEval_EvalFrameEx + 17755
6   org.python.python                   0x0018f47b PyEval_EvalCodeEx + 1638
7   org.python.python                   0x0018f568 PyEval_EvalCode + 87
8   org.python.python                   0x001a6a0c PyErr_Display + 1896
9   org.python.python                   0x001a726b PyRun_StringFlags + 108
10  org.python.python                   0x001a8d06 PyRun_SimpleStringFlags + 78
11  org.python.python                   0x001b3951 Py_Main + 2373
12  org.python.pythonapp                0x00001fca 0x1000 + 4042

Thread 1:
0   libSystem.B.dylib                   0x96b348e6 mach_msg_trap + 10
1   libSystem.B.dylib                   0x96b3c0dc mach_msg + 72
2   libSystem.B.dylib                   0x96ba9843 mach_msg_server + 491
3   libjvm.dylib                        0x0152eed5 0x1520000 + 61141
4   libjvm.dylib                        0x0152ec95 0x1520000 + 60565
5   libjvm.dylib                        0x017e4cc5 JVM_RaiseSignal + 441189
6   libSystem.B.dylib                   0x96bb08cb _pthread_body + 27

Thread 2:
0   libSystem.B.dylib                   0x96b348e6 mach_msg_trap + 10
1   libSystem.B.dylib                   0x96b3c0dc mach_msg + 72
2   libjvm.dylib                        0x01638563 0x1520000 + 1148259
3   libjvm.dylib                        0x016383fc 0x1520000 + 1147900
4   libjvm.dylib                        0x0157d1ed 0x1520000 + 381421
5   libjvm.dylib                        0x0157cd57 0x1520000 + 380247
6   libjvm.dylib                        0x017e4cc5 JVM_RaiseSignal + 441189
7   libSystem.B.dylib                   0x96bb08cb _pthread_body + 27

Thread 3:
0   libSystem.B.dylib                   0x96b348e6 mach_msg_trap + 10
1   libSystem.B.dylib                   0x96b3c0dc mach_msg + 72
2   libjvm.dylib                        0x0163861a 0x1520000 + 1148442
3   libjvm.dylib                        0x0157e28a 0x1520000 + 385674
4   libjvm.dylib                        0x0157d875 0x1520000 + 383093
5   libjvm.dylib                        0x0175f201 JVM_MonitorWait + 465
6   ???                                 0x03d859b1 0 + 64510385
7   ???                                 0x03d7f9d3 0 + 64485843
8   ???                                 0x03d7f9d3 0 + 64485843
9   ???                                 0x03d7d227 0 + 64475687
10  libjvm.dylib                        0x0163963a 0x1520000 + 1152570
11  libjvm.dylib                        0x0157d763 0x1520000 + 382819
12  libjvm.dylib                        0x0157d655 0x1520000 + 382549
13  libjvm.dylib                        0x0157d595 0x1520000 + 382357
14  libjvm.dylib                        0x0157d4b8 0x1520000 + 382136
15  libjvm.dylib                        0x017e4cc5 JVM_RaiseSignal + 441189
16  libSystem.B.dylib                   0x96bb08cb _pthread_body + 27

Thread 4:
0   libSystem.B.dylib                   0x96b348e6 mach_msg_trap + 10
1   libSystem.B.dylib                   0x96b3c0dc mach_msg + 72
2   libjvm.dylib                        0x0163861a 0x1520000 + 1148442
3   libjvm.dylib                        0x0157e28a 0x1520000 + 385674
4   libjvm.dylib                        0x0157d875 0x1520000 + 383093
5   libjvm.dylib                        0x0175f201 JVM_MonitorWait + 465
6   ???                                 0x03d859b1 0 + 64510385
7   ???                                 0x03d7f9d3 0 + 64485843
8   ???                                 0x03d7faaa 0 + 64486058
9   ???                                 0x03d7faaa 0 + 64486058
10  ???                                 0x03d7d227 0 + 64475687
11  libjvm.dylib                        0x0163963a 0x1520000 + 1152570
12  libjvm.dylib                        0x0157d763 0x1520000 + 382819
13  libjvm.dylib                        0x0157d655 0x1520000 + 382549
14  libjvm.dylib                        0x0157d595 0x1520000 + 382357
15  libjvm.dylib                        0x0157d4b8 0x1520000 + 382136
16  libjvm.dylib                        0x017e4cc5 JVM_RaiseSignal + 441189
17  libSystem.B.dylib                   0x96bb08cb _pthread_body + 27

Thread 5:
0   libSystem.B.dylib                   0x96b34922 semaphore_wait_trap + 10
1   libjvm.dylib                        0x0157e9ae 0x1520000 + 387502
2   libjvm.dylib                        0x0157e695 0x1520000 + 386709
3   libjvm.dylib                        0x0157d4b8 0x1520000 + 382136
4   libjvm.dylib                        0x017e4cc5 JVM_RaiseSignal + 441189
5   libSystem.B.dylib                   0x96bb08cb _pthread_body + 27

Thread 6:
0   libSystem.B.dylib                   0x96b348e6 mach_msg_trap + 10
1   libSystem.B.dylib                   0x96b3c0dc mach_msg + 72
2   libjvm.dylib                        0x0163861a 0x1520000 + 1148442
3   libjvm.dylib                        0x016382b9 0x1520000 + 1147577
4   libjvm.dylib                        0x0157efdb 0x1520000 + 389083
5   libjvm.dylib                        0x0157ecb8 0x1520000 + 388280
6   libjvm.dylib                        0x0157d4b8 0x1520000 + 382136
7   libjvm.dylib                        0x017e4cc5 JVM_RaiseSignal + 441189
8   libSystem.B.dylib                   0x96bb08cb _pthread_body + 27

Thread 7:
0   libSystem.B.dylib                   0x96b348e6 mach_msg_trap + 10
1   libSystem.B.dylib                   0x96b3c0dc mach_msg + 72
2   libjvm.dylib                        0x0163861a 0x1520000 + 1148442
3   libjvm.dylib                        0x016383fc 0x1520000 + 1147900
4   libjvm.dylib                        0x0157f0f0 0x1520000 + 389360
5   libjvm.dylib                        0x0157d4b8 0x1520000 + 382136
6   libjvm.dylib                        0x017e4cc5 JVM_RaiseSignal + 441189
7   libSystem.B.dylib                   0x96bb08cb _pthread_body + 27

Thread 8:
0   libSystem.B.dylib                   0x96b348e6 mach_msg_trap + 10
1   libSystem.B.dylib                   0x96b3c0dc mach_msg + 72
2   libjvm.dylib                        0x01638563 0x1520000 + 1148259
3   libjvm.dylib                        0x0157f90f 0x1520000 + 391439
4   libjvm.dylib                        0x0157f45a 0x1520000 + 390234
5   libjvm.dylib                        0x017e4cc5 JVM_RaiseSignal + 441189
6   libSystem.B.dylib                   0x96bb08cb _pthread_body + 27

Thread 9 Crashed:
0   _lucene.so                          0x01001c6a JCCEnv::newObject(_jclass* 
(*)(), _jmethodID***, int, ...) + 64
1   _lucene.so                          0x0106a795 
org::apache::lucene::analysis::standard::StandardAnalyzer::StandardAnalyzer() + 
65
2   _lucene.so                          0x0117bfaf 
org::apache::lucene::analysis::standard::t_StandardAnalyzer_init_(org::apache::lucene::analysis::standard::t_StandardAnalyzer*,
 _object*, _object*) + 89
3   org.python.python                   0x0015cc06 PyType_IsSubtype + 1288
4   org.python.python                   0x0011fd5d PyObject_Call + 50
5   org.python.python                   0x0018db3a PyEval_EvalFrameEx + 17904
6   org.python.python                   0x0018f47b PyEval_EvalCodeEx + 1638
7   org.python.python                   0x00139c47 PyFunction_SetClosure + 2646
8   org.python.python                   0x0011fd5d PyObject_Call + 50
9   org.python.python                   0x00128618 PyMethod_New + 2457
10  org.python.python                   0x0011fd5d PyObject_Call + 50
11  org.python.python                   0x00188b35 
PyEval_CallObjectWithKeywords + 211
12  org.python.python                   0x0012484d PyInstance_New + 305
13  org.python.python                   0x0011fd5d PyObject_Call + 50
14  org.python.python                   0x0018db3a PyEval_EvalFrameEx + 17904
15  org.python.python                   0x0018da08 PyEval_EvalFrameEx + 17598
16  org.python.python                   0x0018da08 PyEval_EvalFrameEx + 17598
17  org.python.python                   0x0018da08 PyEval_EvalFrameEx + 17598
18  org.python.python                   0x0018f47b PyEval_EvalCodeEx + 1638
19  org.python.python                   0x00139c47 PyFunction_SetClosure + 2646
20  org.python.python                   0x0011fd5d PyObject_Call + 50
21  org.python.python                   0x00188b35 
PyEval_CallObjectWithKeywords + 211
22  org.python.python                   0x001b5a4d _PyObject_GC_UnTrack + 1815
23  libSystem.B.dylib                   0x96b65075 _pthread_start + 321
24  libSystem.B.dylib                   0x96b64f32 thread_start + 34

Thread 9 crashed with X86 Thread State (32-bit):
 eax: 0x00000000  ebx: 0x01001c3b  ecx: 0x0060e838  edx: 0x003716d0
 edi: 0xb0487ec0  esi: 0x0060ecf5  ebp: 0xb0487ea8  esp: 0xb0487e60
  ss: 0x0000001f  efl: 0x00010202  eip: 0x01001c6a   cs: 0x00000017
  ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
 cr2: 0x00000000

_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to