dolphin crashed in [PolygonRegion, QRegion, QX11PaintEngine::updateState] (assert failure)

Bug #465433 reported by Gerald Senarclens de Grancy
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Qt
Invalid
High
qt4-x11 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: kdebase

Release: Kubuntu 9.10, i386
Dolphin package version: 4:4.3.2-0ubuntu3

Dolphin crashed when I tried to move one picture from one folder to another folder (each opened in separate Dolphin windows).

Expected result:
- picture gets moved
- both windows stay opened

Actual result:
- picture got moved
- Dolphin crashed (all opened windows disappeared)

ProblemType: Crash
Architecture: i386
AssertionMessage: *** glibc detected *** dolphin: corrupted double-linked list: 0x09c774f0 ***
Date: Fri Oct 30 20:39:43 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/dolphin
Package: dolphin 4:4.3.2-0ubuntu3
ProcCmdline: dolphin -session 10d2dc6566000125675752100000229620045_1256913310_108428
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
Signal: 6
SourcePackage: kdebase
StacktraceTop:
 __kernel_vsyscall ()
 *__GI_raise (sig=6)
 *__GI_abort () at abort.c:92
 __libc_message (do_abort=2,
 malloc_printerr (action=<value optimized out>,
Title: dolphin assert failure: *** glibc detected *** dolphin: corrupted double-linked list: 0x09c774f0 ***
Uname: Linux 2.6.31-14-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors: (polkit-gnome-authentication-agent-1:2444): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

Revision history for this message
In , Ephemient (ephemient) wrote :
Download full text (8.9 KiB)

Application that crashed: kopete
Version of the application: 0.70.90
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-gentoo x86_64

What I was doing when the application crashed:
As the title describes, Kopete crashed when closing tab containing chat with MSN contact. There was no activity at the time, the other endpoint had closed their chat.

 -- Backtrace:
Application: Kopete (kopete), signal: Aborted
[Current thread is 0 (LWP 375)]

Thread 5 (Thread 0x7f603933f910 (LWP 377)):
#0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1 0x00007f604e72e825 in _L_lock_9550 () from /lib/libc.so.6
#2 0x00007f604e72cda1 in __libc_free (mem=0x7f604ea0be60) at malloc.c:3714
#3 0x00007f604f965dcf in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4 0x00007f604a008e9b in IA__g_main_context_check (context=0x1c31d10, max_priority=2147483647, fds=<value optimized out>, n_fds=-1) at gmain.c:2333
#5 0x00007f604a009771 in g_main_context_iterate (context=0x1c31d10, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2452
#6 0x00007f604a0099fe in IA__g_main_context_iteration (context=0x1c31d10, may_block=1) at gmain.c:2518
#7 0x00007f604f965aae in QEventDispatcherGlib::processEvents (this=0x1c31560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#8 0x00007f604f93efd2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 959704912}) at kernel/qeventloop.cpp:149
#9 0x00007f604f93f17c in QEventLoop::exec (this=0x7f603933ef90, flags={i = 959704992}) at kernel/qeventloop.cpp:197
#10 0x00007f604f86942c in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#11 0x00007f604f926a01 in QInotifyFileSystemWatcherEngine::run (this=0x1c33d50) at io/qfilesystemwatcher_inotify.cpp:214
#12 0x00007f604f86c024 in QThreadPrivate::start (arg=0x1c33d50) at thread/qthread_unix.cpp:188
#13 0x00007f604e24a427 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#14 0x00007f604e7860fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f602cfde910 (LWP 379)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1 0x00007f604f86cd59 in QWaitCondition::wait (this=0x1cb9c00, mutex=0x1cb9bf8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2 0x00007f604cb75a84 in QHostInfoAgent::run (this=0x1cb9be0) at kernel/qhostinfo.cpp:260
#3 0x00007f604f86c024 in QThreadPrivate::start (arg=0x1cb9be0) at thread/qthread_unix.cpp:188
#4 0x00007f604e24a427 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5 0x00007f604e7860fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f602b3fb910 (LWP 381)):
#0 0x00007f604e77d369 in __poll (fds=0x1dde130, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007f604a009721 in g_main_context_iterate (context=0x1ddde40, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2768
#2 0x00007f604a0099fe in IA__g_main_context_iteratio...

Read more...

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

The backtrace looks like a Qt/Painting crash. However libmsn beta8 is causing really weird crashes all over the place; this could be related to it.
- Does Kopete crash again if you repeat the situation you described ? if it does, can you check that downgrading to libmsn beta6 fixes the crash ?
Thanks

Revision history for this message
Gerald Senarclens de Grancy (trainer) wrote :
Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

Waiting for feedback. Marking as NEEDSINFO.

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:__kernel_vsyscall ()
*__GI_raise (sig=6)
*__GI_abort () at abort.c:92
__libc_message (do_abort=2,
malloc_printerr (action=<value optimized out>,

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in kdebase (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Revision history for this message
Jonathan Thomas (echidnaman) wrote : Re: dolphin assert failure: *** glibc detected *** dolphin: corrupted double-linked list: 0x09c774f0 ***

Appears to be a bug in Qt.

affects: kdebase (Ubuntu) → qt4-x11 (Ubuntu)
Changed in qt4-x11 (Ubuntu):
importance: Medium → Low
status: New → Triaged
summary: - dolphin assert failure: *** glibc detected *** dolphin: corrupted
- double-linked list: 0x09c774f0 ***
+ dolphin crashed in [PolygonRegion, QRegion,
+ QX11PaintEngine::updateState] (assert failure)
Revision history for this message
In , Jonathan Thomas (echidnaman-f) wrote :
Download full text (16.5 KiB)

This indeed seems to be a Qt painting bug. We received a report about Dolphin crashing in the same painting code at Launchpad: https://launchpad.net/bugs/465433

#0 0x00707422 in __kernel_vsyscall ()
No symbol table info available.
#1 0x0914f4d1 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 resultvar = <value optimized out>
 pid = 153505780
 selftid = 2375
#2 0x09152932 in *__GI_abort () at abort.c:92
 act = {__sigaction_handler = {sa_handler = 0x107,
    sa_sigaction = 0x107}, sa_mask = {__val = {3214100124, 153254968,
      5026404, 0, 134619144, 134546192, 0, 48666, 3214100272, 134525168,
      134522696, 263, 5027440, 153000561, 263, 134619144, 3214100200,
      153505780, 37, 3214101656, 3214100316, 153118100, 2, 3214100200, 4, 0,
      3, 3214100308, 2, 153379555, 153379551, 153375127}},
  sa_flags = 153375101, sa_restorer = 0x924762b}
 sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0x09185ee5 in __libc_message (do_abort=2,
    fmt=0x9249438 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
 ap = <value optimized out>
 fd = -1080866668
 on_2 = <value optimized out>
 list = <value optimized out>
 nlist = <value optimized out>
 cp = <value optimized out>
 written = false
#4 0x0918fff1 in malloc_printerr (action=<value optimized out>,
    str=0x6 <Address 0x6 out of bounds>, ptr=0x9c774f0) at malloc.c:6217
 buf = "09c774f0"
 cp = <value optimized out>
#5 0x0919021e in malloc_consolidate (av=<value optimized out>)
    at malloc.c:5095
 fb = (mfastbinptr *) 0x92663ac
 maxfb = (mfastbinptr *) 0x92663cc
 p = (mchunkptr) 0x9c774f0
 nextp = (mchunkptr) 0x9fdd7b0
 unsorted_bin = (mchunkptr) 0x92663d0
 first_unsorted = <value optimized out>
 nextchunk = (mchunkptr) 0x9c77518
 size = <value optimized out>
 nextsize = <value optimized out>
 prevsize = <value optimized out>
 bck = <value optimized out>
 fwd = <value optimized out>
 __PRETTY_FUNCTION__ = "malloc_consolidate"
#6 0x091924b2 in _int_malloc (av=<value optimized out>,
    bytes=<value optimized out>) at malloc.c:4338
 nb = 664
 idx = 3214111652
 bin = <value optimized out>
 victim = <value optimized out>
 size = <value optimized out>
 victim_index = <value optimized out>
 remainder = <value optimized out>
 remainder_size = <value optimized out>
 block = <value optimized out>
 bit = <value optimized out>
 map = <value optimized out>
 fwd = <value optimized out>
 bck = <value optimized out>
 __PRETTY_FUNCTION__ = "_int_malloc"
#7 0x09194868 in *__GI___libc_malloc (bytes=660) at malloc.c:3638
 ar_ptr = (mstate) 0x92663a0
 victim = <value optimized out>
 __PRETTY_FUNCTION__ = "__libc_malloc"
#8 0x0248ad5b in PolygonRegion (Pts=<value optimized out>,
    Count=<value optimized out>, rule=0) at painting/qregion.cpp:3605
 region = (QRegionPrivate *) 0x9fb1fa0
 pAET = <value optimized out>
 y = 167652544
 pETEs = <value optimized out>
 pPrevAET = <value optimized out>
 fixWAET = 165053616
 FirstPtBlock = {data = {0, 0, 167641848, 137280097, 167642260,
    167117772, -1080864786, 4311995, -1080864804, -1080864808, 4315800,
    -1080864792, -1080864832, -1080864800, 167117728, 222, 167641856, 0,
    16764...

Revision history for this message
In , Jonathan Thomas (echidnaman-f) wrote :

*** Bug 220642 has been marked as a duplicate of this bug. ***

Changed in qt:
status: Unknown → Confirmed
Changed in qt:
importance: Unknown → High
Revision history for this message
In , Justin Zobel (justin-zobel) wrote :

Thank you for the report, Daniel.

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 qt:
status: Confirmed → 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 qt:
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.