Segmentation fault with Simple message logging

Bug #1033826 reported by Dmitry Bakshaev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Jabberd
New
Undecided
Unassigned

Bug Description

jabberd 2.2.16
gentoo linux
 ~700 users online

logging enabled in router.xml:
 <message_logging>
    <enabled/>
    <file>/var/log/jabber/message.log</file>
  </message_logging>

router crashed several times on the day:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000406950 in message_log (nad=0x654270, r=0x624010,
    msg_from=0x64db40 "<email address hidden>/Chelny-14",
    msg_to=0x6581c0 "<email address hidden>/SARATOV-4") at router.c:1158
1158 router.c: access denied.
        in router.c

attached patch fix this problem and slightly modified logging format:
1. ISO8601 timestamps
2. space as field delimiter
3. character 0x01 for replace line endings in messages (simple code)

Revision history for this message
Dmitry Bakshaev (dab1818) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.