This is our old Q&A Site. Please post any new questions and answers at

Hi all,

We use some LUA files to decode our specifics frames. Some of or LUA have a lot of values (more than 60) in the function (dissector). Wireshark displays me an alert message before launching "Function at line 141 has more than 60 upvalues"

here an example ok LUA function :

function p_omap_Global_Counters.dissector(buf, pkt, root)

    --Set info" : " ..

    local Global_Counters_tree = root:add(p_omap_Global_Counters, buf(0))
    Global_Counters_tree:add(f_counter_arrayasync_data_sync_unshared_data_dropped_, buf(0, 4))
    Global_Counters_tree:add(f_counter_arrayccp_com_safe_rx_message_dropped_, buf(4, 4))
    Global_Counters_tree:add(f_counter_arrayccp_com_safe_rx_unkown_message_dropped_, buf(8, 4))

Is it possible to change this limitation ? (We use version 1.10.3) thx for your help Mickaël

asked 16 Oct '15, 00:52

Micka%C3%ABl's gravatar image

accept rate: 0%

edited 16 Oct '15, 06:29

The pb came from the number of local variable declared (>60) I solved it by declaring all my local variable into one array :

local omapVars =
   myVar1example = ...,
   myVar2example = ...,
permanent link

answered 16 Oct '15, 06:28

Micka%C3%ABl's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 16 Oct '15, 00:52

question was seen: 3,260 times

last updated: 16 Oct '15, 06:29

p​o​w​e​r​e​d by O​S​Q​A