On Tue, Jan 20, 2015 at 10:11 AM, janis <ja...@cieti.lv> wrote:
> On 01/20/15 10:53, David Coppa wrote:
>> On Tue, Jan 20, 2015 at 9:40 AM, janis <ja...@cieti.lv> wrote:
>>> Here is a more informational backtrace from fluxbox compiled with
>>>
>>> # DEBUG="-ggdb -O0" INSTALL_STRIP= make clean repackage reinstall
>>>
>>> $ gdb /usr/local/bin/fluxbox fluxbox.core
>>
>> ...
>>
>>> #8  0x00000cae1b1a0f29 in FbTk::XmbFontImp::textWidth
>>> (this=0xcb0999f0aa0, text=0xcb0546eecd8 "xterm", len=471974426) at
>>> src/FbTk/XmbFontImp.cc:219
>>> #9  0x00000cae1b157e16 in FbTk::Font::textWidth (this=0xcb02986bf10,
>>> text=0xcb0546eecd8 "xterm", size=471974426) at src/FbTk/Font.cc:261
>>> #10 0x00000cae1b18e689 in maxTextLength (max_width=-10,
>>> font=@0xcb02986bf10, text=0xcb0546eecd8 "xterm",
>>> text_len=@0x7f7ffffd45bc, text_width=@0x7f7ffffd45e4) at
>>> src/FbTk/TextUtils.cc:57
>>> #11 0x00000cae1b18e731 in FbTk::doAlignment (max_width=-9, bevel=1,
>>> justify=FbTk::CENTER, font=@0xcb02986bf10, text=0xcb0546eecd8 "xterm",
>>> textlen=5, newlen=@0x7f7ffffd466c) at src/FbTk/TextUtils.cc:83
>>> #12 0x00000cae1b18d670 in FbTk::TextButton::drawText
>>> (this=0xcb113e6cc00, x_offset=10, y_offset=0, drawable=0x7f7ffffd4780)
>>> at src/FbTk/TextButton.cc:153
>>> #13 0x00000cae1b0781dd in IconButton::drawText (this=0xcb113e6cc00, x=0,
>>> y=0, drawable=0x7f7ffffd4780) at src/IconButton.cc:259
>>> #14 0x00000cae1b18d33a in FbTk::TextButton::renderForeground
>>> (this=0xcb113e6cc00, win=@0xcb113e6cc00, drawable=@0x7f7ffffd4780) at
>>> src/FbTk/TextButton.cc:134
>>> #15 0x00000cae1b154a54 in FbTk::FbWindow::updateBackground
>>> (this=0xcb113e6cc00, only_if_alpha=false) at src/FbTk/FbWindow.cc:234
>>> #16 0x00000cae1b035116 in FbTk::FbWindow::moveResize
>>> (this=0xcb113e6cc00, x=-1, y=-1, width=1, height=1) at FbWindow.hh:144
>>> #17 0x00000cae1b18da4b in FbTk::TextButton::moveResize
>>> (this=0xcb113e6cc00, x=-1, y=-1, width=1, height=1) at
>>> src/FbTk/TextButton.cc:58
>>> #18 0x00000cae1b078cc6 in IconButton::moveResize (this=0xcb113e6cc00,
>>> x=-1, y=-1, width=1, height=1) at src/IconButton.cc:96
>>> #19 0x00000cae1b14a5e4 in FbTk::Container::repositionItems
>>> (this=0xcb0546ec960) at src/FbTk/Container.cc:403
>>> #20 0x00000cae1b14b027 in FbTk::Container::insertItem
>>> (this=0xcb0546ec960, item=0xcb113e6cc00, pos=-1) at src/FbTk/Container.cc:92
>>> #21 0x00000cae1b05defd in FbWinFrame::createTab (this=0xcb0546ec830,
>>> button=@0xcb113e6cc00) at src/FbWinFrame.cc:629
>>> #22 0x00000cae1b0c7c9a in FluxboxWindow::associateClient
>>> (this=0xcb0546ec1d0, client=@0xcb08a07d000) at src/Window.cc:3679
>>> #23 0x00000cae1b0d60d2 in FluxboxWindow::init (this=0xcb0546ec1d0) at
>>> src/Window.cc:415
>>> #24 0x00000cae1b0d7252 in FluxboxWindow (this=0xcb0546ec1d0,
>>> client=@0xcb08a07d000) at src/Window.cc:307
>>> #25 0x00000cae1b099e96 in BScreen::createWindow (this=0xcb0f7bfa520,
>>> client=20971533) at src/Screen.cc:1270
>>> #26 0x00000cae1b0ec00b in Fluxbox::handleEvent (this=0xcb0cc1d5000,
>>> e=0x7f7ffffd4f20) at src/fluxbox.cc:679
>>> #27 0x00000cae1b0ec987 in Fluxbox::eventLoop (this=0xcb0cc1d5000) at
>>> src/fluxbox.cc:545
>>> #28 0x00000cae1b0fac00 in main (argc=1, argv=0x7f7ffffd5518) at
>>> src/main.cc:221
>>> Current language:  auto; currently asm
>>>
>>
>> This[1] commit probably introduced a regression.
>>
>> [1] 
>> http://git.fluxbox.org/fluxbox.git/commit/src/FbTk/TextUtils.cc?id=118ea25f9d581de6fc2c57dde7b8737cbba6faf4
>>
> Thanks for your help! What can be done about it?

Please try the attached diff (from upstream git) and report back.

Ciao,
David

Attachment: fluxbox-crash-fix.diff.gz
Description: GNU Zip compressed data

Reply via email to