fluxbox woes

Peter B. Steiger pbs_lists_001 at bluebottle.com
Mon Sep 10 11:05:36 PDT 2007


On Mon, 2007-09-10 at 08:08 -0700, Dan Nicholson wrote:
> If the X log doesn't indicate anything, I would try running with
> strace to see if anything pops up. 

Nothing in Xorg.0.log, so I installed strace.  The output shows me that
things break down shortly after it (successfully) loads the character
set from the locales:
munmap(0xb7eb3000, 4096)                = 0
write(3, "Failed to read", 14)          = 14
write(3, ": ", 2)                       = 2
write(3, "session.tabs", 12)            = 12
write(3, "\n", 1)                       = 1
write(3, "Setting default value", 21)   = 21
write(3, "\n", 1)                       = 1
write(3, "Failed to read", 14)          = 14
write(3, ": ", 2)                       = 2
write(3, "session.ignoreBorder", 20)    = 20
write(3, "\n", 1)                       = 1
write(3, "Setting default value", 21)   = 21
write(3, "\n", 1)                       = 1
(continues like that for several miles)

That is not in the strace from my working version, which I recompiled
with debug symbols enabled.  Then, further down, it says:
select(5, [4], [4], NULL, NULL)         = 1 (out [4])
writev(4, [{"\20\0\6\0\16\0\0\0_NET_SUPPORTEDST", 24}], 1) = 24
select(5, [4], [], NULL, NULL)          = 1 (in [4])
read(4, "\1\241\"\0\0\0\0\0\371\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 32
read(4, 0x81690ac, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
select(5, [4], [4], NULL, NULL)         = 1 (out [4])
writev(4, [{"\20\0\6\0\20\0\0\0_NET_CLIENT_LIST", 24}], 1) = 24
select(5, [4], [], NULL, NULL)          = 1 (in [4])
read(4, "\1\241#\0\0\0\0\0\372\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 32
read(4, 0x81690ac, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
select(5, [4], [4], NULL, NULL)         = 1 (out [4])
writev(4, [{"\20\0\t\0\31\0\0\0_NET_CLIENT_LIST_STACKIN"..., 36}], 1) =
36
select(5, [4], [], NULL, NULL)          = 1 (in [4])
read(4, "\1\241$\0\0\0\0\0\373\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 32
read(4, 0x81690ac, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
select(5, [4], [4], NULL, NULL)         = 1 (out [4])
writev(4, [{"\20\0\10\0\27\0\0\0_NET_NUMBER_OF_DESKTOPSN", 32}], 1) = 32
select(5, [4], [], NULL, NULL)          = 1 (in [4])
read(4, "\1\241%\0\0\0\0\0\374\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 32
read(4, 0x81690ac, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
select(5, [4], [4], NULL, NULL)         = 1 (out [4])
writev(4, [{"\20\0\10\0\25\0\0\0_NET_DESKTOP_GEOMETRYPSN", 32}], 1) = 32
select(5, [4], [], NULL, NULL)          = 1 (in [4])
read(4, "\1\241&\0\0\0\0\0\375\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 32
read(4, 0x81690ac, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
select(5, [4], [4], NULL, NULL)         = 1 (out [4])
writev(4, [{"\20\0\10\0\25\0\0\0_NET_DESKTOP_VIEWPORTPSN", 32}], 1) = 32
select(5, [4], [], NULL, NULL)          = 1 (in [4])
read(4, "\1\241\'\0\0\0\0\0\376\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 32
read(4, 0x81690ac, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
select(5, [4], [4], NULL, NULL)         = 1 (out [4])
writev(4, [{"\20\0\7\0\24\0\0\0_NET_CURRENT_DESKTOP", 28}], 1) = 28
select(5, [4], [], NULL, NULL)          = 1 (in [4])
read(4, "\1\241(\0\0\0\0\0\377\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 32
read(4, 0x81690ac, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
select(5, [4], [4], NULL, NULL)         = 1 (out [4])
writev(4, [{"\20\0\7\0\22\0\0\0_NET_DESKTOP_NAMESOP", 28}], 1) = 28
select(5, [4], [], NULL, NULL)          = 1 (in [4])
read(4, "\1\241)\0\0\0\0\0\0\1\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 32
read(4, 0x81690ac, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)

... and miles more like that.  Finally it ends with its deathbed
confession:
read(4, "\1\241\342\0\0\0\0\0\377\377\377\377\377\377\0\0\377\377"...,
4096) = 32
read(4, 0x81690ac, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
gettid()                                = 28513
tgkill(28513, 28513, SIGABRT)           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Process 28513 detached

I'm an application programmer at best, closer to a moderately skilled
end user who can crank out "Hello,world" in a half dozen languages
(including C) and little else... this stuff is meaningless to me.
However, I gleaned a little more information from the fluxbox output
itself.

The working copy does this for a while:
FbTk::Font: check UTF-8 convert for codeset = ISO-8859-15
FbTk::Font m_iconv = 135968608
FbTk::Font: check UTF-8 convert for codeset = ISO-8859-15
FbTk::Font m_iconv = 136562176
...
FbTk::Font: check UTF-8 convert for codeset = ISO-8859-15
FbTk::Font m_iconv = 135851408
SystemTray.cc(SystemTray(const FbTk::FbWindow)): SETTING OWNER!
Warning: Failed to read WM Protocols. 
WinClient.cc(~~WinClient)[this=0x82f8870]
Slit.cc: addClient(w = 0x400003)
Warning: Failed to read WM Protocols. 
------------------
Setting Focused window = 0
Current Focused window = 0
------------------
MapRequest for 0x80000a
Window.cc: FluxboxWindow::init(this=0x82fe0f0, client=80000a, frame =
600141)


... and on and on for the duration of the program, telling me about
various windows as they open and close.  The crashing version doesn't
get nearly that far:
FbTk::Font: check UTF-8 convert for codeset = ISO-8859-1
FbTk::Font m_iconv = 135865696
ThemeItem<Font>: Warning! Failed to load default value 'fixed'
FbTk::Font: check UTF-8 convert for codeset = ISO-8859-1
FbTk::Font m_iconv = 135920144
ThemeItem<Font>: Warning! Failed to load default value 'fixed'
FbTk::Font: check UTF-8 convert for codeset = ISO-8859-1
FbTk::Font m_iconv = 135921480
ThemeItem<Font>: Warning! Failed to load default value 'fixed'

... and there it ends.  So perhaps there is some failure loading the
character set, but I still don't know where to look for the underlying
cause.

-- 
Peter B. Steiger
Cheyenne, WY

----------------------------------------------------------------------
Free pop3 email with a spam filter.
http://www.bluebottle.com/tag/5




More information about the blfs-support mailing list