https://bugs.kde.org/show_bug.cgi?id=515906

Grósz Dániel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #17 from Grósz Dániel <[email protected]> ---
(In reply to Sanfod Rockowitz from comment #15)
> For those experiencing this bug, please retest against ddcutil branch
> 2.2.7-rc1, available at https://github.com/rockowitz/ddcutil/tree/2.2.7-rc1.
> 
> For more information, including what information is useful in a bug report,
> see the Release 2.2.7-rc1 announcement at
> https://github.com/rockowitz/ddcutil/issues/599.

Still getting this with ddcutil 2.2.7 on openSUSE Tumbleweed in very specific
circumstances:
1. Have an external monitor connected to my laptop with HDMI, turned on
2. Unplug the HDMI cable from the laptop
3. Suspend
4. Unpower the monitor (unplug it from the power socket). Just turning it off
with its button doesn't trigger the crash, nor does unplugging the HDMI cable
from the monitor (i.e. connecting a HDMI cable not connected to anything to the
laptop in Step 5). No idea what difference these make.
5. Plug the HDMI cable back into the laptop.
6. Wake up the laptop.

Backtrace:

Application: org_kde_powerdevil (6.7.5)

ApplicationNotResponding [ANR]: false
Qt Version: 6.11.2
Frameworks Version: 6.30.0
Operating System: Linux 7.2.8-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.7.91 [CoredumpBackend]

-- Information about the crash:
[see above]

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Power Management System (org_kde_powerdevil), signal:
Segmentation fault

[New LWP 151678]
[New LWP 2729]
[New LWP 2758]
[New LWP 2757]
[New LWP 2756]
[New LWP 151677]
[New LWP 2774]
[New LWP 2744]
[New LWP 2745]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/libexec/org_kde_powerdevil'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;
[Current thread is 1 (Thread 0x7f81e6ffd6c0 (LWP 151678))]
Using eu-unstrip to resolve modules.
[Current thread is 1 (Thread 0x7f81e6ffd6c0 (LWP 151678))]

Thread 9 (Thread 0x7f81f6b596c0 (LWP 2745)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f81fde9ab58 in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=a4@entry=0, a5=a5@entry=0,
a6=a6@entry=0, nr=7) at cancellation.c:49
#2  0x00007f81fde9abb1 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=7) at
cancellation.c:75
#3  0x00007f81fdf185ea in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007f81fed17404 in ?? () from /lib64/libxcb.so.1
#5  0x00007f81fecf34a0 in ?? () from /lib64/libQt6Core.so.6
#6  0x00007f81f6b596c0 in ?? ()
#7  0x00007f81f7770920 in ?? () from
/usr/lib64/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#8  0x0000000100000007 in ?? ()
#9  0x000056224a90b7c8 in ?? ()
#10 0x0000562200000ab9 in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f81f735a6c0 (LWP 2744)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f81fde9ab58 in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8,
a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f81fde9abb1 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0,
nr=271) at cancellation.c:75
#3  0x00007f81fdf18d72 in __GI_ppoll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>, sigmask=<optimized out>) at
../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f81fd6381da in ?? () from /lib64/libglib-2.0.so.0
#5  0x00007f81fd6389c0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#6  0x00007f81feae50e8 in ?? () from /lib64/libQt6Core.so.6
#7  0x00007f81f0001540 in ?? ()
#8  0x00007f81f7359780 in ?? ()
#9  0x00007f81f00015bc in ?? ()
#10 0x000056224a906b48 in ?? ()
#11 0x000056224a906ad0 in ?? ()
#12 0x00007f81fe7f82d3 in ?? () from /lib64/libQt6Core.so.6
#13 0x000056224a8f2fd0 in ?? ()
#14 0x00007f8100000000 in ?? ()
#15 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f81e7fff6c0 (LWP 2774)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f81fde9ab58 in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=a4@entry=0, a5=a5@entry=0,
a6=a6@entry=0, nr=7) at cancellation.c:49
#2  0x00007f81fde9abb1 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=7) at
cancellation.c:75
#3  0x00007f81fdf185ea in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007f81fd24f577 in ?? () from /lib64/libdbus-1.so.3
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f81e77fe6c0 (LWP 151677)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f81fd66cbe1 in g_cond_wait_until () from /lib64/libglib-2.0.so.0
#2  0x00007f81fd5f9c3d in ?? () from /lib64/libglib-2.0.so.0
#3  0x00007f81fd5fa305 in g_async_queue_timeout_pop () from
/lib64/libglib-2.0.so.0
#4  0x00007f81fe575bd4 in dw_recheck_displays_func (data=0x56224ab97d50) at
dw/dw_recheck.c:194
#5  0x00007f81fd66ce91 in ?? () from /lib64/libglib-2.0.so.0
#6  0x00007f81fde9e86e in start_thread (arg=<optimized out>) at
pthread_create.c:454
#7  0x00007f81fdf281ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7f81f5c476c0 (LWP 2756)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f81fd66c702 in g_cond_wait () from /lib64/libglib-2.0.so.0
#2  0x00007f81fd5f9c7c in ?? () from /lib64/libglib-2.0.so.0
#3  0x00007f81fd66d186 in ?? () from /lib64/libglib-2.0.so.0
#4  0x00007f81fd66ce91 in ?? () from /lib64/libglib-2.0.so.0
#5  0x00007f81fde9e86e in start_thread (arg=<optimized out>) at
pthread_create.c:454
#6  0x00007f81fdf281ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f81f54466c0 (LWP 2757)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f81fde9ab58 in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8,
a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f81fde9abb1 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0,
nr=271) at cancellation.c:75
#3  0x00007f81fdf18d72 in __GI_ppoll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>, sigmask=<optimized out>) at
../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f81fd6381da in ?? () from /lib64/libglib-2.0.so.0
#5  0x00007f81fd6389c0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#6  0x00007f81fd638a11 in ?? () from /lib64/libglib-2.0.so.0
#7  0x00007f81fd66ce91 in ?? () from /lib64/libglib-2.0.so.0
#8  0x00007f81fde9e86e in start_thread (arg=<optimized out>) at
pthread_create.c:454
#9  0x00007f81fdf281ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f81f4c456c0 (LWP 2758)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f81fde9ab58 in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8,
a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f81fde9abb1 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0,
nr=271) at cancellation.c:75
#3  0x00007f81fdf18d72 in __GI_ppoll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>, sigmask=<optimized out>) at
../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f81fd6381da in ?? () from /lib64/libglib-2.0.so.0
#5  0x00007f81fd638c2f in g_main_loop_run () from /lib64/libglib-2.0.so.0
#6  0x00007f81f7d44cfa in ?? () from /lib64/libgio-2.0.so.0
#7  0x000056224aa80dd0 in ?? ()
#8  0x00007f81fd66ce91 in ?? () from /lib64/libglib-2.0.so.0
#9  0x00007f81fde9e86e in start_thread (arg=<optimized out>) at
pthread_create.c:454
#10 0x00007f81fdf281ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f81f77e6280 (LWP 2729)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f81fde9ab58 in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8,
a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f81fde9abb1 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0,
nr=271) at cancellation.c:75
#3  0x00007f81fdf18d72 in __GI_ppoll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>, sigmask=<optimized out>) at
../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f81fd6381da in ?? () from /lib64/libglib-2.0.so.0
#5  0x00007f81fd6389c0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#6  0x00007f81feae5111 in ?? () from /lib64/libQt6Core.so.6
#7  0x000056224aab59b0 in ?? ()
#8  0x00007ffefa8ac320 in ?? ()
#9  0x000056224aab5a2c in ?? ()
#10 0x000056224a8f3068 in ?? ()
#11 0x000056224a8f2ff0 in ?? ()
#12 0x00007f81fe7f82d3 in ?? () from /lib64/libQt6Core.so.6
#13 0x000056224a8f2fd0 in ?? ()
#14 0x0000562200000000 in ?? ()
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f81e6ffd6c0 (LWP 151678)):
[KCrash Handler]
#5  0x00007f81fe51d4e7 in i2c_check_open_bus_alive (dh=0x7f81d8001610) at
i2c/i2c_bus_core.c:1056
#6  0x00007f81fe515725 in ddc_write_read_with_retry (dh=0x7f81d8001610,
request_packet_ptr=0x7f81d800d920, max_read_bytes=39, expected_response_type=2
'\002', expected_subtype=<optimized out>, flags=Write_Read_Flags_None,
response_packet_ptr_loc=0x7f81e6ffc148, explicit_max_tries=<optimized out>) at
ddc/ddc_packet_io.c:1006
#7  0x00007f81fe51d8b7 in ddc_get_nontable_vcp_value_full.constprop.0
(dh=0x7f81d8001610, feature_code=16 '\020', parsed_response_loc=0x7f81e6ffc1f0,
explicit_max_tries=-1) at ddc/ddc_vcp.c:235
#8  0x00007f81fe504785 in ddc_get_nontable_vcp_value (dh=0x7f81d8001610,
feature_code=16 '\020', parsed_response_loc=0x7f81e6ffc1f0) at
ddc/ddc_vcp.c:334
#9  check_supported_feature (dh=dh@entry=0x7f81d8001610,
newly_added=newly_added@entry=true, feature_code=feature_code@entry=16 '\020',
p_shsl=p_shsl@entry=0x7f81e6ffc266) at ddc/ddc_initial_checks.c:354
#10 0x00007f81fe504ed4 in ddc_initial_checks_by_dh (dh=0x7f81d8001610,
newly_added=newly_added@entry=true) at ddc/ddc_initial_checks.c:480
#11 0x00007f81fe505cbe in ddc_initial_checks_by_dref (dref=0x7f81d80035d0,
newly_added=true) at ddc/ddc_initial_checks.c:630
#12 0x00007f81fe56d03d in dw_add_display_by_businfo
(businfo=businfo@entry=0x56224ab8b1c0) at dw/dw_dref.c:117
#13 0x00007f81fe56dd02 in dw_hotplug_change_handler
(bs_buses_w_edid_removed=..., bs_buses_w_edid_added=...,
events_queue=events_queue@entry=0x0,
drefs_to_recheck=drefs_to_recheck@entry=0x7f81d8004470) at dw/dw_common.c:457
#14 0x00007f81fe5719fb in process_screen_change_event
(p_bs_attached_buses=p_bs_attached_buses@entry=0x7f81e6ffc760,
p_bs_buses_w_edid=p_bs_buses_w_edid@entry=0x7f81e6ffc740,
deferred_events=deferred_events@entry=0x0,
displays_to_recheck=displays_to_recheck@entry=0x7f81d8004470) at
dw/dw_poll.c:159
#15 0x00007f81fe571e4f in invoke_process_screen_change_event
(bs_old_attached_buses_loc=0x7f81e6ffc760,
bs_old_buses_w_edid_loc=0x7f81e6ffc740, deferred_events=0x0,
displays_to_recheck=0x7f81d8004470) at dw/dw_poll.c:232
#16 0x00007f81fe57825f in dw_watch_display_connections (data=0x56224aae0e30) at
dw/dw_poll.c:429
#17 0x00007f81fd66ce91 in ?? () from /lib64/libglib-2.0.so.0
#18 0x00007f81fde9e86e in start_thread (arg=<optimized out>) at
pthread_create.c:454
#19 0x00007f81fdf281ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

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

Reply via email to