Re: Sound stuttering in audio/audacious

2016-01-29 Thread janis
> On Fri, Jan 29, 2016 at 9:11 AM, janis <ja...@cieti.lv> wrote:
>>> Hello, dear OpenBSD developers!
>>> 
>>> I'd like to report a problem with audio/audacious that troubles
>>> me.
>>> 
>>> Recently I switched from 5.8 to -current and noticed that
>>> audacious plays music fine, but starts to stutter once I seek to
>>> any position in any music file, therefore, it is very unpleasant.
>>> It's probably related to the new audio driver.
>>> 
>>> I reproduced the problem on two different machines (dmesg files
>>> are attached).
>>> 
>>> It would be very nice if the port could be updated to the latest
>>> version (3.7.1) as well.
>>> 
>>> Thanks in advance.
>>> 
>> With Alexandre Ratchov's help we found out that the problem is in 
>> audacious SoX resampler plugin. Thanks!
> 
> Is there a fix too?
The fix is not to enable it. :) I had forgotten that it was enabled on
my system. It worked fine on 5.8.

The sound stutters when SoX resampler plugin is set to rate 48000 and
very high quality, but works ok with rate 44100.



Re: Sound stuttering in audio/audacious

2016-01-29 Thread janis
> Hello, dear OpenBSD developers!
> 
> I'd like to report a problem with audio/audacious that troubles me.
> 
> Recently I switched from 5.8 to -current and noticed that audacious
> plays music fine, but starts to stutter once I seek to any position in
> any music file, therefore, it is very unpleasant. It's probably related
> to the new audio driver.
> 
> I reproduced the problem on two different machines (dmesg files are
> attached).
> 
> It would be very nice if the port could be updated to the latest version
> (3.7.1) as well.
> 
> Thanks in advance.
> 
With Alexandre Ratchov's help we found out that the problem is in
audacious SoX resampler plugin. Thanks!



Sound stuttering in audio/audacious

2016-01-26 Thread janis

Hello, dear OpenBSD developers!

I'd like to report a problem with audio/audacious that troubles me.

Recently I switched from 5.8 to -current and noticed that audacious 
plays music fine, but starts to stutter once I seek to any position in 
any music file, therefore, it is very unpleasant. It's probably related 
to the new audio driver.


I reproduced the problem on two different machines (dmesg files are 
attached).


It would be very nice if the port could be updated to the latest version 
(3.7.1) as well.


Thanks in advance.

OpenBSD 5.9-beta (GENERIC.MP) #0: Mon Jan 25 12:16:14 EET 2016
ja...@janis.cieti.lv:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8523141120 (8128MB)
avail mem = 8260640768 (7877MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf64f0 (54 entries)
bios0: vendor Dell Inc. version "A26" date 06/04/2013
bios0: Dell Inc. Latitude E4300
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG TCPA SLIC BOOT SSDT
acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) 
USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S4) RP02(S4) RP03(S3) 
RP04(S3) RP05(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P9400 @ 2.40GHz, 2394.38 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
cpu0: apic clock running at 265MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P9400 @ 2.40GHz, 2394.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR
cpu1: 6MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 2 (PCIE)
acpiprt1 at acpi0: bus 11 (RP01)
acpiprt2 at acpi0: bus 12 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus 13 (RP04)
acpiprt5 at acpi0: bus -1 (RP05)
acpiprt6 at acpi0: bus -1 (RP06)
acpiprt7 at acpi0: bus 0 (PCI0)
acpiec0 at acpi0
acpicpu0 at acpi0: !C3(100@162 mwait.3@0x50), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: !C3(100@162 mwait.3@0x50), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpitz0 at acpi0: critical temperature is 107 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "DELL KG87596" serial 5951 type LION oem "Samsung 
SDI"
acpibat1 at acpi0: BAT1 not present
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: LCD_
acpivideo1 at acpi0: VID2
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
inteldrm0 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0: msi
inteldrm0: 1280x800
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: msi, address 
00:21:70:e6:04:f3
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 20
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 22
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 22
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: msi
azalia0: codecs: IDT 92HD71B7, Intel/0x2802, using IDT 92HD71B7
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: msi
pci1 at ppb0 bus 11
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: msi
pci2 at ppb1 bus 12
iwn0 at pci2 dev 0 function 0 "Intel Centrino Wireless-N 2230" rev 0xc4: msi, 
MIMO 2T2R, BGN, address 68:17:29:c4:0d:6f
ppb2 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: msi
pci3 at ppb2 bus 13
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 20
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 21
uhci5 at 

Re: fluxbox-1.3.7 (Was: UPDATE: x11/fluxbox 1.3.5 = 1.3.6)

2015-02-09 Thread janis
 
 From: David Coppa dco...@gmail.com
 Date: Wed, Jan 21, 2015 at 9:22 AM
 Subject: Re: UPDATE: x11/fluxbox 1.3.5 = 1.3.6
 To: janis ja...@cieti.lv
 Cc: OpenBSD Ports ports@openbsd.org, Brian Callahan bcal...@openbsd.org


 On Wed, Jan 21, 2015 at 9:13 AM, janis ja...@cieti.lv wrote:
 Please try the attached diff (from upstream git) and report back.

 Thanks, David! Brian Callahan already asked me to test the same patch
 and I informed him that it works and solves my problem. Thank you very
 much. Please commit it.

 Excellent.

 Mathias Gumz (fluxbox' author) told me that since this bug affects us
 and probably the other BSDs as well, he'll release fluxbox-1.3.7
 soonish.
 
 As anticipated by Mathias, here's Fluxbox 1.3.7.
 
 Please test and comment.
 
 Ciao!
 David
 
 Index: Makefile
 ===
 RCS file: /cvs/ports/x11/fluxbox/Makefile,v
 retrieving revision 1.78
 diff -u -p -u -p -r1.78 Makefile
 --- Makefile  21 Jan 2015 08:52:04 -  1.78
 +++ Makefile  9 Feb 2015 10:32:52 -
 @@ -1,8 +1,7 @@
  # $OpenBSD: Makefile,v 1.78 2015/01/21 08:52:04 dcoppa Exp $
  
  COMMENT =window manager based on the original Blackbox code
 -DISTNAME =   fluxbox-1.3.6
 -REVISION =   0
 +DISTNAME =   fluxbox-1.3.7
  CATEGORIES = x11
  
  HOMEPAGE =   http://fluxbox.org/
 Index: distinfo
 ===
 RCS file: /cvs/ports/x11/fluxbox/distinfo,v
 retrieving revision 1.28
 diff -u -p -u -p -r1.28 distinfo
 --- distinfo  11 Jan 2015 15:59:19 -  1.28
 +++ distinfo  9 Feb 2015 10:32:52 -
 @@ -1,2 +1,2 @@
 -SHA256 (fluxbox-1.3.6.tar.gz) = y1TrYtPbovKCpQ+90HfSaiyfVVwStb9mSxGS7OdmlSc=
 -SIZE (fluxbox-1.3.6.tar.gz) = 1312141
 +SHA256 (fluxbox-1.3.7.tar.gz) = yZ4rqgb/8eljQrIEFQWdEv8fopF63gFzx1svpXApW58=
 +SIZE (fluxbox-1.3.7.tar.gz) = 1267833
 Index: patches/patch-Makefile_in
 ===
 RCS file: /cvs/ports/x11/fluxbox/patches/patch-Makefile_in,v
 retrieving revision 1.3
 diff -u -p -u -p -r1.3 patch-Makefile_in
 --- patches/patch-Makefile_in 11 Jan 2015 15:59:19 -  1.3
 +++ patches/patch-Makefile_in 9 Feb 2015 10:32:52 -
 @@ -1,7 +1,7 @@
  $OpenBSD: patch-Makefile_in,v 1.3 2015/01/11 15:59:19 bcallah Exp $
  Makefile.in.orig Wed Jan  7 13:16:02 2015
 -+++ Makefile.in  Wed Jan  7 13:16:25 2015
 -@@ -5234,7 +5234,6 @@ src/defaults.hh:
 +--- Makefile.in.orig Sun Feb  8 04:44:52 2015
  Makefile.in  Mon Feb  9 04:26:49 2015
 +@@ -5275,7 +5275,6 @@ src/defaults.hh:
   
   src/defaults.cc: force
   @( \
 @@ -9,7 +9,7 @@ $OpenBSD: patch-Makefile_in,v 1.3 2015/0
   echo '// This file is generated from Makefile. Do not edit!'; \
   echo '#include defaults.hh'; \
   echo ''; \
 -@@ -5243,11 +5242,7 @@ src/defaults.cc: force
 +@@ -5284,11 +5283,7 @@ src/defaults.cc: force
   echo '}'; \
   echo ''; \
   echo 'const char* gitrevision() {'; \
 Index: patches/patch-src_FbTk_TextButton_cc
 ===
 RCS file: patches/patch-src_FbTk_TextButton_cc
 diff -N patches/patch-src_FbTk_TextButton_cc
 --- patches/patch-src_FbTk_TextButton_cc  21 Jan 2015 08:52:04 -  
 1.1
 +++ /dev/null 1 Jan 1970 00:00:00 -
 @@ -1,39 +0,0 @@
 -$OpenBSD: patch-src_FbTk_TextButton_cc,v 1.1 2015/01/21 08:52:04 dcoppa Exp $
 -
 -commit 7b8fd2d81ad80a73564fc9fbb779f47568f12652
 -Author: Mathias Gumz ak...@fluxbox.org
 -Date:   Sat Jan 10 22:44:37 2015 +0100
 -
 -Fix bug: integer underflow in startup phase
 -
 -When fluxbox comes up some of it's drawables span a 1x1 area. Subtracting 
 from
 -such small numbers bigger ones always lead to massive problems when 'unsigned
 -int' are involved:
 -
 -'button_width' is an unsigned int of '1' (this might be caused by another
 -issue or on purpose, anyway), subtracting -10 or any other number should
 -result in something  0 when in reality an integer underflow happen: 
 max_width
 -is now MAX_INT-something big. This makes fluxbox crash under certain
 -circumstances.
 -
  src/FbTk/TextButton.cc.orig  Mon Jun 17 06:38:14 2013
 -+++ src/FbTk/TextButton.cc   Wed Jan 21 01:54:20 2015
 -@@ -143,11 +143,17 @@ void TextButton::drawText(int x_offset, int y_offset, 
 - unsigned int textlen = visual.size();
 - unsigned int button_width = width();
 - unsigned int button_height = height();
 -+const int max_width = static_castint(button_width) - x_offset -
 -+m_left_padding - m_right_padding;
 - 
 -+if (max_width = bevel()) {
 -+return;
 -+}
 -+
 - translateSize(m_orientation, button_width, button_height);
 - 
 - // horizontal alignment, cut off text if needed
 --int align_x = FbTk::doAlignment(button_width - x_offset - 
 m_left_padding - m_right_padding,
 -+int align_x = FbTk::doAlignment(max_width

Re: UPDATE: x11/fluxbox 1.3.5 = 1.3.6

2015-01-21 Thread janis
 Please try the attached diff (from upstream git) and report back.
 
Thanks, David! Brian Callahan already asked me to test the same patch
and I informed him that it works and solves my problem. Thank you very
much. Please commit it.

-- 
Ar cieņu,
Jānis Lukaševičs

Latvijas Zvērinātu notāru padomes
datorsistēmu administrators

Mob. tālr.: +371 26306294
Tālr: +371 67218955
http://www.latvijasnotars.lv



Re: UPDATE: x11/fluxbox 1.3.5 = 1.3.6

2015-01-20 Thread janis
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
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as amd64-unknown-openbsd5.7...
Core was generated by `fluxbox'.
Program terminated with signal 6, Aborted.
Loaded symbols for /usr/local/bin/fluxbox
Reading symbols from /usr/X11R6/lib/libfontconfig.so.9.1...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.9.1
Reading symbols from /usr/X11R6/lib/libfreetype.so.23.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.23.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/local/lib/libfribidi.so.2.0...done.
Loaded symbols for /usr/local/lib/libfribidi.so.2.0
Reading symbols from /usr/local/lib/libImlib2.so.6.0...done.
Loaded symbols for /usr/local/lib/libImlib2.so.6.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.0...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.0
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.0
Reading symbols from /usr/X11R6/lib/libXft.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXft.so.9.0
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXpm.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.9.0
Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Reading symbols from /usr/lib/libc.so.78.1...done.
Loaded symbols for /usr/lib/libc.so.78.1
Reading symbols from /usr/lib/libexpat.so.11.0...done.
Loaded symbols for /usr/lib/libexpat.so.11.0
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.2.0
Reading symbols from /usr/X11R6/lib/libxcb.so.3.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.3.1
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
#0  0x0cb0ac4a79ea in kill () at stdin:2
2   stdin: No such file or directory.
in stdin
(gdb) bt
#0  0x0cb0ac4a79ea in kill () at stdin:2
#1  0x0cb0ac4e11c9 in abort () at /usr/src/lib/libc/stdlib/abort.c:53
#2  0x0cae1b0fb7e6 in handleSignal (signum=11) at src/main.cc:108
#3  signal handler called
#4  0x0cb07ccb1980 in utf8_mbtowc () from /usr/X11R6/lib/libX11.so.16.0
#5  0x0cb07ccb5d1e in utf8tocs () from /usr/X11R6/lib/libX11.so.16.0
#6  0x0cb07ccbe0fb in _XomConvert () from /usr/X11R6/lib/libX11.so.16.0
#7  0x0cb07ccbd5a6 in _XomGenericTextExtents () from
/usr/X11R6/lib/libX11.so.16.0
#8  0x0cae1b1a0f29 in FbTk::XmbFontImp::textWidth
(this=0xcb0999f0aa0, text=0xcb0546eecd8 xterm, len=471974426) at
src/FbTk/XmbFontImp.cc:219
#9  0x0cae1b157e16 in FbTk::Font::textWidth (this=0xcb02986bf10,
text=0xcb0546eecd8 xterm, size=471974426) at src/FbTk/Font.cc:261
#10 0x0cae1b18e689 in maxTextLength (max_width=-10,
font=@0xcb02986bf10, text=0xcb0546eecd8 xterm,
text_len=@0x7f7d45bc, text_width=@0x7f7d45e4) at
src/FbTk/TextUtils.cc:57
#11 0x0cae1b18e731 in FbTk::doAlignment (max_width=-9, bevel=1,
justify=FbTk::CENTER, font=@0xcb02986bf10, text=0xcb0546eecd8 xterm,
textlen=5, newlen=@0x7f7d466c) at src/FbTk/TextUtils.cc:83
#12 0x0cae1b18d670 in FbTk::TextButton::drawText
(this=0xcb113e6cc00, x_offset=10, y_offset=0, drawable=0x7f7d4780)
at src/FbTk/TextButton.cc:153
#13 0x0cae1b0781dd in IconButton::drawText (this=0xcb113e6cc00, x=0,
y=0, drawable=0x7f7d4780) at src/IconButton.cc:259
#14 0x0cae1b18d33a in FbTk::TextButton::renderForeground
(this=0xcb113e6cc00, win=@0xcb113e6cc00, drawable=@0x7f7d4780) at

Re: UPDATE: x11/fluxbox 1.3.5 = 1.3.6

2015-01-20 Thread janis
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  0x0cae1b1a0f29 in FbTk::XmbFontImp::textWidth
 (this=0xcb0999f0aa0, text=0xcb0546eecd8 xterm, len=471974426) at
 src/FbTk/XmbFontImp.cc:219
 #9  0x0cae1b157e16 in FbTk::Font::textWidth (this=0xcb02986bf10,
 text=0xcb0546eecd8 xterm, size=471974426) at src/FbTk/Font.cc:261
 #10 0x0cae1b18e689 in maxTextLength (max_width=-10,
 font=@0xcb02986bf10, text=0xcb0546eecd8 xterm,
 text_len=@0x7f7d45bc, text_width=@0x7f7d45e4) at
 src/FbTk/TextUtils.cc:57
 #11 0x0cae1b18e731 in FbTk::doAlignment (max_width=-9, bevel=1,
 justify=FbTk::CENTER, font=@0xcb02986bf10, text=0xcb0546eecd8 xterm,
 textlen=5, newlen=@0x7f7d466c) at src/FbTk/TextUtils.cc:83
 #12 0x0cae1b18d670 in FbTk::TextButton::drawText
 (this=0xcb113e6cc00, x_offset=10, y_offset=0, drawable=0x7f7d4780)
 at src/FbTk/TextButton.cc:153
 #13 0x0cae1b0781dd in IconButton::drawText (this=0xcb113e6cc00, x=0,
 y=0, drawable=0x7f7d4780) at src/IconButton.cc:259
 #14 0x0cae1b18d33a in FbTk::TextButton::renderForeground
 (this=0xcb113e6cc00, win=@0xcb113e6cc00, drawable=@0x7f7d4780) at
 src/FbTk/TextButton.cc:134
 #15 0x0cae1b154a54 in FbTk::FbWindow::updateBackground
 (this=0xcb113e6cc00, only_if_alpha=false) at src/FbTk/FbWindow.cc:234
 #16 0x0cae1b035116 in FbTk::FbWindow::moveResize
 (this=0xcb113e6cc00, x=-1, y=-1, width=1, height=1) at FbWindow.hh:144
 #17 0x0cae1b18da4b in FbTk::TextButton::moveResize
 (this=0xcb113e6cc00, x=-1, y=-1, width=1, height=1) at
 src/FbTk/TextButton.cc:58
 #18 0x0cae1b078cc6 in IconButton::moveResize (this=0xcb113e6cc00,
 x=-1, y=-1, width=1, height=1) at src/IconButton.cc:96
 #19 0x0cae1b14a5e4 in FbTk::Container::repositionItems
 (this=0xcb0546ec960) at src/FbTk/Container.cc:403
 #20 0x0cae1b14b027 in FbTk::Container::insertItem
 (this=0xcb0546ec960, item=0xcb113e6cc00, pos=-1) at src/FbTk/Container.cc:92
 #21 0x0cae1b05defd in FbWinFrame::createTab (this=0xcb0546ec830,
 button=@0xcb113e6cc00) at src/FbWinFrame.cc:629
 #22 0x0cae1b0c7c9a in FluxboxWindow::associateClient
 (this=0xcb0546ec1d0, client=@0xcb08a07d000) at src/Window.cc:3679
 #23 0x0cae1b0d60d2 in FluxboxWindow::init (this=0xcb0546ec1d0) at
 src/Window.cc:415
 #24 0x0cae1b0d7252 in FluxboxWindow (this=0xcb0546ec1d0,
 client=@0xcb08a07d000) at src/Window.cc:307
 #25 0x0cae1b099e96 in BScreen::createWindow (this=0xcb0f7bfa520,
 client=20971533) at src/Screen.cc:1270
 #26 0x0cae1b0ec00b in Fluxbox::handleEvent (this=0xcb0cc1d5000,
 e=0x7f7d4f20) at src/fluxbox.cc:679
 #27 0x0cae1b0ec987 in Fluxbox::eventLoop (this=0xcb0cc1d5000) at
 src/fluxbox.cc:545
 #28 0x0cae1b0fac00 in main (argc=1, argv=0x7f7d5518) 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?



Re: UPDATE: x11/fluxbox 1.3.5 = 1.3.6

2015-01-19 Thread janis
Hello!

Since this update fluxbox on my machine has become completely unusable,
it randomly crashes on opening any applications.

For example, xterm opens without crashing fluxbox with a 50-50 probability.

Please, be so kind and look at this problem, I can't use my computer. :)

Here is a backtrace and dmesg:

$ gdb /usr/local/bin/fluxbox fluxbox.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as amd64-unknown-openbsd5.7...(no debugging
symbols
found)

Core was generated by `fluxbox'.
Program terminated with signal 6, Aborted.
(no debugging symbols found)
Loaded symbols for /usr/local/bin/fluxbox
Reading symbols from /usr/X11R6/lib/libfontconfig.so.9.1...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.9.1
Reading symbols from /usr/X11R6/lib/libfreetype.so.23.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.23.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/local/lib/libfribidi.so.2.0...done.
Loaded symbols for /usr/local/lib/libfribidi.so.2.0
Reading symbols from /usr/local/lib/libImlib2.so.6.0...done.
Loaded symbols for /usr/local/lib/libImlib2.so.6.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.0...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.0
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.0
Reading symbols from /usr/X11R6/lib/libXft.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXft.so.9.0
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXpm.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.9.0
Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Reading symbols from /usr/lib/libc.so.78.1...done.
Loaded symbols for /usr/lib/libc.so.78.1
Reading symbols from /usr/lib/libexpat.so.11.0...done.
Loaded symbols for /usr/lib/libexpat.so.11.0
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.2.0
Reading symbols from /usr/X11R6/lib/libxcb.so.3.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.3.1
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
#0  0x1b0b8998b9ea in kill () at stdin:2
2   stdin: No such file or directory.
in stdin
(gdb) bt
#0  0x1b0b8998b9ea in kill () at stdin:2
#1  0x1b0b899c51e9 in abort () at /usr/src/lib/libc/stdlib/abort.c:53
#2  0x1b09155ef53d in BScreen::screenNumber () from
/usr/local/bin/fluxbox
#3  signal handler called
#4  0x1b0b7d6849d6 in utf8_mbtowc () from /usr/X11R6/lib/libX11.so.16.0
#5  0x1b0b7d688d1e in utf8tocs () from /usr/X11R6/lib/libX11.so.16.0
#6  0x1b0b7d6910fb in _XomConvert () from /usr/X11R6/lib/libX11.so.16.0
#7  0x1b0b7d6905a6 in _XomGenericTextExtents () from
/usr/X11R6/lib/libX11.so.16.0
#8  0x1b0915684cff in toupper () from /usr/local/bin/fluxbox
#9  0x1b091567665f in toupper () from /usr/local/bin/fluxbox
#10 0x1b0915674c9d in toupper () from /usr/local/bin/fluxbox
#11 0x1b0915645396 in BScreen::screenNumber () from
/usr/local/bin/fluxbox
#12 0x1b09155700dd in IconButton::reconfigTheme () from
/usr/local/bin/fluxbox
#13 0x1b091563f7a8 in BScreen::screenNumber () from
/usr/local/bin/fluxbox
#14 0x1b09156401c9 in BScreen::screenNumber () from
/usr/local/bin/fluxbox
#15 0x1b09155be944 in FluxboxWindow::lower () from
/usr/local/bin/fluxbox
#16 0x1b09155c7851 in FluxboxWindow::reconfigure () from
/usr/local/bin/fluxbox
#17 0x1b09155cb489 in FluxboxWindow::reconfigure () from
/usr/local/bin/fluxbox
#18 0x1b0915590244 in BScreen::shutdown () from /usr/local/bin/fluxbox
#19 

Re: databases/pgadmin3 is crashing on amd64

2014-10-22 Thread janis
 On Tue, Oct 21, 2014 at 4:00 PM, janis ja...@cieti.lv wrote:
 On Tue, Oct 21, 2014 at 3:14 PM, janis ja...@cieti.lv wrote:

 Thanks, but unfortunately the problem remains. Backtrace looks the same:

 (gdb) bt

 Please recompile databases/pgadmin3 with:

 $ DEBUG=-ggdb -O0 INSTALL_STRIP= make clean repackage reinstall

 And repost the backtrace

 Here it is:
 
 Please, try the attached patch.
 
Hooray! Works fine again. Thank you for your time and great work.



Re: databases/pgadmin3 is crashing on amd64

2014-10-21 Thread janis
 On Tue, Oct 21, 2014 at 3:14 PM, janis ja...@cieti.lv wrote:
 
 Thanks, but unfortunately the problem remains. Backtrace looks the same:

 (gdb) bt
 
 Please recompile databases/pgadmin3 with:
 
 $ DEBUG=-ggdb -O0 INSTALL_STRIP= make clean repackage reinstall
 
 And repost the backtrace
 
Here it is:

(gdb) bt
#0  0x0b97c499e0da in kill () at stdin:2
#1  0x0b97c4a004a9 in abort () at /usr/src/lib/libc/stdlib/abort.c:53
#2  0x0b9841639595 in pthread_mutex_unlock (mutexp=Variable mutexp
is not available.
) at /usr/src/lib/librthread/rthread_sync.c:219
#3  0x0b982742fa99 in wxMutexInternal::Unlock () from
/usr/local/lib/libwx_base.so.3.0
#4  0x0b958b2cf96e in frmMain::OnSelRightClick (this=0xb984b91b000,
event=@0x7f7ce7f0) at frm/events.cpp:751
#5  0x0b982743247d in wxEvtHandler::ProcessEventIfMatches () from
/usr/local/lib/libwx_base.so.3.0
#6  0x0b982743264c in wxEventHashTable::HandleEvent () from
/usr/local/lib/libwx_base.so.3.0
#7  0x0b982743278d in wxEvtHandler::ProcessEvent () from
/usr/local/lib/libwx_base.so.3.0
#8  0x0b9827432730 in wxEvtHandler::ProcessEvent () from
/usr/local/lib/libwx_base.so.3.0
#9  0x0b979eaa73c4 in wxWindowBase::TryParent () from
/usr/local/lib/libwx_gtk2_core.so.3.0
#10 0x0b9827432740 in wxEvtHandler::ProcessEvent () from
/usr/local/lib/libwx_base.so.3.0
#11 0x0b9827432730 in wxEvtHandler::ProcessEvent () from
/usr/local/lib/libwx_base.so.3.0
#12 0x0b979eaddb95 in wxScrollHelperEvtHandler::ProcessEvent () from
/usr/local/lib/libwx_gtk2_core.so.3.0
#13 0x0b979eaf185c in wxGenericTreeCtrl::OnMouse () from
/usr/local/lib/libwx_gtk2_core.so.3.0
#14 0x0b982743247d in wxEvtHandler::ProcessEventIfMatches () from
/usr/local/lib/libwx_base.so.3.0
#15 0x0b982743264c in wxEventHashTable::HandleEvent () from
/usr/local/lib/libwx_base.so.3.0
#16 0x0b982743278d in wxEvtHandler::ProcessEvent () from
/usr/local/lib/libwx_base.so.3.0
#17 0x0b9827432730 in wxEvtHandler::ProcessEvent () from
/usr/local/lib/libwx_base.so.3.0
#18 0x0b979eaddb95 in wxScrollHelperEvtHandler::ProcessEvent () from
/usr/local/lib/libwx_gtk2_core.so.3.0
#19 0x0b979e9a0141 in wxWindow::GTKProcessEvent () from
/usr/local/lib/libwx_gtk2_core.so.3.0
#20 0x0b979e9a5b57 in gtk_window_button_press_callback () from
/usr/local/lib/libwx_gtk2_core.so.3.0
#21 0x0b9830c70a9f in _gtk_marshal_BOOLEAN__BOXED () from
/usr/local/lib/libgtk-x11-2.0.so.2400.0
#22 0x0b98715763f3 in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.4200.0
#23 0x0b987158c3ff in signal_emit_unlocked_R () from
/usr/local/lib/libgobject-2.0.so.4200.0
#24 0x0b987158e1ff in g_signal_emit_valist () from
/usr/local/lib/libgobject-2.0.so.4200.0
#25 0x0b987158ee41 in g_signal_emit () from
/usr/local/lib/libgobject-2.0.so.4200.0
#26 0x0b9830d8e59f in gtk_widget_event_internal () from
/usr/local/lib/libgtk-x11-2.0.so.2400.0
#27 0x0b9830c693f9 in gtk_propagate_event () from
/usr/local/lib/libgtk-x11-2.0.so.2400.0
#28 0x0b9830c6a73f in gtk_main_do_event () from
/usr/local/lib/libgtk-x11-2.0.so.2400.0
#29 0x0b9878581c80 in gdk_event_dispatch () from
/usr/local/lib/libgdk-x11-2.0.so.2400.0
#30 0x0b97aa546f4f in g_main_context_dispatch () from
/usr/local/lib/libglib-2.0.so.4200.0
#31 0x0b97aa548f9e in g_main_context_iterate () from
/usr/local/lib/libglib-2.0.so.4200.0
#32 0x0b97aa549f35 in g_main_loop_run () from
/usr/local/lib/libglib-2.0.so.4200.0
#33 0x0b9830c6ab11 in gtk_main () from
/usr/local/lib/libgtk-x11-2.0.so.2400.0
#34 0x0b979e98e87d in wxEventLoop::Run () from
/usr/local/lib/libwx_gtk2_core.so.3.0
#35 0x0b979ea1a399 in wxAppBase::MainLoop () from
/usr/local/lib/libwx_gtk2_core.so.3.0
#36 0x0b98273cb8d1 in wxEntry () from /usr/local/lib/libwx_base.so.3.0
#37 0x0b958b094c32 in main (argc=1, argv=0x7f7cf818) at
pgAdmin3.cpp:125
Current language:  auto; currently asm



Re: databases/pgadmin3 is crashing on amd64

2014-10-20 Thread janis
Hello,

databases/pgadmin3 is still broken. Here is a backtrace:

$ gdb pgadmin3 -c pgadmin3.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as amd64-unknown-openbsd5.6...(no debugging
symbols found)

Core was generated by `pgadmin3'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.18.1...done.
Loaded symbols for /usr/lib/libpthread.so.18.1
Loaded symbols for /usr/local/bin/pgadmin3
Reading symbols from /usr/local/lib/libwx_gtk2_stc.so.3.0...done.
Loaded symbols for /usr/local/lib/libwx_gtk2_stc.so.3.0
Reading symbols from /usr/local/lib/libwx_gtk2_aui.so.3.0...done.
Loaded symbols for /usr/local/lib/libwx_gtk2_aui.so.3.0
Reading symbols from /usr/local/lib/libwx_gtk2_xrc.so.3.0...done.
Loaded symbols for /usr/local/lib/libwx_gtk2_xrc.so.3.0
Reading symbols from /usr/local/lib/libwx_gtk2_html.so.3.0...done.
Loaded symbols for /usr/local/lib/libwx_gtk2_html.so.3.0
Reading symbols from /usr/local/lib/libwx_gtk2_adv.so.3.0...done.
Loaded symbols for /usr/local/lib/libwx_gtk2_adv.so.3.0
Reading symbols from /usr/local/lib/libwx_gtk2_core.so.3.0...done.
Loaded symbols for /usr/local/lib/libwx_gtk2_core.so.3.0
Reading symbols from /usr/local/lib/libwx_base_xml.so.3.0...done.
Loaded symbols for /usr/local/lib/libwx_base_xml.so.3.0
Reading symbols from /usr/local/lib/libwx_base_net.so.3.0...done.
Loaded symbols for /usr/local/lib/libwx_base_net.so.3.0
Reading symbols from /usr/local/lib/libwx_base.so.3.0...done.
Loaded symbols for /usr/local/lib/libwx_base.so.3.0
Reading symbols from /usr/local/lib/libxml2.so.15.1...done.
Loaded symbols for /usr/local/lib/libxml2.so.15.1
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/local/lib/libxslt.so.3.8...done.
Loaded symbols for /usr/local/lib/libxslt.so.3.8
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/local/lib/libpq.so.5.6...done.
Loaded symbols for /usr/local/lib/libpq.so.5.6
Reading symbols from /usr/lib/libcrypto.so.30.1...done.
Loaded symbols for /usr/lib/libcrypto.so.30.1
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Symbols already loaded for /usr/lib/libpthread.so.18.1
Reading symbols from /usr/lib/libc.so.77.2...done.
Loaded symbols for /usr/lib/libc.so.77.2
Reading symbols from /usr/local/lib/libgtk-x11-2.0.so.2400.0...done.
Loaded symbols for /usr/local/lib/libgtk-x11-2.0.so.2400.0
Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.2400.0...done.
Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.2400.0
Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXi.so.12.1...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.12.1
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.0
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0
Reading symbols from /usr/X11R6/lib/libXcomposite.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXcomposite.so.4.0
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.0...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.0
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/local/lib/libatk-1.0.so.21409.1...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.21409.1
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0
Reading symbols from /usr/local/lib/libgio-2.0.so.4200.0...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.0
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.3600.0
Reading symbols from /usr/local/lib/libpango-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.3600.0
Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.0...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.0
Reading symbols from /usr/X11R6/lib/libfontconfig.so.9.1...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.9.1
Reading symbols from 

databases/pgadmin3 is crashing on amd64

2014-07-15 Thread janis
Hello!

I am having a problem with databases/pgadmin3 on the most recent
-current amd64 snapshot. It crashes trying to view table contents or
pressing properties for connection to a server. There is some output to
the terminal:

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed

(pgadmin3:32709): GLib-GObject-WARNING **: invalid cast from
'GtkFileChooserButton' to 'GtkBin'

(pgadmin3:32709): Gtk-CRITICAL **: IA__gtk_widget_modify_style:
assertion 'GTK_IS_WIDGET (widget)' failed
Abort trap (core dumped)