After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 435259 - get_range_at_position is passed an invalid string parameter
get_range_at_position is passed an invalid string parameter
Status: RESOLVED DUPLICATE of bug 410823
Product: evolution-data-server
Classification: Platform
Component: Contacts
1.12.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-05-02 17:53 UTC by Reid Thompson
Modified: 2013-09-14 16:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
ddd screenshot of crash (74.44 KB, image/png)
2007-05-02 17:53 UTC, Reid Thompson
Details

Description Reid Thompson 2007-05-02 17:53:09 UTC
Steps to reproduce:
1. creating an email, entering address
2. 
3. 


Stack trace:
 0xb6f6f9ff in get_range_at_position (string=0x0, pos=0, start_pos=0xbfb00004, end_pos=0xbfb00000) at e-name-selector-entry.c:243
/home/rthompso/src/svn/evolution-data-server/libedataserverui/e-name-selector-entry.c:243:7461:beg:0xb6f6f9ff

(gdb) print string
$6 = (const gchar *) 0x0


 241         gint         i;
 242 
 243         for (p = string, i = 0; *p; p = g_utf8_next_char (p), i++) {
 244                 gunichar c = g_utf8_get_char (p);
 245 
 246                 if (c == '"') {
 247                         quoted = ~quoted;
 248                 } else if (c == ',' && !quoted) {
 249                         if (i < pos) {
 250                                 /* Start right after comma */
 251                                 local_start_pos = i + 1;
 252                         } else {
 253                                 /* Stop right before comma */
 254                                 local_end_pos = i;
 255                                 break;

Other information:
svn build 2007-04-30
Comment 1 Reid Thompson 2007-05-02 17:53:51 UTC
Created attachment 87403 [details]
ddd screenshot of crash
Comment 2 Srinivasa Ragavan 2007-06-24 19:39:14 UTC

*** This bug has been marked as a duplicate of 410823 ***