k3b crashed with SIGSEGV in QString::size()

Bug #1753799 reported by Cristian Aravena Romero
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
k3b
Invalid
High
k3b (Ubuntu)
New
Medium
Unassigned

Bug Description

Hello,

Problem with "privileges"...

Regards,
--
Cristian

ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: k3b 17.12.2-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-11.12-generic 4.15.5
Uname: Linux 4.15.0-11-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Tue Mar 6 14:27:50 2018
ExecutablePath: /usr/bin/k3b
InstallationDate: Installed on 2017-10-13 (144 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
ProcCmdline: k3b
SegvAnalysis:
 Segfault happened at: 0x5632889b419b: mov 0x4(%rax),%edx
 PC (0x5632889b419b) ok
 source "0x4(%rax)" (0x00000025) not located in a known VMA region (needed readable region)!
 destination "%edx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: k3b
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
 QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
Title: k3b crashed with SIGSEGV in QStyledItemDelegate::initStyleOption()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Cristian Aravena Romero (caravena) wrote :
tags: removed: need-amd64-retrace
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 QString::size (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:233
 QString::toLocal8Bit() const & (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:520
 QFile::encodeName (fileName=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qfile.h:89
 K3b::ExternalBinPermissionModel::Private::getProgramInfo (this=0x563289b16880, program=0x56328a16da20, owner=..., group=..., wantedGroup=..., perm=@0x7fffaf5953b8: 116, wantedPerm=@0x7fffaf5953bc: 14) at ./src/option/k3bexternalbinpermissionmodel.cpp:109
 K3b::ExternalBinPermissionModel::Private::needChangePermissions (this=<optimized out>, program=<optimized out>) at ./src/option/k3bexternalbinpermissionmodel.cpp:148

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in k3b (Ubuntu):
importance: Undecided → Medium
summary: - k3b crashed with SIGSEGV in QStyledItemDelegate::initStyleOption()
+ k3b crashed with SIGSEGV in QString::size()
information type: Private → Public
Revision history for this message
In , Cristian Aravena Romero (caravena) wrote :
Download full text (6.4 KiB)

Hello,

Open bug in launchpad.net:
https://bugs.launchpad.net/bugs/1753799

"Problem with *privileges*..."

BackTrace:
#0 QString::size (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:233
No locals.
#1 QString::toLocal8Bit() const & (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:520
No locals.
#2 QFile::encodeName (fileName=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qfile.h:89
No locals.
#3 K3b::ExternalBinPermissionModel::Private::getProgramInfo (this=0x563289b16880, program=0x56328a16da20, owner=..., group=..., wantedGroup=..., perm=@0x7fffaf5953b8: 116, wantedPerm=@0x7fffaf5953bc: 14) at ./src/option/k3bexternalbinpermissionmodel.cpp:109
        s = {st_dev = 6, st_ino = 140002289047989, st_nlink = 140736135255488, st_mode = 2310116272, st_uid = 22066, st_gid = 0, __pad0 = 14, st_rdev = 140002288659377, st_size = 665832, st_blksize = 64424509537, st_blocks = 1304, st_atim = {tv_sec = 94775057099008, tv_nsec = 16641}, st_mtim = {tv_sec = 0, tv_nsec = -4616189618054758400}, st_ctim = {tv_sec = 0, tv_nsec = 696204690}, __glibc_reserved = {8156075650671158528, 0, 140736135255488}}
#4 0x00005632889b4567 in K3b::ExternalBinPermissionModel::Private::needChangePermissions (this=<optimized out>, program=<optimized out>) at ./src/option/k3bexternalbinpermissionmodel.cpp:148
        owner = {static null = {<No data fields>}, d = 0x7f54d1b5f0e0}
        group = {static null = {<No data fields>}, d = 0x7f54d1b5f0e0}
        wantedGroup = {static null = {<No data fields>}, d = 0x7f54d1b5f0e0}
        perm = 116
        wantedPerm = 14
#5 0x00005632889b4d8a in K3b::ExternalBinPermissionModel::data (this=0x563289b19230, index=..., role=<optimized out>) at ./src/option/k3bexternalbinpermissionmodel.cpp:243
        program = 0x56328a16da20
#6 0x00007f54d2ce5ae2 in QtPrivate::QVariantValueHelper<QImage>::metaType (v=...) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:697
        vid = 70
        t = {<QPaintDevice> = {_vptr.QPaintDevice = 0x0, painters = 0, reserved = 0x5632893d7c20}, d = 0x713033976f77a500}
        vid = <optimized out>
        t = <optimized out>
#7 QtPrivate::MetaTypeInvoker<QtPrivate::QVariantValueHelper<QImage>, QVariant const&, QImage>::invoke (a=...) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:111
No locals.
#8 qvariant_cast<QImage> (v=...) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:835
No locals.
#9 QStyledItemDelegate::initStyleOption (this=0x56328a159e00, option=0x7fffaf5955c0, index=...) at itemviews/qstyleditemdelegate.cpp:329
        image = {<QPaintDevice> = {_vptr.QPaintDevice = 0x0, painters = 0, reserved = 0x7fffaf595500}, d = 0x7fffaf5955b0}
        value = {d = {data = {c = 0 '\000', uc = 0 '\000', s = 0, sc = 0 '\000', us = 0, i = 0, u = 0, l = 0, ul = 0, b = false, d = 0, f = 0, real = 0, ll = 0, ull = 0, o = 0x0, ptr = 0x0, shared = 0x0}, type = 0, is_shared = 0, is_null = 1}}
#10 0x00007f54d2ce510c in QVariant::Private::Private (this=0x21) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:373
No locals.
#11 QVariant::QVariant (this=0x21) at ../../include/QtCore/../../src/corelib/kernel/qvar...

Read more...

Changed in k3b:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
In , Zhaixiang (zhaixiang) wrote :

Git commit 1e771f7f3ddf83fd7c3bf78b35247a82ebbb8c2c by Leslie Zhai.
Committed on 30/03/2018 at 13:38.
Pushed by lesliezhai into branch 'master'.

There is k3bfuzzertest to test QFile::encodeName and
 QString::fromRawData using libFuzzer, it might be duplicate of
QTBUG-57553

CCMAIL: <email address hidden>

M +2 -2 tests/k3bfuzzertest.cpp

https://commits.kde.org/k3b/1e771f7f3ddf83fd7c3bf78b35247a82ebbb8c2c

Changed in k3b:
importance: Medium → High
Revision history for this message
In , Justin Zobel (justin-zobel) wrote :

Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.

Changed in k3b:
status: New → Incomplete
Revision history for this message
In , Bug-janitor (bug-janitor) wrote :

Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

Revision history for this message
In , Bug-janitor (bug-janitor) wrote :

This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!

Changed in k3b:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.