Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vision continues running in Deskbar after quitting #26

Open
Vidrep opened this issue Nov 21, 2017 · 3 comments
Open

Vision continues running in Deskbar after quitting #26

Vidrep opened this issue Nov 21, 2017 · 3 comments
Labels
bug hacktoberfest Issues proposed to Hacktoberfest participants

Comments

@Vidrep
Copy link

Vidrep commented Nov 21, 2017

Debug information for team /boot/system/apps/Vision/Vision (448):
CPU(s): 2x Intel Core 2
Memory: 7.90 GiB total, 432.67 MiB used
Haiku revision: hrev51582 Nov 21 2017 07:58:00 (x86_64)

Active Threads:
	thread 506: team 448 debug task 
	thread 448: Vision (main)
		state: Debugged

		Frame		IP			Function Name
		-----------------------------------------------
		00000000	0x1a662a51ada	_kern_snooze_etc + 0xa 
			Disassembly:
				_kern_snooze_etc:
				0x000001a662a51ad0:           4989ca  mov %rcx, %r10
				0x000001a662a51ad3:   48c7c0bb000000  mov $0xbb, %rax
				0x000001a662a51ada:             0f05  syscall  <--

		0x7fedf46ba540	0x1a662a50da2	snooze + 0x13 
		0x7fedf46ba5e0	0xa2df6f89d6	VisionApp::QuitRequested() + 0x12a 
		0x7fedf46ba690	0x115a3764784	BLooper::_QuitRequested(BMessage*) + 0x18 
		0x7fedf46ba6a0	0x115a3764870	BLooper::DispatchMessage(BMessage*, BHandler*) + 0x24 
		0x7fedf46ba8e0	0x115a375dd54	BApplication::DispatchMessage(BMessage*, BHandler*) + 0x396 
		0x7fedf46ba940	0x115a3764c06	BLooper::task_looper() + 0x1d6 
		0x7fedf46ba960	0x115a375aa28	BApplication::Run() + 0x4a 
		0x7fedf46ba980	0xa2df6f575d	main + 0x3e 
		0x7fedf46ba9b0	0xa2df69e9ac	_start + 0x4c 
		0x7fedf46ba9d0	0x1227cfe5e36	runtime_loader + 0x129 
		00000000	0x7fbb36fa8260	commpage_thread_exit + 0 

		Registers:
			  rip:	0x000001a662a51adc
			  rsp:	0x00007fedf46ba528
			  rbp:	0x00007fedf46ba530
			  rax:	0x000000008000000a
			  rbx:	0x000001945f461300
			  rcx:	0x000001a662a51adc
			  rdx:	0x0000000000000008
			  rsi:	0x0000000000000000
			  rdi:	0x00000000000186a0
			   r8:	0x0000000000000017
			   r9:	0x0000000000000000
			  r10:	0x0000000000000000
			  r11:	0x0000000000003202
			  r12:	0x00007fedf46ba540
			  r13:	0x000001945f65cc10
			  r14:	0x0000000000000000
			  r15:	0x000001945f461300
			   cs:	0x0023
			   ds:	0x0000
			   es:	0x0000
			   fs:	0x0000
			   gs:	0x0000
			   ss:	0x001b
			  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}
	thread 451: the_spirits_within 
		state: Debugged

		Frame		IP			Function Name
		-----------------------------------------------
		00000000	0x1a662a5170a	_kern_select + 0xa 
			Disassembly:
				_kern_select:
				0x000001a662a51700:           4989ca  mov %rcx, %r10
				0x000001a662a51703:   48c7c07e000000  mov $0x7e, %rax
				0x000001a662a5170a:             0f05  syscall  <--

		0x7f84d24a0680	0x1a662ae8d13	select + 0x2c 
		0x7f84d24a08e0	0xa2df6f47f1	VisionApp::Identity(void*) + 0x191 
		0x7f84d24a0900	0x1a662a50b4f	thread_entry + 0x10 
		00000000	0x7fbb36fa8260	commpage_thread_exit + 0 

		Registers:
			  rip:	0x000001a662a5170c
			  rsp:	0x00007f84d24a0658
			  rbp:	0x00007f84d24a0670
			  rax:	0xffffffff8000000a
			  rbx:	0x0000000000000000
			  rcx:	0x000001a662a5170c
			  rdx:	0x0000000000000000
			  rsi:	0x00007f84d24a0720
			  rdi:	0x0000000000000004
			   r8:	0xffffffffffffffff
			   r9:	0x0000000000000000
			  r10:	0x00007f84d24a07a0
			  r11:	0x0000000000003246
			  r12:	0x0000000000000000
			  r13:	0x0000000000000008
			  r14:	0x0000000000000008
			  r15:	0x0000000000000003
			   cs:	0x0023
			   ds:	0x0000
			   es:	0x0000
			   fs:	0x0000
			   gs:	0x0000
			   ss:	0x001b
			  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}
	thread 456: s>naked scottish weathergirls 
		state: Debugged

		Frame		IP			Function Name
		-----------------------------------------------
		00000000	0x1a662a5180a	_kern_read + 0xa 
			Disassembly:
				_kern_read:
				0x000001a662a51800:           4989ca  mov %rcx, %r10
				0x000001a662a51803:   48c7c08e000000  mov $0x8e, %rax
				0x000001a662a5180a:             0f05  syscall  <--

		0x7fb4f569c9a0	0x1a662aef804	read + 0x16 
		0x7fb4f569c9d0	0x94aa418d42	sock_read + 0x32 
		0x7fb4f569ca00	0x94aa416b1c	BIO_read + 0x6c 
		0x7fb4f569ca60	0x1d829f9ab80	ssl3_read_n + 0x140 
		0x7fb4f569cb80	0x1d829f9c478	ssl3_read_bytes + 0x598 
		0x7fb4f569cbb0	0x1d829f98db2	ssl3_read_internal + 0x52 
		0x7fb4f569cbe0	0x1dfe9bf46c0	BSecureSocket::Read(void*, unsigned long) + 0x3a 
		0x7fb4f569d390	0xa2df6ea2d7	ServerAgent::Establish(void*) + 0x11bb 
		0x7fb4f569d3b0	0x1a662a50b4f	thread_entry + 0x10 
		00000000	0x7fbb36fa8260	commpage_thread_exit + 0 

		Registers:
			  rip:	0x000001a662a5180c
			  rsp:	0x00007fb4f569c978
			  rbp:	0x00007fb4f569c990
			  rax:	0xffffffff8000000a
			  rbx:	0x000001945f47baa3
			  rcx:	0x000001a662a5180c
			  rdx:	0x000001945f47baa3
			  rsi:	0xffffffffffffffff
			  rdi:	0x0000000000000004
			   r8:	0x0000000000004148
			   r9:	0x0000000000000000
			  r10:	0x0000000000000005
			  r11:	0x0000000000003202
			  r12:	0x0000000000000005
			  r13:	0x000001945f4705e0
			  r14:	0x0000000000000000
			  r15:	0x0000000000000000
			   cs:	0x0023
			   ds:	0x0000
			   es:	0x0000
			   fs:	0x0000
			   gs:	0x0000
			   ss:	0x001b
			  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
	--------------------------------------------------------------------------------
	1913	0x31a6449000	0x31a65e1000	0x31a67e0000	0x31a67f5000	lib    	/boot/system/lib/libicuuc.so.57.1
	1911	0x62c2f13000	0x62c2f1e000	0x62c311e000	0x62c311f000	lib    	/boot/system/lib/libiculx.so.57.1
	1900	0x83a7ca1000	0x83a7d9d000	0x83a7f9d000	0x83a7fa0000	lib    	/boot/system/lib/libtextencoding.so
	1916	0x94aa30b000	0x94aa517000	0x94aa717000	0x94aa740000	lib    	/boot/system/lib/libcrypto.so.1.0.0
	1897	0xa2df64d000	0xa2df723000	0xa2df922000	0xa2df92f000	app    	/boot/system/apps/Vision/Vision
	1905	0x101da4e5000	0x101da4fa000	0x101da6f9000	0x101da6fa000	lib    	/boot/system/lib/libgcc_s.so.1
	1902	0x106c3bf8000	0x106c3c37000	0x106c3e36000	0x106c3e3f000	lib    	/boot/system/lib/libnetwork.so
	1901	0x10ccf348000	0x10ccf4e1000	0x10ccf6e0000	0x10ccf6f9000	lib    	/boot/system/lib/libtracker.so
	1898	0x115a361c000	0x115a3919000	0x115a3b19000	0x115a3b47000	lib    	/boot/system/lib/libbe.so
	1896	0x1227cfd2000	0x1227cff0000	0x1227d1ef000	0x1227d1f1000	lib    	/boot/system/runtime_loader
	1908	0x13c8229d000	0x13c8251a000	0x13c82719000	0x13c8272e000	lib    	/boot/system/lib/libicui18n.so.57.1
	1907	0x13c90830000	0x13c920ae000	0x13c922ad000	0x13c922ae000	lib    	/boot/system/lib/libicudata.so.57.1
	1899	0x1480533a000	0x1480534f000	0x1480554e000	0x14805550000	lib    	/boot/system/lib/libtranslation.so
	1919	0x1778d7a0000	0x1778d7b1000	0x1778d9b1000	0x1778d9b2000	lib    	/boot/system/lib/libroot-addon-icu.so
	1914	0x18029251000	0x1802926d000	0x1802946c000	0x1802946d000	lib    	/boot/system/lib/libz.so.1.2.11
	1910	0x1927517b000	0x192751d0000	0x192753d0000	0x192753d3000	lib    	/boot/system/lib/libicule.so.57.1
	1906	0x1a662a12000	0x1a662b6a000	0x1a662d69000	0x1a662dbc000	lib    	/boot/system/lib/libroot.so
	1904	0x1af4ac73000	0x1af4add5000	0x1af4afd5000	0x1af4afe9000	lib    	/boot/system/lib/libstdc++.so.6.0.21
	1917	0x1d829f6b000	0x1d829fd6000	0x1d82a1d5000	0x1d82a1e0000	lib    	/boot/system/lib/libssl.so.1.0.0
	1912	0x1d83bd4e000	0x1d83bd7d000	0x1d83bf7d000	0x1d83bfb1000	lib    	/boot/system/lib/libicutu.so.57.1
	1903	0x1dfe9bb1000	0x1dfe9c15000	0x1dfe9e14000	0x1dfe9e19000	lib    	/boot/system/lib/libbnetapi.so
	1915	0x20e9b56f000	0x20e9b573000	0x20e9b773000	0x20e9b774000	lib    	/boot/system/lib/libbsd.so
	1909	0x23189e4f000	0x23189e5b000	0x2318a05a000	0x2318a05c000	lib    	/boot/system/lib/libicuio.so.57.1
	1895	0x7fbb36fa8000	0x7fbb36fb0000	0x00000000	0x00000000	system 	commpage

Areas:
	ID		Base		End			Size (KiB)	Protection	Locking			Name
	--------------------------------------------------------------------------------
	5837	0x60000000	0x60001000	         4	rw-S       	full          	server_memory
	5839	0x68000000	0x68020000	       128	rw-S       	full          	server_memory
	5829	0x70b82000	0x70b9a000	        96	rw-        	full          	rld heap
	5828	0x763c1000	0x763d9000	        96	rw-        	full          	rld heap
	5827	0x104f81000	0x104f91000	        64	rw-        	full          	rld heap
	5826	0x92b3f1000	0x92b401000	        64	rw-        	full          	rld heap
	5825	0xb7f8c9000	0xb7f8d1000	        32	rw-        	full          	rld heap
	5824	0x19ea107000	0x19ea10f000	        32	rw-        	full          	rld heap
	5774	0x1a0a4e5000	0x1a0a4e6000	         4	rw-S       	full          	_rld_debug_
	5773	0x1d263d3000	0x1d263e3000	        64	rw-        	full          	rld heap
	5813	0x31a6449000	0x31a65e1000	      1632	r-x        	full          	libicuuc.so.57.1_seg0ro
	5814	0x31a67e0000	0x31a67f5000	        84	rw-        	full          	libicuuc.so.57.1_seg1rw
	5808	0x62c2f13000	0x62c2f1e000	        44	r-x        	full          	libiculx.so.57.1_seg0ro
	5809	0x62c311e000	0x62c311f000	         4	rw-        	full          	libiculx.so.57.1_seg1rw
	5782	0x83a7ca1000	0x83a7d9d000	      1008	r-x        	full          	libtextencoding.so_seg0ro
	5783	0x83a7f9d000	0x83a7fa0000	        12	rw-        	full          	libtextencoding.so_seg1rw
	5819	0x94aa30b000	0x94aa517000	      2096	r-x        	full          	libcrypto.so.1.0.0_seg0ro
	5820	0x94aa717000	0x94aa73e000	       156	rw-        	full          	libcrypto.so.1.0.0_seg1rw
	5821	0x94aa73e000	0x94aa740000	         8	rw-        	full          	libcrypto.so.1.0.0_seg2rw
	5775	0xa2df64d000	0xa2df723000	       856	r-x        	full          	Vision_seg0ro
	5776	0xa2df922000	0xa2df92f000	        52	rw-        	full          	Vision_seg1rw
	5795	0x101da4e5000	0x101da4fa000	        84	r-x        	full          	libgcc_s.so.1_seg0ro
	5796	0x101da6f9000	0x101da6fa000	         4	rw-        	full          	libgcc_s.so.1_seg1rw
	5787	0x106c3bf8000	0x106c3c37000	       252	r-x        	full          	libnetwork.so_seg0ro
	5788	0x106c3e36000	0x106c3e39000	        12	rw-        	full          	libnetwork.so_seg1rw
	5789	0x106c3e39000	0x106c3e3f000	        24	rw-        	full          	libnetwork.so_seg2rw
	5784	0x10ccf348000	0x10ccf4e1000	      1636	r-x        	full          	libtracker.so_seg0ro
	5785	0x10ccf6e0000	0x10ccf6f8000	        96	rw-        	full          	libtracker.so_seg1rw
	5786	0x10ccf6f8000	0x10ccf6f9000	         4	rw-        	full          	libtracker.so_seg2rw
	5777	0x115a361c000	0x115a3919000	      3060	r-x        	full          	libbe.so_seg0ro
	5778	0x115a3b19000	0x115a3b46000	       180	rw-        	full          	libbe.so_seg1rw
	5779	0x115a3b46000	0x115a3b47000	         4	rw-        	full          	libbe.so_seg2rw
	5771	0x1227cfd2000	0x1227cff0000	       120	r-x        	full          	runtime_loader_seg0ro
	5772	0x1227d1ef000	0x1227d1f1000	         8	rw-        	full          	runtime_loader_seg1rw
	5802	0x13c8229d000	0x13c8251a000	      2548	r-x        	full          	libicui18n.so.57.1_seg0ro
	5803	0x13c82719000	0x13c8272e000	        84	rw-        	full          	libicui18n.so.57.1_seg1rw
	5800	0x13c90830000	0x13c920ae000	     25080	r-x        	full          	libicudata.so.57.1_seg0ro
	5801	0x13c922ad000	0x13c922ae000	         4	rw-        	full          	libicudata.so.57.1_seg1rw
	5780	0x1480533a000	0x1480534f000	        84	r-x        	full          	libtranslation.so_seg0ro
	5781	0x1480554e000	0x14805550000	         8	rw-        	full          	libtranslation.so_seg1rw
	5850	0x1778d7a0000	0x1778d7b1000	        68	r-x        	full          	libroot-addon-icu.so_seg0ro
	5851	0x1778d9b1000	0x1778d9b2000	         4	rw-        	full          	libroot-addon-icu.so_seg1rw
	5815	0x18029251000	0x1802926d000	       112	r-x        	full          	libz.so.1.2.11_seg0ro
	5816	0x1802946c000	0x1802946d000	         4	rw-        	full          	libz.so.1.2.11_seg1rw
	5806	0x1927517b000	0x192751d0000	       340	r-x        	full          	libicule.so.57.1_seg0ro
	5807	0x192753d0000	0x192753d3000	        12	rw-        	full          	libicule.so.57.1_seg1rw
	5830	0x1945f380000	0x1945f6f0000	      3520	rw-        	full          	heap
	5797	0x1a662a12000	0x1a662b6a000	      1376	r-x        	full          	libroot.so_seg0ro
	5798	0x1a662d69000	0x1a662d77000	        56	rw-        	full          	libroot.so_seg1rw
	5799	0x1a662d77000	0x1a662dbc000	       276	rw-        	full          	libroot.so_seg2rw
	5792	0x1af4ac73000	0x1af4add5000	      1416	r-x        	full          	libstdc++.so.6.0.21_seg0ro
	5793	0x1af4afd5000	0x1af4afe1000	        48	rw-        	full          	libstdc++.so.6.0.21_seg1rw
	5794	0x1af4afe1000	0x1af4afe9000	        32	rw-        	full          	libstdc++.so.6.0.21_seg2rw
	5822	0x1d829f6b000	0x1d829fd6000	       428	r-x        	full          	libssl.so.1.0.0_seg0ro
	5823	0x1d82a1d5000	0x1d82a1e0000	        44	rw-        	full          	libssl.so.1.0.0_seg1rw
	5810	0x1d83bd4e000	0x1d83bd7d000	       188	r-x        	full          	libicutu.so.57.1_seg0ro
	5811	0x1d83bf7d000	0x1d83bf7f000	         8	rw-        	full          	libicutu.so.57.1_seg1rw
	5812	0x1d83bf7f000	0x1d83bfb1000	       200	rw-        	full          	libicutu.so.57.1_seg2rw
	5790	0x1dfe9bb1000	0x1dfe9c15000	       400	r-x        	full          	libbnetapi.so_seg0ro
	5791	0x1dfe9e14000	0x1dfe9e19000	        20	rw-        	full          	libbnetapi.so_seg1rw
	5817	0x20e9b56f000	0x20e9b573000	        16	r-x        	full          	libbsd.so_seg0ro
	5818	0x20e9b773000	0x20e9b774000	         4	rw-        	full          	libbsd.so_seg1rw
	5804	0x23189e4f000	0x23189e5b000	        48	r-x        	full          	libicuio.so.57.1_seg0ro
	5805	0x2318a05a000	0x2318a05c000	         8	rw-        	full          	libicuio.so.57.1_seg1rw
	5841	0x7f84d245d000	0x7f84d24a2000	       276	rw-s       	full          	the_spirits_within_451_stack
	5855	0x7fb4f565a000	0x7fb4f569f000	       276	rw-s       	full          	s>naked scottish weathergirls_4
	5770	0x7fbb36fa8000	0x7fbb36fb0000	        32	r-xSk      	full          	commpage
	5767	0x7fc576561000	0x7fc576565000	        16	rw-        	full          	user area
	5769	0x7fedf36bb000	0x7fedf46bc000	     16388	rw-s       	full          	Vision_448_stack

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

Semaphores:
	ID		Count	Last Holder	Name
	------------------------------------------------------------
	2497	    0	          0	some BBlockCache lock
	2498	    0	          0	Catalog
	2499	    0	          0	some BLocker
	2500	    0	          0	some BLocker
	2501	    0	          0	token space
	2502	    0	          0	BLooperList lock
	2503	    0	          0	AppServerLink_sLock
	2504	    0	          0	LocaleRosterData
	2505	    0	          0	some BLocker
	2506	    0	          0	Catalog
	2507	    0	          0	PeriodicUpdatePoses
	2508	    0	          0	Light Lock
	2509	    0	          0	Light Lock
	2510	    0	          0	undo
	2511	    0	          0	some BLocker
	2512	    0	          0	some BLocker
	2513	    0	          0	synchronized hash map
	2514	    0	          0	synchronized hash map
	2515	    0	          0	some BLocker
	2516	    0	          0	URLCrunch taglist
	2517	    0	          0	Catalog
	2518	    0	          0	BMessageQueue Lock
	2519	    0	          0	AppLooperPort
	2531	    0	          0	screen list
	2532	    0	          0	clipboard
	2533	    0	          0	width buffer
	2534	    0	          0	some BLocker
	2535	    0	          0	some BLocker
	2536	    0	          0	some BLocker
	2537	 1000	       -453	active theme
	2581	    0	          0	tool tip manager
@waddlesplash
Copy link
Member

// give our child threads a chance to die gracefully

Looks like some thread is not exiting.

@Vidrep
Copy link
Author

Vidrep commented May 27, 2018

hrev51980 x86_gcc2h

Had it happen again today. Noticed Vision still running in the Deskbar 10 minutes after closing the app. Debugger attached and report pasted below.

Debug information for team /boot/system/apps/Vision/Vision (847):
CPU(s): 4x Intel Core™ i5-3570
Memory: 7.95 GiB total, 829.35 MiB used
Haiku revision: hrev51980 May 26 2018 07:02:17 (BePC)

Active Threads:
thread 3219: team 847 debug task
thread 847: Vision (main)
state: Debugged

	Frame		IP			Function Name
	-----------------------------------------------
	00000000	0x61b22112	commpage_syscall + 0x2 
		Disassembly:
			commpage_syscall:
			0x61b22110:             89e1  mov %esp, %ecx
			0x61b22112:             0f34  sysenter  <--

	0x71bb0498	0xbe8e68	_get_next_thread_info + 0x34 
	0x71bb0530	0x220579a	VisionApp::ThreadStates() + 0x18a 
	0x71bb0590	0x220856e	VisionApp::QuitRequested() + 0x16a 
	0x71bb0610	0xff9c45	BLooper::_QuitRequested(BMessage*) + 0x31 
	0x71bb0640	0xff82c9	BLooper::DispatchMessage(BMessage*, BHandler*) + 0x41 
	0x71bb0840	0xfed734	BApplication::DispatchMessage(BMessage*, BHandler*) + 0x4e8 
	0x71bb0880	0xff9b9b	BLooper::task_looper() + 0x20f 
	0x71bb08c0	0xfec06f	BApplication::Run() + 0x73 
	0x71bb08f0	0x2204db8	main + 0x90 
	0x71bb0918	0x218fc8a	_start + 0x56 
	0x71bb0948	0x1b81e60	runtime_loader + 0x130 
	00000000	0x61b22250	commpage_thread_exit + 0 

	Registers:
		  eip:	0x61b22114
		  esp:	0x71bb046c
		  ebp:	0x71bb0498
		  eax:	0x00000041
		  ebx:	0x00c96610
		  ecx:	0x71bb046c
		  edx:	0x61b22114
		  esi:	0x71bb04d8
		  edi:	0x00000000
		   cs:	0x001b
		   ds:	0x0023
		   es:	0x0023
		   fs:	0x0063
		   gs:	0x0023
		   ss:	0x0023
		  st0:	47
		  st1:	-0.125
		  st2:	-0
		  st3:	1
		  st4:	1
		  st5:	130
		  st6:	1.53e+03
		  st7:	978
		  mm0:	{0, 0, 0, 0xbc00}
		  mm1:	{0x4000, 0xfffd, 0xffff, 0xffff}
		  mm2:	{0, 0, 0, 0}
		  mm3:	{0, 0, 0, 0x8000}
		  mm4:	{0, 0, 0, 0x8000}
		  mm5:	{0, 0, 0, 0x8200}
		  mm6:	{0, 0, 0, 0xbf80}
		  mm7:	{0, 0, 0, 0xf480}
		 xmm0:	{0xbd9b, 0x4bb0, 0x340, 0xe231, 0x55f6, 0x46ca, 0xf8ff, 0x99c3}
		 xmm1:	{0xd06d, 0xfba, 0xfbc5, 0xa9d5, 0x89d9, 0xb402, 0x2215, 0x3299}
		 xmm2:	{0xe78b, 0x53bc, 0x83e3, 0x43ec, 0xc38b, 0x589b, 0x98bc, 0x539e}
		 xmm3:	{0xc4af, 0xf0bb, 0x8b83, 0x82bf, 0xc7c4, 0x6cae, 0x7990, 0x1009}
		 xmm4:	{0x7e6, 0xd2e7, 0xec33, 0xa343, 0x20ee, 0xd2ec, 0x9e70, 0x4453}
		 xmm5:	{0x3, 0, 0x3, 0, 0, 0, 0, 0}
		 xmm6:	{0xa961, 0x1e1f, 0x45b9, 0xe4f, 0x8561, 0x22fe, 0x5a92, 0x1e01}
		 xmm7:	{0x8685, 0xbb1e, 0x4d59, 0x4d22, 0x899a, 0x3711, 0x3b66, 0xda6c}
thread 850: the_spirits_within 
	state: Debugged

	Frame		IP			Function Name
	-----------------------------------------------
	00000000	0x61b22112	commpage_syscall + 0x2 
		Disassembly:
			commpage_syscall:
			0x61b22110:             89e1  mov %esp, %ecx
			0x61b22112:             0f34  sysenter  <--

	0x7a107b88	0xc5b858	select + 0x58 
	0x7a107d90	0x220c230	VisionApp::Identity(void*) + 0x188 
	0x7a107db8	0xbe8add	thread_entry + 0x21 
	00000000	0x61b22250	commpage_thread_exit + 0 

	Registers:
		  eip:	0x61b22114
		  esp:	0x7a107b4c
		  ebp:	0x7a107b88
		  eax:	0x0000007e
		  ebx:	0x00c96610
		  ecx:	0x7a107b4c
		  edx:	0x61b22114
		  esi:	0xffffffff
		  edi:	0xffffffff
		   cs:	0x001b
		   ds:	0x0023
		   es:	0x0023
		   fs:	0x0063
		   gs:	0x0023
		   ss:	0x0023
		  st0:	nan
		  st1:	nan
		  st2:	nan
		  st3:	0
		  st4:	nan
		  st5:	nan
		  st6:	4.71e+04
		  st7:	9.97e+07
		  mm0:	{0, 0, 0, 0}
		  mm1:	{0x100, 0, 0, 0}
		  mm2:	{0x4, 0, 0, 0}
		  mm3:	{0, 0, 0, 0}
		  mm4:	{0, 0, 0, 0}
		  mm5:	{0, 0xffeb, 0, 0}
		  mm6:	{0, 0, 0, 0xb7d2}
		  mm7:	{0x5f76, 0x5b1e, 0x3a11, 0xbe29}
		 xmm0:	{0x2a77, 0x9c8f, 0x37e7, 0x4bb7, 0x41bc, 0xffcf, 0x2347, 0x9771}
		 xmm1:	{0x510a, 0xe289, 0xc3d8, 0x44c3, 0x8c98, 0x54d6, 0x650f, 0x96bb}
		 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:	{0x6a00, 0x97ce, 0x66e4, 0x11e2, 0xd699, 0x3b6c, 0xee5, 0xd985}
		 xmm6:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm7:	{0, 0, 0, 0, 0, 0, 0, 0}
thread 855: s>youlooklikeyouneedamonkey 
	state: Debugged

	Frame		IP			Function Name
	-----------------------------------------------
	00000000	0x61b22112	commpage_syscall + 0x2 
		Disassembly:
			commpage_syscall:
			0x61b22110:             89e1  mov %esp, %ecx
			0x61b22112:             0f34  sysenter  <--

	0x79c02618	0xc62f63	read + 0x27 
	0x18896d10	0x1c4e58d	sock_read(bio_st*, char*, int) + 0x39 (/sources/openssl-1.0.2o/crypto/bio/bss_sock.c:-1)

	Registers:
		  eip:	0x61b22114
		  esp:	0x79c025dc
		  ebp:	0x79c02618
		  eax:	0x0000008e
		  ebx:	0x00c96610
		  ecx:	0x79c025dc
		  edx:	0x61b22114
		  esi:	0x00000000
		  edi:	0x188e0eeb
		   cs:	0x001b
		   ds:	0x0023
		   es:	0x0023
		   fs:	0x0063
		   gs:	0x0023
		   ss:	0x0023
		  st0:	nan
		  st1:	nan
		  st2:	nan
		  st3:	nan
		  st4:	nan
		  st5:	nan
		  st6:	nan
		  st7:	nan
		  mm0:	{0x6758, 0x113d, 0xeda1, 0x8c14}
		  mm1:	{0x2ebf, 0x9d6f, 0xd36b, 0xe7de}
		  mm2:	{0x7091, 0x1381, 0x7c5d, 0x1bc0}
		  mm3:	{0x8e84, 0xc7ae, 0xa8b5, 0x4cba}
		  mm4:	{0x5f8, 0xaaff, 0x90ed, 0xd0a5}
		  mm5:	{0xba5c, 0xdd22, 0x1c33, 0xa4d2}
		  mm6:	{0xd679, 0xfd96, 0x87ab, 0x6f81}
		  mm7:	{0x9e72, 0xa9f4, 0x4b9e, 0x794c}
		 xmm0:	{0xb7e0, 0x8baf, 0x66a0, 0x5e1e, 0xe1b0, 0x9eb9, 0x6049, 0xe6e7}
		 xmm1:	{0x8260, 0x3c4b, 0xa088, 0xf1b8, 0x601c, 0x4814, 0xb179, 0xabc7}
		 xmm2:	{0xace8, 0x5393, 0x76ab, 0x7acf, 0x4267, 0xe3a0, 0xf7ff, 0xd19f}
		 xmm3:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm4:	{0x8f24, 0x9639, 0xf890, 0x814b, 0xe180, 0xa404, 0x7b53, 0x9579}
		 xmm5:	{0xe0f, 0xc0d, 0xa0b, 0x809, 0x607, 0x405, 0x203, 0x1}
		 xmm6:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm7:	{0, 0, 0, 0, 0, 0, 0, 0}

Loaded Images:
ID Text Base Text End Data Base Data End Type Name
--------------------------------------------------------------------------------
2389 0x004ed000 0x004f1000 0x004f1000 0x004f2000 lib /boot/system/lib/libbsd.so
2383 0x0054b000 0x00554000 0x00554000 0x00556000 lib /boot/system/lib/libicuio.so.57.1
2376 0x00623000 0x007d1000 0x007d1000 0x00831000 lib /boot/system/lib/libtracker.so
2375 0x0089a000 0x00991000 0x00991000 0x00994000 lib /boot/system/lib/libtextencoding.so
2386 0x00a1e000 0x00a57000 0x00a57000 0x00a8e000 lib /boot/system/lib/libicutu.so.57.1
2380 0x00bb6000 0x00c8c000 0x00c8c000 0x00cd8000 lib /boot/system/lib/libroot.so
2388 0x00eb0000 0x00eca000 0x00eca000 0x00ecb000 lib /boot/system/lib/libz.so.1.2.11
2373 0x00ee5000 0x011b6000 0x011b6000 0x0124f000 lib /boot/system/lib/libbe.so
2385 0x016b5000 0x016c0000 0x016c0000 0x016c3000 lib /boot/system/lib/libiculx.so.57.1
2382 0x016c4000 0x01955000 0x01955000 0x019be000 lib /boot/system/lib/libicui18n.so.57.1
2391 0x019fb000 0x01a52000 0x01a52000 0x01a76000 lib /boot/system/lib/libssl.so.1.0.0
2379 0x01b16000 0x01b47000 0x01b47000 0x01b55000 lib /boot/system/lib/libstdc++.r4.so
2371 0x01b70000 0x01b8e000 0x01b8f000 0x01b92000 lib /boot/system/runtime_loader
2390 0x01b92000 0x01cf5000 0x01cf5000 0x01d9d000 lib /boot/system/lib/libcrypto.so.1.0.0
2387 0x01d9f000 0x01f11000 0x01f11000 0x01f45000 lib /boot/system/lib/libicuuc.so.57.1
2394 0x01f7c000 0x01f8c000 0x01f8c000 0x01f90000 lib /boot/system/lib/libroot-addon-icu.so
2374 0x01ff8000 0x0200f000 0x0200f000 0x02014000 lib /boot/system/lib/libtranslation.so
2384 0x020d9000 0x0212c000 0x0212c000 0x02137000 lib /boot/system/lib/libicule.so.57.1
2372 0x0214e000 0x0222a000 0x0222a000 0x0224e000 app /boot/system/apps/Vision/Vision
2377 0x02293000 0x022c8000 0x022c8000 0x022d0000 lib /boot/system/lib/libnetwork.so
2378 0x02731000 0x02794000 0x02794000 0x027a8000 lib /boot/system/lib/libbnetapi.so
2381 0x02c86000 0x04504000 0x04504000 0x04505000 lib /boot/system/lib/libicudata.so.57.1
2370 0x61b22000 0x61b2a000 0x00000000 0x00000000 system commpage

Areas:
ID Base End Size (KiB) Protection Locking Name
--------------------------------------------------------------------------------
6850 0x00117000 0x00127000 64 rw- full rld heap
6849 0x00133000 0x00143000 64 rw- full rld heap
6848 0x00149000 0x00151000 32 rw- full rld heap
6796 0x00196000 0x00197000 4 rw-S full rld_debug
6841 0x004ed000 0x004f1000 16 r-x full libbsd.so_seg0ro
6842 0x004f1000 0x004f2000 4 rw- full libbsd.so_seg1rw
6827 0x0054b000 0x00554000 36 r-x full libicuio.so.57.1_seg0ro
6828 0x00554000 0x00556000 8 rw- full libicuio.so.57.1_seg1rw
6795 0x005b5000 0x005c5000 64 rw- full rld heap
6808 0x00623000 0x007d1000 1720 r-x full libtracker.so_seg0ro
6809 0x007d1000 0x0082f000 376 rw- full libtracker.so_seg1rw
6810 0x0082f000 0x00831000 8 rw- full libtracker.so_seg2rw
6805 0x0089a000 0x00991000 988 r-x full libtextencoding.so_seg0ro
6806 0x00991000 0x00993000 8 rw- full libtextencoding.so_seg1rw
6807 0x00993000 0x00994000 4 rw- full libtextencoding.so_seg2rw
6833 0x00a1e000 0x00a57000 228 r-x full libicutu.so.57.1_seg0ro
6834 0x00a57000 0x00a5c000 20 rw- full libicutu.so.57.1_seg1rw
6835 0x00a5c000 0x00a8e000 200 rw- full libicutu.so.57.1_seg2rw
6819 0x00bb6000 0x00c8c000 856 r-x full libroot.so_seg0ro
6820 0x00c8c000 0x00c9f000 76 rw- full libroot.so_seg1rw
6821 0x00c9f000 0x00cd8000 228 rw- full libroot.so_seg2rw
6839 0x00eb0000 0x00eca000 104 r-x full libz.so.1.2.11_seg0ro
6840 0x00eca000 0x00ecb000 4 rw- full libz.so.1.2.11_seg1rw
6800 0x00ee5000 0x011b6000 2884 r-x full libbe.so_seg0ro
6801 0x011b6000 0x0124e000 608 rw- full libbe.so_seg1rw
6802 0x0124e000 0x0124f000 4 rw- full libbe.so_seg2rw
6831 0x016b5000 0x016c0000 44 r-x full libiculx.so.57.1_seg0ro
6832 0x016c0000 0x016c3000 12 rw- full libiculx.so.57.1_seg1rw
6824 0x016c4000 0x01955000 2628 r-x full libicui18n.so.57.1_seg0ro
6825 0x01955000 0x019bd000 416 rw- full libicui18n.so.57.1_seg1rw
6826 0x019bd000 0x019be000 4 rw- full libicui18n.so.57.1_seg2rw
6846 0x019fb000 0x01a52000 348 r-x full libssl.so.1.0.0_seg0ro
6847 0x01a52000 0x01a76000 144 rw- full libssl.so.1.0.0_seg1rw
6816 0x01b16000 0x01b47000 196 r-x full libstdc++.r4.so_seg0ro
6817 0x01b47000 0x01b52000 44 rw- full libstdc++.r4.so_seg1rw
6818 0x01b52000 0x01b55000 12 rw- full libstdc++.r4.so_seg2rw
6792 0x01b70000 0x01b8e000 120 r-x full runtime_loader_seg0ro
6793 0x01b8f000 0x01b91000 8 rw- full runtime_loader_seg1rw
6794 0x01b91000 0x01b92000 4 rw- full runtime_loader_bss1
6843 0x01b92000 0x01cf5000 1420 r-x full libcrypto.so.1.0.0_seg0ro
6844 0x01cf5000 0x01d9b000 664 rw- full libcrypto.so.1.0.0_seg1rw
6845 0x01d9b000 0x01d9d000 8 rw- full libcrypto.so.1.0.0_seg2rw
6836 0x01d9f000 0x01f11000 1480 r-x full libicuuc.so.57.1_seg0ro
6837 0x01f11000 0x01f44000 204 rw- full libicuuc.so.57.1_seg1rw
6838 0x01f44000 0x01f45000 4 rw- full libicuuc.so.57.1_seg2rw
6873 0x01f7c000 0x01f8c000 64 r-x full libroot-addon-icu.so_seg0ro
6874 0x01f8c000 0x01f90000 16 rw- full libroot-addon-icu.so_seg1rw
6803 0x01ff8000 0x0200f000 92 r-x full libtranslation.so_seg0ro
6804 0x0200f000 0x02014000 20 rw- full libtranslation.so_seg1rw
6829 0x020d9000 0x0212c000 332 r-x full libicule.so.57.1_seg0ro
6830 0x0212c000 0x02137000 44 rw- full libicule.so.57.1_seg1rw
6797 0x0214e000 0x0222a000 880 r-x full Vision_seg0ro
6798 0x0222a000 0x0224d000 140 rw- full Vision_seg1rw
6799 0x0224d000 0x0224e000 4 rw- full Vision_seg2rw
6811 0x02293000 0x022c8000 212 r-x full libnetwork.so_seg0ro
6812 0x022c8000 0x022cb000 12 rw- full libnetwork.so_seg1rw
6813 0x022cb000 0x022d0000 20 rw- full libnetwork.so_seg2rw
6814 0x02731000 0x02794000 396 r-x full libbnetapi.so_seg0ro
6815 0x02794000 0x027a8000 80 rw- full libbnetapi.so_seg1rw
6822 0x02c86000 0x04504000 25080 r-x full libicudata.so.57.1_seg0ro
6823 0x04504000 0x04505000 4 rw- full libicudata.so.57.1_seg1rw
6851 0x187ea000 0x18a1a000 2240 rw- full heap
6788 0x60acb000 0x60acf000 16 rw- full user area
6791 0x61b22000 0x61b2a000 32 r-xSk full commpage
6858 0x61b2a000 0x61b2b000 4 rw-S full server_memory
6790 0x70bb1000 0x71bb2000 16388 rw-s full Vision_847_stack
6860 0x71bb2000 0x71bd2000 128 rw-S full server_memory
6878 0x79bbf000 0x79c04000 276 rw-s full s>youlooklikeyouneedamonkey_855
6862 0x7a0c4000 0x7a109000 276 rw-s full the_spirits_within_850_stack

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

Semaphores:
ID Count Last Holder Name
------------------------------------------------------------
4148 0 0 some BBlockCache lock
4149 0 0 Catalog
4150 0 0 some BLocker
4151 0 0 some BLocker
4152 0 0 token space
4153 0 0 BLooperList lock
4154 0 0 AppServerLink_sLock
4155 0 0 LocaleRosterData
4156 0 0 some BLocker
4157 0 0 Catalog
4158 0 0 PeriodicUpdatePoses
4159 0 0 Light Lock
4160 0 0 Light Lock
4161 0 0 undo
4162 0 0 some BLocker
4163 0 0 some BLocker
4164 0 0 synchronized hash map
4165 0 0 synchronized hash map
4166 0 0 some BLocker
4167 0 0 DNS cache
4168 0 0 URLCrunch taglist
4169 0 0 Catalog
4170 0 0 BMessageQueue Lock
4171 0 0 AppLooperPort
4183 0 0 screen list
4184 0 0 clipboard
4185 0 0 width buffer
4186 0 0 some BLocker
4187 0 0 some BLocker
4188 0 0 some BLocker
4189 1000 -852 active theme
4239 0 0 tool tip manager

@janus2
Copy link
Member

janus2 commented Jul 20, 2018

if it happens again can you try to disconnect the pc from the network?
See if the app exits.

@scottmc scottmc added the bug label Aug 31, 2018
@scottmc scottmc added the hacktoberfest Issues proposed to Hacktoberfest participants label Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug hacktoberfest Issues proposed to Hacktoberfest participants
Development

No branches or pull requests

4 participants