Bug#383759: exim4-config: Fails to upgrade/install

2006-08-19 Thread Christian Hammers
Hi

The last functions in the backtrace belong to the rather new SSL code
which has been activated in 5.0.22-4 so it is indeed be likely that the
problem "suddenly" appears after the last update.
(quick fix: manually install 5.0.22-3 again, it might still be in 
/var/cache/apt/archives)

I checked the build log[1] and it says that the
(libmysqlclient15off_5.0.24-1) package was tried to get compiled for the
i486-linux-gnu target.
Sadly the further g++ calls in the build log do not seem to have a --target=
paramter so I cannot tell for sure what GCC actually did.

The 100 MHz Cyrix CPU was a Pentium clone i.e. at least no pre-i486 CPU,
right?

In the source code I found no obvious architecture dependend optimizing
parts and neither a related bug report on http://bugs.mysql.com.


Please try if the official MySQL i386 version works better. Download
 "Linux (non RPM, Intel C/C++ compiled, glibc-2.3) downloads
  Linux (x86)   Standard5.0.2426.0M Download"
from http://dev.mysql.com/downloads/mysql/5.0.html, unpack it and just
copy the libmysqlclient.so.15.0.0 over to /usr/lib/



bye,

-christian-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#383759: exim4-config: Fails to upgrade/install

2006-08-19 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reassign #383759 exim4-daemon-heavy
Bug#383759: exim4-config: Fails to upgrade/install
Bug reassigned from package `exim4-config' to `exim4-daemon-heavy'.

> retitle #383759 exim4-daemon-heavy: "illegal instruction" when executing on 
> 100 MHz Cyrix CPU
Bug#383759: exim4-config: Fails to upgrade/install
Changed Bug title.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383759: exim4-config: Fails to upgrade/install

2006-08-19 Thread Marc Haber
reassign #383759 exim4-daemon-heavy
retitle #383759 exim4-daemon-heavy: "illegal instruction" when executing on 100 
MHz Cyrix CPU
thanks

On Sat, Aug 19, 2006 at 04:32:54PM +0300, Yavor Doganov wrote:
> On Sat, Aug 19, 2006 at 03:20:36PM +0200, Marc Haber wrote:
> > That confirms my suspicon. Are you using exim4-daemon-heavy or
> > exim4-daemon-light? 
> 
> I am using exim4-daemon-heavy.

Reassigning

> > What's the md5sum of your /usr/sbin/exim4 binary
> 
> 6a002941afe0b8a5a05bbd95d56be0e0  /usr/sbin/exim4

That looks ok.

> Program received signal SIGILL, Illegal instruction.
> [Switching to Thread -1487128256 (LWP 24625)]
> 0xa7bf5c80 in
> TaoCrypt::RSA_Decryptor::SSL_Sign ()
>from /usr/lib/libmysqlclient.so.15
> (gdb) bt
> #0  0xa7bf5c80 in TaoCrypt::RSA_Decryptor::SSL_Sign
> () from /usr/lib/libmysqlclient.so.15
> #1  0xa7bf68fc in TaoCrypt::Integer::Swap () from 
> /usr/lib/libmysqlclient.so.15
> #2  0xa7bf69a5 in TaoCrypt::Integer::Swap () from 
> /usr/lib/libmysqlclient.so.15
> #3  0xa7c045d2 in TaoCrypt::EuclideanDomainOf::MultiplicativeIdentity ()
> from /usr/lib/libmysqlclient.so.15
> #4  0xa7b8fe19 in _init () from /usr/lib/libmysqlclient.so.15
> #5  0xa7f0dbd4 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
> #6  0xa7f0dd11 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
> #7  0xa7f027ef in ?? () from /lib/ld-linux.so.2

This is possibly a MySQL or a toolchain issue. Since I cannot
reproduce this here, I suspect a problem with your CPU architecture. I
am not sure how to proceed from here.

Greetings
Marc


-- 
-
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383759: exim4-config: Fails to upgrade/install

2006-08-19 Thread Robert Millan
On Sat, Aug 19, 2006 at 03:28:44PM +0300, Yavor Doganov wrote:
> On Sat, Aug 19, 2006 at 01:58:32PM +0200, Marc Haber wrote:
> > Illegal Instruction? That sounds like a compiler issue with your exim
> > binary.
> > 
> > Can you please try this:
> > 
> > # /usr/sbin/exim4 -C /dev/null -bV
> Illegal instruction
> 
> This is the whole output (exim4-daemon-heavy 4.62-4).

Can you provide a gdb backtrace?  (with debugging symbols; see exim4-dbg)

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383759: exim4-config: Fails to upgrade/install

2006-08-19 Thread Yavor Doganov
On Sat, Aug 19, 2006 at 03:20:36PM +0200, Marc Haber wrote:
> That confirms my suspicon. Are you using exim4-daemon-heavy or
> exim4-daemon-light? 

I am using exim4-daemon-heavy.

> What's the md5sum of your /usr/sbin/exim4 binary

6a002941afe0b8a5a05bbd95d56be0e0  /usr/sbin/exim4

> and what does ldd /usr/sbin/exim4 say on your system?

linux-gate.so.1 =>  (0xe000)
libpcre.so.3 => /usr/lib/libpcre.so.3 (0xa7f2f000)
libresolv.so.2 => /lib/tls/libresolv.so.2 (0xa7f1b000)
libnsl.so.1 => /lib/tls/libnsl.so.1 (0xa7f05000)
libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xa7ed7000)
libm.so.6 => /lib/tls/libm.so.6 (0xa7eb1000)
libpam.so.0 => /lib/libpam.so.0 (0xa7ea9000)
libdb-4.3.so => /usr/lib/libdb-4.3.so (0xa7dc5000)
libldap_r.so.2 => /usr/lib/libldap_r.so.2 (0xa7d8f000)
liblber.so.2 => /usr/lib/liblber.so.2 (0xa7d83000)
libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0xa7bc2000)
libpq.so.4 => /usr/lib/libpq.so.4 (0xa7ba5000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xa7b9)
libperl.so.5.8 => /usr/lib/libperl.so.5.8 (0xa7a74000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xa7a6f000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xa7a5d000)
libc.so.6 => /lib/tls/libc.so.6 (0xa7925000)
libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xa78b7000)
/lib/ld-linux.so.2 (0xa7f64000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xa78a4000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xa7852000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xa784e000)
libz.so.1 => /usr/lib/libz.so.1 (0xa783a000)
libssl.so.0.9.8 => /usr/lib/i486/libssl.so.0.9.8 (0xa77fe000)
libcrypto.so.0.9.8 => /usr/lib/i486/libcrypto.so.0.9.8 (0xa76d3000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xa7654000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xa762f000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0xa762c000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xa7627000)

Here's the backtrace:

grubian:/home/disorder# gdb /usr/sbin/exim4
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "i486-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

(gdb) r -C /dev/null -bV
Starting program: /usr/sbin/exim4 -C /dev/null -bV
[Thread debugging using libthread_db enabled]
[New Thread -1487128256 (LWP 24625)]

Program received signal SIGILL, Illegal instruction.
[Switching to Thread -1487128256 (LWP 24625)]
0xa7bf5c80 in
TaoCrypt::RSA_Decryptor::SSL_Sign ()
   from /usr/lib/libmysqlclient.so.15
(gdb) bt
#0  0xa7bf5c80 in TaoCrypt::RSA_Decryptor::SSL_Sign
() from /usr/lib/libmysqlclient.so.15
#1  0xa7bf68fc in TaoCrypt::Integer::Swap () from /usr/lib/libmysqlclient.so.15
#2  0xa7bf69a5 in TaoCrypt::Integer::Swap () from /usr/lib/libmysqlclient.so.15
#3  0xa7c045d2 in TaoCrypt::EuclideanDomainOf::MultiplicativeIdentity ()
from /usr/lib/libmysqlclient.so.15
#4  0xa7b8fe19 in _init () from /usr/lib/libmysqlclient.so.15
#5  0xa7f0dbd4 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#6  0xa7f0dd11 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#7  0xa7f027ef in ?? () from /lib/ld-linux.so.2

-- 
Best regards / SSC Varna | E-mail: [EMAIL PROTECTED]
Yavor Doganov| Mobile: +359 88 7517748 
Southway Shipping Consultancy Ltd.-Gibraltar, Varna Branch
Ph: +359 52 600129, 600130, 603643 | Fax: +359 52 603612


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383759: exim4-config: Fails to upgrade/install

2006-08-19 Thread Marc Haber
On Sat, Aug 19, 2006 at 03:28:44PM +0300, Yavor Doganov wrote:
> On Sat, Aug 19, 2006 at 01:58:32PM +0200, Marc Haber wrote:
> > Illegal Instruction? That sounds like a compiler issue with your exim
> > binary.
> > 
> > Can you please try this:
> > 
> > # /usr/sbin/exim4 -C /dev/null -bV
> Illegal instruction
> 
> This is the whole output (exim4-daemon-heavy 4.62-4).

That confirms my suspicon. Are you using exim4-daemon-heavy or
exim4-daemon-light? What's the md5sum of your /usr/sbin/exim4 binary
and what does ldd /usr/sbin/exim4 say on your system?

Greetings
Marc

-- 
-
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383759: exim4-config: Fails to upgrade/install

2006-08-19 Thread Yavor Doganov
On Sat, Aug 19, 2006 at 01:58:32PM +0200, Marc Haber wrote:
> Illegal Instruction? That sounds like a compiler issue with your exim
> binary.
> 
> Can you please try this:
> 
> # /usr/sbin/exim4 -C /dev/null -bV
Illegal instruction

This is the whole output (exim4-daemon-heavy 4.62-4).

-- 
Best regards / SSC Varna | E-mail: [EMAIL PROTECTED]
Yavor Doganov| Mobile: +359 88 7517748 
Southway Shipping Consultancy Ltd.-Gibraltar, Varna Branch
Ph: +359 52 600129, 600130, 603643 | Fax: +359 52 603612


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383759: exim4-config: Fails to upgrade/install

2006-08-19 Thread Marc Haber
On Sat, Aug 19, 2006 at 12:27:25PM +0300, Yavor Doganov wrote:
> When upgrading the exim4 packages I receive the following error:
> Setting up exim4-config (4.62-4) ...
> /usr/sbin/update-exim4.conf: line 434: 14851 Illegal instruction
> ${EXIM} -C "${UPEX4C_outputfile}.tmp" -bV >/dev/null
> Invalid new configfile /var/lib/exim4/config.autogenerated.tmp
> not installing /var/lib/exim4/config.autogenerated.tmp to 
> /var/lib/exim4/config.autogenerated
> dpkg: error processing exim4-config (--configure):
>  subprocess post-installation script returned error exit status 1
> 
> I have purged them and tried a fresh install, but the error is the
> same.  Perhaps it is worth noting that this happens only on one of my
> machines which is running Debian testing, and it is an old one (Cyrix
> 100 MHz).

Illegal Instruction? That sounds like a compiler issue with your exim
binary.

Can you please try this:

# /usr/sbin/exim4 -C /dev/null -bV
Exim version 4.63 #1 built 15-Aug-2006 20:40:36
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis 
nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /dev/null

This is output of an exim4-daemon-light. Your output should be _very_
similiar.

Greetings
Marc

-- 
-
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383759: exim4-config: Fails to upgrade/install

2006-08-19 Thread Yavor Doganov
found 383759 4.63-2
thanks

I experience the same trouble with the version from unstable.  No
problem with the Sarge packages.

-- 
I had a very low opinion of TCL, basically because it wasn't Lisp. --RMS


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#383759: exim4-config: Fails to upgrade/install

2006-08-19 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> found 383759 4.63-2
Bug#383759: exim4-config: Fails to upgrade/install
Bug marked as found in version 4.63-2.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383759: exim4-config: Fails to upgrade/install

2006-08-19 Thread Yavor Doganov
Package: exim4-config
Version: 4.62-4
Severity: serious

When upgrading the exim4 packages I receive the following error:

Setting up exim4-config (4.62-4) ...
/usr/sbin/update-exim4.conf: line 434: 14851 Illegal instruction
${EXIM} -C "${UPEX4C_outputfile}.tmp" -bV >/dev/null
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp
not installing /var/lib/exim4/config.autogenerated.tmp to 
/var/lib/exim4/config.autogenerated
dpkg: error processing exim4-config (--configure):
 subprocess post-installation script returned error exit status 1

I have purged them and tried a fresh install, but the error is the
same.  Perhaps it is worth noting that this happens only on one of my
machines which is running Debian testing, and it is an old one (Cyrix
100 MHz).  I am reporting this bug from another one (obviously!) and
changed the information below accordingly.

-- Package-specific info:
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to replace
# the DEBCONFsomethingDEBCONF strings in the configuration template files.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file

dc_eximconfig_configtype='internet'
dc_other_hostnames='yavor.doganov.org:chushkopek.org'
dc_local_interfaces=''
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='192.168.0.0/24'
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
mailname:yavor.doganov.org

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-486
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)

Versions of packages exim4-config depends on:
ii  adduser   3.96   Add and remove users and groups
ii  debconf [debconf-2.0] 1.5.3  Debian configuration management sy

exim4-config recommends no packages.

-- debconf information:
  exim4/dc_noalias_regenerate: false
  exim4/dc_smarthost:
* exim4/dc_relay_domains:
* exim4/dc_relay_nets: 192.168.0.0/24
* exim4/mailname: yavor.doganov.org
* exim4/dc_local_interfaces:
  exim4/dc_minimaldns: false
  exim4/exim3_upgrade: true
* exim4/dc_other_hostnames: yavor.doganov.org:chushkopek.org
* exim4/dc_eximconfig_configtype: internet site; mail is sent and received dire
  exim4/no_config: true
  exim4/hide_mailname:
  exim4/dc_postmaster:
  exim4/dc_readhost:
* exim4/use_split_config: false
  exim4/exim4-config-title:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]