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

            Bug ID: 467816
           Summary: Coredump on TimeoutChecker::pauseTimeoutCheck when
                    getitimer(, NULL, ),  on 32bit _TIME_BITS=64
    Classification: Frameworks and Libraries
           Product: frameworks-kjs
           Version: 5.96.0
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: b.buschin...@googlemail.com
          Reporter: dk...@vega.pgw.jp
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

Created attachment 157590
  --> https://bugs.kde.org/attachment.cgi?id=157590&action=edit
Patch t fix setitimer( , NULL, )

Inputtinhg text in Google search box crashed konqueror.

STEPS TO REPRODUCE
1.  Prepare konquer with kf5-khtml enabled
2.  Nagivate http://www.google.co.jp/
3. Input some text USING some impot method

OBSERVED RESULT
konqueror coredump

EXPECTED RESULT
ko coredump

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  5.14.0-162.6.1.el9_1.0.1.x86_64 #1 SMP PREEMPT_DYNAMIC Mon
Nov 28 18:44:09 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
KDE Plasma Version:  5.24.6
KDE Frameworks Version:  5.96.0
Qt Version:  5.15.3

ADDITIONAL INFORMATION
Passing NULL to 2nd argument in
int setitimer(int which, const struct itimerval *new_value, struct itimerval
*old_value)
is not supported. Kernel emits warning, and
glibc on 32bit with _TIME_BITS=64 will coredump immediatedy due to 
deferecencing new_value->it_interval.

The attached patch seems to fix this.

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

Reply via email to