Re: Bad argument



On Tue, Aug 10, 2010 at 08:02:45AM +0900, Teika Kazura wrote:

> On Sat, 7 Aug 2010 09:28:17 +0200, "Mihai T. Lazarescu" wrote:
> >> > Sometimes small error windows pop up with messages like:
> >> > 
> >> >     Bad argument: #<subr x-atom-name>, 1098346340, 1
> >> > 
> >> > when I use Java applications.
> 
> 1. Does the attached patch "atom.patch" fix? (It's already
> in the git HEAD, but not included in any released versions.)

Hi Teika,

The patch seems OK, thanks!  I applied it after upgrade to
1.6.3, since the issue was still there.

> Its description:
> * x-atom-name accepts full 32 unsigned int. Previously only 30 bits are
>   treated, if the architecture is 32-bit.
> 
> I know it fixes one bug, but I'm not sure if it's related to your case.
> 
> If not,
> 2. Is your OS 32-bit? (see $ uname -a) Is your librep compiled
> against gmp, a math lib? ($ ldd /usr/bin/rep)

The OS is 32 bit and librep is compiled against gmp:

    libgmp.so.3 => /usr/lib/sse2/libgmp.so.3 (0x02c5b000)

> # By the way, what's [SF] which is always present in your email
> # subject? :)

Sorry, I cleaned it up.  I have procmail prefixing sawfish list
emails with [SF] to distinguish them from other lists' traffic.
So, SF is my short for SawFish. :-)

Thanks a lot!

Mihai


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]