invalid pointer
Brought to you by:
vanrijn
Hi, running BBkeys 0.9.0-4 with Blackbox 0.70.1. I
have tried both the debian package and compile from
source and get the following...
~/installs/bbkeys-0.9.0$ bbkeys
bbkeys: ScreenHandler: in findSupportingWM.
bbkeys: ScreenHandler: first readSupportingWMCheck
succeeded.
bbkeys: ScreenHandler: second readSupportingWMCheck worked.
bbkeys: ScreenHandler: Found compatible window manager:
[Blackbox] for screen: [0].
bbkeys: ScreenHandler: Supported atoms: [45].
*** glibc detected *** free(): invalid pointer:
0x0808c3f0 ***
Aborted (core dumped)
kernel 2.6.13
Debian Unstable
Everything worked fine until I did a apt-get upgrade
last week.
Thanks
Logged In: YES
user_id=1430861
in the cut and paste above I was executing the deb package
binary (in path), however i also ran ./bbkeys in the src dir
to check the compiled version. Also removed the deb package
and make install'd and ran from clean config files.
Logged In: YES
user_id=1608068
I had a similar problem using bbkeys under FreeBSD-7-
Current. The C++ allocator seems to not be initializing
the memory for bbkeys to NULL, most likely as a system
debugging feature. Anyways, I found to likely culprits in
KeyClient.cpp because _keybindings and config_check_timer
were assumed to be NULL, but were not. The diff is against
KeyClient.cpp in source release of 0.9.0.
- Mark
---------------------------
104a105,110
> //Initialize some unused varables to NULl
> // This prevents RTEs on systems that don't zero all
allocated memory
> // such as some configurations of FreeBSD and NetBSD
> _keybindings = NULL;
> config_check_timer = NULL;
>