Closed Bug 480068 Opened 15 years ago Closed 15 years ago

Any attachment other thant ".png" & ".txt" crashes bugzilla

Categories

(Bugzilla :: Bugzilla-General, defect)

x86
Windows Server 2003
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: smokhtar, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; GTB5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Build Identifier: Bugzilla  3.2.2

I can attach ".txt", ".png" but all others like ".pdf", ".doc", etc fail

My platform is:

1- Windows server 2003 (with latest MS updates)
2- mysql-5.0.67-win32  (default character set = utf8, fails with any selection.)
3- Bugzilla 3.2.2  (I have set the attachment size to 4M)
4- Apache 2.2


Reproducible: Always

Steps to Reproduce:
1. Add an attchement
2. select the file (a pdf file ~ 1.4M)
3. method for determining the content = "auto-detect"
4- Submit
Actual Results:  
Software error:
DBD::mysql::st execute failed: MySQL server has gone away [for Statement "INSERT INTO attach_data
                         (id, thedata) VALUES (245, ?)" with ParamValues: 0='%PDF-1.5
%Ã~ì.¢
5 0 obj
<</Length 6 0 R/Filter /FlateDecode>>
stream
x.í\Ã~..7r.|.NZ	.,Ã~öÃ~+Ã~ã³åÃ~Ã~.>þ&û5@. Ã~Ã~..Ã~..§»Ã~..mÃ~Ã~..¤Ã~ênV.Ã~3»VÃ~§.b..÷..²H~UE.Ã~ùy§.mv*....þñâ÷.Â~»¿ýïE.w.ü·©ðúo.?_¤Ãæ.
@Ã~.þq÷/¯à .i.Ã~¼úë..Ã~1©±|¦wÃ~§\}Tã..þxñÃþÃ~áè.Q.*ìÃ~;.AÃ~.§ãþ7.5Ã~Q©d÷·.vP*.»¿s0.Â^»ýÃúños.fTÃ~ìïå
\..Ã~ûû.£.|òPï÷?..f.Ã~Â~f.à p´C.:¦ýCÃ~Ã~÷¯«Ã~£¥½Ã~.¤uP=..òÃ~|r.Aù?_ýûÃ~1Ã~ê¨wGm.´{õ.èðû.=.8Ã~ýÃ~¬¡s>Ã~ý3RK·ù:.ÃÃ~.K.¯£Ã~s..@Ã~.Ã~.f8Âa.Ã~i.?_)_.jp(|.¢K®..à ¯þ..¢Ã~Ã~.£q0©Dà Ã~$`&.qpcÃ~..D>.y..o.Ã~þÃ~.|ðC4£µó¸.êi.Z.Ã~Ã~¤`ã<.åóy¬Â~J«½üdÂ¥|.³	.Ã~°.±Ã~½VÃ~§¤üÃ~á..à LÂ~ûÃAi­.Â~l2.®L쳩A. 7K.»....ôÃ~:Cd§1P:W<._.à KÃD³..i¡Ã~¿j.÷Ã~÷aJÃ~þÃ~åãG.AÃ~úW.hg.Ã~iPÃ~5´Ã~¿þãâÃ~7Ã~ãUfèåÃx.¿Ã~h¡t4¦O.ü¡¶qæÃ~lsÃ~0b4Ã~.sDÂ¥0Ã~<.Ã~P9èm.ç.Â~.f.ü#Ã~iÃ~ÃMê.5kv.´ñ^Uç7¤¹Ã~¼.¹.FÃ~Ã~ë.úTÃ~¯;. ã.Gïµ3îpv.ñÃ~...©ì.5Ã~.0­Ã~.Ã~`u}).Rõí.\sf
MÃ~q.ðeI..}uñ..EN..Ã~£Ã~ýXÂ~.Ã~.~¸p~¤Ã~"ðÃ~Ã~..·ì"^Ã~..Ã$±òòÂ?}³û	.Y.Ã~Lz..A.\Z..Ã~ùèw¯.ë⯠N#.Ã~V£Ã~Â¥.A.Ã~n.Hs..|oÂ~Â¥Ã~LÃ4æyÃ~...Â~Â¥0°ð·Ã~.ê@.çs$ÃF..ó0ð \..u.Ã~)Z.J(Ã~)AHÃ~¡Ã~ZgÃ~Ã~«¢÷«.Ã~þR&Ã~."h7Ã~h´Â~.%²..Ã~Ã~Ã.ø¦!Y.'³LZo.Ã~8.oa. ©]Pf0Ã~(=èö2³.ú`.¡}xT.¤¿.§.éD..Â~J..Ã~.!¾VKFì)NÂ~/A|*æ
\o.Ã~Ã~ ù
.Ã~Ã~¼,...'] at Bugzilla/Attachment.pm line 858
	Bugzilla::Attachment::insert_attachment_for_bug('Bugzilla::Attachment', 1, 'Bugzilla::Bug=HASH(0x2877624)', 'Bugzilla::User=HASH(0x2828cbc)', '2009-02-24 18:09:46', 'HASH(0x22a224)') called at C:/PRG/bugzilla/attachment.cgi line 465
	main::insert() called at C:/PRG/bugzilla/attachment.cgi line 119

For help, please send mail to the webmaster (smokhtar@brocade.com), giving this error message and the time and date of the error. 

Software error:
DBD driver has not implemented the AutoCommit attribute at Bugzilla/DB.pm line 982.
END failed--call queue aborted at C:/PRG/bugzilla/attachment.cgi line 858.



Expected Results:  
Should have attcahed my file and continue on.
Your MySQL is crashing, which is not related to Bugzilla's code. Also:

> DBD driver has not implemented the AutoCommit attribute at Bugzilla/DB.pm line
982.

That means that you have a bad DBD driver or the like installed. This is probably a support question, which you can ask here on the support-bugzilla mailing list:

  http://www.bugzilla.org/support/
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
Summary: Any attachement other thant ".png" & ".txt" crashes bugzilla → Any attachment other thant ".png" & ".txt" crashes bugzilla
You need to log in before you can comment on or make changes to this bug.