Summary: | [FreeBSD] KMountPoint doesn't get mount options for devices not in /etc/fstab | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Pawel Pekala <c0rn> |
Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | a.samirh78, andresbajotierra, cfeck, groot, kdelibs-bugs |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | FreeBSD Ports | ||
OS: | FreeBSD | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/-/commit/c96f9db5397c0ac8fb4824a02e1d61ed0a79e4e5 | Version Fixed In: | 5.85 |
Description
Pawel Pekala
2008-02-19 23:13:25 UTC
Have you experienced this bug with an updated KDE version? Thanks :) (In reply to comment #1) > Have you experienced this bug with an updated KDE version? Thanks :) > I`m using 3.5.10 right now and it still happends. Ksqiurrel launches fine when there no external devices mounted, after I plug-in my pendrive ksquirrel will crash as described earlier - same backtrace. The same bug is also present in KDE 4. currentMountPoints() incorrectly uses /etc/fstab instead of /etc/mtab. See kmountpoint.cpp, line 310 in r952145. SVN commit 976429 by cfeck: Do not dereference null fstab entry CCBUG: 158073 CCMAIL: faure@kde.org M +6 -2 kmountpoint.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=976429 Comment #4 fixes the crash, changing description and severity. Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? Thank you for helping us make KDE software even better for everyone! Currently the code in kmountpoint: if (infoNeeded & NeedMountOptions) { struct fstab *ft = getfsfile(mounted[i].f_mntonname); if (ft != nullptr) { QString options = QFile::decodeName(ft->fs_mntops); mp->d->m_mountOptions = options.split(QLatin1Char(',')); } else { // TODO: get mount options if not mounted via fstab, see mounted[i].f_flags } } so, it would need a FreeBSD dev to implement that. |