Subject Re: [ib-support] Re: Events, Firebird 1 and crash
Author Ola Samuelson
do you use tibevent and fb1 over a network?

mk_delphi wrote:

>Uhmmmmm,
>I dont know...my server work fine....
>
>
>
>--- In ib-support@y..., Ola Samuelson <ola@d...> wrote:
>
>
>>Hi!
>>Did not work -still crashing the server even with the sleep.
>>Ideas?
>>//olas
>>
>>mk_delphi wrote:
>>
>>
>>
>>>Hi
>>>
>>>I use delphi, I got he problem (crashing of gds32.dll)
>>>in this piece of code:
>>>
>>> ...
>>> if IBEvent.Events.IndexOf(Look)=-1 then
>>> begin
>>> IBEvent.UnRegisterEvents;
>>> IBEvent.Events.Add( Look );
>>> IBEvent.RegisterEvents;
>>> Sleep(50); // Whitout this line gds32 crash...
>>> end;
>>> ...
>>>
>>>Ciao
>>>Marco
>>>
>>>
>>>--- In ib-support@y..., Ola Samuelson <ola@d...> wrote:
>>>
>>>
>>>
>>>
>>>>Hi!
>>>>Can you:
>>>>a) tell me exactly how you do it
>>>>b) if your problem is the same
>>>>c) If it helps
>>>>
>>>>TIA
>>>>OLAS
>>>>
>>>>mk_delphi wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Hi friends
>>>>>I got a problem : gds32.dll (FB1) crash using tibevent...
>>>>>(latest IBX) I resolve the problem using a sleep(50)
>>>>>between registerevents calls...
>>>>>Can this help?
>>>>>(this is the solution I found, I have no idea about
>>>>>the problem...)
>>>>>Ciao
>>>>>Marco Italy
>>>>>
>>>>>
>>>>>
>>>>>--- In ib-support@y..., Ola Samuelson <ola@d...> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Hi!
>>>>>>Sorry to bother you if this has been answered, but could not find
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>an
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>ANSWER just ideas.
>>>>>>Some have complaints that Firebird crash upon registering events
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>from
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>delphi apps
>>>>>>and tibevent. They often have a configuration of either server or
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>client
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>with multiple
>>>>>>nics or interfaces.
>>>>>>
>>>>>>I don not - one NIC at client and one NIC at server end.
>>>>>>Registering events -> crash of Firebird without notice or error
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>handling
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>at server side.
>>>>>> "Unable to complete network ....."
>>>>>>
>>>>>>Not registering the events -> everything works.
>>>>>>
>>>>>>Local connection works, but no remote connections.
>>>>>>
>>>>>>Setup:
>>>>>>Client: Any Windows machine with D5 app using latest IBX and
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>gds32.dll
>>>>>
>>>>>
>>>>>>from FB 1.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> All machines in hosts-file
>>>>>>
>>>>>>Server: FB 1 SS on RH linux 7.2 default networking with one NIC and
>>>>>>local interface lo(in that order).
>>>>>> All machines in hosts-file. No firewalling
>>>>>>
>>>>>>Everything else(but not Events from remote clients) works every
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>time.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>So an application without events - no matter how complex in terms
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>of
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>queries and tables
>>>>>>works flawlessly.
>>>>>>
>>>>>>I have seen guesses about gds32.dll and specific ports for events
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>and
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>ideas that traffic
>>>>>>is confused by multiple interfaces. Well, it's not that in this
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>case.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>And - I can reproduce the failure with 100% accuracy.
>>>>>>
>>>>>>Ideas anyone?
>>>>>>
>>>>>>TIA
>>>>>>//OLAS
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>To unsubscribe from this group, send an email to:
>>>>>ib-support-unsubscribe@e...
>>>>>
>>>>>
>>>>>
>>>>>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/ter=
>>>>>
>>>>>
>
>ms=
>
>
>>>>>
>>>>>
>>>>>
>>>>>
>>>/
>>>
>>>
>>>
>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>--
>>>>Ola Samuelson
>>>>Phone: +46 36 700 85
>>>>Mobile: +46 707 981 666
>>>>
>>>>Datalink Nordic AB
>>>>Box 9062
>>>>SE-550 09 Jönköping
>>>>
>>>>Phone: +46 36 700 85
>>>>Fax: +46 36 700 45
>>>>
>>>>Internet: www.datalink.se
>>>>
>>>>
>>>>
>>>>
>>>
>>>To unsubscribe from this group, send an email to:
>>>ib-support-unsubscribe@e...
>>>
>>>
>>>
>>>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms=
>>>
>>>
>
>/
>
>
>>>
>>>
>>>
>>>
>>--
>>Ola Samuelson
>>Phone: +46 36 700 85
>>Mobile: +46 707 981 666
>>
>>Datalink Nordic AB
>>Box 9062
>>SE-550 09 Jönköping
>>
>>Phone: +46 36 700 85
>>Fax: +46 36 700 45
>>
>>Internet: www.datalink.se
>>
>>
>
>
>
>To unsubscribe from this group, send an email to:
>ib-support-unsubscribe@egroups.com
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>

--
Ola Samuelson
Phone: +46 36 700 85
Mobile: +46 707 981 666

Datalink Nordic AB
Box 9062
SE-550 09 Jönköping

Phone: +46 36 700 85
Fax: +46 36 700 45

Internet: www.datalink.se