Your patch will override memory size set by "-m" option in case it is 64mb (-m 64).
I created another patch for my environment by moving setting sm_mem_size to default size after yyparse().
```
--- kamailio-4.4.3.orig/main.c 2016-09-14 16:50:30.000000000 +0300
+++ kamailio-4.4.3/main.c 2017-01-26 18:30:55.000000000 +0300
@@ -2069,9 +2069,6 @@
abort();
}
}
- if (shm_mem_size == 0) {
- shm_mem_size = SHM_MEM_POOL_SIZE;
- }
if (endianness_sanity_check() != 0){
fprintf(stderr, "BUG: endianness sanity tests failed\n");
@@ -2136,6 +2133,11 @@
goto error;
}
+
+ if (shm_mem_size == 0) {
+ shm_mem_size = SHM_MEM_POOL_SIZE;
+ }
+
if (cfg_warnings){
fprintf(stderr, "%d config warnings\n", cfg_warnings);
}
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/25aeed98a773fb796de47703a72532e…
Module: kamailio
Branch: master
Commit: f503615ade1bd4e23339250c1defc3efae802faf
URL: https://github.com/kamailio/kamailio/commit/f503615ade1bd4e23339250c1defc3e…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2017-01-31T10:19:08+01:00
pkg/kamailio/deb: fix f405c28318ea about rabbitmq
* debian/backports/* files need to be properly update in order to keep
supporting old distribution releases
* the workflow is change debian/* and make the necessary changes
to debian/backports/*
* Please do _NOT_ change directly the distribution release files
---
Modified: pkg/kamailio/deb/debian/backports/precise
Modified: pkg/kamailio/deb/debian/backports/squeeze
Modified: pkg/kamailio/deb/debian/backports/trusty
Modified: pkg/kamailio/deb/debian/backports/wheezy
Modified: pkg/kamailio/deb/precise/rules
Modified: pkg/kamailio/deb/squeeze/rules
Modified: pkg/kamailio/deb/wheezy/rules
---
Diff: https://github.com/kamailio/kamailio/commit/f503615ade1bd4e23339250c1defc3e…
Patch: https://github.com/kamailio/kamailio/commit/f503615ade1bd4e23339250c1defc3e…
https://kamailio.sipwise.com/job/kamailio44-nightly-source/distribution=tru…
Started by upstream project "kamailio44-nightly-source" build number 74
originally caused by:
Started by an SCM change
Building on master in workspace <https://kamailio.sipwise.com/job/kamailio44-nightly-source/distribution=tru…>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/kamailio/kamailio.git # timeout=10
Fetching upstream changes from https://github.com/kamailio/kamailio.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/kamailio/kamailio.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/kamailio/kamailio.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:803)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1063)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1094)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1728)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress https://github.com/kamailio/kamailio.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: error: RPC failed; result=7, HTTP code = 0
fatal: The remote end hung up unexpectedly
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1745)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1489)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:801)
... 11 more
ERROR: null
Archiving artifacts
Recording fingerprints
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: Test reports were found but none of them are new. Did tests run?
For example, <https://kamailio.sipwise.com/job/kamailio44-nightly-source/distribution=tru…> is 2 days 23 hr old
See below the warning:
````
kz_amqp.c: In function ‘kz_send_targeted_cmd’:
kz_amqp.c:2548:4: warning: ‘json_obj’ may be used uninitialized in this function [-Wuninitialized]
````
This seems to be fixed in trunk, but not in 4.4.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/954