]>
Commit | Line | Data |
---|---|---|
359767d7 VB |
1 | This is an example of bug report. Try to adapt it to your case. |
2 | ||
3 | # Bug description | |
4 | ||
5 | ## Steps to reproduce the problem | |
6 | ||
7 | 1. Compile `lldpd` with `./configure --localstatedir=/var --with-snmp && make`. | |
8 | ||
9 | 2. Install with `sudo make install`. | |
10 | ||
11 | 3. Run `lldpd`. | |
12 | ||
13 | 4. Wait for a LLDPDU from the remote switch (vendor Pisco, release 19.1(478)KHT47.3). | |
14 | ||
15 | ## Expected outcome | |
16 | ||
17 | `lldpd` should accept the LLDPDU and it should be available in the | |
da790d3b | 18 | output of `lldpcli show neighbors details`. |
359767d7 VB |
19 | |
20 | ## Current outcome | |
21 | ||
22 | After executing the above steps, `lldpd` crashed. Here is the end of | |
23 | the output of `lldpd -ddddd` before the crash: | |
24 | ||
25 | ``` | |
26 | 2016-11-10T11:06:40 [ DBG/lldp] receive LLDP PDU on eno1 | |
27 | 2016-11-10T11:06:40 [ DBG/alloc] allocate a new management address (family: 1) | |
28 | 2016-11-10T11:06:40 [ DBG/decode] search for the same MSAP | |
29 | 2016-11-10T11:06:40 [ DBG/decode] MSAP is unknown, search for the chassis | |
30 | 2016-11-10T11:06:40 [ DBG/decode] unknown chassis, add it to the list | |
31 | ``` | |
32 | ||
33 | # Additional information | |
34 | ||
35 | - Output of `lldpd -vv`: | |
36 | ||
37 | ``` | |
38 | lldpd x.y.z | |
39 | Built on ... | |
40 | ||
41 | Additional LLDP features: ... | |
42 | Additional protocols: ... | |
43 | ``` | |
44 | ||
45 | - Output of `ps -fp $(pgrep -d, -x lldpd)`: | |
46 | ||
47 | ``` | |
48 | UID PID PPID C STIME TTY TIME CMD | |
49 | root 2265 1 0 nov.05 ? 00:00:00 lldpd: monitor. | |
50 | _lldpd 2285 2265 0 nov.05 ? 00:00:00 lldpd: connected to gs108t. | |
51 | ``` | |
52 | ||
53 | - Output of `uname -sro`: | |
54 | ||
55 | ``` | |
56 | Linux 4.8.0-1-amd64 GNU/Linux | |
57 | ``` | |
da790d3b VB |
58 | |
59 | - Output of `tcpdump -pni eth0 -vv -X ether host 01:80:c2:00:00:0e`: | |
60 | ||
61 | ``` | |
62 | 16:47:37.595387 LLDP, length 219 | |
63 | Chassis ID TLV (1), length 7 | |
64 | Subtype MAC address (4): 54:ee:75:0f:31:7e | |
65 | 0x0000: 0454 ee75 0f31 7e | |
66 | [...] | |
67 | 0x00b0: 1600 080f 656e 7830 3035 3062 3636 6563 ....enx0050b66ec | |
68 | 0x00c0: 6236 65fe 0900 120f 0301 0000 0000 fe09 b6e............. | |
69 | 0x00d0: 0012 0f01 03ec c100 1e00 00 ........... | |
70 | ``` |