Bug 1183627

Summary: [abrt] pptp: binary_search(): pptp killed by SIGSEGV
Product: [Fedora] Fedora Reporter: ssabchew <ssabcew>
Component: pptpAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: ilhamram0685, jskarvad, mj.wilson.uk, msekleta, ssabcew
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/5ec8bad136dca1cf6e2d25cc8e6789e7c6e22af5
Whiteboard: abrt_hash:5621412cab7baf6b84f29eac7e911d98dfd437f0
Fixed In Version: pptp-1.8.0-6.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-03 11:59:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: proc_pid_status
none
File: var_log_messages
none
Proposed fix none

Description ssabchew 2015-01-19 10:50:00 UTC
Version-Release number of selected component:
pptp-1.8.0-4.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        /sbin/pptp 84.40.98.139 --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-11808
crash_function: binary_search
executable:     /usr/sbin/pptp
kernel:         3.17.8-300.fc21.x86_64
open_fds:       
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (7 frames)
 #0 binary_search at vector.c:149
 #1 vector_contains at vector.c:138
 #2 pptp_call_destroy at pptp_ctrl.c:414
 #3 pptp_conn_destroy at pptp_ctrl.c:453
 #4 callmgr_main at pptp_callmgr.c:307
 #5 launch_callmgr at pptp.c:527
 #6 open_callmgr at pptp.c:496

Potential duplicate: bug 869901

Comment 1 ssabchew 2015-01-19 10:50:07 UTC
Created attachment 981451 [details]
File: backtrace

Comment 2 ssabchew 2015-01-19 10:50:09 UTC
Created attachment 981452 [details]
File: cgroup

Comment 3 ssabchew 2015-01-19 10:50:11 UTC
Created attachment 981453 [details]
File: core_backtrace

Comment 4 ssabchew 2015-01-19 10:50:14 UTC
Created attachment 981454 [details]
File: dso_list

Comment 5 ssabchew 2015-01-19 10:50:17 UTC
Created attachment 981455 [details]
File: environ

Comment 6 ssabchew 2015-01-19 10:50:19 UTC
Created attachment 981456 [details]
File: exploitable

Comment 7 ssabchew 2015-01-19 10:50:21 UTC
Created attachment 981457 [details]
File: limits

Comment 8 ssabchew 2015-01-19 10:50:23 UTC
Created attachment 981458 [details]
File: maps

Comment 9 ssabchew 2015-01-19 10:50:25 UTC
Created attachment 981459 [details]
File: proc_pid_status

Comment 10 ssabchew 2015-01-19 10:50:28 UTC
Created attachment 981460 [details]
File: var_log_messages

Comment 11 Jaroslav Škarvada 2015-01-20 15:14:12 UTC
Created attachment 981868 [details]
Proposed fix

I guess the problem is in improper initialization of the call structure, attached patch should fix it.

Comment 12 Fedora Update System 2015-01-20 15:51:21 UTC
pptp-1.8.0-5.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/pptp-1.8.0-5.fc21

Comment 13 Jaroslav Škarvada 2015-01-20 15:57:36 UTC
I quick scanned the bug report and cannot find anything problematic (regarding Fedora contributors privacy), thus making the bug report public to be accessible by upstream.

Comment 14 ssabchew 2015-01-21 01:04:03 UTC
Thanks - I updated to new pptp version - so far so good - no crashes.

Comment 15 Jaroslav Škarvada 2015-01-21 10:52:15 UTC
Reopened, after discussion with upstream.

The problem is very probably still unfixed.

ssabchew: Could you remember what you did to trigger the problem? I am unable to reproduce the problem locally.

Comment 16 Fedora Update System 2015-01-21 23:03:27 UTC
Package pptp-1.8.0-5.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pptp-1.8.0-5.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-0994/pptp-1.8.0-5.fc21
then log in and leave karma (feedback).

Comment 17 Fedora Update System 2015-01-23 15:55:18 UTC
pptp-1.8.0-6.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/pptp-1.8.0-6.fc21

Comment 18 Fedora Update System 2015-02-03 11:59:48 UTC
pptp-1.8.0-6.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 ssabchew 2015-03-24 04:13:15 UTC
I've updated the pptp package - no problems for now.