-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 27.07.2011 04:06, schrieb Alvaro Lopez Ortega:
> Hello Julian,

>

> Have you checked if, after rebooting the systems, the
output

> of '/usr/sbin/cherokee-worker -i' look different somehow?
According

> to the error, it must be related to either the -i execution
or

> cherokee-worker, or the parsing code at cherokee.

>

> Cheers!

>

> On Fri, Jul 15, 2011 at 6:01 PM, Julian Pietron

> <[email protected]
<mailto:[email protected]>> wrote:

>

>

> with all cherokee versions from 1.0.15 to 1.2.98 I
encounter a

> segfault on the first startup attempt on the ARM
platform

> 926EJ-S with Linux 2.6.21. The output of my simple
cherokee

> init.d-startup script (runs start-stop-daemon with

> /usr/sbin/cherokee) reads as follows:

>

> Segmentation fault

> (critical) Couldn't find the version string:

> '/usr/sbin/cherokee-worker -i'

>

> The second invocation of the script doesn't throw an
error

> message and starts cherokee successfully. The problem
seems to

> be limited to this ARM platform, as I use cherokee on
several

> other platforms (i686, ARM Cortex A8, AMD GeodeLX)
without

> problems. Because the second invocation of the script
works

> without problems, I didn't know how to use e.g. gdb to
debug the

> problem, as it disappears on second start attempt.

>

> Thanks for your help,

> Julian

> _______________________________________________

> Cherokee mailing list

> [email protected]
<mailto:[email protected]>

> http://lists.octality.com/listinfo/cherokee

> <http://lists.octality.com/listinfo/cherokee>

>

>

>

>

> --

> Greetings, alo

> http://www.octality.com/

Hallo Alvaro,

in meantime we tracked the problem down to libssl, it wasn't code in
cherokee-worker that was segfaulting but some of the initialization
routines of libssl. As it seems that had something to do with the
optimization flag we compiled libssl with, as it disappeared when we
compiled it with -O2 instead of -Os what we used before. Maybe we hit
some kind of weird compiler bug here.

Best regards,
Julian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOL+aGAAoJENidYKvYQHlQQKMP/2S1ky+i9X3WB6qyNxO/hDIw
711VJi+jDHakSe6QhuC4EpQv+Ll4wpjfUjZgV2KCHqFNox3VK5VG7A8lvP9oUQ00
NshBVMsj1IKCJQ2mZx1O9ewf0NZEKWF7BYw/N40HlTwp61H3F1GGgpcJf6fLZMup
aj5M0Fjk7a2AuqHFgpPKhqeC3xieAcxAHIkcDBh50MqUVG40p1lti5GgCZW2D5kd
KIZUevZamnzTB1SHRBsqHUrCN8RXaegwi0nizCYifWExrLrxuSCKBVeeOQQ/YJzu
ixEuRacKbfl/e5AlumQN4y6eUTmxeWGFySkVvSBkVxuWX32bXb2Gdg3fFE7M6yWW
9JPbyOr/wnBuQqwrPxmbDWbSztUWqyCDO7/EX7RqPfUtE4jb+NT5+L4wo8JoUGia
iwbf5xvud9NwnQZi+BAtWujB1Cfr1lQhyU7B7/ySB37U5xOmy6ohzTXOVdBwIkGG
AI5v3qpc8JdtgCWInCmny3vWWA9U+dsvuPzmlKlQgxBdKKZYp7je58poF3ttm+25
Rh1sXQbvYcnh2UrOy5alAMCEEphcbPqRax08fawyTrj4dcAV+rxkFJ2AlQKE8Sad
Bff2ZdPw3hv0IwW0U1wWop5ySuVOydBPLeNHsio7IvzkFUHLZZLTZbt+PY7X7kPi
yv89AIQ1IF3gU3A8U/PB
=MBlG
-----END PGP SIGNATURE-----

Attachment: 0xD8407950.asc
Description: application/pgp-keys

Attachment: 0xD8407950.asc.sig
Description: PGP signature

Attachment: 0xD8407950.asc
Description: application/pgp-keys

Attachment: 0xD8407950.asc.sig
Description: PGP signature

Attachment: 0xD8407950.asc.sig.sig
Description: PGP signature

Attachment: 0xD8407950.asc.sig
Description: PGP signature

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to