Re: Reviewboard segmentation fault
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 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -~--~~~~--~~--~--~---
Re: Reviewboard segmentation fault
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 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 > > On Fri, Feb 27, 2009 at 5:51 AM, Angela wrote: > > > 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 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 > > > > On Thu, Feb 26, 2009 at 8:44 AM, Angela > > wrote: > > > > > 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? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -~--~~~~--~~--~--~---
Re: Reviewboard segmentation fault
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 On Fri, Feb 27, 2009 at 5:51 AM, Angela wrote: > > 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 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 > > > > On Thu, Feb 26, 2009 at 8:44 AM, Angela > wrote: > > > > > 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? > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -~--~~~~--~~--~--~---
Re: Reviewboard segmentation fault
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 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 > > On Thu, Feb 26, 2009 at 8:44 AM, Angela wrote: > > > 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? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -~--~~~~--~~--~--~---
Re: Reviewboard segmentation fault
the response to the dude: 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 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 > > On Thu, Feb 26, 2009 at 8:44 AM, Angela wrote: > > > 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? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -~--~~~~--~~--~--~---
Re: Reviewboard segmentation fault
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 On Thu, Feb 26, 2009 at 8:44 AM, Angela wrote: > > 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? > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -~--~~~~--~~--~--~---
Re: Reviewboard segmentation fault
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. On 27/02/2009, at 3:44 AM, Angela wrote: > > 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? > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -~--~~~~--~~--~--~---