Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12605 closed bug (duplicate)

Segment violation in WebPostive when trying to login to local Jira instance

Reported by: markh Owned by: pulkomandy
Priority: normal Milestone: R1/beta1
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: #10924 Blocking:
Platform: All

Description

Hello,

I have a local instance of Jira running (see www.atlassian.com) and when I try to login it causes a crash in WebPositive. I reproduced it with the HaikuLauncher and got the following debug report:

Debug information for team /boot/home/webkit/WebKitBuild/Release/HaikuLauncher (16457):
CPU(s): 8x Intel Core™ i7-3632QM
Memory: 15.88 GiB total, 977.29 MiB used
Haiku revision: hrev50032 Jan 15 2016 01:23:05 (BePC)

Active Threads:
	thread 16460: WebCore: IconDatabase 
	thread 16462: timer thread 
	thread 16464: w>System Dashboard - Elegant La 
	thread 16481: WebCore: LocalStorage 
	thread 16489: team 16457 debug task 
	thread 16457: HaikuLauncher (main)
		state: Exception (Segment violation)

		Frame		IP			Function Name
		-----------------------------------------------
		0x7318fe38	0x2f242d7	WebCore::ResourceHandle::client() const + 0x7 
			Disassembly:
				WebCore::ResourceHandle::client() const:
				0x02f242d0:               55  push %ebp
				0x02f242d1:             89e5  mov %esp, %ebp
				0x02f242d3:           8b4508  mov 0x8(%ebp), %eax
				0x02f242d6:               5d  pop %ebp
				0x02f242d7:           8b4008  mov 0x8(%eax), %eax <--

			Frame memory:
				[0x7318fc8c]  ..t.....H\Z.,..s   a4 a6 74 03 00 00 00 00 48 5c 5a 19 2c fd 18 73
				[0x7318fc9c]  ...........s...s   00 00 00 00 00 00 00 00 d8 fc 18 73 01 fc 18 73
				[0x7318fcac]  ..5.@.)........s   a4 e9 35 18 40 bd 29 18 91 01 00 00 fc fc 18 73
				[0x7318fcbc]  H\Z.,..s(i.....s   48 5c 5a 19 2c fd 18 73 28 69 8d 19 e4 fc 18 73
				[0x7318fccc]  ...s..+..%.. ...   e8 fc 18 73 a8 80 2b 18 e8 25 ea 19 20 de fc 18
				[0x7318fcdc]  p ..............   70 20 ea 19 00 00 00 00 00 00 00 00 00 00 00 00
				[0x7318fcec]  ,...............   2c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
				[0x7318fcfc]  .HK.C...........   80 48 4b 1a 43 cb fe 01 04 00 00 00 07 00 00 00
				[0x7318fd0c]  ................   07 00 00 00 07 00 00 00 12 00 00 00 17 00 00 00
				[0x7318fd1c]  *.......>...>...   2a 00 00 00 2e 00 00 00 3e 00 00 00 3e 00 00 00
				[0x7318fd2c]  .....HK.C.......   00 00 00 00 80 48 4b 1a 43 cb fe 01 04 00 00 00
				[0x7318fd3c]  ................   07 00 00 00 07 00 00 00 07 00 00 00 12 00 00 00
				[0x7318fd4c]  ....*.......>...   17 00 00 00 2a 00 00 00 2e 00 00 00 3e 00 00 00
				[0x7318fd5c]  >...X...........   3e 00 00 00 58 b5 82 19 00 00 00 00 00 00 00 00
				[0x7318fd6c]  h.6......... ...   68 19 36 18 c0 8d 89 18 d0 8c 03 1a 20 00 00 00
				[0x7318fd7c]  ..............b.   1f 00 00 00 09 00 00 00 00 00 00 00 98 c7 62 1a
				[0x7318fd8c]  ................   10 00 00 00 0f 00 00 00 04 00 00 00 00 00 00 00
				[0x7318fd9c]  ................   ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
				[0x7318fdac]  ...............s   00 00 00 00 00 00 00 00 ff ff ff ff 01 fe 18 73
				[0x7318fdbc]  ...............s   00 00 00 00 91 01 00 00 00 00 00 00 18 fe 18 73
				[0x7318fdcc]  .......s.=6....s   10 ef 8c 19 00 fe 18 73 a8 3d 36 18 18 fe 18 73
				[0x7318fddc]  ....o..s.=6....s   00 cb fe 01 6f fe 18 73 a8 3d 36 18 00 fe 18 73
				[0x7318fdec]  #....=6..@..ETYB   23 e0 df 01 a8 3d 36 18 00 40 1d 02 45 54 59 42
				[0x7318fdfc]  .......s,..su...   00 00 00 00 00 fe 18 73 2c fe 18 73 75 2e 8d 19
				[0x7318fe0c]  .........=6.....   00 00 00 00 00 00 00 00 00 3d 36 18 00 00 00 00
				[0x7318fe1c]  .....=6.}@......   a0 de fc 18 a8 3d 36 18 7d 40 1d 02 93 2e 8d 19
				[0x7318fe2c]  .j..H\Z..=6.       b8 6a 1e 02 48 5c 5a 19 a8 3d 36 18
		0x7318fee0	0x21cf7e9	BUrlProtocolAsynchronousListener::MessageReceived(BMessage*) + 0x1a9 
		0x7318ff00	0x1dfa4ed	BLooper::DispatchMessage(BMessage*, BHandler*) + 0x2d 
		0x73190100	0x1df1f89	BApplication::DispatchMessage(BMessage*, BHandler*) + 0x29 
		0x73190150	0x1dfa80d	BLooper::task_looper() + 0x10d 
		0x73190170	0x1deeb3c	BApplication::Run() + 0x4c 
		0x73190188	0x1158577	main + 0x37 
		0x731901b8	0x11586cd	_start + 0x4d 
		0x731901f8	0x2110b72	runtime_loader + 0x132 
		00000000	0x621f7250	commpage_thread_exit + 0 

		Registers:
			  eip:	0x02f242d7
			  esp:	0x7318fc8c
			  ebp:	0x7318fe38
			  eax:	0x00000000
			  ebx:	0x03ae9a24
			  ecx:	0x00000001
			  edx:	0x00000000
			  esi:	0x0000000e
			  edi:	0x195a5dd8
			   cs:	0x001b
			   ds:	0x0023
			   es:	0x0023
			   fs:	0x0063
			   gs:	0x0023
			   ss:	0x0023
			  st0:	588
			  st1:	14
			  st2:	588
			  st3:	343
			  st4:	600
			  st5:	1.45e+09
			  st6:	0
			  st7:	2.15e+09
			  mm0:	{0, 0, 0, 0x9300}
			  mm1:	{0, 0, 0, 0xe000}
			  mm2:	{0, 0, 0, 0x9300}
			  mm3:	{0, 0, 0, 0xab80}
			  mm4:	{0, 0, 0, 0x9600}
			  mm5:	{0x8000, 0xab4f, 0xfff, 0xad35}
			  mm6:	{0, 0, 0, 0}
			  mm7:	{0, 0, 0xfffe, 0xffff}
			 xmm0:	{0, 0, 0, 0x4000, 0, 0, 0, 0}
			 xmm1:	{0xffff, 0xffff, 0xffff, 0x433f, 0, 0, 0, 0}
			 xmm2:	{0x1aa7, 0x1e76, 0x2100, 0xa8e6, 0, 0, 0, 0}
			 xmm3:	{0xb70c, 0x9386, 0x5181, 0x93ae, 0, 0, 0, 0}
			 xmm4:	{0x578f, 0xe48d, 0xe691, 0x41a8, 0, 0, 0, 0}
			 xmm5:	{0, 0, 0x1, 0, 0, 0, 0, 0}
			 xmm6:	{0xdc7d, 0xe8d8, 0xe2d6, 0x7348, 0xfa1d, 0xafb3, 0x6a02, 0xf40f}
			 xmm7:	{0x78e2, 0x5de9, 0x1357, 0x5e11, 0xfb54, 0x5134, 0xa534, 0xab82}

Loaded Images:
	ID		Text Base	Text End	Data Base	Data End	Type	Name
	--------------------------------------------------------------------------------
	295023	0x00277000	0x00304000	0x00304000	0x00309000	lib    	/boot/system/lib/x86/libmedia.so
	295019	0x00655000	0x007cf000	0x007cf000	0x007dd000	lib    	/boot/system/lib/x86/libtracker.so
	295035	0x0081a000	0x00832000	0x00832000	0x00839000	lib    	/boot/system/lib/x86/libsupc++.so
	295015	0x00870000	0x00874000	0x00874000	0x00875000	lib    	/boot/system/lib/x86/libbsd.so
	295028	0x00a6c000	0x00a77000	0x00a77000	0x00a78000	lib    	/boot/system/lib/x86/libgcc_s.so.1
	295013	0x00b23000	0x00c8e000	0x00c8e000	0x00c9a000	lib    	/boot/system/lib/x86/libicuuc.so.56.1
	295037	0x00cf2000	0x00d49000	0x00d49000	0x00d4f000	lib    	/boot/system/lib/x86/libssl.so.1.0.0
	295018	0x00e08000	0x00e1c000	0x00e1c000	0x00e1d000	lib    	/boot/system/lib/x86/libtranslation.so
	295012	0x00e3c000	0x0109f000	0x0109f000	0x010ac000	lib    	/boot/system/lib/x86/libicui18n.so.56.1
	295016	0x010b6000	0x010ed000	0x010ed000	0x010f5000	lib    	/boot/system/lib/x86/libnetwork.so
	295007	0x01152000	0x0115d000	0x0115d000	0x0115e000	app    	/boot/home/webkit/WebKitBuild/Release/HaikuLauncher
	295036	0x011f2000	0x0134e000	0x0134e000	0x01367000	lib    	/boot/system/lib/x86/libcrypto.so.1.0.0
	295025	0x01558000	0x01593000	0x01593000	0x01595000	lib    	/boot/system/lib/x86/libjpeg.so.9.0.0
	295017	0x01655000	0x01724000	0x01724000	0x01735000	lib    	/boot/system/lib/x86/libstdc++.so.6.0.19
	295034	0x0175d000	0x01787000	0x01787000	0x017bb000	lib    	/boot/system/lib/x86/libicutu.so.56.1
	295011	0x0183e000	0x018e4000	0x018e4000	0x018e7000	lib    	/boot/system/lib/x86/libsqlite3.so.0.8.6
	295010	0x01aa6000	0x01ad9000	0x01ad9000	0x01adb000	lib    	/boot/system/lib/x86/libxslt.so.1.1.28
	295032	0x01ae2000	0x01b34000	0x01b34000	0x01b36000	lib    	/boot/system/lib/x86/libicule.so.56.1
	295021	0x01b3e000	0x01b96000	0x01b96000	0x01b99000	lib    	/boot/system/lib/x86/libwebp.so.6.0.0
	295026	0x01ba4000	0x01bce000	0x01bce000	0x01bcf000	lib    	/boot/system/lib/x86/libpng16.so.16.20.0
	295009	0x01bd0000	0x01cf4000	0x01cf4000	0x01cfc000	lib    	/boot/system/lib/x86/libxml2.so.2.9.2
	295033	0x01cfc000	0x01d06000	0x01d06000	0x01d08000	lib    	/boot/system/lib/x86/libiculx.so.56.1
	295014	0x01d09000	0x01fe2000	0x01fe2000	0x01ffd000	lib    	/boot/system/lib/x86/libbe.so
	295022	0x02000000	0x020f7000	0x020f7000	0x020f9000	lib    	/boot/system/lib/x86/libtextencoding.so
	295006	0x020ff000	0x0211d000	0x0211d000	0x02120000	lib    	/boot/system/runtime_loader
	295031	0x02140000	0x0214a000	0x0214a000	0x0214b000	lib    	/boot/system/lib/x86/libicuio.so.56.1
	295027	0x02182000	0x021e5000	0x021e5000	0x021e8000	lib    	/boot/system/lib/x86/libbnetapi.so
	295024	0x02266000	0x0227c000	0x0227c000	0x0227e000	lib    	/boot/system/lib/x86/libz.so.1.2.8
	295008	0x0238c000	0x03a24000	0x03a24000	0x03b15000	lib    	/boot/home/webkit/WebKitBuild/Release/lib/libWebKit.so.1.5.1
	295020	0x03b44000	0x042e4000	0x042e4000	0x04304000	lib    	/boot/home/webkit/WebKitBuild/Release/lib/libJavaScriptCore.so.1.5.1
	295029	0x044a5000	0x04581000	0x04581000	0x045c6000	lib    	/boot/system/lib/x86/libroot.so
	295030	0x0488a000	0x0606f000	0x0606f000	0x06070000	lib    	/boot/system/lib/x86/libicudata.so.56.1
	295005	0x621f7000	0x621ff000	0x00000000	0x00000000	system 	commpage

Areas:
	ID		Base		End			Size (KiB)	Protection	Locking			Name
	--------------------------------------------------------------------------------
	1397305	0x00100000	0x00101000	         4	rw-        	full          	mmap area
	1397273	0x00102000	0x00106000	        16	rwx        	full          	mmap area
	1397302	0x00107000	0x0010b000	        16	rwx        	full          	mmap area
	1397272	0x0010c000	0x00110000	        16	rwx        	full          	mmap area
	1397304	0x00110000	0x00118000	        32	rwx        	full          	mmap area
	1397303	0x00118000	0x00120000	        32	rwx        	full          	mmap area
	1397306	0x00120000	0x00124000	        16	rwx        	full          	mmap area
	1397241	0x00127000	0x00137000	        64	rw-        	full          	rld heap
	1397312	0x00137000	0x0013b000	        16	rwx        	full          	mmap area
	1397310	0x0013b000	0x0013f000	        16	rwx        	full          	mmap area
	1397311	0x0013f000	0x00147000	        32	rwx        	full          	mmap area
	1397309	0x00147000	0x0014b000	        16	rwx        	full          	mmap area
	1397317	0x0014b000	0x0014f000	        16	rwx        	full          	mmap area
	1397308	0x00150000	0x00154000	        16	rwx        	full          	mmap area
	1397307	0x00157000	0x0015b000	        16	rwx        	full          	mmap area
	1397320	0x0015b000	0x0015f000	        16	rwx        	full          	mmap area
	1397240	0x00162000	0x00172000	        64	rw-        	full          	rld heap
	1397321	0x00173000	0x00177000	        16	rwx        	full          	mmap area
	1397313	0x00178000	0x00180000	        32	rwx        	full          	mmap area
	1397244	0x00181000	0x001c1000	       256	rw-        	full          	rld heap
	1397327	0x001c1000	0x001c5000	        16	rwx        	full          	mmap area
	1397324	0x001c6000	0x001ca000	        16	rwx        	full          	mmap area
	1397323	0x001cc000	0x001d4000	        32	rwx        	full          	mmap area
	1397322	0x001d5000	0x001d9000	        16	rwx        	full          	mmap area
	1397316	0x001da000	0x001e2000	        32	rwx        	full          	mmap area
	1397332	0x001e3000	0x001e7000	        16	rwx        	full          	mmap area
	1397331	0x001e9000	0x001ed000	        16	rwx        	full          	mmap area
	1397239	0x001f0000	0x001f8000	        32	rw-        	full          	rld heap
	1397337	0x001f8000	0x00204000	        48	rwx        	full          	mmap area
	1397336	0x00205000	0x00209000	        16	rwx        	full          	mmap area
	1397340	0x00209000	0x0020d000	        16	rwx        	full          	mmap area
	1397335	0x0020d000	0x00211000	        16	rwx        	full          	mmap area
	1397344	0x00212000	0x00216000	        16	rwx        	full          	mmap area
	1397341	0x00217000	0x0021b000	        16	rwx        	full          	mmap area
	1397334	0x0021c000	0x00220000	        16	rwx        	full          	mmap area
	1397338	0x00220000	0x0022c000	        48	rwx        	full          	mmap area
	1397333	0x0022c000	0x00230000	        16	rwx        	full          	mmap area
	1397345	0x00231000	0x00235000	        16	rwx        	full          	mmap area
	1397238	0x00236000	0x0023e000	        32	rw-        	full          	rld heap
	1397339	0x0023f000	0x0024b000	        48	rwx        	full          	mmap area
	1397346	0x0024b000	0x0024f000	        16	rwx        	full          	mmap area
	1397343	0x00250000	0x00258000	        32	rwx        	full          	mmap area
	1397347	0x0025b000	0x0025f000	        16	rwx        	full          	mmap area
	1397342	0x00260000	0x00268000	        32	rwx        	full          	mmap area
	1397353	0x00268000	0x0026c000	        16	rwx        	full          	mmap area
	1397348	0x0026e000	0x00272000	        16	rwx        	full          	mmap area
	1397356	0x00272000	0x00276000	        16	rwx        	full          	mmap area
	1397204	0x00277000	0x00304000	       564	r-x        	full          	libmedia.so_seg0ro
	1397205	0x00304000	0x00309000	        20	rw-        	full          	libmedia.so_seg1rw
	1397359	0x0032f000	0x00333000	        16	rwx        	full          	mmap area
	1397245	0x003a5000	0x003e5000	       256	rw-        	full          	rld heap
	1397164	0x0042a000	0x0042b000	         4	rw-S       	full          	_rld_debug_
	1397163	0x005e9000	0x005f9000	        64	rw-        	full          	rld heap
	1397193	0x00655000	0x007cf000	      1512	r-x        	full          	libtracker.so_seg0ro
	1397194	0x007cf000	0x007dc000	        52	rw-        	full          	libtracker.so_seg1rw
	1397195	0x007dc000	0x007dd000	         4	rw-        	full          	libtracker.so_seg2rw
	1397230	0x0081a000	0x00832000	        96	r-x        	full          	libsupc++.so_seg0ro
	1397231	0x00832000	0x00834000	         8	rw-        	full          	libsupc++.so_seg1rw
	1397232	0x00834000	0x00839000	        20	rw-        	full          	libsupc++.so_seg2rw
	1397183	0x00870000	0x00874000	        16	r-x        	full          	libbsd.so_seg0ro
	1397184	0x00874000	0x00875000	         4	rw-        	full          	libbsd.so_seg1rw
	1397214	0x00a6c000	0x00a77000	        44	r-x        	full          	libgcc_s.so.1_seg0ro
	1397215	0x00a77000	0x00a78000	         4	rw-        	full          	libgcc_s.so.1_seg1rw
	1397179	0x00b23000	0x00c8e000	      1452	r-x        	full          	libicuuc.so.56.1_seg0ro
	1397180	0x00c8e000	0x00c9a000	        48	rw-        	full          	libicuuc.so.56.1_seg1rw
	1397236	0x00cf2000	0x00d49000	       348	r-x        	full          	libssl.so.1.0.0_seg0ro
	1397237	0x00d49000	0x00d4f000	        24	rw-        	full          	libssl.so.1.0.0_seg1rw
	1397191	0x00e08000	0x00e1c000	        80	r-x        	full          	libtranslation.so_seg0ro
	1397192	0x00e1c000	0x00e1d000	         4	rw-        	full          	libtranslation.so_seg1rw
	1397177	0x00e3c000	0x0109f000	      2444	r-x        	full          	libicui18n.so.56.1_seg0ro
	1397178	0x0109f000	0x010ac000	        52	rw-        	full          	libicui18n.so.56.1_seg1rw
	1397185	0x010b6000	0x010ed000	       220	r-x        	full          	libnetwork.so_seg0ro
	1397186	0x010ed000	0x010ef000	         8	rw-        	full          	libnetwork.so_seg1rw
	1397187	0x010ef000	0x010f5000	        24	rw-        	full          	libnetwork.so_seg2rw
	1397165	0x01152000	0x0115d000	        44	r-x        	full          	HaikuLauncher_seg0ro
	1397166	0x0115d000	0x0115e000	         4	rw-        	full          	HaikuLauncher_seg1rw
	1397233	0x011f2000	0x0134e000	      1392	r-x        	full          	libcrypto.so.1.0.0_seg0ro
	1397234	0x0134e000	0x01365000	        92	rw-        	full          	libcrypto.so.1.0.0_seg1rw
	1397235	0x01365000	0x01367000	         8	rw-        	full          	libcrypto.so.1.0.0_seg2rw
	1397208	0x01558000	0x01593000	       236	r-x        	full          	libjpeg.so.9.0.0_seg0ro
	1397209	0x01593000	0x01595000	         8	rw-        	full          	libjpeg.so.9.0.0_seg1rw
	1397188	0x01655000	0x01724000	       828	r-x        	full          	libstdc++.so.6.0.19_seg0ro
	1397189	0x01724000	0x0172a000	        24	rw-        	full          	libstdc++.so.6.0.19_seg1rw
	1397190	0x0172a000	0x01735000	        44	rw-        	full          	libstdc++.so.6.0.19_seg2rw
	1397227	0x0175d000	0x01787000	       168	r-x        	full          	libicutu.so.56.1_seg0ro
	1397228	0x01787000	0x01789000	         8	rw-        	full          	libicutu.so.56.1_seg1rw
	1397229	0x01789000	0x017bb000	       200	rw-        	full          	libicutu.so.56.1_seg2rw
	1397175	0x0183e000	0x018e4000	       664	r-x        	full          	libsqlite3.so.0.8.6_seg0ro
	1397176	0x018e4000	0x018e7000	        12	rw-        	full          	libsqlite3.so.0.8.6_seg1rw
	1397173	0x01aa6000	0x01ad9000	       204	r-x        	full          	libxslt.so.1.1.28_seg0ro
	1397174	0x01ad9000	0x01adb000	         8	rw-        	full          	libxslt.so.1.1.28_seg1rw
	1397223	0x01ae2000	0x01b34000	       328	r-x        	full          	libicule.so.56.1_seg0ro
	1397224	0x01b34000	0x01b36000	         8	rw-        	full          	libicule.so.56.1_seg1rw
	1397199	0x01b3e000	0x01b96000	       352	r-x        	full          	libwebp.so.6.0.0_seg0ro
	1397200	0x01b96000	0x01b98000	         8	rw-        	full          	libwebp.so.6.0.0_seg1rw
	1397201	0x01b98000	0x01b99000	         4	rw-        	full          	libwebp.so.6.0.0_seg2rw
	1397210	0x01ba4000	0x01bce000	       168	r-x        	full          	libpng16.so.16.20.0_seg0ro
	1397211	0x01bce000	0x01bcf000	         4	rw-        	full          	libpng16.so.16.20.0_seg1rw
	1397170	0x01bd0000	0x01cf4000	      1168	r-x        	full          	libxml2.so.2.9.2_seg0ro
	1397171	0x01cf4000	0x01cfb000	        28	rw-        	full          	libxml2.so.2.9.2_seg1rw
	1397172	0x01cfb000	0x01cfc000	         4	rw-        	full          	libxml2.so.2.9.2_seg2rw
	1397225	0x01cfc000	0x01d06000	        40	r-x        	full          	libiculx.so.56.1_seg0ro
	1397226	0x01d06000	0x01d08000	         8	rw-        	full          	libiculx.so.56.1_seg1rw
	1397181	0x01d09000	0x01fe2000	      2916	r-x        	full          	libbe.so_seg0ro
	1397182	0x01fe2000	0x01ffd000	       108	rw-        	full          	libbe.so_seg1rw
	1397202	0x02000000	0x020f7000	       988	r-x        	full          	libtextencoding.so_seg0ro
	1397203	0x020f7000	0x020f9000	         8	rw-        	full          	libtextencoding.so_seg1rw
	1397160	0x020ff000	0x0211d000	       120	r-x        	full          	runtime_loader_seg0ro
	1397161	0x0211d000	0x0211f000	         8	rw-        	full          	runtime_loader_seg1rw
	1397162	0x0211f000	0x02120000	         4	rw-        	full          	runtime_loader_bss1
	1397221	0x02140000	0x0214a000	        40	r-x        	full          	libicuio.so.56.1_seg0ro
	1397222	0x0214a000	0x0214b000	         4	rw-        	full          	libicuio.so.56.1_seg1rw
	1397212	0x02182000	0x021e5000	       396	r-x        	full          	libbnetapi.so_seg0ro
	1397213	0x021e5000	0x021e8000	        12	rw-        	full          	libbnetapi.so_seg1rw
	1397206	0x02266000	0x0227c000	        88	r-x        	full          	libz.so.1.2.8_seg0ro
	1397207	0x0227c000	0x0227e000	         8	rw-        	full          	libz.so.1.2.8_seg1rw
	1397167	0x0238c000	0x03a24000	     23136	r-x        	full          	libWebKit.so.1.5.1_seg0ro
	1397168	0x03a24000	0x03b0e000	       936	rw-        	full          	libWebKit.so.1.5.1_seg1rw
	1397169	0x03b0e000	0x03b15000	        28	rw-        	full          	libWebKit.so.1.5.1_seg2rw
	1397196	0x03b44000	0x042e4000	      7808	r-x        	full          	libJavaScriptCore.so.1.5.1_seg0
	1397197	0x042e4000	0x04302000	       120	rw-        	full          	libJavaScriptCore.so.1.5.1_seg1
	1397198	0x04302000	0x04304000	         8	rw-        	full          	libJavaScriptCore.so.1.5.1_seg2
	1397216	0x044a5000	0x04581000	       880	r-x        	full          	libroot.so_seg0ro
	1397217	0x04581000	0x0458b000	        40	rw-        	full          	libroot.so_seg1rw
	1397218	0x0458b000	0x045c6000	       236	rw-        	full          	libroot.so_seg2rw
	1397219	0x0488a000	0x0606f000	     24468	r-x        	full          	libicudata.so.56.1_seg0ro
	1397220	0x0606f000	0x06070000	         4	rw-        	full          	libicudata.so.56.1_seg1rw
	1397267	0x06070000	0x061a5000	      1236	rw-S       	full          	server_memory
	1397246	0x1826b000	0x1a72b000	     37632	rw-        	full          	heap
	1397157	0x602bf000	0x602c3000	        16	rw-        	full          	user area
	1397159	0x621f7000	0x621ff000	        32	r-xSk      	full          	commpage
	1397251	0x621ff000	0x62200000	         4	rw-S       	full          	server_memory
	1397255	0x70af0000	0x70b35000	       276	rw-s       	full          	pthread func_16460_stack
	1397259	0x71400000	0x71445000	       276	rw-s       	full          	timer thread_16462_stack
	1397315	0x71775000	0x717ba000	       276	rw-s       	full          	pthread func_16481_stack
	1397263	0x71e34000	0x71e79000	       276	rw-s       	full          	w>HaikuLauncher_16464_stack
	1397158	0x7218d000	0x73193000	     16408	rw-s       	full          	HaikuLauncher_16457_stack
	1397253	0x73193000	0x731b3000	       128	rw-S       	full          	server_memory

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

Semaphores:
	ID		Count	Last Holder	Name
	------------------------------------------------------------
	1527968	    0	      16457	some BBlockCache lock
	1527969	    0	       1257	Catalog
	1527973	    0	       1257	some BLocker
	1527974	    0	       1131	AppServerLink_sLock
	1527975	    0	      16487	token space
	1527976	    0	      16457	BLooperList lock
	1527977	    0	       1131	some BLocker
	1527978	    0	       1257	LocaleRosterData
	1527979	    0	       1131	Light Lock
	1527980	    0	       1304	PeriodicUpdatePoses
	1527981	    0	       1131	Light Lock
	1527982	    0	       1257	some BLocker
	1527983	    0	       1131	synchronized hash map
	1527984	    0	       1305	some BLocker
	1527985	    0	       1131	synchronized hash map
	1527986	    0	       1131	Catalog
	1527987	    0	       1306	some BLocker
	1527988	    0	       1131	Catalog
	1527989	    0	       1131	media plugin manager
	1527990	    0	       1307	some BLocker
	1527991	    0	       1131	Catalog
	1527992	    0	      -1131	undo
	1527993	    0	       1257	shared buffer list
	1527997	    0	       1257	port pool
	1528002	    0	       1308	add-on manager
	1528003	    0	      16457	BMessageQueue Lock
	1528004	    0	       1131	some BLocker
	1528005	    0	       1310	synchronized hash map
	1528006	    0	       1131	synchronized hash map
	1528007	    0	       1131	some BLocker
	1528008	    0	       1311	media theme lock
	1528009	    0	       1131	BMediaRoster::Roster locker
	1528010	    0	       1308	AppLooperPort
	1528012	    0	       1257	screen list
	1528013	    0	       1131	clipboard
	1528014	    0	       1257	width buffer
	1528015	    0	       1257	BMessageQueue Lock
	1528019	    0	      16457	HaikuLauncher
	1528027	    0	      16464	offscreen bitmap
	1528029	    0	       1131	BMessageQueue Lock
	1528031	    0	       1131	some BLocker
	1528035	   -1	      16462	timer thread control
	1528074	    0	       1324	pthread rwlock
	1528078	    0	       1257	pthread rwlock
	1528497	    0	       1415	font list
	1528716	    0	       1131	tool tip manager

This is on Haiku revision hrev50032. I did some debugging in HaikuLauncher and the problem occurs in BUrlProtocolHandler::HeadersReceived. The variable m_resourceHandle is null when the crash happens. I checked the other functions in that class that access m_resourceHandle->client() and they all check if m_resourceHandle is null at the start of the function, so I created a patch that does the same for this function. Not entirely sure if this is the right solution as I don't know if m_resourceHandle is supposed to be able to be null, but with my patch HaikuLauncher did not crash anymore and I was able to login.

Attachments (1)

0001-Check-for-valid-resourcehandle-in-HeadersReceived.patch (981 bytes ) - added by markh 9 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by markh, 9 years ago

patch: 01

comment:2 by diver, 9 years ago

This is a dupe of #10924. Could you please attach your patch there? Thanks for working on it btw!

comment:3 by diver, 9 years ago

Blocked By: 10924 added
Resolution: duplicate
Status: newclosed

comment:4 by pulkomandy, 9 years ago

I have got the patch and will apply it to the webkit repo. No need to resubmit it.

Note: See TracTickets for help on using tickets.