[mythtv-users] Exception when sending OSD_Notify :-(

Trey Thompson treythompson at gmail.com
Tue Jul 10 20:50:37 UTC 2007


On 7/10/07, Warpme <warpme at o2.pl> wrote:
>
> Hi *
>
> I'm fighting with problem of exceptions in mythfrontend when OSD_Notify
> is sent.
> Details:
> Knoppmyth R5F1, Cel3,46GHz, 2xPVR250+NovaT, 2x500G WD
> BE&FE are running on the same (this) host. This host is also Inet gw
> (NAT, firewall), fileserver and VoIP GW (SIP proxy).
> I integrated VoIP & Myth (CID notification via OSD & FE pausing when SIP
> calls are incoming/initiated).
>
> Problem:
> Sometimes (I can't catch exact conditions) FE is crashing when receiving
> OSD_notification.
>
> Unfortunatelly there is no dumpregisters or any trace in logs
> (mythfrontend & syslog) - so I can't drill down this problem.
>
> Here is fragment of perl code sending OSD notify:
>
> my $msg = "<?xml version=\"1.0\"?>\n<mythnotify version=\"1\"><container
> name=\"notify_cid_info\">\n<textarea
> name=\"notify_cid_name\"><value>FROM:
> $callernumber</value></textarea>\n<textarea
> name=\"notify_cid_num\"><value>TO:
> $callingnumber</value></textarea><textarea
> name=\"notify_cid_dt\"><value>TIME:
> $datestamp</value></textarea>\n</container></mythnotify>\n";
> print("  Sending OSD notify to $notifyaddr1 udp port 6948\n");
> my $mythnotify_fh =
>
> IO::Socket::INET->new(PeerAddr=>"$notifyaddr1",Proto=>'udp',PeerPort=>6948);
> if ($mythnotify_fh) {
>   print $mythnotify_fh $msg;
>   $mythnotify_fh->close;
> }
>
> Is somebody can help me trace down this problem ?
>
> Thx in advance !
>
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
I noticed that for me, the FE crashes if I send an incomplete command to
mythtvosd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070710/4c486439/attachment.htm 


More information about the mythtv-users mailing list