Hi,<br><br>I've been trying to get the blackbox window manager to work properly with uClibc 0.9.29 with no success. I had it working fine in the past with uClibc 0.9.28, now it segfaults during startup with 0.9.29. I noticed that if I delete the /usr/share/blackbox/styles directory, blackbox will run ok, but obviously it doesn't apply the colors and fonts and other niceness. Here is a stack trace from Eclipse using avr32 gdb:<br>
<br>Thread [1] (Suspended: Signal 'SIGSEGV' received. Description: Segmentation fault.) <br> 9 std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<std::string*, std::vector<std::string, std::allocator<std::string> > >, std::string>() staging_dir/usr/avr32-linux-uclibc/include/c++/4.2.1/ext/atomicity.h:83 0x00018d46 <br>
8 std::__insertion_sort<__gnu_cxx::__normal_iterator<std::string*, std::vector<std::string, std::allocator<std::string> > > >() staging_dir/usr/avr32-linux-uclibc/include/c++/4.2.1/bits/stl_algo.h:2352 0x00019a0a <br>
7 std::__final_insertion_sort<__gnu_cxx::__normal_iterator<std::string*, std::vector<std::string, std::allocator<std::string> > > >() staging_dir/usr/avr32-linux-uclibc/include/c++/4.2.1/bits/basic_string.h:234 0x00019bce <br>
6 BScreen::parseMenuFile() blackbox-0.70.1/src/Screen.cc:444 0x00013d0c <br> 5 BScreen::parseMenuFile() staging_dir/usr/avr32-linux-uclibc/include/c++/4.2.1/ext/atomicity.h:70 0x00013800 <br> 4 BScreen::InitMenu() staging_dir/usr/avr32-linux-uclibc/include/c++/4.2.1/bits/basic_string.h:288 0x00016328 <br>
3 BScreen() staging_dir/usr/avr32-linux-uclibc/include/c++/4.2.1/bits/basic_string.h:236 0x00017018 <br> 2 Blackbox() blackbox-0.70.1/src/blackbox.cc:370 0x00039cae <br> 1 main() blackbox-0.70.1/src/main.cc:115 0x0003aa82<br>
<br>and here is the output from strace:<br><br>open("/usr/share/blackbox/menu", O_RDONLY) = 4<br>ioctl(4, TCGETS, 0x7fe2beec) = -1 ENOTTY (Inappropriate ioctl for de)<br>read(4, "# This is the default menu file "..., 4096) = 3213<br>
stat("/usr/share/blackbox/styles", {st_mode=S_IFDIR|0775, st_size=4096, ...}) =0<br>open("/usr/share/blackbox/styles", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 5<br>fstat(5, {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0<br>
fcntl(5, F_SETFD, FD_CLOEXEC) = 0<br>getdents64(5, /* d_reclen == 0, problem here *//* 0 entries */, 4096) = 184<br>getdents64(5, /* 0 entries */, 4096) = 0<br>close(5) = 0<br>--- SIGSEGV (Segmentation fault) @ 0 (0) ---<br>
+++ killed by SIGSEGV +++<br><br>I'm not sure where to go from here, any debugging tips you folks can offer would be greatly appreciated.<br><br>Thanks,<br><br>John Voltz<br><br>