﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
12732	Segmentation fault in Konsole (may be in stdio).	Ender		"My guest system is Debian jessie/sid, up-to-date, kernel 3.12.9-1, guest additions 4.3.6_Debian (although they're not important), running on OS X Mavericks.

A couple of weeks ago I updated my host and guest systems, and now konsole refuses to start, as it crashes with a segfault:

{{{
ender@belgarath2:~$ konsole
Segmentation fault
}}}
Installing the proper debugging libraries gives a more refined backtrace:

{{{
Using host libthread_db library ""/lib/x86_64-linux-gnu/libthread_db.so.1"".

Program received signal SIGSEGV, Segmentation fault.
create_atoms (dpy=dpy@entry=0x0) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:349
349	../../kdeui/windowmanagement/kwindowsystem_x11.cpp: No such file or directory.
(gdb) bt
#0  create_atoms (dpy=dpy@entry=0x0) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:349
#1  0x00007ffff6fed4c8 in create_atoms (dpy=0x0) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:829
#2  KWindowSystem::compositingActive () at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:824
#3  0x00007ffff7554679 in ?? () from /usr/lib/libkonsoleprivate.so
#4  0x00007ffff7deb92a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffec78, env=env@entry=0x7fffffffec88) at dl-init.c:78
#5  0x00007ffff7deba13 in call_init (env=0x7fffffffec88, argv=0x7fffffffec78, argc=1, l=<optimized out>) at dl-init.c:36
#6  _dl_init (main_map=0x7ffff7ffe1a8, argc=1, argv=0x7fffffffec78, env=0x7fffffffec88) at dl-init.c:126
#7  0x00007ffff7dde1ba in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#8  0x0000000000000001 in ?? ()
#9  0x00007fffffffee63 in ?? ()
#10 0x0000000000000000 in ?? ()
}}}

I mentioned stdio in the subject line because I have found a couple of bug reports of people (like http://lists.opensuse.org/opensuse-bugs/2013-07/msg00620.html) on Internet having the same error but with different binaries, and always on VirtualBox guests.  I'm uploading a core generated from the process to see if it can help you.

The line in question (taken from http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/kwindowsystem__x11_8cpp_source.html#l00349) is:

{{{
    sprintf( net_wm_cm_name, ""_NET_WM_CM_S%d"", DefaultScreen( dpy ));
}}}

I also created a new VM from scratch, installed the latest version of wheezy from the netinst image (http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-netinst.iso) and updated konsole from sid:

{{{
echo ""deb http://ftp.us.debian.org/debian/ sid main contrib non-free"" > /etc/apt/sources.list
apt-get update
apt-get install konsole
}}}

I didn't even installed the VBox Guest Additions packages in the new VM, but the crash is the same.

I think that this is a VB bug, as it's unlikely that being a real bug it were undiscovered for so long.

Thanks!"	defect	closed	other	VirtualBox 4.3.6	worksforme			Linux	Mac OS X
