A better trace:
Program received signal SIGSEGV, Segmentation fault.
nux::XInputWindow::SetStruts (this=0x6265c0) at ./XInputWindow.cpp:131
131 tmp_rect.height = info[i].height;
(gdb) bt full
#0 nux::XInputWindow::SetStruts (this=0x6265c0) at ./XInputWindow.cpp:131
i = <optimized out> total_screen_region = 0x5e7a50
info = 0x0 screen_region = <optimized out> intersection = 0x6267a8
tmp_rect = {x = 100, y = 100, width = 320, height = 200} largestHeight = <optimized out>
screenWidth = <optimized out> screenHeight = <optimized out>
data = {0 <repeats 12 times>}
n_info = 1092141056 input_window_region = 0x62e268 largestWidth = <optimized out>
#1 0x41139136 in UnityScreen::initLauncher(nux::NThread*, void*) ()
from /usr/lib/compiz/libunityshell.so
No symbol table info available.
#2 0x411395d2 in UnityScreen::initUnity(nux::NThread*, void*) ()
from /usr/lib/compiz/libunityshell.so
No symbol table info available.
#3 0x41299b8a in nux::WindowThread::Run (this=0x1c6c08, arg=<optimized out>)
at ./WindowThread.cpp:840
No locals.
#4 0x41135d12 in UnityScreen::UnityScreen(CompScreen*) ()
from /usr/lib/compiz/libunityshell.so
No symbol table info available.
#5 0x4113cb92 in PluginClassHandler<UnityScreen, CompScreen, 0>::get(CompScreen*) () from /usr/lib/compiz/libunityshell.so
No symbol table info available.
#6 0x4113792e in UnityWindow::UnityWindow(CompWindow*) ()
from /usr/lib/compiz/libunityshell.so
No symbol table info available.
#7 0x4113cd64 in PluginClassHandler<UnityWindow, CompWindow, 0>::get(CompWindow*) () from /usr/lib/compiz/libunityshell.so
No symbol table info available.
#8 0x4113cdfc in CompPlugin::VTableForScreenAndWindow<UnityScreen, UnityWindow>::initWindow(CompWindow*) () from /usr/lib/compiz/libunityshell.so
No symbol table info available.
#9 0x00049a48 in CompPlugin::windowInitPlugins(CompWindow*) ()
No symbol table info available.
#10 0x0003e758 in CompWindow::CompWindow(unsigned long, XWindowAttributes&, PrivateWindow*) ()
No symbol table info available.
#11 0x0003e9fa in CoreWindow::manage(unsigned long, XWindowAttributes&) ()
No symbol table info available.
#12 0x0003209e in CompScreen::init(char const*) ()
No symbol table info available.
#13 0x0002835a in CompManager::init() ()
No symbol table info available.
#14 0x00025d4a in main ()
No symbol table info available.
[Current thread is 1 (Thread 0x40cb6a10 (LWP 27458))]
(gdb) l
126 for (int i = 0; i < n_info; i++)
127 {
128 tmp_rect.x = info[i].x_org;
129 tmp_rect.y = info[i].y_org;
130 tmp_rect.width = info[i].width;
131 tmp_rect.height = info[i].height;
132
133 screen_region = XCreateRegion ();
134
135 XUnionRectWithRegion (&tmp_rect, screen_region, screen_region);
A better trace: ow::SetStruts (this=0x6265c0) at ./XInputWindow. cpp:131 ow::SetStruts (this=0x6265c0) at ./XInputWindow. cpp:131
total_ screen_ region = 0x5e7a50
screen_ region = <optimized out>
intersection = 0x6267a8
largestHeight = <optimized out>
screenHeight = <optimized out>
input_ window_ region = 0x62e268
largestWidth = <optimized out> :initLauncher( nux::NThread* , void*) () compiz/ libunityshell. so :initUnity( nux::NThread* , void*) () compiz/ libunityshell. so ad::Run (this=0x1c6c08, arg=<optimized out>) cpp:840 :UnityScreen( CompScreen* ) () compiz/ libunityshell. so ler<UnityScreen , CompScreen, 0>::get( CompScreen* ) () from /usr/lib/ compiz/ libunityshell. so :UnityWindow( CompWindow* ) () compiz/ libunityshell. so ler<UnityWindow , CompWindow, 0>::get( CompWindow* ) () from /usr/lib/ compiz/ libunityshell. so :VTableForScree nAndWindow< UnityScreen, UnityWindow> ::initWindow( CompWindow* ) () from /usr/lib/ compiz/ libunityshell. so :windowInitPlug ins(CompWindow* ) () :CompWindow( unsigned long, XWindowAttributes&, PrivateWindow*) () :manage( unsigned long, XWindowAttributes&) () :init(char const*) () egion (&tmp_rect, screen_region, screen_region);
Program received signal SIGSEGV, Segmentation fault.
nux::XInputWind
131 tmp_rect.height = info[i].height;
(gdb) bt full
#0 nux::XInputWind
i = <optimized out>
info = 0x0
tmp_rect = {x = 100, y = 100, width = 320, height = 200}
screenWidth = <optimized out>
data = {0 <repeats 12 times>}
n_info = 1092141056
#1 0x41139136 in UnityScreen:
from /usr/lib/
No symbol table info available.
#2 0x411395d2 in UnityScreen:
from /usr/lib/
No symbol table info available.
#3 0x41299b8a in nux::WindowThre
at ./WindowThread.
No locals.
#4 0x41135d12 in UnityScreen:
from /usr/lib/
No symbol table info available.
#5 0x4113cb92 in PluginClassHand
No symbol table info available.
#6 0x4113792e in UnityWindow:
from /usr/lib/
No symbol table info available.
#7 0x4113cd64 in PluginClassHand
No symbol table info available.
#8 0x4113cdfc in CompPlugin:
No symbol table info available.
#9 0x00049a48 in CompPlugin:
No symbol table info available.
#10 0x0003e758 in CompWindow:
No symbol table info available.
#11 0x0003e9fa in CoreWindow:
No symbol table info available.
#12 0x0003209e in CompScreen:
No symbol table info available.
#13 0x0002835a in CompManager::init() ()
No symbol table info available.
#14 0x00025d4a in main ()
No symbol table info available.
[Current thread is 1 (Thread 0x40cb6a10 (LWP 27458))]
(gdb) l
126 for (int i = 0; i < n_info; i++)
127 {
128 tmp_rect.x = info[i].x_org;
129 tmp_rect.y = info[i].y_org;
130 tmp_rect.width = info[i].width;
131 tmp_rect.height = info[i].height;
132
133 screen_region = XCreateRegion ();
134
135 XUnionRectWithR