Project

General

Profile

Bug #2209

SEGV in trunk lighttpd

Added by stepancheg over 9 years ago. Updated over 9 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2010-05-21
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:
No

Description

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f54c1af66e0 (LWP 4054)]
0x0000000000428df2 in array_get_index (a=0xfd6, key=0x7f54bfc93a68 "index-file.names", keylen=17, rndx=0x0)
    at array.c:91
91              for (i = pos = a->next_power_of_2 / 2; ; i >>= 1) {
(gdb) where
#0  0x0000000000428df2 in array_get_index (a=0xfd6, key=0x7f54bfc93a68 "index-file.names", keylen=17, rndx=0x0)
    at array.c:91
#1  0x0000000000428f2c in array_get_element (a=0xfd6, key=0x7f54bfc93a68 "index-file.names", keylen=16)
    at array.c:122
#2  0x000000000042f628 in config_insert_values_global (srv=0x64d0d0, ca=0xfd6, cv=0x7fffc9b0ae20)
    at configfile-glue.c:186
#3  0x00007f54bfc932fd in mod_indexfile_set_defaults (srv=0x64d0d0, p_d=0x652080) at mod_indexfile.c:106
#4  0x000000000042734e in plugins_call_set_defaults (srv=0x64d0d0) at plugin.c:433
#5  0x000000000040c912 in main (argc=4, argv=0x7fffc9b0b1f8, envp=0x7fffc9b0b220) at server.c:1418
(gdb) 

1.conf:

server.port = 8081

server.document-root = "." 

History

#1

Updated by stepancheg over 9 years ago

r2717

#2

Updated by stbuehler over 9 years ago

  • Status changed from New to Need Feedback

Works for me. you could use "bt full" instead of "where", or run it with valgrind instead of gdb.

Perhaps you don't have enough memory or your memory is corrupted, or you have custom patches or didn't make a clean rebuild after changing something.

#3

Updated by stepancheg over 9 years ago

Clean trunk build works. Sorry for inconvenience.

#4

Updated by icy over 9 years ago

  • Status changed from Need Feedback to Invalid

Also available in: Atom