Bug 346833 - Crash Konsole in exit
Summary: Crash Konsole in exit
Status: RESOLVED DUPLICATE of bug 342201
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 3.0.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-04-28 12:00 UTC by shimrraa+kdebug
Modified: 2016-08-13 17:25 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.59 KB, text/plain)
2015-05-13 01:27 UTC, Richard Elder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shimrraa+kdebug 2015-04-28 12:00:15 UTC
Application: konsole (3.0.1)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-15-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
Error when i leave the Konsole with ctrl+d or i close by interface (cross close).

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0f1ceac800 (LWP 10250))]

Thread 4 (Thread 0x7f0f0736a700 (LWP 10251)):
[KCrash Handler]
#6  malloc_consolidate (av=av@entry=0x7f0f00000020) at malloc.c:4136
#7  0x00007f0f1c8f1a34 in _int_malloc (av=av@entry=0x7f0f00000020, bytes=bytes@entry=2032) at malloc.c:3417
#8  0x00007f0f1c8f50b5 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3213
#9  0x00007f0f108be249 in ?? () from /usr/lib/nvidia-340/tls/libnvidia-tls.so.340.76
#10 0x00007f0f147197f2 in g_malloc0 () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f0f14730f5c in g_slice_free1 () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f0f14e47359 in __nptl_deallocate_tsd () at pthread_create.c:175
#13 0x00007f0f14e4876d in __nptl_deallocate_tsd () at ../sysdeps/unix/sysv/linux/exit-thread.h:36
#14 start_thread (arg=0x7f0f0736a700) at pthread_create.c:346
#15 0x00007f0f1c976eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f0efcba5700 (LWP 10253)):
#0  0x00007f0f1c96b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0f14713ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0f14714242 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0f0501bae6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f0f1473a955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0f14e486aa in start_thread (arg=0x7f0efcba5700) at pthread_create.c:333
#6  0x00007f0f1c976eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f0ef7fff700 (LWP 10254)):
#0  0x00007f0f1c96b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0f14713ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0f14713fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0f14714009 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0f1473a955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0f14e486aa in start_thread (arg=0x7f0ef7fff700) at pthread_create.c:333
#6  0x00007f0f1c976eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f0f1ceac800 (LWP 10250)):
#0  0x00007f0f1c96b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0f16e77b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f0f16e793ff in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f0f16e79512 in xcb_wait_for_reply () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f0f172cf69f in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007f0f172cb28d in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007f0f172ad5be in XCloseDisplay () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007f0f09af61f4 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#8  0x00007f0f09af6619 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#9  0x00007f0f09afad3e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#10 0x00007f0f09afae19 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#11 0x00007f0f198225c0 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00007f0f19de34e9 in QApplicationPrivate::~QApplicationPrivate() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f0f1951883b in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f0f19de5133 in QApplication::~QApplication() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f0f1cc5b779 in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#16 0x00007f0f1c890a40 in __libc_start_main (main=0x400720 <main>, argc=1, argv=0x7ffec8d99a08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffec8d999f8) at libc-start.c:289
#17 0x000000000040074e in _start ()

Possible duplicates by query: bug 342201.

Reported using DrKonqi
Comment 1 Richard Elder 2015-05-13 01:27:33 UTC
Created attachment 92572 [details]
New crash information added by DrKonqi

konsole (3.0.1) using Qt 5.4.1

- What I was doing when the application crashed:

I closed the application with the X (cross) button. The application only does this when not in a maximized state. Reproducible every time.
The application does not recognize the custom size settings even when the "keep last position" setting is turned off. As a workaround, I have turned that setting on, the application will now come up at the last size but crashes on closing when not maximized. The terminal command 'exit' works as intended with no crash.

- Custom settings of the application:

I have customized size, buffer, and font settings.

-- Backtrace (Reduced):
#6  malloc_consolidate (av=av@entry=0x7f1b30000020) at malloc.c:4136
#7  0x00007f1b4b7b1a34 in _int_malloc (av=av@entry=0x7f1b30000020, bytes=bytes@entry=2032) at malloc.c:3417
#8  0x00007f1b4b7b50b5 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3213
[...]
#12 0x00007f1b43d07359 in __nptl_deallocate_tsd () at pthread_create.c:175
#13 0x00007f1b43d0876d in __nptl_deallocate_tsd () at ../sysdeps/unix/sysv/linux/exit-thread.h:36
Comment 2 Jan Wiele 2015-05-20 21:36:46 UTC
I'm getting a very similar crash. Often reproducible:
* Open Konsole
* start top
* Close Konsole with cross close
* Konsole tells you that top is still running
* "Close current Tab"
* "Top is still running..." -> Yes
* Konsole crashes about 1 out of 5  times.

Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
[Current thread is 1 (Thread 0x7f41dc5b4800 (LWP 6969))]

Thread 2 (Thread 0x7f41c6831700 (LWP 6970)):
[KCrash Handler]
#6  malloc_consolidate (av=av@entry=0x7f41c0000020) at malloc.c:4136
#7  0x00007f41dbffca34 in _int_malloc (av=av@entry=0x7f41c0000020, bytes=bytes@entry=2032) at malloc.c:3417
#8  0x00007f41dc0000b5 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3213
#9  0x00007f41cffbd249 in ?? () from /usr/lib/nvidia-346/tls/libnvidia-tls.so.346.59
#10 0x00007f41d3e247f2 in g_malloc0 () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f41d3e3bf5c in g_slice_free1 () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f41d4552359 in __nptl_deallocate_tsd () at pthread_create.c:175
#13 0x00007f41d455376d in __nptl_deallocate_tsd () at ../sysdeps/unix/sysv/linux/exit-thread.h:36
#14 start_thread (arg=0x7f41c6831700) at pthread_create.c:346
#15 0x00007f41dc081eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f41dc5b4800 (LWP 6969)):
#0  __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1  0x00007f41dbffbbb3 in _int_free (av=0x7f41c0000020, p=0x7f41c0006ef0, have_lock=0) at malloc.c:3929
#2  0x00007f41dbfff89c in __GI___libc_free (mem=<optimized out>) at malloc.c:2950
#3  0x00007f41c8febb20 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007f41c8fbefd1 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#5  0x00007f41c8fbf619 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#6  0x00007f41c8fc3d3e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#7  0x00007f41c8fc3e19 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#8  0x00007f41d8f2d5c0 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#9  0x00007f41d94ee4e9 in QApplicationPrivate::~QApplicationPrivate() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f41d8c2383b in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f41d94f0133 in QApplication::~QApplication() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f41dc366869 in kdemain (argc=1, argv=0x7ffd0f9ecee8) at ../../src/main.cpp:87
#13 0x00007f41dbf9ba40 in __libc_start_main (main=0x400720 <main(int, char**)>, argc=1, argv=0x7ffd0f9ecee8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd0f9eced8) at libc-start.c:289
#14 0x0000000000400759 in _start ()
Comment 3 Jan Wiele 2015-05-20 21:38:18 UTC
Just got another crash:

Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f7e5acb3c63 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#7  0x00007f7e5acb568c in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#8  0x00007f7e5acb426d in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#9  0x00007f7e5acb27a0 in xcb_disconnect () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#10 0x00007f7e5b0e8617 in XCloseDisplay () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#11 0x00007f7e4d9161f4 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#12 0x00007f7e4d916619 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#13 0x00007f7e4d91ad3e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#14 0x00007f7e4d91ae19 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#15 0x00007f7e5d8845c0 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#16 0x00007f7e5de454e9 in QApplicationPrivate::~QApplicationPrivate() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f7e5d57a83b in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f7e5de47133 in QApplication::~QApplication() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f7e60cbd869 in kdemain (argc=1, argv=0x7fff806fd698) at ../../src/main.cpp:87
#20 0x00007f7e608f2a40 in __libc_start_main (main=0x400720 <main(int, char**)>, argc=1, argv=0x7fff806fd698, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff806fd688) at libc-start.c:289
#21 0x0000000000400759 in _start ()
Comment 4 margueritesu 2015-06-07 15:58:24 UTC
Distro: openSUSE
Konsole version: 15.04.2-1.1
Qt version: 5.4.1-3.2

backtrace:

Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f394eeb0900 (LWP 17386))]

Thread 3 (Thread 0x7f39374a5700 (LWP 17387)):
[KCrash Handler]
#5  0x00007f394e795275 in malloc_consolidate (av=av@entry=0x7f3930000020) at malloc.c:4133
#6  0x00007f394e796628 in _int_malloc (av=av@entry=0x7f3930000020, bytes=bytes@entry=2032) at malloc.c:3414
#7  0x00007f394e7993aa in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3210
#8  0x00007f3940d84249 in  () at /usr/lib64/tls/libnvidia-tls.so.340.76
#9  0x00007f39453414d9 in g_malloc0 (n_bytes=2032) at gmem.c:127
#10 0x00007f394530db71 in thread_memory_from_self () at gslice.c:519
#11 0x00007f3945357799 in g_slice_free1 () at gslice.c:508
#12 0x00007f3945357799 in g_slice_free1 (mem_size=<optimized out>, mem_block=0x7f3930002800) at gslice.c:1088
#13 0x00007f3945a6f242 in __nptl_deallocate_tsd () at pthread_create.c:175
#14 0x00007f3945a6f497 in start_thread (arg=0x7f39374a5700) at pthread_create.c:346
#15 0x00007f394e805a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f392c46a700 (LWP 17389)):
#0  0x00007f394e811deb in __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1  0x00007f394e795c03 in _int_free (av=0x7f3930000020, p=0x7f39300021f0, have_lock=0) at malloc.c:3926
#2  0x00007f3945356a16 in magazine_cache_push_magazine (allocator=0x7f39455fe2c0 <allocator>, stamp=<optimized out>, ix=0) at gslice.c:679
#3  0x00007f3945356a16 in magazine_cache_push_magazine (ix=ix@entry=1, magazine_chunks=<optimized out>, count=<optimized out>) at gslice.c:710
#4  0x00007f3945356b82 in private_thread_memory_cleanup (data=0x7f3924000a70) at gslice.c:777
#5  0x00007f3945a6f242 in __nptl_deallocate_tsd () at pthread_create.c:175
#6  0x00007f3945a6f497 in start_thread (arg=0x7f392c46a700) at pthread_create.c:346
#7  0x00007f394e805a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f394eeb0900 (LWP 17386)):
#0  0x00007f394e7fd4cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3945e93322 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7ffecb9b9230) at /usr/include/bits/poll2.h:46
#2  0x00007f3945e93322 in _xcb_conn_wait (c=c@entry=0x195ba90, cond=cond@entry=0x7ffecb9b9350, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f3945e94b9f in wait_for_reply (c=c@entry=0x195ba90, request=4159, e=e@entry=0x7ffecb9b9418) at xcb_in.c:491
#4  0x00007f3945e94cb2 in xcb_wait_for_reply (c=c@entry=0x195ba90, request=4159, e=e@entry=0x7ffecb9b9418) at xcb_in.c:521
#5  0x00007f3947a7e28f in _XReply (dpy=dpy@entry=0x195a7b0, rep=rep@entry=0x7ffecb9b9460, extra=extra@entry=0, discard=discard@entry=1) at xcb_io.c:602
#6  0x00007f3947a79ead in XSync (dpy=dpy@entry=0x195a7b0, discard=discard@entry=1) at Sync.c:44
#7  0x00007f3947a5c1e0 in XCloseDisplay (dpy=0x195a7b0) at ClDisplay.c:61
#8  0x00007f3939c16014 in QXcbConnection::~QXcbConnection() (this=0x195a3c0, __in_chrg=<optimized out>) at qxcbconnection.cpp:444
#9  0x00007f3939c16449 in QXcbConnection::~QXcbConnection() (this=0x195a3c0, __in_chrg=<optimized out>) at qxcbconnection.cpp:450
#10 0x00007f3939c1a8ce in QXcbIntegration::~QXcbIntegration() (end=..., begin=...) at ../../../../src/corelib/tools/qalgorithms.h:315
#11 0x00007f3939c1a8ce in QXcbIntegration::~QXcbIntegration() (c=...) at ../../../../src/corelib/tools/qalgorithms.h:323
#12 0x00007f3939c1a8ce in QXcbIntegration::~QXcbIntegration() (this=0x193aa00, __in_chrg=<optimized out>) at qxcbintegration.cpp:189
#13 0x00007f3939c1a9b9 in QXcbIntegration::~QXcbIntegration() (this=0x193aa00, __in_chrg=<optimized out>) at qxcbintegration.cpp:190
#14 0x00007f394b34b5a0 in QGuiApplicationPrivate::~QGuiApplicationPrivate() (this=0x1942290, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1371
#15 0x00007f394bad90b9 in QApplicationPrivate::~QApplicationPrivate() (this=0x1942290, __in_chrg=<optimized out>) at kernel/qapplication.cpp:183
#16 0x00007f394ae55f24 in QObject::~QObject() (pointer=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:54
#17 0x00007f394ae55f24 in QObject::~QObject() (this=0x7ffecb9b97b8, __in_chrg=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:101
#18 0x00007f394ae55f24 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:882
#19 0x00007f394badabcf in QApplication::~QApplication() (this=0x7ffecb9b97b0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:803
#20 0x00007f394eae1387 in kdemain () at /usr/lib64/libkdeinit5_konsole.so
#21 0x00007f394e73f8c5 in __libc_start_main (main=0x4007c0 <main>, argc=1, argv=0x7ffecb9b98f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffecb9b98e8) at libc-start.c:289
#22 0x00000000004007f9 in _start ()
Comment 5 Marcelo Escobal 2015-08-02 15:36:39 UTC
What takes to move this bug from "unconfirmed" to "confirmed"?
Comment 6 David 2015-10-18 05:36:25 UTC
I Just filed:

Bug 354028 - Konsole crash on exit ( yet another dupe of Bug 346833 et al because Dr. Konqi is broken.)
Comment 7 Martin Sandsmark 2016-08-13 17:25:50 UTC

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