Reviewboard segmentation fault

93 views
Skip to first unread message

Angela

unread,
Feb 26, 2009, 11:44:05 AM2/26/09
to reviewboard
On my reviewboard setup, post-review is throwing a
httplib.BadStatusLine. After some digging, I discovered the failing
url. Whenever I access the url http://[our-install-url]/api/json/repositories/1/info/,
I get back an empty page. Looking in our apache logs, I see a
segementation fault after each access:
' [notice] child pid 4596 exit signal Segmentation fault (11)'

I am completely new at reviewboard and django, so I'm having trouble
finding any additional information/logging. We are using a SVN
repository, with sqlite, and file based caching. I also tried with
mysql and memcached to the same ends. Any insights to what process
may be segfaulting?

Lester Cheung

unread,
Feb 26, 2009, 4:48:16 PM2/26/09
to revie...@googlegroups.com, reviewboard
Hi Angela,

While I don't have a solution for you I find turning on debug in
django (in conf/) and turning on logging from RB's admin page helps
troubleshootinga lot.

Good luck.

Sent from my phone - please excuse any typo.

Christian Hammond

unread,
Feb 26, 2009, 5:50:14 PM2/26/09
to revie...@googlegroups.com
Ooh, that's pretty scary. Our stuff should definitely not be able to crash. It sounds like Apache or mod_python is the issue here. What distro is this?

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com
Message has been deleted

Angela

unread,
Feb 27, 2009, 8:51:33 AM2/27/09
to reviewboard
Thanks Lester and Christian. I enabled debugging and logging, but it
doesn't seem to spit out anything terribly useful (no errors,
exceptions or stacktraces).

This is on CentOS 4.5. Most everything I have installed is compiled
from source, so I wouldn't be surprised at something being amiss or
misconfigured. I just tried bringing up all relevant software up to
the latest versions, but to no help to ReviewBoard.
Apache 2.211
SVN 1.5.6
mod_python 3.3.1
Python 2.6.1
PySvn 1.6.3
Django 1.0.2
...etc...

Is there anywhere I could drop some debug statements or maybe a way to
figure out what is seg faulting? Many of the other JSON API calls
seem to work just fine, but get_repository_info seems to cause some
issues....


On Feb 26, 5:50 pm, Christian Hammond <chip...@chipx86.com> wrote:
> Ooh, that's pretty scary. Our stuff should definitely not be able to crash.
> It sounds like Apache or mod_python is the issue here. What distro is this?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.review-board.org
> VMware, Inc. -http://www.vmware.com

Christian Hammond

unread,
Feb 28, 2009, 6:52:10 PM2/28/09
to revie...@googlegroups.com
If it's crashing with a call to get_repository_info, this sounds like it's either PySVN or libsvn causing the problems. I'd investigate those first.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


Angela

unread,
Mar 1, 2009, 6:32:34 PM3/1/09
to reviewboard
After some digging, I traced the call back to pysvn.info2(url). On
our install, pysvn.info2 will work fine for any local path, but urls
cause an instant seg fault. I verified this was the problem by
temporariliy switching the 'Path' in the Reviewboard admin to a local
path, and get_repository_info went through cleanly. I've tried all
kinds of configurations of pysvn and subversion, but it always ends up
with pysvn.info2 segfaulting. I will keep an eye out for a solution
but I think it's safe to say this is not Reviewboard's issue. Thanks
for the help and I'll let you know if I ever get it working.

On Feb 28, 6:52 pm, Christian Hammond <chip...@chipx86.com> wrote:
> If it's crashing with a call to get_repository_info, this sounds like it's
> either PySVN or libsvn causing the problems. I'd investigate those first.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.review-board.org
> VMware, Inc. -http://www.vmware.com
>

njha...@gmail.com

unread,
Mar 6, 2009, 11:53:00 PM3/6/09
to reviewboard
I have this or similar error. On Centos, python 2.5.1 from source,
pysvn 1.6.2 which doesn't support the svn 1.5.5 I have installed. But
there is a 1.6.3 release that does. Which, frustratingly, it does not
compile. I get this error which sounds vaguely Python 3.0ish

pysvn.hpp:774: error: âBytesâ in namespace âPyâ does not name a type

Reply all
Reply to author
Forward
0 new messages