Alexey Bestchekov wrote:
> #0  0x00002ace3273d8d7 in _IO_vfscanf_internal () from /lib/libc.so.6
> #1  0x00002ace3274c395 in vsscanf () from /lib/libc.so.6
> #2  0x00002ace32747ca8 in sscanf () from /lib/libc.so.6
> #3  0x000000000041f7b7 in get_response (s=0x56ec30, H=0x7fff78d03a40) at
> protocols/http.c:473
> #4  0x000000000041fb51 in do_redirect (H=0x7fff78d03a40) at
> protocols/http.c:431
>
> the same problem exist in newer upstream version (4.9)
>

Since the coredump is in libc/vfscanf, I'm guessing this may be 64 bit +
locale related.

Could you try these steps?

1. Unset LANG LC_CTYPE LC_ALL and other locale related variables and try
to start.

2. print the variables to get_response()  (like  gdb monit ; run ; up ; up
; up ; print s; print H )

3. (a bit more work) upgrade to a newer libc and recompile with that.

I'm also CC'ing upstream if they have some ideas.

Regards,
 Stefan

> -- System Information:
> Debian Release: 4.0
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.18-4-amd64
> Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.koi8r (charmap=KOI8-R) (ignored:
> LC_ALL set to ru_RU.koi8r)
>
> Versions of packages monit depends on:
> ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared
> libraries
> ii  libssl0.9.8                 0.9.8c-4     SSL shared libraries
>
> monit recommends no packages.
>
> -- no debconf information
>
>



Reply via email to