Ticket #399 (new defect)

Opened 6 years ago

Last modified 6 years ago

telldusd trigger an assert on FreeBSD 10.1

Reported by: joel norberg <joel.norberg@…> Owned by:
Priority: major Milestone:
Component: telldus-core Version: 2.1.2
Keywords: Cc:
Blocked By: Blocking:
Platform: Other Sensitive: no
Verified by Telldus: no


iconv is using platform dependent encodings and WCHAR_T is not a valid encoding on FreeBSD 10.1 resulting in an empty string returned from TelldusCore::wideToString.

The following output can be seen on startup of service:
telldusd daemon starting up
FILE:14: no such option
Assertion failed: (opt && opt->type == CFGT_STR), function cfg_opt_getnstr, file confuse.c, line 277.
Abort (core dumped)



0001-Changed-the-file-telldus-core-common-Strings.cpp.patch Download (694 bytes) - added by joel norberg <joel.norberg@…> 6 years ago.

Change History

Changed 6 years ago by joel norberg <joel.norberg@…>

comment:1 Changed 6 years ago by johan ström <johan@…>

Ah, great! Solved issues for me as well. I'll try to incorporate this in the FreeBSD port ( http://www.freshports.org/comms/telldus-core) and also with my other FreeBSD patches (not yet pulled due to style errors:  https://github.com/telldus/telldus/pull/6#issuecomment-69711027)

comment:2 Changed 6 years ago by johan ström <johan@…>

The pull request referenced above has been updated with fresh files.

Also, a FreeBSD port update has been submitted:  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198019

Note: See TracTickets for help on using tickets.