Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001255Denora[All Projects] Generalpublic2011-03-17 08:262012-03-31 09:31
Reporterarejay 
Assigned ToHal9000 
PriorityurgentSeveritycrashReproducibilityalways
StatusresolvedResolutionno change required 
PlatformDebian GNU/Linux 6.0OSLinuxOS Version2.6.35.4-x86_64
Product Version1.4.5 
Target VersionFixed in Version 
Summary0001255: while trying to start denora - i receive a segfault
Descriptionupon debugging with gdb i get the following


(gdb) run -nofork -debug -protocoldebug -sql
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/ircd/stats/stats -nofork -debug -protocoldebug -sql
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
initconf (filename=0x4699c4 "denora.conf", reload=<value optimized out>, conftab=0x67b920) at config.c:1844
1844 if (!BadPtr(block->tok) && !stricmp(block->tok, tok))
(gdb) bt full
#0 initconf (filename=0x4699c4 "denora.conf", reload=<value optimized out>, conftab=0x67b920) at config.c:1844
        lnum = 1
        blnum = 0
        clear = 0
        line = "\\/*", '\000' <repeats 25 times>"\377, \177\000\000\300\336\377\377\377\177\000\000\346\305\336\367\377\177\000\000\250\342\377\377\377\177\000\000H\340\377\377\377\177\000\000\060\343\377\377\377\177\000\000\000\000\000\000\321\006\000\000\350\222p\000\000\000\000\000\377\377\377\377\377\377\377\377s\244t\366\000\000\000\000\000\000\000\000\377\177\000\000\000\000\000\000\377\177\000\000\000\000\000\000\001\000\000\000 \005\000\000\000\000\000\000\250>\363\366", '\000' <repeats 12 times>"\270, \242p\000\000\000\000\000\000\000\000\000\377\177\000\000\350\222p\000\001\000\000\000X\340\377\377\377\177\000\000`\237p", '\000' <repeats 13 times>, "b\210\336\367", '\000' <repeats 12 times>"\350, \222p\000\000\000\000\000\377\377\377\377", '\000' <repeats 12 times>, "s\000\000\000\000\000\000\000\250\342\377\377\377\177\000\000\325gF", '\000' <repeats 13 times>"\220, \340\377\377\377\177\000\000\260\331\377\367\377\177\000\000\000\000\000\000\000\000\000\000\270\242p\000\000\000\000\000P\337\377\377\377\177"...
        cur = 0x7fffffffddb0 "\\/*"
        block = 0x67bae0
        file = <value optimized out>
        strlang = <value optimized out>
0000001 0x0000000000444cf9 in init (ac=5, av=0x7fffffffe7c8) at main.c:1059
        openlog_failed = 0
        openlog_errno = 0
        started_from_term = 1
        errbuf = <value optimized out>
        __PRETTY_FUNCTION__ = "init"
0000002 0x00000000004469fc in main (ac=5, av=0x7fffffffe7c8) at main.c:456
        i = <value optimized out>
        j = <value optimized out>
        last_update = <value optimized out>
        last_htmlupdate = <value optimized out>
        last_server_ping = <value optimized out>
        last_server_uptime = <value optimized out>
        last_sql_ping = <value optimized out>
        last_backup_ping = <value optimized out>
        result = <value optimized out>
        errbuf = <value optimized out>
        __PRETTY_FUNCTION__ = "main"
(gdb)
#0 initconf (filename=0x4699c4 "denora.conf", reload=<value optimized out>, conftab=0x67b920) at config.c:1844
        lnum = 1
        blnum = 0
        clear = 0
        line = "\\/*", '\000' <repeats 25 times>"\377, \177\000\000\300\336\377\377\377\177\000\000\346\305\336\367\377\177\000\000\250\342\377\377\377\177\000\000H\340\377\377\377\177\000\000\060\343\377\377\377\177\000\000\000\000\000\000\321\006\000\000\350\222p\000\000\000\000\000\377\377\377\377\377\377\377\377s\244t\366\000\000\000\000\000\000\000\000\377\177\000\000\000\000\000\000\377\177\000\000\000\000\000\000\001\000\000\000 \005\000\000\000\000\000\000\250>\363\366", '\000' <repeats 12 times>"\270, \242p\000\000\000\000\000\000\000\000\000\377\177\000\000\350\222p\000\001\000\000\000X\340\377\377\377\177\000\000`\237p", '\000' <repeats 13 times>, "b\210\336\367", '\000' <repeats 12 times>"\350, \222p\000\000\000\000\000\377\377\377\377", '\000' <repeats 12 times>, "s\000\000\000\000\000\000\000\250\342\377\377\377\177\000\000\325gF", '\000' <repeats 13 times>"\220, \340\377\377\377\177\000\000\260\331\377\367\377\177\000\000\000\000\000\000\000\000\000\000\270\242p\000\000\000\000\000P\337\377\377\377\177"...
        cur = 0x7fffffffddb0 "\\/*"
        block = 0x67bae0
        file = <value optimized out>
        strlang = <value optimized out>
0000001 0x0000000000444cf9 in init (ac=5, av=0x7fffffffe7c8) at main.c:1059
        openlog_failed = 0
        openlog_errno = 0
        started_from_term = 1
        errbuf = <value optimized out>
        __PRETTY_FUNCTION__ = "init"
0000002 0x00000000004469fc in main (ac=5, av=0x7fffffffe7c8) at main.c:456
        i = <value optimized out>
        j = <value optimized out>
        last_update = <value optimized out>
        last_htmlupdate = <value optimized out>
        last_server_ping = <value optimized out>
        last_server_uptime = <value optimized out>
        last_sql_ping = <value optimized out>
        last_backup_ping = <value optimized out>
        result = <value optimized out>
        errbuf = <value optimized out>
        __PRETTY_FUNCTION__ = "main"
(gdb) quit
Steps To ReproduceInstall Denora, Configure denora.conf
run ./denorarc start
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0006132)
Hal9000 (administrator)
2012-03-31 09:31

This clearly is a broken denora.conf file which makes the config file parsing fail.
(0005847)
katsklaw (reporter)
2011-06-25 04:25

What include directives do you have?

ie:

include path/to/some/file/conf;

- Issue History
Date Modified Username Field Change
2011-03-17 08:26 arejay New Issue
2011-06-25 04:25 katsklaw Note Added: 0005847
2012-03-31 09:31 Hal9000 Note Added: 0006132
2012-03-31 09:31 Hal9000 Status new => resolved
2012-03-31 09:31 Hal9000 Resolution open => no change required
2012-03-31 09:31 Hal9000 Assigned To => Hal9000


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker