[CDRIVER-1702] Segfault in test suite Created: 14/Oct/16 Updated: 19/Oct/16 Resolved: 14/Oct/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | tests |
| Affects Version/s: | 1.5.0 |
| Fix Version/s: | 1.5.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Remi Collet | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Fedora 23 |
||
| Description |
|
Using 1.5.0-rc2 or git master. Without options test suite pass. When build with:--enable-debug-symbols --enable-shm-counters --disable-automatic-init-and-cleanup --enable-crypto-system-profile --enable-tests --enable-sasl --enable-ssl --with-libbson=bundled --disable-html-docs --enable-man-pages $ make check , (gdb) bt |
| Comments |
| Comment by Hannes Magnusson [ 14/Oct/16 ] |
|
Thanks |
| Comment by Githook User [ 14/Oct/16 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@mongodb.com'}Message: Merge pull request #401 from remicollet/issue-1702
|
| Comment by Githook User [ 14/Oct/16 ] |
|
Author: {u'username': u'remicollet', u'name': u'Remi Collet', u'email': u'fedora@famillecollet.com'}Message: |
| Comment by Remi Collet [ 14/Oct/16 ] |
|
Trivial fix proposal |
| Comment by Remi Collet [ 14/Oct/16 ] |
|
More debug, it fails with val = cfg=0x38f9 posix=200809 stdc=201112 CC=GCC 5.3.1 20160406 (Red Hat 5.3.1-6) CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtun platform = ./configure -nottoomanyflags val seems truncated. |