Bug 379536 - Debugger halting on F10 (Step over)
Summary: Debugger halting on F10 (Step over)
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-15 08:45 EDT by Maxim Akristiniy CLA
Modified: 2020-09-04 15:19 EDT (History)
4 users (show)

See Also:


Attachments
problem project (94.86 MB, application/x-gzip)
2012-05-16 04:12 EDT, Maxim Akristiniy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Akristiniy CLA 2012-05-15 08:45:22 EDT
Build Identifier: 20110615-0604

Debugger halting on F10 (Step over), after loading shared library : 
moduleEvent = dlmopen(LM_ID_NEWLM,DefaultDataPath"/libNVTEventService.so", RTLD_NOW);

and if I'm trying to add more breakpoints on the fly it telling me :
- Breakpoint attribute problem: installation 
	 failed

before loading this library all fine.
And It happen only in the hard weight project (executable ~ 15-20 Mb), in a simple test bug not reproducing.

And if I switching dlmopen(LM_ID_NEWLM to dlmopen(LM_ID_BASE
all working fine.

Library tested and it's good.

Project : cmake generated eclipse project from ws4d library.

Reproducible: Always

Steps to Reproduce:
1.Build
2.Run
3.go by F10 through project
Comment 1 Maxim Akristiniy CLA 2012-05-16 04:12:41 EDT
Created attachment 215692 [details]
problem project


extract archive into /home/maxim/workspace
problem project path : NVT/NVTDevice/eclipse
must be installed openssl, libs: ssl, crypto, pthread
just run project and in main step over and later debugger will halt
moduleEvent = dlmopen(LM_ID_NEWLM,DefaultDataPath"/libNVTEventService.so", RTLD_NOW);
	if (!moduleEvent) {