Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Cross compiled mosquitto_pub gets stuck


I regularly run the mosquitto clients on both MIPS 4KEc V6.4 and
MIPS 24Kc V7.4 and have no problems at all. (OpenWrt)

Is it possible your system has unusual signal numbers? There were
some quirks with uclibc a (very) long time ago that I had, iirc.

Cheers,
Karl P

mosquitto.16.fichtner@xxxxxxx wrote:
> I successfully did cross compile mosquitto broker and clients
> (mosquitto_pub/mosquitto_sub) on freetz (FritzBox) running on a
> MIPS UR8 CPU. While the broker seems to run without any problem
> both clients never terminate when being called (and no message
> is sent/received).
> 
> Here's the output of strace mosquitto_pub -h 192.168.1.1 -t
> mytopic -m mymessage (there's no difference in using the IP
> address or a hostname)
> [...]
> mprotect(0x2aabc000, 4096, PROT_READ)   = 0
> ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
> ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
> getpid() = 17373 getrlimit(RLIMIT_STACK,
> {rlim_cur=9007199250554880*1024, rlim_max=3079485229040140875})
> = 0 setrlimit(RLIMIT_STACK, {rlim_cur=9007199250548728*1024,
> rlim_max=3079485229040140875}) = 0 rt_sigaction(SIGRT_0,
> {SIG_DFL, [RT_69 RT_70 RT_72 RT_74 RT_85 RT_86 RT_88 RT_90
> RT_92 RT_94], SA_STACK|SA_INTERRUPT|0x2ce3a94}, NULL, 16) = 0
> rt_sigaction(SIGRT_1, {SIG_DFL, [RT_69 RT_70 RT_72 RT_74 RT_85
> RT_86 RT_88 RT_90 RT_92 RT_94],
> SA_STACK|SA_INTERRUPT|0x2ce39b0}, NULL, 16) = 0
> rt_sigaction(SIGRT_2, {SIG_DFL, [RT_69 RT_70 RT_72 RT_74 RT_85
> RT_86 RT_88 RT_90 RT_92 RT_94],
> SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2ce2e84}, NULL, 16) = 0
> rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 16) = 0
> rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 16) = 0 brk(0) =
> 0x4165d0 brk(0x4175d0) = 0x4175d0 brk(0x418000) = 0x418000
> open("/mod/root/.config/mosquitto_pub", O_RDONLY|O_LARGEFILE) =
> -1 ENOENT (No such file or directory) gettimeofday({946775894,
> 829722}, NULL) = 0 brk(0x419000) = 0x419000 uname({sys="Linux",
> node="fritz.fonwlan.box", ...}) = 0 getpid() = 17373
> rt_sigaction(SIGPIPE, {0x10000000, [RT_65 RT_67 RT_68],
> SA_NOCLDSTOP}, {SIG_DFL, [], 0}, 16) = 0
> 
> Any suggestions?
> 
> Thanks!
> Peter
> 
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev

Attachment: signature.asc
Description: OpenPGP Digital Signature


Back to the top