Red Hat Bugzilla – Bug 117834
redhat-config-network crashes with a really large providerdb
Last modified: 2007-11-30 17:10:38 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Description of problem:
I've parsed my company's list of dialup numbers into the same format
as the /usr/share/redhat-config-network/providerdb that ships with
Fedora Core 1.
The file is rather large:
-rw-r--r-- 1 root root 1629531 Mar 8 18:37 providerdb
There is not a mistake in my parsing, my company really does have that
I will attach the dump from redhat-config-network.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. replace stock /usr/share/redhat-config-network/providerdb with
another one containing far more entries.
2. attempte to choose a new ISP from the dialup configuration dialog.
Actual Results: The application crashes.
Expected Results: redhat-config-network should parse the file as it
does the smaller, stock version.
So I'm just an idiot. The actual problem here seems to be the lack of
an flag xpm for the specific country iso code as specified in the
So, the solution here is to either include an xpm for each flag, or
default to some xpm in the case a specific one does not exist.
So, I've temporarily symlinked all the non-existant flag xpm's to one
of the oth
ers, and it is working.
However, it's worth noting that it takes a while to load and parse the
b file. (On the order of 6 seconds)
Maybe it'd be worthwhile to compile the providerdb into a binary
format with an
index; thus, only when expanding a country or city, would a portion of
need to be parsed.
Additionally, a dialog to search the provider list (based on area
code, etc) wou
ld be handy. I will open another RFE for that, though.
Back to the point at hand....
I have attached two xpm's to default to. You're welcome to use one of
them as a
default if you like.
Created attachment 98391 [details]
An option for a default flag pixmap for redhat-config-network ISP selection.
Created attachment 98392 [details]
Another suggestion for a default flag pixmap for redhat-config-network ISP
ok, added to CVS