Opened 8 years ago

Last modified 3 months ago

#13256 new bug

[Network Kit] crash in nsdispatch

Reported by: bipolar Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Network Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

This is in hrev50904.

I was exploring the HaikuDepot interface (never used it before) and when I've tried enabling the "current" version of the repositories, the app crashed.

This was on a Haiku installation with no network available.

I'm attaching the crash report.

Attachments (3)

Repositories-1521-debug-28-01-2017-16-53-37.report (15.7 KB ) - added by bipolar 8 years ago.
Time-2866-debug-18-11-2019-09-59-55.report (23.0 KB ) - added by diver 5 years ago.
debugger.png (447.3 KB ) - added by diver 5 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 by diver, 8 years ago

Crashes somewhere in getaddrinfo.c

comment:2 by diver, 7 years ago

Component: Applications/HaikuDepotPreferences/Repositories
Keywords: segment violation removed
Owner: changed from stippi to perelandra
Summary: Segment violation on HaikuDepot[Repositories] crash in nsdispatch

comment:3 by diver, 5 years ago

Time preflet crashed in hrev53555 after changing timezone and clicking Synchronize twice.

comment:4 by diver, 5 years ago

Debug information for team /boot/system/preferences/Time (2171):
CPU(s): 2x Intel Core™ i7-3635QM
Memory: 1.46 GiB total, 421.31 MiB used
Haiku revision: hrev53555 Oct 19 2019 10:31:36 (x86_64)

Active Threads:
	thread 2171: Time (main)
	thread 2175: w>Time 
	thread 2183: team 2171 debug task 
	thread 2182: ntpUpdate 
		state: Exception (Segment violation)

		Frame		IP			Function Name
		-----------------------------------------------
		0x7f6318fa4c30	0x1ee9b19b7a3	nsdispatch + 0xd3 
...
		0x7f6318fa4df0	0x1ee9b193936	getaddrinfo + 0xbc6 
		0x7f6318fa4e90	0x234e29cdf4d	BNetworkAddressResolver::SetTo(int, char const*, char const*, unsigned int) + 0x11d 
		0x7f6318fa4ef0	0x234e29ce230	BNetworkAddressResolver::SetTo(int, char const*, unsigned short, unsigned int) + 0x60 
		0x7f6318fa4f20	0x234e29ce326	BNetworkAddressResolver::BNetworkAddressResolver(char const*, unsigned short, unsigned int) + 0x46 
		0x7f6318fa5110	0x71941cd58d	ntp_update_time(char const*, char const**, int*) + 0x3d 
		0x7f6318fa5160	0x71941cc07e	update_time(Settings const&, char const**, int*) + 0x3e 
		0x7f6318fa5210	0x71941cc157	update_thread(void*) + 0x57 
		0x7f6318fa5230	0x4861d15ca7	thread_entry + 0x17

by diver, 5 years ago

Attachment: debugger.png added

comment:5 by diver, 5 years ago

Added debugger report with libnetwork.so compiled in debug mode.

comment:6 by bipolar, 3 months ago

I can't even remember the last time I got his. What about you, diver?

Version 0, edited 3 months ago by bipolar (next)

comment:7 by waddlesplash, 3 months ago

It may have been fixed by the upgrade to a newer netresolv from NetBSD 9.

comment:8 by diver, 3 months ago

Still crashes if you click Synchronize (network time) in Time preflet a few times.

comment:9 by diver, 3 months ago

Component: Preferences/RepositoriesKits/Network Kit
Owner: changed from perelandra to nobody
Summary: [Repositories] crash in nsdispatch[Network Kit] crash in nsdispatch
Note: See TracTickets for help on using tickets.