Hi,
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:
Thread [1] (Suspended: Signal 'SIGSEGV' received. Description: Segmentation
fault.)
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
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
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
6 BScreen::parseMenuFile() blackbox-0.70.1/src/Screen.cc:444
0x00013d0c
5 BScreen::parseMenuFile()
staging_dir/usr/avr32-linux-uclibc/include/c++/4.2.1/ext/atomicity.h:70
0x00013800
4 BScreen::InitMenu()
staging_dir/usr/avr32-linux-uclibc/include/c++/4.2.1/bits/basic_string.h:288
0x00016328
3 BScreen()
staging_dir/usr/avr32-linux-uclibc/include/c++/4.2.1/bits/basic_string.h:236
0x00017018
2 Blackbox() blackbox-0.70.1/src/blackbox.cc:370 0x00039cae
1 main() blackbox-0.70.1/src/main.cc:115 0x0003aa82
and here is the output from strace:
open("/usr/share/blackbox/menu", O_RDONLY) = 4
ioctl(4, TCGETS, 0x7fe2beec) = -1 ENOTTY (Inappropriate ioctl for
de)
read(4, "# This is the default menu file "..., 4096) = 3213
stat("/usr/share/blackbox/styles", {st_mode=S_IFDIR|0775, st_size=4096,
...}) =0
open("/usr/share/blackbox/styles", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 5
fstat(5, {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
fcntl(5, F_SETFD, FD_CLOEXEC) = 0
getdents64(5, /* d_reclen == 0, problem here *//* 0 entries */, 4096) = 184
getdents64(5, /* 0 entries */, 4096) = 0
close(5) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
I'm not sure where to go from here, any debugging tips you folks can offer
would be greatly appreciated.
Thanks,
John Voltz
_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc