Author Topic: [solved] messagesend cause dcerouter died and reload  (Read 4502 times)

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
[solved] messagesend cause dcerouter died and reload
« on: January 09, 2013, 04:25:43 pm »
i used this command

/usr/pluto/bin/MessageSend dcerouter 210 -1000 2 25 30 25

to set a temperature sensor.

but today  DCErouter  Died  every time that i send a command  with this log


05      01/09/13 9:11:00.921            ^[[33;1mvoid ClientSocket::Disconnect() on this socket: 0x9133000 (m_Socket: 154)^[[0m <0x9e5f4b70>
05      01/09/13 9:11:00.921            ^[[33;1mSocket::ReceiveData 0x6fa05f30 failed, bytes left 0 start: 3390000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 197 Incoming_Conn Socket 197 ::ffff:127.0.0.1^[[0m <0x4abc4b70>
05      01/09/13 9:11:00.921            ^[[33;1mSocket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 197 ::ffff:127.0.0.1^[[0m <0x4abc4b70>
Return code: 139
3       01/09/13 09:11:01       DCERouter (server)      ^[[1;31mDevice died... count=1/200 dev=DCERouter^[[1;00m
Wed Jan  9 09:11:01 BRST 2013 died
========== NEW LOG SECTION ==========
1       01/09/13 09:11:06       DCERouter (server)      ^[[1;00mStarting... 2^[[1;00m
Wed Jan  9 09:11:06 BRST 2013 Starting
05      01/09/13 9:11:07.913            ^[[33;1mLoaded plug-in device: 3 master device: 10 -- ./File_Grids_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.914            ^[[33;1mLoaded plug-in device: 4 master device: 27 -- ./General_Info_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.915            ^[[33;1mLoaded plug-in device: 5 master device: 31 -- ./Climate_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.915            ^[[33;1mLoaded plug-in device: 6 master device: 9 -- ./Datagrid_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.915            ^[[33;1mLoaded plug-in device: 7 master device: 39 -- ./Infrared_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.916            ^[[33;1mLoaded plug-in device: 8 master device: 32 -- ./Lighting_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.917            ^[[33;1mLoaded plug-in device: 9 master device: 12 -- ./Orbiter_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.918            ^[[33;1mLoaded plug-in device: 10 master device: 2 -- ./Media_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.919            ^[[33;1mLoaded plug-in device: 11 master device: 34 -- ./Telecom_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.919            ^[[33;1mLoaded plug-in device: 12 master device: 52 -- ./Event_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.920            ^[[33;1mLoaded plug-in device: 13 master device: 33 -- ./Security_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.920            ^[[33;1mLoaded plug-in device: 14 master device: 1809 -- ./Plug_And_Play_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.921            ^[[33;1mLoaded plug-in device: 24 master device: 6 -- ./Xine_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.921            ^[[33;1mLoaded plug-in device: 28 master device: 2123 -- ./Picture_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.921            ^[[33;1mLoaded plug-in device: 51 master device: 1695 -- ./SlimServer_PlugIn.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.922            ^[[33;1mLoaded plug-in device: 66 master device: 1964 -- ./Game_PlugIn.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.923            ^[[33;1mLoaded plug-in device: 105 master device: 1704 -- ./VDRPlugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:07.923            ^[[33;1mLoaded plug-in device: 163 master device: 1949 -- ./DataLogger_Plugin.so^[[0m <0xb778d8e0>
05      01/09/13 9:11:08.013            ^[[33;1mPlugin 3 activated^[[0m <0xb778d8e0>
05      01/09/13 9:11:08.117            ^[[33;1mPlugin 4 activated^[[0m <0xb778d8e0>



« Last Edit: January 10, 2013, 12:29:52 pm by cfernandes »

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: messagesend cause dcerouter died and reload
« Reply #1 on: January 09, 2013, 06:29:40 pm »
Do this again, and when it crashes, go to /usr/pluto/bin and run gdb ./DCERouter /usr/pluto/coredump/1/core_DCERouter_<pid> .. replace pid with the # of the most recent core dump file... when (gdb) appears, type bt <enter> and then pastebin the result.

-Thom

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: messagesend cause dcerouter died and reload
« Reply #2 on: January 10, 2013, 10:21:24 am »
Thom,

See if this is you I need

http://pastebin.com/gxqPYY3j

Cfernandes

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: messagesend cause dcerouter died and reload
« Reply #3 on: January 10, 2013, 12:16:46 pm »
This seems to be an error in the event plugin. Can you tell us what events you have defined for Temperature Changed and what criteria you have used?

br,
sambuca

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: messagesend cause dcerouter died and reload
« Reply #4 on: January 10, 2013, 12:28:57 pm »
Sambuca ,

My mistake, I removed the thermometer and reinstaleed, an event not reconfigured.

now all is working
thank you very much

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: [solved] messagesend cause dcerouter died and reload
« Reply #5 on: January 10, 2013, 12:45:29 pm »
So you had an event defined which checked a device no longer available, and that caused dcerouter to die? If that is the case, would you mind opening a trac ticket together with the coredump, so we could fix it for the future.

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: [solved] messagesend cause dcerouter died and reload
« Reply #6 on: January 10, 2013, 12:56:46 pm »
I will take care of it - open a ticket and commit a fix.

br,
sambuca

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: [solved] messagesend cause dcerouter died and reload
« Reply #7 on: January 10, 2013, 01:01:48 pm »
ticket  created

Ticket #1658

thank you