jeanparpaillon / erlang-dbus

Erlang DBUS implementation (forked from unmaintained erlang-dbus)
Apache License 2.0
51 stars 22 forks source link

String size limit ? #18

Closed jeanparpaillon closed 8 years ago

jeanparpaillon commented 8 years ago

This bug looks like string size limit: https://github.com/erocci/erocci_backend_dbus/issues/10

ffringel commented 8 years ago

Hello @jeanparpaillon can you illustrate more about this bug? Would love to take a look at it.

jeanparpaillon commented 8 years ago

@ffringel : the bug appears when erlang code calls a function returning a string > 16 kB. I think the first thing would be to reproduce it in a smaller test case, before trying to fix it

ffringel commented 8 years ago

OK. Could you provide a test case which causes the bug?

jeanparpaillon commented 8 years ago

@ffringel : I've just committed a new test in dbus_client_SUITE for large string and I can not reproduce the bug... Maybe the bug comes from the application using erlang-dbus, and not erlang-dbus itself.

I let the bug open until it is resolved in the other app...

ffringel commented 8 years ago

OK

cgourdin commented 8 years ago

Hello, It's not a java related issue, and i have still the problem.

Kindly find attached the files : Erocci works with this file : good_docker-schema.xml.txt

Erocci doesn't works with this file : fail_docker-schema.xml.txt

This is the log on failure : erocci_log.txt

To check if this is a dbus issue, i have made a simple client dbus java and a simple server dbus java here : https://github.com/cgourdin/simpledbusserver And here : https://github.com/cgourdin/simpledbusclient

Note that I didn't have this issue on call Get() method or any other method returning String in java so it's an erlang issue.

jeanparpaillon commented 8 years ago

Can not reproduce