Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad argument in call to fxml_stream:new(undefined, 65536) #1796

Closed
khadijakarkhanawala opened this issue Jun 22, 2017 · 10 comments
Closed

bad argument in call to fxml_stream:new(undefined, 65536) #1796

khadijakarkhanawala opened this issue Jun 22, 2017 · 10 comments
Assignees
Labels

Comments

@khadijakarkhanawala
Copy link

What version of ejabberd are you using?

17.04

What operating system (version) are you using?

Ubuntu 14.04

How did you install ejabberd (source, package, distribution)?

What did not work as expected? Are there error messages in the log? What
was the unexpected behavior? What was the expected result?
I am getting below error in crash.log. I am new to ejabberd and not familiar with erlang. Can anybody help me understand why I am getting this error?

2017-06-22 04:58:53 =CRASH REPORT====
crasher:
initial call: ejabberd_receiver:init/1
pid: <0.23584.370>
registered_name: []
exception exit: {{badarg,[{fxml_stream,new,[undefined,65536],[]},{ejabberd_receiver,handle_call,3,[{file,"src/ejabberd_receiver.erl"},{line,168}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,647}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]},[{gen_server,terminate,7,[{file,"gen_server.erl"},{line,812}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}
ancestors: [<0.358.0>,ejabberd_listener,ejabberd_sup,<0.62.0>]
messages: []
links: []
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 27
reductions: 275
neighbours:
2017-06-22 07:05:00 =ERROR REPORT====
** Generic server <0.25047.377> terminating
** Last message in was {become_controller,undefined}
** When Server state == {state,#Port<0.5706277>,gen_tcp,none,undefined,65536,undefined,infinity}
** Reason for termination ==
** {badarg,[{fxml_stream,new,[undefined,65536],[]},{ejabberd_receiver,handle_call,3,[{file,"src/ejabberd_receiver.erl"},{line,168}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,647}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}

@zinid
Copy link
Contributor

zinid commented Jun 22, 2017

Are you using BOSH or Websockets?

@khadijakarkhanawala
Copy link
Author

Websockets. Using GCDAsyncSocket

@zinid
Copy link
Contributor

zinid commented Jun 22, 2017

Do you have other errors (before or after this one)?

@khadijakarkhanawala
Copy link
Author

Log file is filled with this error from beginning of the month.. I also have another error ** Too many db tables **

@zinid
Copy link
Contributor

zinid commented Jun 22, 2017

I also have another error ** Too many db tables **

This one is easy to fix: increase ERL_MAX_ETS_TABLES in ejabberdctl.cfg.

@khadijakarkhanawala
Copy link
Author

@zinid Thank you.. :)

@zinid
Copy link
Contributor

zinid commented Jun 22, 2017

I need to see the whole log, the info you provided is scarce. You can mail me at ekhramtsov@process-one.net

@khadijakarkhanawala
Copy link
Author

okay sure

@khadijakarkhanawala
Copy link
Author

@zinid I have mailed you my log files.

@zinid zinid closed this as completed in 5bb7a0b Jun 22, 2017
@zinid zinid self-assigned this Jun 22, 2017
@zinid zinid added the Kind:Bug label Jun 22, 2017
@zinid zinid added this to the ejabberd 17.06 milestone Jun 22, 2017
@prefiks prefiks marked this as a duplicate of #1875 Jul 19, 2017
@lock
Copy link

lock bot commented Jun 10, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants