[issue1715] hg serve fails on Mac os X

Jose Luis Hidalgo Valiño mercurial-bugs at selenic.com
Tue Jun 30 16:02:48 UTC 2009


New submission from Jose Luis Hidalgo Valiño <pplux at pplux.com>:

hg serve fails on Mac os X with a "bus error"

Mac os X: 10.5.7
Python: 2.6 (compiled through macports)
hg: 1.2.1 (compiled through macports)

To reproduce it: hg serve (whatever hg repository)

using gdb, but having python with no debbug info, this is what I get:

(gdb) r /opt/local/bin/hg serve
Starting program: 
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app
/Contents/MacOS/Python /opt/local/bin/hg serve
127.0.0.1 - - [30/Jun/2009 17:58:20] "GET / HTTP/1.1" 200 -

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0xb0082ffc
[Switching to process 66171 thread 0x2203]
0x0022d381 in PyObject_Malloc ()

(gdb) bt
#0  0x0022d381 in PyObject_Malloc ()
#1  0x002cccc7 in _PyObject_GC_Malloc ()
#2  0x002ccd99 in _PyObject_GC_NewVar ()
#3  0x00211002 in PyFrame_New ()
#4  0x00293784 in PyEval_EvalCodeEx ()
#5  0x002921f6 in PyEval_EvalFrameEx ()
#6  0x00293f4d in PyEval_EvalCodeEx ()
#7  0x002921f6 in PyEval_EvalFrameEx ()
#8  0x00293f4d in PyEval_EvalCodeEx ()
#9  0x002921f6 in PyEval_EvalFrameEx ()
...
#1472 0x00292df9 in PyEval_EvalFrameEx ()
#1473 0x00293f4d in PyEval_EvalCodeEx ()
#1474 0x00212206 in function_call ()
#1475 0x001e1a25 in PyObject_Call ()
#1476 0x001f3806 in instancemethod_call ()
#1477 0x001e1a25 in PyObject_Call ()
#1478 0x0028ff21 in PyEval_EvalFrameEx ()
#1479 0x00293f4d in PyEval_EvalCodeEx ()
#1480 0x00212206 in function_call ()
#1481 0x001e1a25 in PyObject_Call ()
#1482 0x001f3806 in instancemethod_call ()
#1483 0x001e1a25 in PyObject_Call ()
#1484 0x00247a67 in slot_tp_init ()
#1485 0x00246490 in type_call ()
#1486 0x001e1a25 in PyObject_Call ()
#1487 0x00290abe in PyEval_EvalFrameEx ()
#1488 0x00292df9 in PyEval_EvalFrameEx ()
#1489 0x00293f4d in PyEval_EvalCodeEx ()
#1490 0x00212206 in function_call ()
#1491 0x001e1a25 in PyObject_Call ()
#1492 0x0028ff21 in PyEval_EvalFrameEx ()
#1493 0x00292df9 in PyEval_EvalFrameEx ()
#1494 0x00292df9 in PyEval_EvalFrameEx ()
#1495 0x00293f4d in PyEval_EvalCodeEx ()
#1496 0x00212206 in function_call ()
#1497 0x001e1a25 in PyObject_Call ()
#1498 0x001f3806 in instancemethod_call ()
#1499 0x001e1a25 in PyObject_Call ()
#1500 0x0028c5ce in PyEval_CallObjectWithKeywords ()
#1501 0x002cd70f in t_bootstrap ()
#1502 0x935d2155 in _pthread_start ()
#1503 0x935d2012 in thread_start ()

----------
messages: 9826
nosy: pplux
priority: critical
status: unread
title: hg serve fails on Mac os X

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://mercurial.selenic.com/bts/issue1715>
____________________________________________________



More information about the Mercurial-devel mailing list