Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#357 closed defect (duplicate)

Unable to see details for my builds

Reported by: anonymous Owned by: cmlenz
Priority: critical Milestone: 0.6
Component: Trac plugin Version: dev
Keywords: Cc:
Operating System: Linux

Description (last modified by dfraser)

Environment :

  • Bitten-0.6dev_r567
  • Trac 0.11.2.1
  • Python 2.5.2 (Ubuntu 8.10)
  • SVN 1.5.1 (Ubuntu 8.10)

I have a recipe doing a build for a project with more 1000+ lines of code. The build is successful, and I can get to the http://.../build/trunk URL to see the Success and all the green lines associated. But, whenever I try to click on one of those green lines to have more details (ie, to get to http://.../build/trunk/9), the page loading fails. I get to a blank page, with the http server sending a FIN.

I investigated by looking at my apache error logs and I can see :

apache2: /build/buildd/subversion-1.5.1dfsg1/subversion/libsvn_subr/path.c:120: svn_path_join: Assertion `is_canonical(component, clen)' failed.
[Thu Feb 12 20:17:37 2009] [notice] child pid 10197 exit signal Aborted (6)

PS : it doesn't appear when I do recipes for samples with ~100 lines of code compiled.

Maybe it's a SVN bug, I'm no expert at subversion, but I wonder if anyone had that symptom before, and maybe found a workaround (as Ubuntu is quite a popular distro). I tried with a freshly compiled subversion-1.5.5 and had the same symptom. Cannot try with a < 1.5 version, it would break to many dependancies.

Thanks for any help !

(Marked as duplicate or #206)

Attachments (0)

Change History (4)

comment:1 Changed 15 years ago by anonymous

Mmm... During the investigation of that point, I recompiled subversion 1.5.5 from sources. It appears that the default subversion shipped with Ubuntu 8.10 is compiled with DEBUG extensions, and in this case the error above is given in an "assert". To get rid of it, I had to

$ CFLAGS="-D NDEBUG" ./configure 
$ make
$ cp subversion/libsvn_subr/.libs/libsvn_subr-1.so /usr/lib/libsvn_subr-1.so.1.0.0

And the above error vanished, and I could see build details back.

comment:2 Changed 15 years ago by dfraser

It sounds like it's checking whether the path passed to subversion is canonical or not.

It seems the most likely code is in web_ui.py line 453:

repos = self.env.get_repository(req.authname)
chgset = repos.get_changeset(build.rev)
data['build']['chgset_author'] = chgset.author

What's strange is that this was only happening when viewing the actual build...

Given that you were able to recompile subversion, I'm taking you're fairly technical - could you:

  • Try and replace the above lines with data['build']['chgset_author'] = 'Nicholas Boubaki' and see if you still get the error (with the original subversion)
  • If so, try and work out from the subversion code what exactly we're calling in subversion that's causing the problem...

comment:3 Changed 15 years ago by anonymous

duplicate of #206

comment:4 Changed 15 years ago by dfraser

  • Description modified (diff)
  • Resolution set to duplicate
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.