eclipse-paho / eclipse-paho/paho.mqtt.java

v5 1.2.5 subscript method self calling

Open
#917 3 comments 4 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
919
PR merge metrics
No merged PRs in 30d

Description

```
java.lang.StackOverflowError
at org.eclipse.paho.mqttv5.client.MqttClient.subscribe(MqttClient.java:525)
at org.eclipse.paho.mqttv5.client.MqttClient.subscribe(MqttClient.java:525)
at org.eclipse.paho.mqttv5.client.MqttClient.subscribe(MqttClient.java:525)
at org.eclipse.paho.mqttv5.client.MqttClient.subscribe(MqttClient.java:525)
at org.eclipse.paho.mqttv5.client.MqttClient.subscribe(MqttClient.java:525)
at org.eclipse.paho.mqttv5.client.MqttClient.subscribe(MqttClient.java:525)
```
- [*] Bug exists Release Version 1.2.5 ( Master Branch)

Contributor guide

Open the contributing guide

Research direction

Start at org.eclipse.paho.mqttv5.client.MqttClient.subscribe, specifically MqttClient.java line 525, and reproduce the StackOverflowError using the issue's repeated stack trace. Trace why the subscribe method keeps re-entering itself and verify that the reported subscription scenario completes without recursive stack growth.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.