[cvsnt] Exception in email_trigger cvsnt 2.5.01 build 2025

Gill Ernst Ernst.Gill at sat-automation.com
Wed Aug 17 10:12:30 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi,

I recently try to use the email feature of CVSNT.

After a commit following exception happens:

09:56:13: S -> Call pre-loaded 'email_trigger'
09:56:13: S -> email_trigger: parse_emailinfo(CVSROOT/commit_email,crc32)
09:56:13: S -> Regexp match: crc32 - crc32
09:56:13: S -> Match found!
09:56:13: S -> Call pre-loaded 'script_trigger'
09:56:13: S -> fileattr_write()
09:56:13: S -> fileattr_free()
09:56:13: S -> rename(CVS/Entries.Backup,CVS/Entries)
09:56:13: S -> wnt_rename(CVS/Entries.Backup,CVS/Entries)
09:56:13: S -> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
09:56:13: S -> wnt_rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
09:56:13: S -> unlink_file(CVS/Entries.Log)
09:56:13: S -> unlink_file(CVS/Entries.Extra.Log)
09:56:13: S -> close_directory()
09:56:13: S -> run postcommand proc server
09:56:13: S -> run_trigger()
09:56:13: S -> Call pre-loaded 'audit_trigger'
09:56:13: S -> postcommand_proc()
09:56:13: S -> Call pre-loaded 'default_trigger'
09:56:13: S -> postcommand_proc()
09:56:13: S -> default_trigger: parse_info(CVSROOT/postcommit,%r/%p,,crc32)
09:56:13: S -> default_trigger: no file
09:56:13: S -> default_trigger: parse_info(CVSROOT/postcommand,%r/%p %c,,crc32)
09:56:13: S -> Call pre-loaded 'email_trigger'
09:56:13: S -> postcommand_proc()
09:56:13: S -> email_trigger: map_username(vie_gill)
09:56:13: S -> Exception caught - in minidumper
09:56:43: S -> send=1
09:56:43: S -> Dumping to C:\Programs\CVSNT-SAT\temp\cvsnt-2.5.01.2025-vcl134-4d
04302ed9546f8-small.dmp
09:56:43: S -> Start dump
09:56:45: S -> Dump succeeded.  Zipping to C:\Programs\CVSNT-SAT\temp\cvsnt-2.5.
01.2025-vcl134-4d04302ed9546f8-small.dmp.gz
09:56:45: S -> copy_and_zip(C:\Programs\CVSNT-SAT\temp\cvsnt-2.5.01.2025-vcl134-
4d04302ed9546f8-small.dmp,C:\Programs\CVSNT-SAT\temp\cvsnt-2.5.01.2025-vcl134-4d
04302ed9546f8-small.dmp.gz)
09:56:45: S -> wnt_fstat(5)
09:56:45: S -> _statcore(000002c4,(null))
09:56:45: S -> Using file handle to retrieve information
09:56:45: S -> File attributes = 00000020
09:56:45: S ->  - read/write file
09:56:45: S -> GetUnixFileModeNtEA(?g°w,FFFFFFFF) returns 0000
09:56:45: S -> unlink_file(C:\Programs\CVSNT-SAT\temp\cvsnt-2.5.01.2025-vcl134-4
d04302ed9546f8-small.dmp.gz)
09:56:45: S -> wnt_chmod(C:\Programs\CVSNT-SAT\temp\cvsnt-2.5.01.2025-vcl134-4d0
4302ed9546f8-small.dmp.gz,100666)
09:56:45: S -> SetUnixFileModeNtEA(C,100666)
09:56:45: S -> SendFileToCvsnt(C:\Programs\CVSNT-SAT\temp\cvsnt-2.5.01.2025-vcl1
34-4d04302ed9546f8-small.dmp.gz,cvsnt-2.5.01.2025-vcl134-4d04302ed9546f8-small)
09:56:45: S -> Crashdump file size is 8406
09:56:58: S -> Actual written bytes: 8406
cvs [commit aborted]: end of file from server (consult above messages if any)

I dont know if the minidump is really send to CVSNT, because my firewall my have
blocked it.

I found that happens if the line in users file looks like:
vie_gill:"Ernst Gill <ernst.gill at sat-automation.com>"
or
vie_gill:<ernst.gill at sat-automation.com>

If I change the line to:
vie_gill:ernst.gill at sat-automation.com
Then it is not crashing anymore.
But the username mapping seems to be wrong, because the mail is send to:
vie_gill at sat-automation.com
So what is the correct definition for the entries in the users file ?

Someting is wrong either in your documentaion or in your commit template:
In the doc you mentioned [server_hostname] but in your template just [hostname].
So what's correct ?
It seems you are using both definitions, but not all are documented.


	Ernst


Ernst Gill

VA TECH SAT GmbH & Co
Ruthnergasse 1
A-1210 Wien, Austria

Phone: (+43/1) 29129 4338
Fax: (+43/1) 29 28 838 or (+43/1) 29129 4649
e-mail: ernst.gill at sat-automation.com
Internet: http://www.sat-automation.com




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook