[jadmin] jabberd 1.4.4: Segmentation fault!!!

Thomas Charron twaffle at gmail.com
Tue Jan 23 12:45:31 CST 2007


  Did this bug generate a core fore that you can run thru gdb?

On 1/23/07, Daniel Vartanov <daniel.vartanov at gmail.com> wrote:
>
> Unfortunately, it did not help:
>
> -------------------------------------------
> Segmentation fault
> linux-rbll:/home/aldor/jabberd-1.4.4 # Tue Jan 23 19:59:15 2007  dnsrv.c:204
> dnsrv: Read error on coprocess(1): 1 Operation not permitted
> Tue Jan 23 19:59:15 2007  dnsrv.c:218 DNSRV CHILD: out of loop.. exiting
> normal
> ------------------------------------------
>
> Thank anyway.
> Daniel.
>
>
> On 1/23/07, Barry Webb <BWebb at trakm8.com> wrote:
> >
> > Hi,
> >
> > I recently had a similar problem with jabberd 1.4.3 and found the same
> > post on the Debian bugs list. (
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=337526)
> >
> > I made the following changes to the source code and it seems to have
> > cured the problem.
> >
> > Mod_admin.c
> > -----------
> > Function : _mod_admin_browse
> > Change variable buff from  'char buff[10]' to 'char buff[128]'
> >
> > Function : _mod_admin_browse
> > Change variable buff from  'char buff[10]' to 'char buff[128]'
> >
> > Mod_last.c
> > ----------
> > Function : mod_last_set
> > Change variable str from 'char str[10]' to 'char str[16]'
> >
> > Mod_offline.c
> > -------------
> > Function : mod_offline_message
> > Change variable str from 'char str[10]' to 'char str[16]'
> >
> > Function : mod_offline_out_available
> > Change variable str from 'char str[10]' to 'char str[16]'
> >
> > I hope that is helpful.
> >
> > Baz
> >
> >
> > ________________________________
> >
> >        From: jadmin-bounces at jabber.org [mailto:jadmin-bounces at jabber.org]
> > On Behalf Of Daniel Vartanov
> >        Sent: 22 January 2007 14:59
> >        To: jadmin at jabber.org
> >        Subject: [jadmin] jabberd 1.4.4: Segmentation fault!!!
> >
> >
> >        I installed jabberd1.4.4 and I get "Segmentation fault" error
> > when I try to register a new user:
> >        I put the following in the stream:
> >
> >        <iq id='reg2' type='set'>
> >          <query xmlns='jabber:iq:register'>
> >            <username>jabberuser</username>
> >            <password>secret</password>
> >            <name>myName</name>
> >            <email>email at domain.com</email>
> >          </query>
> >        </iq>
> >        At this point connection is closed, jabberd stops and says
> > "Segmentation fault".
> >        I found similar bug report:
> >        Bug#337526: jabber: Segmentation fault if compiled with gcc-4.0 <http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/888876c025b34927/5c0ebe7bb8f9eac2?lnk=st&q=Bug%2523337526&rnum=2#5c0ebe7bb8f9eac2
> > > , but it is
> >        marked as done <http://groups.google.com/group/linux.debian.bugs.rc/browse_thread/thread/5daac5855e63db63/dd0071bd8ed04f71?lnk=st&q=Bug%2523337526&rnum=1#dd0071bd8ed04f71>
> > :  fixed 1.4.3-3.1 (I use 1.4.4).
> >        How can I fix this?
> >        I use: Linux version 2.6.16.13-4-default (gcc version 4.1.0 (SUSE
> > Linux))
> >
> >        Thanks in advance, Daniel.
> >
> >
> >        --
> >        No virus found in this incoming message.
> >        Checked by AVG Free Edition.
> >        Version: 7.5.432 / Virus Database: 268.17.4/644 - Release Date:
> > 22/01/2007 07:30
> >
> >
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.5.432 / Virus Database: 268.17.7/647 - Release Date:
> > 23/01/2007 08:02
> >
> >
> > This communication is intended solely for the above-named person(s) and
> > may be confidential and/or legally privileged. Any opinions expressed in
> > this communication are not necessarily those of the company. If it has come
> > to you in error you must take no action based on it, nor must you copy or
> > show it to anyone; please delete/destroy and inform the sender immediately.
> >
> > Trakm8 Holdings PLC (Co Reg No: 05452547) is the holding company of the
> > Trakm8 group of companies constituting: Trakm8 Limited (Co Reg No:
> > 04415597), Interactive Projects Limited (Co Reg No: 04327499) and Purple
> > Reality Limited (Co Reg No: 05785552). All companies registered address is:
> > Lydden House, Wincombe Business Park, Shaftesbury, Dorset. SP7 9QJ.
> >
> > Internet email may be susceptible to data corruption, interception and
> > unauthorised amendment over which we have no control. Whilst sweeping all
> > outgoing email for viruses, we do not accept liability for the presence of
> > any computer viruses in this email or any losses caused as a result of
> > viruse
> >
> >
> > _______________________________________________
> > JAdmin mailing list
> > JAdmin at jabber.org
> > http://mail.jabber.org/mailman/listinfo/jadmin
> > FAQ: http://www.jabber.org/about/jadminfaq.shtml
> > _______________________________________________
> >
>
>
> _______________________________________________
> JAdmin mailing list
> JAdmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________
>
>
>


-- 
-- Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20070123/daf71b82/attachment.html


More information about the JAdmin mailing list