Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - initialization error: Page 1 of 6 (6 Items)
   
initialization error  
Hello.

I get the following initialization error in my driver : 

Oct 07 10:28:40    2    14     0 Unable to init devnp-men-z087_nobugs_g.so: Operation not permitted

with the following segmentation error :

Thread [2] (Suspended: Signal 'SIGSEGV' received. Description: Segmentation fault.)	
	12 _btext()  0xb8213d59	
	11 _fini()  0xb8216e5d	
	10 fini()  0xb033fd68	
	9 _dlclose()  0xb0342327	
	8 dlclose()  0xb03423c5	
	7 nw_dlclose()  0x080c95cc	
	6 nw_dlload_module()  0x080c9a3a	
	5 init_load()  0x080a2e49	
	4 load_drivers()  0x080a2f47	
	3 receive_loop_uni()  0x080d3cea	
	2 thread_init()  0x080c9d8b	
	1 <symbol is not available> 0xb031fa20	

Here is the stack of initialized DLLs :

dlopen("NULL",2048)
dlsym(0xb03788ac,output_for_percent_s_NULL)=0xb03789d0
dlopen("NULL",2048)
dlsym(0xb03788ac,iofunc_notify_trigger_strict)=0xb033a1a0
dlsym(0xb03788ac,iofunc_notify_remove_strict)=0xb033a0d0
dlopen("devnp-men-z087_nobugs_g.so",3072)
load_object: attempt load of devnp-men-z087_nobugs_g.so
load_elf32: found DT_TEXTREL, mapping a private copy of text sections!
load_elf32: loaded lib at addr b8200000(text) b820e558(data)
dlsym(0x8138000,_btext)=0x805ab50
Library loaded; type 'add-sym devnp-men-z087_nobugs_g.so 0x805ab50' in gdb to load symbols
load_object: attempt load of libmen-oss.so.1
load_elf32: loaded lib at addr b820f000(text) b8212d40(data)
load_object: attempt load of libmen-chameleon.so.1
load_elf32: loaded lib at addr b8213000(text) b8218190(data)
load_object: attempt load of libsmb2.so.1
load_elf32: loaded lib at addr b8219000(text) b821dbc8(data)
load_object: attempt load of libc.so.2
load_elf32: loaded lib at addr b821e000(text) b8223810(data)
dlsym(0x8138000,iopkt_lsm_entry)=NULL
dlsym(0x8138000,iopkt_drvr_entry)=0xb820e690

Can you please help ?

I had a look in io-pkt sources, but i was not able to find where this EPERM error comes from...

Thanks 
Guillaume.