Bug 1398291 - [abrt] hplip: std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::load(std::memory_order) const(): python3.5 killed by SIGSEGV
Summary: [abrt] hplip: std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::loa...
Keywords:
Status: CLOSED DUPLICATE of bug 1371294
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:da0352d4ccbab8c28d3303c9698...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-24 11:58 UTC by kakoskin
Modified: 2016-11-25 07:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-24 12:09:18 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (8.86 KB, text/plain)
2016-11-24 11:58 UTC, kakoskin
no flags Details
File: cgroup (242 bytes, text/plain)
2016-11-24 11:58 UTC, kakoskin
no flags Details
File: core_backtrace (25.61 KB, text/plain)
2016-11-24 11:58 UTC, kakoskin
no flags Details
File: dso_list (20.03 KB, text/plain)
2016-11-24 11:58 UTC, kakoskin
no flags Details
File: environ (1.57 KB, text/plain)
2016-11-24 11:58 UTC, kakoskin
no flags Details
File: exploitable (82 bytes, text/plain)
2016-11-24 11:58 UTC, kakoskin
no flags Details
File: limits (1.29 KB, text/plain)
2016-11-24 11:58 UTC, kakoskin
no flags Details
File: maps (102.72 KB, text/plain)
2016-11-24 11:58 UTC, kakoskin
no flags Details
File: mountinfo (3.71 KB, text/plain)
2016-11-24 11:58 UTC, kakoskin
no flags Details
File: namespaces (102 bytes, text/plain)
2016-11-24 11:58 UTC, kakoskin
no flags Details
File: open_fds (1.28 KB, text/plain)
2016-11-24 11:58 UTC, kakoskin
no flags Details
File: proc_pid_status (1.11 KB, text/plain)
2016-11-24 11:59 UTC, kakoskin
no flags Details
File: var_log_messages (28 bytes, text/plain)
2016-11-24 11:59 UTC, kakoskin
no flags Details
Cups error log while reprodusing the bug. (166 bytes, text/plain)
2016-11-25 07:38 UTC, kakoskin
no flags Details
hp-check output while printer not connected (11.94 KB, text/plain)
2016-11-25 07:41 UTC, kakoskin
no flags Details
hp-check output while printer connected (12.20 KB, application/octet-stream)
2016-11-25 07:43 UTC, kakoskin
no flags Details
hp-probe output while printer not connected (1.33 KB, application/octet-stream)
2016-11-25 07:44 UTC, kakoskin
no flags Details
hp-probe output while printer connected (1.47 KB, application/octet-stream)
2016-11-25 07:45 UTC, kakoskin
no flags Details
hp-setup output while printer connected, not creating new queue (1.55 KB, text/plain)
2016-11-25 07:46 UTC, kakoskin
no flags Details
hp-setup output while printer connected, attempting to create a new queue (2.35 KB, text/plain)
2016-11-25 07:46 UTC, kakoskin
no flags Details
hp-setup output while printer not connected (1.14 KB, text/plain)
2016-11-25 07:47 UTC, kakoskin
no flags Details

Description kakoskin 2016-11-24 11:58:35 UTC
Description of problem:
I was reproducing bug https://bugzilla.redhat.com/show_bug.cgi?id=1397868 with requested scratch build. Instead of getting the same problem I hit this bug.

Version-Release number of selected component:
hplip-3.16.10-2.fc25

Additional info:
reporter:       libreport-2.8.0
backtrace_rating: 4
cmdline:        /usr/bin/python3 /usr/bin/hp-setup --gui --remove --device=hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q82J95HPR1a
crash_function: std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::load(std::memory_order) const
executable:     /usr/bin/python3.5
global_pid:     3579
kernel:         4.8.8-300.fc25.x86_64
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::load(std::memory_order) const at /usr/include/c++/6.1.1/bits/atomic_base.h:713
 #1 std::atomic<QtSharedPointer::ExternalRefCountData*>::load(std::memory_order) const at /usr/include/c++/6.1.1/atomic:416
 #2 QAtomicOps<QtSharedPointer::ExternalRefCountData*>::load<QtSharedPointer::ExternalRefCountData*>(std::atomic<QtSharedPointer::ExternalRefCountData*> const&) at ../../src/corelib/arch/qatomic_cxx11.h:103
 #3 QBasicAtomicPointer<QtSharedPointer::ExternalRefCountData>::load() const at ../../src/corelib/thread/qbasicatomic.h:235
 #4 QtSharedPointer::ExternalRefCountData::getAndRef(QObject const*) at tools/qsharedpointer.cpp:1337
 #5 QWeakPointer<QObject>::QWeakPointer<QWindow>(QWindow*, bool) at ../../src/corelib/tools/qsharedpointer_impl.h:723
 #6 QPointer<QWindow>::QPointer(QWindow*) at ../../src/corelib/kernel/qpointer.h:71
 #7 QWindowSystemInterfacePrivate::UserEvent::UserEvent(QWindow*, unsigned long, QWindowSystemInterfacePrivate::EventType) at kernel/qwindowsysteminterface_p.h:210
 #8 QWindowSystemInterfacePrivate::InputEvent::InputEvent(QWindow*, unsigned long, QWindowSystemInterfacePrivate::EventType, QFlags<Qt::KeyboardModifier>) at kernel/qwindowsysteminterface_p.h:222
 #9 QWindowSystemInterfacePrivate::KeyEvent::KeyEvent(QWindow*, unsigned long, QEvent::Type, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) at kernel/qwindowsysteminterface_p.h:268

Comment 1 kakoskin 2016-11-24 11:58:42 UTC
Created attachment 1223818 [details]
File: backtrace

Comment 2 kakoskin 2016-11-24 11:58:43 UTC
Created attachment 1223819 [details]
File: cgroup

Comment 3 kakoskin 2016-11-24 11:58:45 UTC
Created attachment 1223820 [details]
File: core_backtrace

Comment 4 kakoskin 2016-11-24 11:58:47 UTC
Created attachment 1223821 [details]
File: dso_list

Comment 5 kakoskin 2016-11-24 11:58:48 UTC
Created attachment 1223822 [details]
File: environ

Comment 6 kakoskin 2016-11-24 11:58:50 UTC
Created attachment 1223823 [details]
File: exploitable

Comment 7 kakoskin 2016-11-24 11:58:51 UTC
Created attachment 1223824 [details]
File: limits

Comment 8 kakoskin 2016-11-24 11:58:54 UTC
Created attachment 1223825 [details]
File: maps

Comment 9 kakoskin 2016-11-24 11:58:55 UTC
Created attachment 1223826 [details]
File: mountinfo

Comment 10 kakoskin 2016-11-24 11:58:57 UTC
Created attachment 1223827 [details]
File: namespaces

Comment 11 kakoskin 2016-11-24 11:58:58 UTC
Created attachment 1223828 [details]
File: open_fds

Comment 12 kakoskin 2016-11-24 11:59:00 UTC
Created attachment 1223829 [details]
File: proc_pid_status

Comment 13 kakoskin 2016-11-24 11:59:01 UTC
Created attachment 1223830 [details]
File: var_log_messages

Comment 14 Zdenek Dohnal 2016-11-24 12:09:18 UTC
It seems you ran into bug #1371294 https://bugzilla.redhat.com/show_bug.cgi?id=1371294 . I'll look into it. Closing this as duplicate.

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

Comment 15 Zdenek Dohnal 2016-11-24 17:33:27 UTC
Kakoskin, would you mind running commands and sending me outputs/files:

1) /var/log/cups/error_log (you need to set ErrorLog to /var/log/cups/error_log in /etc/cups/cups-files.conf ) when sigsegv happened
2) hp-check
3) hp-probe
4) hp-setup -i (this will run hp-setup in interactive mode)

Comment 16 kakoskin 2016-11-25 07:38:59 UTC
Created attachment 1224162 [details]
Cups error log while reprodusing the bug.

Comment 17 kakoskin 2016-11-25 07:41:20 UTC
Created attachment 1224163 [details]
hp-check output while printer not connected

Comment 18 kakoskin 2016-11-25 07:43:11 UTC
Created attachment 1224164 [details]
hp-check output while printer connected

Comment 19 kakoskin 2016-11-25 07:44:26 UTC
Created attachment 1224165 [details]
hp-probe output while printer not connected

Comment 20 kakoskin 2016-11-25 07:45:01 UTC
Created attachment 1224166 [details]
hp-probe output while printer connected

Comment 21 kakoskin 2016-11-25 07:46:03 UTC
Created attachment 1224167 [details]
hp-setup output while printer connected, not creating new queue

Comment 22 kakoskin 2016-11-25 07:46:48 UTC
Created attachment 1224168 [details]
hp-setup output while printer connected, attempting to create a new queue

Comment 23 kakoskin 2016-11-25 07:47:29 UTC
Created attachment 1224169 [details]
hp-setup output while printer not connected

Comment 24 kakoskin 2016-11-25 07:49:22 UTC
I hit this bug originally while printer was not connected but I just tested and I hit same crash even when the printer is plugged in.

I hit SeLinux denial https://bugzilla.redhat.com/show_bug.cgi?id=1398277 while running hp-probe with printer connected.


Note You need to log in before you can comment on or make changes to this bug.