I ran what you recommended below. To note, we didn't have the libssl
installed before (original message in thread)- did such and recompiled
latest trunk version of Cherokee yesterday. So this error is something
in our config or trunk version - we are running latest Ubuntu 9.04
Desktop 64-bit with Cherokee trunk version now with libssl installed.

Logfile we are attempting to rotate is around 3GB's in size.

> So, I guess you have hit some sort of bug. Try run the cherokee-tweak
> application inside gdb, and get a backtrace:
>
> $ gdb cherokee-tweak
> (gdb) run -c logrotate -a https://127.0.0.1:81/logrotate/ -u admin -p
> adminpass -l /var/log/cherokee.access.domain.com
>
> <it crashes..>
>
> (gdb) thread apply all bt full

Here's the output:

[Thread debugging using libthread_db enabled]
[New Thread 0x7f80b11156f0 (LWP 19340)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f80b11156f0 (LWP 19340)]
0x0000000000401e80 in main (argc=11, argv=0x7fffb91364c8) at main_tweak.c:375
375             ret = instance ((void **) cryptor);

(gdb) thread apply all bt full

Thread 1 (Thread 0x7f80b11156f0 (LWP 19340)):
#0  0x0000000000401e80 in main (argc=11, argv=0x7fffb91364c8)
    at main_tweak.c:375
        ret = <value optimized out>
        c = <value optimized out>
        command = {buf = 0x254c120 "logrotate", size = 26, len = 9}
        url = {buf = 0x254c150 "https://localhost/logrotate/";, size = 45,
  len = 28}
        trace = {buf = 0x0, size = 0, len = 0}
        log = {buf = 0x254c1e0 "/var/log/cherokee.access.pubcrawler.com",
  size = 56, len = 39}
        user = {buf = 0x254c190 "admin", size = 22, len = 5}
        password = {buf = 0x254c1b0 "adminpass", size = 26, len = 9}
        cryptor = (cherokee_cryptor_t *) 0x0
        long_options = {{name = 0x402e36 "help", has_arg = 0, flag = 0x0,
    val = 104}, {name = 0x402e3b "version", has_arg = 0, flag = 0x0,
    val = 86}, {name = 0x402e43 "command", has_arg = 1, flag = 0x0, val = 99},
  {name = 0x402e4b "url", has_arg = 1, flag = 0x0, val = 97}, {
    name = 0x402e4f "user", has_arg = 1, flag = 0x0, val = 117}, {
    name = 0x402e54 "password", has_arg = 1, flag = 0x0, val = 112}, {
    name = 0x402e5d "log", has_arg = 1, flag = 0x0, val = 108}, {
    name = 0x402d04 "trace", has_arg = 1, flag = 0x0, val = 116}, {name = 0x0,
    has_arg = 0, flag = 0x0, val = 0}}
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to