Bug 198078 - rightclick and chose properties on large mp4 files makes dolphin or konqueror crash
Summary: rightclick and chose properties on large mp4 files makes dolphin or konqueror...
Status: RESOLVED DUPLICATE of bug 195462
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 16.12.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-27 21:03 UTC by Nille
Modified: 2009-09-10 21:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
dolphin gdb no bt (10.96 KB, text/plain)
2009-06-29 02:03 UTC, Nille
Details
konqueror bt (10.34 KB, text/plain)
2009-06-29 02:04 UTC, Nille
Details
dolphin bt (24.11 KB, text/plain)
2009-07-01 05:37 UTC, Nille
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nille 2009-06-27 21:03:06 UTC
Version:            (using KDE 4.2.90)
OS:                Linux
Installed from:    Ubuntu Packages

Rightclick on large mp4 files and chose properties makes dolphin crash.
This bug also exists in konqueror that also crashes on rightclick and properties of mp4 files.

It's like the hovering bug https://bugs.kde.org/show_bug.cgi?id=179523 and https://bugs.kde.org/show_bug.cgi?id=197953

I normally use slackware current with kde 4.2.4 but since the hovering bug was fixed in kde4.3beta2 i used kubuntu daily live to confirm that this bug is still present.
Comment 1 Dario Andres 2009-06-27 22:49:52 UTC
Did you got a backtrace of the crash ? Thanks
Comment 2 Nille 2009-06-28 17:28:04 UTC
I could install the debug packages on the kubuntu daily live usb and post an bt if i only knew what gdb packages i need.
Comment 3 Dario Andres 2009-06-28 17:34:36 UTC
You probably need:
"kdebase-apps-dbg", "kdelibs5-dbg", and "strigi-dbg" (this may be not available)
Thanks
Comment 4 Nille 2009-06-29 02:03:14 UTC
Created attachment 34900 [details]
dolphin gdb no bt
Comment 5 Nille 2009-06-29 02:04:04 UTC
Created attachment 34901 [details]
konqueror bt
Comment 6 Nille 2009-06-29 02:05:32 UTC
I installed "kdebase-runtime-dbg", "kdelibs-dbg", and "strigi-dbg" but i wasn't able to get an bt from dolphin.
But i post one dolphin file and thats what gdb printed but it's no bt.

Konqueror on the other hand gave me an bt. :)
Konqueror didn't die now it only hanged untill i killed it, but dolphin died.
Comment 7 Dario Andres 2009-06-30 19:51:48 UTC
When you run Dolphin you need to use the "--nofork" command option in GDB:

Example:
"gdb dolphin" + Return
"run --nofork" + Return
reproduce Crash
"bt full" + Return

BTW: this is probably related to bug 195462 (bug in the strigi analyzer for MP4 files not using the predefined maximum file size, so it is reading all the file, causing a hang/crash)

Thanks
Comment 8 Nille 2009-07-01 05:37:20 UTC
Created attachment 34954 [details]
dolphin bt
Comment 9 Nille 2009-07-01 16:12:43 UTC
The bug you linked to sounds releated.
In one of my testings with konqueror it read the hole file and showed the properties.
And the right click>properties worked fast after that until i closed konqueror, when i reopened it it was as before and it needed to read the hole file again.
Comment 10 Dario Andres 2009-08-19 22:23:49 UTC
Pasting backtrace inline:
--------

#0  0x07cffa11 in memcpy () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1  0x04e810da in QIODevice::read (this=0xbfb2fdb4, data=0x3dfbfa "",
    maxSize=1619585650) at /usr/include/bits/string3.h:52
        d = (QIODevicePrivate * const) 0x93b7250
        readSoFar = <value optimized out>
        moreToRead = 248
#2  0x00a7e301 in QIODeviceInputStream::fillBuffer (this=0xbfb2fcdc,
    start=0x3dfbfa "", space=1619585650) at ../../kio/kio/kfilemetainfo.cpp:67
        nwritten = <value optimized out>
#3  0x00a814aa in Strigi::BufferedStream<char>::writeToBuffer (
    this=0xbfb2fcdc, ntoread=1623647852, maxread=1623647852)
    at /usr/include/strigi/bufferedstream.h:116
        space = 1619585650
        missing = 1619585650
        nwritten = <value optimized out>
#4  0x00a815a0 in Strigi::BufferedStream<char>::read (this=0xbfb2fcdc,
    start=@0xbfb2fbc4, min=154890908, max=1623647852)
    at /usr/include/strigi/bufferedstream.h:137
        nread = <value optimized out>
#5  0x020d1d00 in Mp4ThroughAnalyzer::connectInputStream ()
   from /usr/lib/strigi/strigita_mp4.so
No symbol table info available.
#6  0x00c3949f in Strigi::StreamAnalyzerPrivate::analyze (this=0x93c00d0,
    idx=@0xbfb2fd28, input=0xbfb2fcdc)
    at /build/buildd/strigi-0.6.5/src/streamanalyzer/streamanalyzer.cpp:394
        finished = <value optimized out>
        header = 0x9432478 "��@\t\220a�\a����moov.trak.mdia"
        headersize = 1024
        es = 155235048
#7  0x00a7ec4a in KFileMetaInfoPrivate::init (this=0x93b6088,
    stream=@0xbfb2fdb4, url=@0xbfb2fe10, mtime=1245643849)
    at ../../kio/kio/kfilemetainfo.cpp:201
        indexer = (class Strigi::StreamAnalyzer &) @0x93b2ba8: {p = 0x93c00d0}
        strigiStream = {<Strigi::BufferedStream<char>> = {<Strigi::StreamBase<char>> = {<Strigi::StreamBaseBase> = {_vptr.StreamBaseBase = 0xbf94e8,
        m_size = -1, m_position = 0, m_error = {static npos = 4294967295,
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x54273c ""}},
        m_status = Strigi::Ok}, <No data fields>}, buffer = {start = 0x0,
      size = 1623647852, readPos = 0x0, avail = 4062202},
    finishedWritingToBuffer = false}, in = @0xbfb2fdb4}
        __PRETTY_FUNCTION__ = "void KFileMetaInfoPrivate::init(QIODevice&, const KUrl&, time_t)"
        idx = {p = 0x940b000}
        writer = {<Strigi::IndexWriter> = {
    _vptr.IndexWriter = 0xbf95a8}, <No data fields>}
#8  0x00a8057f in KFileMetaInfo (this=0xbfb2fe18, url=@0xbfb2fe10)
    at ../../kio/kio/kfilemetainfo.cpp:240
        fileinfo = {d_ptr = 0x93b1d98}
        file = {<QIODevice> = {<QObject> = {_vptr.QObject = 0x4fd7fa8,
      static staticMetaObject = {d = {superdata = 0x0,
          stringdata = 0x4f80c80 "QObject", data = 0x4f80d20,
          extradata = 0x4fd41b8}}, d_ptr = 0x93b7250,
      static staticQtMetaObject = {d = {superdata = 0x0,
          stringdata = 0x4f8a460 "Qt", data = 0x4f8d340, extradata = 0x0}}},
    static staticMetaObject = {d = {superdata = 0x80c1540,
        stringdata = 0x4f91460 "QIODevice", data = 0x4f914c0,
        extradata = 0x0}}}, static staticMetaObject = {d = {
      superdata = 0x4fd8028, stringdata = 0x4f91400 "QFile", data = 0x4f91420,
      extradata = 0x0}}}
#9  0x00a6736a in KFileItem::metaInfo (this=0x93a6e90, autoget=true)
    at ../../kio/kio/kfileitem.cpp:1217
        isLocalUrl = true
        url = {<QUrl> = {d = 0x93b70e8}, d = 0x0}
#10 0x00b422aa in KFileMetaPropsPlugin (this=0x93b6b40, props=0x93a47c8)
    at ../../kio/kfile/kmetaprops.cpp:63
        fileitem = (KFileItem &) @0x93a6e90: {d = {d = 0x8e939d8}}
#11 0x00b702dc in KPropertiesDialog::KPropertiesDialogPrivate::insertPages (
    this=0x8ebf950) at ../../kio/kfile/kpropertiesdialog.cpp:523
        mimetype = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 10269}, alloc = 0, size = 0, data = 0x80c1682,
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
    reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 60},
    alloc = 0, size = 0, data = 0x4fd946e, clean = 0, simpletext = 0,
    righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},
  d = 0x97712c, static codecForCStrings = 0x0}
        __PRETTY_FUNCTION__ = "void KPropertiesDialog::KPropertiesDialogPrivate::insertPages()"
        item = {d = {d = 0xbfeff4}}
        query = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 10269}, alloc = 0, size = 0, data = 0x80c1682,
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
    reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 60},
    alloc = 0, size = 0, data = 0x4fd946e, clean = 0, simpletext = 0,
    righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},
  d = 0x1, static codecForCStrings = 0x0}
        offers = {{p = {static shared_null = {ref = {_q_value = 10491},
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}},
      d = 0x9ad150}, d = 0x9ad150}}
Comment 11 TANGUY Arnaud 2009-09-10 21:27:57 UTC
This bug affect me too, same reason, same crash.
Comment 12 Peter Penz 2009-09-10 21:45:27 UTC

*** This bug has been marked as a duplicate of bug 195462 ***