[kscreenlocker] [Bug 354811] kscreenlocker_greet crashes if using compiz instead of kwin

2015-12-17 Thread Mikhail Khvoinitsky via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354811

--- Comment #12 from Mikhail Khvoinitsky  
---
(In reply to Martin Gräßlin from comment #11)
> Workaround patch: https://git.reviewboard.kde.org/r/126397/
> 
> I don't have Compiz in my distribution, I cannot verify whether it works. If
> you could compile the patch and test whether it solves the problem, it would
> be appreciated.

It solves the problem, thank you.
Which version of frameworks will be this patch released in?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kscreenlocker] [Bug 354811] kscreenlocker_greet crashes if using compiz instead of kwin

2015-12-16 Thread Mikhail Khvoinitsky via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354811

--- Comment #10 from Mikhail Khvoinitsky  
---
Finally:

#0  0x7f91485c55f8 in raise () from /usr/lib/libc.so.6
#1  0x7f914a9e5e97 in KCrash::defaultCrashHandler(int) () from
/usr/lib/libKF5Crash.so.5
#2  
#3  0x7f91485c55f8 in raise () from /usr/lib/libc.so.6
#4  0x7f91485c6a7a in abort () from /usr/lib/libc.so.6
#5  0x7f9148d60fd1 in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/libQt5Core.so.5
#6  0x7f9143e82b11 in QWidgetPrivate::init(QWidget*,
QFlags) () from /usr/lib/libQt5Widgets.so.5
#7  0x7f9143e98bb3 in QDesktopWidget::QDesktopWidget() () from
/usr/lib/libQt5Widgets.so.5
#8  0x7f9143e3a36d in QApplication::desktop() () from
/usr/lib/libQt5Widgets.so.5
#9  0x7f912799eda4 in NETEventFilter::mapViewport (this=0x19f30b0)
at
/tmp/kwindowsystem/src/kwindowsystem-5.17.0/src/platforms/xcb/kwindowsystem.cpp:357
No locals.
#10 0x7f91279a2418 in KWindowSystemPrivateX11::mapViewport (this=)
at
/tmp/kwindowsystem/src/kwindowsystem-5.17.0/src/platforms/xcb/kwindowsystem.cpp:1073
No locals.
#11 0x7f9144cfb352 in NETRootInfo::currentDesktop
(this=this@entry=0x19f30b0, 
ignore_viewport=ignore_viewport@entry=false)
at
/tmp/kwindowsystem/src/kwindowsystem-5.17.0/src/platforms/xcb/netwm.cpp:2531
No locals.
#12 0x7f912799fc3c in NETEventFilter::nativeEventFilter (this=0x19f30b0,
ev=0x7f9130003f90)
at
/tmp/kwindowsystem/src/kwindowsystem-5.17.0/src/platforms/xcb/kwindowsystem.cpp:194
old_active_window = 
m = {140261971763776, 140261971763776, 140261971763776, 1, 0}
old_current_desktop = 
old_number_of_desktops = 
old_showing_desktop = 
s_q = 0x7f9144f17240 <(anonymous
namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>
eventType = 33 '!'
eventWindow = 193
#13 0x7f9148f514cf in
QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) ()
   from /usr/lib/libQt5Core.so.5
#14 0x7f9136e43d24 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*)
() from /usr/lib/libQt5XcbQpa.so.5
#15 0x7f9136e44ad3 in QXcbConnection::processXcbEvents() () from
/usr/lib/libQt5XcbQpa.so.5
#16 0x7f9148f83fa1 in QObject::event(QEvent*) () from
/usr/lib/libQt5Core.so.5
#17 0x7f9148f54839 in QCoreApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Core.so.5
#18 0x7f9148f5496b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#19 0x7f9148f56d66 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
   from /usr/lib/libQt5Core.so.5
#20 0x7f9148faaf03 in ?? () from /usr/lib/libQt5Core.so.5
#21 0x7f9140b67dc7 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#22 0x7f9140b68020 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x7f9140b680cc in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#24 0x7f9148fab30f in
QEventDispatcherGlib::processEvents(QFlags) ()
   from /usr/lib/libQt5Core.so.5
#25 0x7f9148f5233a in
QEventLoop::exec(QFlags) () from
/usr/lib/libQt5Core.so.5
#26 0x7f9148f5a2fc in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#27 0x0040ae77 in main (argc=6, argv=)
at /tmp/kscreenlocker/src/kscreenlocker-5.5.1/greeter/main.cpp:132
app = { = {}, static staticMetaObject
= {d = {
  superdata = 0x7f9149af44a0 , 
  stringdata = 0x417600
, 
  data = 0x417500 , 
  static_metacall = 0x411e30
, relatedMetaObjects = 0x0, extradata = 0x0}}, m_mainQmlPath = {d =
0x18397e0}, 
  m_views =
{> = {}, {p = {
static shared_null = {ref = {atomic = {_q_value = -1}}, alloc =
0, begin = 0, end = 0, array = {
0x0}}, d = 0x1a37ba0}, d = 0x1a37ba0}},
m_resetRequestIgnoreTimer = 0x17fb9e0, 
  m_delayedLockTimer = 0x0, m_package = , m_testing =
false, m_ignoreRequests = false, 
  m_immediateLock = true, m_runtimeInitialized = 73, m_authenticator =
0x181ca60, m_graceTime = 5000, 
  m_noLock = false, m_ksldConnection = 0x1821df0, m_ksldRegistry =
0x182fe00, 
  m_ksldConnectionThread = 0x1821910, m_ksldInterface = 0x1ac2e00,
m_plasmaShell = 0x0}
parser = {d = 0x182e300}
testingOption = {d = {d = 0x1822480}}
immediateLockOption = {d = {d = 0x183b680}}
graceTimeOption = {d = {d = 0x182af30}}
nolockOption = {d = {d = 0x183be10}}
waylandFdOption = {d = {d = 0x182b570}}
ok = true
graceTime = 
sa = {__sigaction_handler = {sa_handler = 0x4108e0
, 
sa_sigaction = 0x4108e0 }, sa_mask = {__val =
{0 }}, 
  sa_flags = 268435456, sa_restorer = 0x619738}
#0 

[kscreenlocker] [Bug 354811] kscreenlocker_greet crashes if using compiz instead of kwin

2015-12-16 Thread Mikhail Khvoinitsky via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354811

--- Comment #8 from Mikhail Khvoinitsky  
---
(In reply to Martin Gräßlin from comment #7)
> (In reply to Mikhail Khvoinitsky from comment #6)
> > > Can you try getting debug symbols for Qt and kwindowsystem.
> > I will do this in a week.
> 
> any update?

I apologize for the delay.
For some reason I can not make gdb to find debug symbols for Qt.

Here the fresh backtrace from fresh plasma 5.5.1 with debug information from
kscreenlocker and kwindowsystem. Let me know if you still need backtrace with
Qt debug symbols.


#0  0x7f91485c55f8 in raise () from /usr/lib/libc.so.6
#1  0x7f914a9e5e97 in KCrash::defaultCrashHandler(int) () from
/usr/lib/libKF5Crash.so.5
#2  
#3  0x7f91485c55f8 in raise () from /usr/lib/libc.so.6
#4  0x7f91485c6a7a in abort () from /usr/lib/libc.so.6
#5  0x7f9148d60fd1 in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/libQt5Core.so.5
#6  0x7f9143e82b11 in QWidgetPrivate::init(QWidget*,
QFlags) () from /usr/lib/libQt5Widgets.so.5
#7  0x7f9143e98bb3 in QDesktopWidget::QDesktopWidget() () from
/usr/lib/libQt5Widgets.so.5
#8  0x7f9143e3a36d in QApplication::desktop() () from
/usr/lib/libQt5Widgets.so.5
#9  0x7f912799eda4 in NETEventFilter::mapViewport (this=0x19f30b0)
at
/tmp/kwindowsystem/src/kwindowsystem-5.17.0/src/platforms/xcb/kwindowsystem.cpp:357
No locals.
#10 0x7f91279a2418 in KWindowSystemPrivateX11::mapViewport (this=)
at
/tmp/kwindowsystem/src/kwindowsystem-5.17.0/src/platforms/xcb/kwindowsystem.cpp:1073
No locals.
#11 0x7f9144cfb352 in NETRootInfo::currentDesktop
(this=this@entry=0x19f30b0, 
ignore_viewport=ignore_viewport@entry=false)
at
/tmp/kwindowsystem/src/kwindowsystem-5.17.0/src/platforms/xcb/netwm.cpp:2531
No locals.
#12 0x7f912799fc3c in NETEventFilter::nativeEventFilter (this=0x19f30b0,
ev=0x7f9130003f90)
at
/tmp/kwindowsystem/src/kwindowsystem-5.17.0/src/platforms/xcb/kwindowsystem.cpp:194
old_active_window = 
m = {140261971763776, 140261971763776, 140261971763776, 1, 0}
old_current_desktop = 
old_number_of_desktops = 
old_showing_desktop = 
s_q = 0x7f9144f17240 <(anonymous
namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>
eventType = 33 '!'
eventWindow = 193
#13 0x7f9148f514cf in
QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) ()
   from /usr/lib/libQt5Core.so.5
#14 0x7f9136e43d24 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*)
() from /usr/lib/libQt5XcbQpa.so.5
#15 0x7f9136e44ad3 in QXcbConnection::processXcbEvents() () from
/usr/lib/libQt5XcbQpa.so.5
#16 0x7f9148f83fa1 in QObject::event(QEvent*) () from
/usr/lib/libQt5Core.so.5
#17 0x7f9148f54839 in QCoreApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Core.so.5
#18 0x7f9148f5496b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#19 0x7f9148f56d66 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
   from /usr/lib/libQt5Core.so.5
#20 0x7f9148faaf03 in ?? () from /usr/lib/libQt5Core.so.5
#21 0x7f9140b67dc7 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#22 0x7f9140b68020 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x7f9140b680cc in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#24 0x7f9148fab30f in
QEventDispatcherGlib::processEvents(QFlags) ()
   from /usr/lib/libQt5Core.so.5
#25 0x7f9148f5233a in
QEventLoop::exec(QFlags) () from
/usr/lib/libQt5Core.so.5
#26 0x7f9148f5a2fc in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#27 0x0040ae77 in main (argc=6, argv=)
at /tmp/kscreenlocker/src/kscreenlocker-5.5.1/greeter/main.cpp:132
app = { = {}, static staticMetaObject
= {d = {
  superdata = 0x7f9149af44a0 , 
  stringdata = 0x417600
, 
  data = 0x417500 , 
  static_metacall = 0x411e30
, relatedMetaObjects = 0x0, extradata = 0x0}}, m_mainQmlPath = {d =
0x18397e0}, 
  m_views =
{> = {}, {p = {
static shared_null = {ref = {atomic = {_q_value = -1}}, alloc =
0, begin = 0, end = 0, array = {
0x0}}, d = 0x1a37ba0}, d = 0x1a37ba0}},
m_resetRequestIgnoreTimer = 0x17fb9e0, 
  m_delayedLockTimer = 0x0, m_package = , m_testing =
false, m_ignoreRequests = false, 
  m_immediateLock = true, m_runtimeInitialized = 73, m_authenticator =
0x181ca60, m_graceTime = 5000, 
  m_noLock = false, m_ksldConnection = 0x1821df0, m_ksldRegistry =
0x182fe00, 
  m_ksldConnectionThread = 0x1821910, m_ksldInterface = 0x1ac2e00,
m_plasmaShell = 0x0}
parser = {d = 0x182e300}
testingOption = {d = {d = 

[KScreen] [Bug 356818] Provide support for configuring custom modeline for each monitor

2015-12-16 Thread Mikhail Khvoinitsky via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356818

Mikhail Khvoinitsky  changed:

   What|Removed |Added

 CC||mikhail-bugs-kde-org@khvoin
   ||itsky.org

-- 
You are receiving this mail because:
You are watching all bug changes.


[KScreen] [Bug 356818] New: Provide support for configuring custom modeline for each monitor

2015-12-16 Thread Mikhail Khvoinitsky via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356818

Bug ID: 356818
   Summary: Provide support for configuring custom modeline for
each monitor
   Product: KScreen
   Version: 5.5.1
  Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
  Severity: wishlist
  Priority: NOR
 Component: common
  Assignee: dvra...@kde.org
  Reporter: mikhail-bugs-kde-...@khvoinitsky.org

My problem:
I use a laptop with two monitors:
* 2560x1440@60Hz at home
* 1920x1200@60Hz at work
(so, only one monitor at the time)
Unfortunately, laptop's video adapter do not support 2560x1440@60Hz monitors so
the maximum resolution I can set up for the home monitor is 2048x1152@60Hz.
However, I can generate a custom modeline with reduced refresh rate but with
full resolution. To make it permanent I can write Xorg's config file like this:

Section "Monitor"
Identifier "HDMI1"
ModeLine   "2560x1440_50.00_rb" 200.25 2560 2608 2640 2720 1440
1443 1448 1474 +HSync -Vsync
Option "PreferredMode" "2560x1440_50.00_rb"
EndSection

The problem is that Xorg have no way to apply this options only for certain
monitor (neither by serial nor by something else) (that means that I will have
good configuration at home but completely broken at work). The only way
available to filter monitors is by port (option 'Identifier
"HDMI1"') but it do not suits my needs.
Even worse, after applying such kind of a config, kscreen sometimes stops
distinguish monitors.

So, it will be very useful to have some way to do fix that. One of the options
could be launching a user script after connecting a monitor before kscreen
apply his configuration.

Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.