Bug 72176 - konqueror crashes with mouse over AVI file
Summary: konqueror crashes with mouse over AVI file
Status: RESOLVED FIXED
Alias: None
Product: kfile-plugins
Classification: Applications
Component: avi (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
: 62187 72177 80810 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-08 19:31 UTC by Jens
Modified: 2005-01-29 00:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crashing avi file (354 bytes, application/octet-stream)
2004-02-01 08:35 UTC, Brad Hards
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2004-01-08 19:31:02 UTC
Version:           3.1.94 (using KDE 3.1.94 (CVS >= 20031206),  (testing/unstable))
Compiler:          gcc version 3.3.3 20031229 (prerelease) (Debian)
OS:          Linux (i686) release 2.6.1rc1mm1-jb-k7

When (in Icon View) I go with the mouse over this AVI file:

begin 775 CD1 MVCD.avi
M4DE&1@0```!!5DD@3$E35$(!``!H9')L879I:#@`````````````````````
M`````````````````````````````````````````````````````````$Q)
M4U1\````<W1R;'-T<FA`````=FED<T18-3``````````````````````````
M``````````````````````````````````````"``@``\````'-T<F8H````
M*````(`"``#P`````0`8`$18-3``(!P``````````````````````$Q)4U1R
M````<W1R;'-T<FA`````875D<P``````````````````````````````````
M`````````````````````````````````````````````'-T<F8>````50`"
G`$2L``"`/@```0````P``0``````H0$!````3$E35`0```!M;W9I
`
end


Konqueror crashes. Always. It doesn't display a preview either (oK, that's understandable, because this is probably not a valid AVI file). But methinks it shouldn't "just crash".


Thanks for looking into this,

Jens
Comment 1 George Staikos 2004-01-08 19:32:41 UTC
*** Bug 72177 has been marked as a duplicate of this bug. ***
Comment 2 George Staikos 2004-01-08 19:35:48 UTC
please attach the file with the standard bugs.kde.org attachment function.  I can't decode your file.
Comment 3 Jens 2004-01-15 00:46:14 UTC
Subject: Re:  konqueror crashes with mouse over AVI file

On Thu, Jan 08, 2004 at 06:35:49PM -0000, George Staikos wrote:

> please attach the file with the standard bugs.kde.org attachment
> function.  I can't decode your file.

it's uuencoded.


Comment 4 Brad Hards 2004-02-01 08:35:19 UTC
Created attachment 4464 [details]
crashing avi file

This is the attachment that the original poster inlined. Oh, and it does cause
the crash.
Comment 5 Brad Hards 2004-02-01 08:37:55 UTC
*** Bug 62187 has been marked as a duplicate of this bug. ***
Comment 6 Brad Hards 2004-02-01 08:39:02 UTC
There is a marginal looking backtrace in 62187.
Comment 7 Brad Hards 2004-02-01 09:41:26 UTC
Subject: kdemultimedia/kfile-plugins/avi

CVS commit by bhards: 

The old "divide by zero" flaw strikes again.

This is a 3.2 backport candidate (given that it causes a crash).

CCMAIL: 72176-done@bugs.kde.org


  M +3 -1      kfile_avi.cpp   1.17


--- kdemultimedia/kfile-plugins/avi/kfile_avi.cpp  #1.16:1.17
@@ -509,5 +509,7 @@ bool KAviPlugin::readInfo( KFileMetaInfo
         KFileMetaInfoGroup group = appendGroup(info, "Technical");
 
+        if (0 != avih_microsecperframe) {
         appendItem(group, "Frame rate", int(1000000 / avih_microsecperframe));
+        }
         appendItem(group, "Resolution", QSize(avih_width, avih_height));
 


Comment 8 Brad Hards 2004-05-07 13:41:20 UTC
*** Bug 80810 has been marked as a duplicate of this bug. ***