Opened 14 months ago

Last modified 12 months ago

#14223 closed bug

The wpa_supplicant window crashes if closed using the close button on the title bar — at Initial Version

Reported by: hitech Owned by: mmlr
Priority: normal Milestone: Unscheduled
Component: Network & Internet/Wireless Version: R1/Development
Keywords: wpa_supplicant Cc: PulkoMandy
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

When connecting to a WiFi, a window for choosing the network SSID, its security information and password is displayed. If this window is dismissed using a "Close" button on the title bar, and not the "Cancel" button in the window itself, the application crashes.

(Probably an easy bug, looks like the action of the close button should be routed to the actions of the cancel button or vice versa).

I'm specifying this bug as x86_64, since it occured on the x64 architecture, but it probably will occur on every architecture.

Debug information for team /boot/system/bin/wpa_supplicant (1029):
CPU(s): 2x Intel Pentium
Memory: 3.75 GiB total, 556.76 MiB used
Haiku revision: hrev52025 Jun 18 2018 20:31:19 (x86_64)

Active Threads:
	thread 1032: wpa_supplicant thread 
	thread 1079: team 1029 debug task 
	thread 1029: wpa_supplicant (main)
		state: Exception (Segment violation)

		Frame		IP			Function Name
		-----------------------------------------------
		00000000	00000000	? 
			Unable to retrieve disassembly for IP 0: address not contained in any valid image.
		0x7f27236d0fc0	0x1e406c8a9f8	wireless_config_dialog(BMessage&) + 0x328 
		0x7f27236d0ff0	0x1e406c9ea2c	WPASupplicantApp::MessageReceived(BMessage*) + 0x5c 
		0x7f27236d1000	0x5348116895	BLooper::DispatchMessage(BMessage*, BHandler*) + 0x1b 
		0x7f27236d1240	0x534810ffb7	BApplication::DispatchMessage(BMessage*, BHandler*) + 0x395 
		0x7f27236d12a0	0x5348116c58	BLooper::task_looper() + 0x1fa 
		0x7f27236d12c0	0x534810cc82	BApplication::Run() + 0x40 
		0x7f27236d12e0	0x1e406c759fd	main + 0x3d 
		0x7f27236d1310	0x1e406c75b6c	_start + 0x4c 
		0x7f27236d1340	0xccd4663814	runtime_loader + 0x105 
		00000000	0x7fa8bdcd0260	commpage_thread_exit + 0 

		Registers:
			  rip:	0x0000000000000000
			  rsp:	0x00007f27236d0f48
			  rbp:	0x00007f27236d0fb0
			  rax:	0x00000053484cdbe0
			  rbx:	0x000001a5048d24a0
			  rcx:	0x00000132db905d7c
			  rdx:	0x0000000000000008
			  rsi:	0x0000000000000001
			  rdi:	0x000001a5048d24a0
			   r8:	0x7fffffffffffffff
			   r9:	0x0000000000000001
			  r10:	0x7fffffffffffffff
			  r11:	0x0000000000003202
			  r12:	0x000001a50487c670
			  r13:	0x000001a5048d8460
			  r14:	0x00000000ffffffff
			  r15:	0x0000000000000002
			   cs:	0x002b
			   ds:	0x0000
			   es:	0x0000
			   fs:	0x0000
			   gs:	0x0000
			   ss:	0x0023
			  st0:	0
			  st1:	0
			  st2:	0
			  st3:	0
			  st4:	0
			  st5:	0
			  st6:	0
			  st7:	0
			  mm0:	{0, 0, 0, 0}
			  mm1:	{0, 0, 0, 0}
			  mm2:	{0, 0, 0, 0}
			  mm3:	{0, 0, 0, 0}
			  mm4:	{0, 0, 0, 0}
			  mm5:	{0, 0, 0, 0}
			  mm6:	{0, 0, 0, 0}
			  mm7:	{0, 0, 0, 0}
			 xmm0:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm1:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm2:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm3:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm4:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm5:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm6:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm7:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm8:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm9:	{0, 0, 0, 0, 0, 0, 0, 0}
			xmm10:	{0, 0, 0, 0, 0, 0, 0, 0}
			xmm11:	{0, 0, 0, 0, 0, 0, 0, 0}
			xmm12:	{0, 0, 0, 0, 0, 0, 0, 0}
			xmm13:	{0, 0, 0, 0, 0, 0, 0, 0}
			xmm14:	{0, 0, 0, 0, 0, 0, 0, 0}
			xmm15:	{0, 0, 0, 0, 0, 0, 0, 0}

Loaded Images:
	ID		Text Base	Text End	Data Base	Data End	Type	Name
	--------------------------------------------------------------------------------
	4181	0x252b840000	0x252b86f000	0x252ba6f000	0x252baa3000	lib    	/boot/system/lib/libicutu.so.57.1
	4179	0x49f3e97000	0x49f3eec000	0x49f40ec000	0x49f40ef000	lib    	/boot/system/lib/libicule.so.57.1
	4169	0x5347fcb000	0x53482ce000	0x53484cd000	0x53484fb000	lib    	/boot/system/lib/libbe.so
	4175	0x8dcbc8b000	0x8dcbc90000	0x8dcbe8f000	0x8dcbe90000	lib    	/boot/system/lib/libbsd.so
	4172	0x9480faf000	0x9480fc4000	0x94811c3000	0x94811c4000	lib    	/boot/system/lib/libgcc_s.so.1
	4170	0xc00a7b4000	0xc00a817000	0xc00aa16000	0xc00aa1b000	lib    	/boot/system/lib/libbnetapi.so
	4165	0xccd4650000	0xccd4670000	0xccd486f000	0xccd4872000	lib    	/boot/system/runtime_loader
	4180	0x11eca172000	0x11eca17d000	0x11eca37d000	0x11eca37e000	lib    	/boot/system/lib/libiculx.so.57.1
	4178	0x1273f6d0000	0x1273f6dc000	0x1273f8db000	0x1273f8dd000	lib    	/boot/system/lib/libicuio.so.57.1
	4173	0x132db8c6000	0x132dba22000	0x132dbc22000	0x132dbc75000	lib    	/boot/system/lib/libroot.so
	4184	0x13fac3d8000	0x13fac443000	0x13fac642000	0x13fac64d000	lib    	/boot/system/lib/libssl.so.1.0.0
	4171	0x14254ebf000	0x14255027000	0x14255227000	0x1425523b000	lib    	/boot/system/lib/libstdc++.so.6.0.24
	4168	0x14a1f11f000	0x14a1f15f000	0x14a1f35e000	0x14a1f367000	lib    	/boot/system/lib/libnetwork.so
	4167	0x1523d6ec000	0x1523d8f8000	0x1523daf8000	0x1523db21000	lib    	/boot/system/lib/libcrypto.so.1.0.0
	4183	0x17561a22000	0x17561ada000	0x17561cda000	0x17561cdb000	lib    	/boot/system/lib/libzstd.so.1.3.4
	4182	0x179f519d000	0x179f5335000	0x179f5534000	0x179f5549000	lib    	/boot/system/lib/libicuuc.so.57.1
	4176	0x1bf96963000	0x1bf981e1000	0x1bf983e0000	0x1bf983e1000	lib    	/boot/system/lib/libicudata.so.57.1
	4174	0x1cc7a55f000	0x1cc7a57b000	0x1cc7a77a000	0x1cc7a77b000	lib    	/boot/system/lib/libz.so.1.2.11
	4166	0x1e406c5d000	0x1e406cb6000	0x1e406eb5000	0x1e406eb9000	app    	/boot/system/bin/wpa_supplicant
	4177	0x1f2a3699000	0x1f2a3916000	0x1f2a3b15000	0x1f2a3b2a000	lib    	/boot/system/lib/libicui18n.so.57.1
	4164	0x7fa8bdcd0000	0x7fa8bdcd8000	0x00000000	0x00000000	system 	commpage

Areas:
	ID		Base		End			Size (KiB)	Protection	Locking			Name
	--------------------------------------------------------------------------------
	26361	0x03835000	0x0384d000	        96	rw-        	full          	rld heap
	26360	0x1a1f5000	0x1a20d000	        96	rw-        	full          	rld heap
	26359	0x5eaf1000	0x5eb01000	        64	rw-        	full          	rld heap
	26369	0x60000000	0x60001000	         4	rw-S       	full          	server_memory
	26371	0x68000000	0x68020000	       128	rw-S       	full          	server_memory
	26358	0x29a660000	0x29a670000	        64	rw-        	full          	rld heap
	26357	0x9d0cff000	0x9d0d07000	        32	rw-        	full          	rld heap
	26348	0x252b840000	0x252b86f000	       188	r-x        	full          	libicutu.so.57.1_seg0ro
	26349	0x252ba6f000	0x252ba71000	         8	rw-        	full          	libicutu.so.57.1_seg1rw
	26350	0x252ba71000	0x252baa3000	       200	rw-        	full          	libicutu.so.57.1_seg2rw
	26313	0x3a52da1000	0x3a52da2000	         4	rw-S       	full          	_rld_debug_
	26344	0x49f3e97000	0x49f3eec000	       340	r-x        	full          	libicule.so.57.1_seg0ro
	26345	0x49f40ec000	0x49f40ef000	        12	rw-        	full          	libicule.so.57.1_seg1rw
	26322	0x5347fcb000	0x53482ce000	      3084	r-x        	full          	libbe.so_seg0ro
	26323	0x53484cd000	0x53484fb000	       184	rw-        	full          	libbe.so_seg1rw
	26312	0x6c976be000	0x6c976ce000	        64	rw-        	full          	rld heap
	26336	0x8dcbc8b000	0x8dcbc90000	        20	r-x        	full          	libbsd.so_seg0ro
	26337	0x8dcbe8f000	0x8dcbe90000	         4	rw-        	full          	libbsd.so_seg1rw
	26329	0x9480faf000	0x9480fc4000	        84	r-x        	full          	libgcc_s.so.1_seg0ro
	26330	0x94811c3000	0x94811c4000	         4	rw-        	full          	libgcc_s.so.1_seg1rw
	26324	0xc00a7b4000	0xc00a817000	       396	r-x        	full          	libbnetapi.so_seg0ro
	26325	0xc00aa16000	0xc00aa1b000	        20	rw-        	full          	libbnetapi.so_seg1rw
	26309	0xccd4650000	0xccd4670000	       128	r-x        	full          	runtime_loader_seg0ro
	26310	0xccd486f000	0xccd4871000	         8	rw-        	full          	runtime_loader_seg1rw
	26311	0xccd4871000	0xccd4872000	         4	rw-        	full          	runtime_loader_bss1
	26346	0x11eca172000	0x11eca17d000	        44	r-x        	full          	libiculx.so.57.1_seg0ro
	26347	0x11eca37d000	0x11eca37e000	         4	rw-        	full          	libiculx.so.57.1_seg1rw
	26342	0x1273f6d0000	0x1273f6dc000	        48	r-x        	full          	libicuio.so.57.1_seg0ro
	26343	0x1273f8db000	0x1273f8dd000	         8	rw-        	full          	libicuio.so.57.1_seg1rw
	26331	0x132db8c6000	0x132dba22000	      1392	r-x        	full          	libroot.so_seg0ro
	26332	0x132dbc22000	0x132dbc30000	        56	rw-        	full          	libroot.so_seg1rw
	26333	0x132dbc30000	0x132dbc75000	       276	rw-        	full          	libroot.so_seg2rw
	26355	0x13fac3d8000	0x13fac443000	       428	r-x        	full          	libssl.so.1.0.0_seg0ro
	26356	0x13fac642000	0x13fac64d000	        44	rw-        	full          	libssl.so.1.0.0_seg1rw
	26326	0x14254ebf000	0x14255027000	      1440	r-x        	full          	libstdc++.so.6.0.24_seg0ro
	26327	0x14255227000	0x14255233000	        48	rw-        	full          	libstdc++.so.6.0.24_seg1rw
	26328	0x14255233000	0x1425523b000	        32	rw-        	full          	libstdc++.so.6.0.24_seg2rw
	26319	0x14a1f11f000	0x14a1f15f000	       256	r-x        	full          	libnetwork.so_seg0ro
	26320	0x14a1f35e000	0x14a1f361000	        12	rw-        	full          	libnetwork.so_seg1rw
	26321	0x14a1f361000	0x14a1f367000	        24	rw-        	full          	libnetwork.so_seg2rw
	26316	0x1523d6ec000	0x1523d8f8000	      2096	r-x        	full          	libcrypto.so.1.0.0_seg0ro
	26317	0x1523daf8000	0x1523db1f000	       156	rw-        	full          	libcrypto.so.1.0.0_seg1rw
	26318	0x1523db1f000	0x1523db21000	         8	rw-        	full          	libcrypto.so.1.0.0_seg2rw
	26353	0x17561a22000	0x17561ada000	       736	r-x        	full          	libzstd.so.1.3.4_seg0ro
	26354	0x17561cda000	0x17561cdb000	         4	rw-        	full          	libzstd.so.1.3.4_seg1rw
	26351	0x179f519d000	0x179f5335000	      1632	r-x        	full          	libicuuc.so.57.1_seg0ro
	26352	0x179f5534000	0x179f5549000	        84	rw-        	full          	libicuuc.so.57.1_seg1rw
	26362	0x1a50486b000	0x1a5049ab000	      1280	rw-        	full          	heap
	26338	0x1bf96963000	0x1bf981e1000	     25080	r-x        	full          	libicudata.so.57.1_seg0ro
	26339	0x1bf983e0000	0x1bf983e1000	         4	rw-        	full          	libicudata.so.57.1_seg1rw
	26334	0x1cc7a55f000	0x1cc7a57b000	       112	r-x        	full          	libz.so.1.2.11_seg0ro
	26335	0x1cc7a77a000	0x1cc7a77b000	         4	rw-        	full          	libz.so.1.2.11_seg1rw
	26314	0x1e406c5d000	0x1e406cb6000	       356	r-x        	full          	wpa_supplicant_seg0ro
	26315	0x1e406eb5000	0x1e406eb9000	        16	rw-        	full          	wpa_supplicant_seg1rw
	26340	0x1f2a3699000	0x1f2a3916000	      2548	r-x        	full          	libicui18n.so.57.1_seg0ro
	26341	0x1f2a3b15000	0x1f2a3b2a000	        84	rw-        	full          	libicui18n.so.57.1_seg1rw
	26307	0x7f27226d2000	0x7f27236d3000	     16388	rw-s       	full          	wpa_supplicant_1029_stack
	26305	0x7f53f5203000	0x7f53f5207000	        16	rw-        	full          	user area
	26373	0x7fa3fba20000	0x7fa3fba65000	       276	rw-s       	full          	wpa_supplicant thread_1032_stac
	26308	0x7fa8bdcd0000	0x7fa8bdcd8000	        32	r-xSk      	full          	commpage

Protection Flags: r - read, w - write, x - execute, s - stack, o - overcommit, c - cloneable, S - shared, k - kernel

Semaphores:
	ID		Count	Last Holder	Name
	------------------------------------------------------------
	344750	    0	        585	some BLocker
	344772	    0	        643	some BBlockCache lock
	344773	    0	        643	Catalog
	344774	    0	       1042	token space
	344775	    0	        643	some BLocker
	344777	    0	       1029	BLooperList lock
	344778	    0	       1059	AppServerLink_sLock
	344780	    0	        643	LocaleRosterData
	344781	    0	        643	some BLocker
	344783	    0	        643	synchronized hash map
	344784	    0	        643	synchronized hash map
	344785	    0	        643	some BLocker
	344786	    0	        643	DNS cache
	344787	    0	        643	BMessageQueue Lock
	344788	    0	        643	AppLooperPort
	344801	    0	        643	screen list
	344802	    0	        643	clipboard
	344803	    0	        643	width buffer
	344804	    0	       1029	BMessageQueue Lock
	344805	    0	        643	some BLocker
	347381	    0	        643	tool tip manager

Change History (0)

Note: See TracTickets for help on using tickets.