Segmentation fault after update

Web based, multi-user, Telephone Management System with budget management and barring control

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

Segmentation fault after update

Postby Dcdata » Wed Sep 09, 2015 5:30 pm

Hi Guys

After running the update tng-update-1_1_1_12_2014 on a tng system we get a segmentation fault.

I ran the following command:
Code: Select all
strace -f ./tng 2> full.log


The full.log file is attached to this post.

Please can you help us determine the reason why we are getting a segmentation fault.
You do not have the required permissions to view the files attached to this post.
Dcdata
 
Posts: 73
Joined: Mon Apr 08, 2013 2:30 pm

Re: Segmentation fault after update

Postby Leon van Heerden » Fri Sep 11, 2015 3:56 pm

Hi,
Did you do an export for LANG=C before you ran the TNG like this?

So can you try this:
Code: Select all
export LANG=C
strace -f -s 255 ./tng 2> trace.log


Leon
----
Leon van Heerden
http://www.datatex.co.za
Leon van Heerden
 
Posts: 332
Joined: Fri Oct 29, 2010 11:21 am
Location: Cape Town

Re: Segmentation fault after update

Postby Dcdata » Mon Sep 14, 2015 8:42 am

Hi Leon

Thank-you for your reply.

We ran the code as you asked and have attached the trace.log file.

Please le us know if we can assist you any further.
You do not have the required permissions to view the files attached to this post.
Dcdata
 
Posts: 73
Joined: Mon Apr 08, 2013 2:30 pm

Re: Segmentation fault after update

Postby Leon van Heerden » Tue Sep 22, 2015 8:55 am

I have looked at this log and can't see what is causing the crash.
I am investigating further and will give more feedback/suggestions shortly.
Leon
----
Leon van Heerden
http://www.datatex.co.za
Leon van Heerden
 
Posts: 332
Joined: Fri Oct 29, 2010 11:21 am
Location: Cape Town

Re: Segmentation fault after update

Postby Leon van Heerden » Mon Sep 28, 2015 12:26 pm

This issue was the dial code that was used to build the Exchange.Dat file, was not a known number. This normally causes a blank database to be build in windows, but it seems to cause the Linux version to crash with this segmentation fault.
I looked up a number int he same area as this client and entered the first 6 digits from the Telkom number as the LocalNumber. There after the exchange build normally and TNG started.

Code: Select all
[PLUGIN]
localnumber=0114440000
localcode=011


The error was actually displayed in the tng.log when it started.
----
Leon van Heerden
http://www.datatex.co.za
Leon van Heerden
 
Posts: 332
Joined: Fri Oct 29, 2010 11:21 am
Location: Cape Town


Return to TNG

Who is online

Users browsing this forum: No registered users and 1 guest