Menu

#175 Config file parse errors wrong line

u2.10.13
closed-rejected
nobody
Server (143)
5
2012-06-01
2010-03-12
wiebe
No

While testing something on the ircu version from svn trunk at http://undernet-ircu.svn.sourceforge.net/viewvc/undernet-ircu/ircu2/trunk/, I ended up with some errors in the conf file, and suddenly I noticed the line numbers being reported did not make sense, and it got worse, it even reported line numbers that did not exist.

*** Notice -- wiebe is rehashing Server config file
*** Notice -- Config file parse error line 4654: syntax error
*** Notice -- CONFIG [ERROR]: Config file parse error line 4654: syntax error

The conf file was always somewhere between 300 and 400 lines. I tried to reproduce this on the version from http://undernet-ircu.svn.sourceforge.net/viewvc/undernet-ircu/ircu2/branches/u2_10_12_branch/ but it did not happen there. Perhaps it is something already fixed there, or trunk has some new code. To be on the safe side, I report this.

It is easy to reproduce, start ircd, create error in conf, rehash, fix error, rehash, create error, rehash, and so on, and you should see wrong lines being reported.

Discussion

  • Entrope

    Entrope - 2012-06-01
    • milestone: --> u2.10.13
    • status: open --> closed-rejected
     
  • Entrope

    Entrope - 2012-06-01

    We have not decided when (or even if) we will merge all the fixes from u2_10_12_branch to the trunk; there are enough of differences between the two that we are likely to get a completely new and different set of bugs. Until that merge happens, bug reports against the trunk will be closed.

     

Log in to post a comment.