[Click] clicky assertion!

R H rajamhayek at yahoo.com
Tue Jun 30 18:30:06 EDT 2009


Works great!

Thank you,
Raja

--- On Tue, 6/30/09, Eddie Kohler <kohler at cs.ucla.edu> wrote:

> From: Eddie Kohler <kohler at cs.ucla.edu>
> Subject: Re: [Click] clicky assertion!
> To: "R H" <rajamhayek at yahoo.com>
> Cc: click at amsterdam.lcs.mit.edu
> Date: Tuesday, June 30, 2009, 12:54 PM
> Hi Raja,
> 
> Thanks for the bug report.  This was just an
> overaggressive assertion, and I've checked in a fix. 
> Let us know if it works for you.
> 
> E
> 
> 
> R H wrote:
> > Hi Eddie,
> > 
> > I am getting the following clicky assertion whenever I
> try to connect it to click with our scripts.  Our
> script uses compound elements, elementclass containing two
> instances of 2 elementclasses.
> > 
> > for example:
> > elementclass X{
> > ...
> > };
> > 
> > elementclass Y{
> > ...
> > };
> > 
> > elementclass Z{
> > x::X;
> > y::Y;
> > };
> > 
> > z::Z;
> > 
> > [Thread debugging using libthread_db enabled]
> > [New Thread 0xb7f0a6d0 (LWP 7037)]
> > clicky: processingt.cc:835: String
> ProcessingT::compound_processing_code() const: Assertion
> `_elt[end_to].size()' failed.
> > 
> > Program received signal SIGABRT, Aborted.
> > 0x00516416 in __kernel_vsyscall ()
> > Missing separate debuginfos, use: debuginfo-install
> atk.i386 cairo.i386 expat.i386 fontconfig.i386 freetype.i386
> gcc.i386 glib2.i386 glibc.i686 gtk-nodoka-engine.i386
> gtk2.i386 libX11.i386 libXau.i386 libXcomposite.i386
> libXcursor.i386 libXdmcp.i386 libXext.i386 libXfixes.i386
> libXi.i386 libXinerama.i386 libXrandr.i386 libXrender.i386
> libpng.i386 libxcb.i386 pango.i386 pixman.i386 zlib.i386
> > (gdb) run
> > The program being debugged has been started already.
> > Start it from the beginning? (y or n) n
> > Program not restarted.
> > (gdb) where
> > #0  0x00516416 in __kernel_vsyscall ()
> > #1  0x006c5660 in raise () from /lib/libc.so.6
> > #2  0x006c7028 in abort () from /lib/libc.so.6
> > #3  0x006be57e in __assert_fail () from
> /lib/libc.so.6
> > #4  0x080e7f24 in
> ProcessingT::compound_processing_code (this=0xbfc88430) at
> processingt.cc:835
> > #5  0x080c6957 in RouterT::find_traits
> (this=0x9396070, emap=0x9397300) at routert.cc:1177
> > #6  0x080e992c in
> ProcessingT::initial_processing_for (this=0x9397350, ei=3,
> compound_pcode=@0xbfc88638, errh=0xbfc8867c) at
> eclasst.hh:173
> > #7  0x080ea3bf in ProcessingT::initial_processing
> (this=0x9397350, compound_pcode=@0xbfc886d0,
> errh=0xbfc8867c) at processingt.cc:276
> > #8  0x080ecf1b in ProcessingT::create
> (this=0x9397350, compound_pcode=@0xbfc886d0,
> resolve_agnostics=true, errh=0x913acc8) at
> processingt.cc:99
> > #9  0x080ed235 in ProcessingT (this=0x9397350,
> router=0x938ed20, emap=0x9397300, errh=0x913acc8) at
> processingt.cc:53
> > #10 0x0805798b in clicky::crouter::set_config
> (this=0x913abc0, conf=@0xbfc889a4, replace=true) at
> crouter.cc:213
> > #11 0x08058068 in clicky::crouter::on_handler_read
> (this=0x913abc0, hname=@0x938bc60, hparam=@0xbfc889c8,
> hvalue=@0xbfc889a4, status=200, messages=@0xbfc88a04)
> >     at crouter.cc:257
> > #12 0x08080076 in clicky::wmain::on_handler_read
> (this=0x913abc0, hname=@0x938bc60, hparam=@0xbfc889c8,
> hvalue=@0xbfc889a4, status=200, messages=@0xbfc88a04) at
> wmain.cc:459
> > #13 0x0805fae1 in clicky::csocket_cdriver::msg_parse
> (this=0x938bcf0, m=0x938bc50, gerrh=0x913acc8, gerrh_pos=0)
> at cdriver.cc:405
> > #14 0x0806004b in
> clicky::csocket_cdriver::csocket_event (this=0x938bcf0) at
> cdriver.cc:251
> > #15 0x008e27fd in ?? () from /lib/libglib-2.0.so.0
> > #16 0x008abe58 in g_main_context_dispatch () from
> /lib/libglib-2.0.so.0
> > #17 0x008af503 in ?? () from /lib/libglib-2.0.so.0
> > #18 0x008afa22 in g_main_loop_run () from
> /lib/libglib-2.0.so.0
> > #19 0x02384d45 in gtk_main () from
> /usr/lib/libgtk-x11-2.0.so.0
> > #20 0x080abbee in main (argc=1, argv=0xbfc88f94) at
> clicky.cc:329
> > (gdb) quit
> > The program is running.  Exit anyway? (y or n) y
> > 
> > Thank you,
> > Raja
> > 
> > 
> >   
>    _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 


      



More information about the click mailing list