Opened 10 years ago

Closed 10 years ago

#11290 closed bug (fixed)

crash on boot (Geolocation?)

Reported by: korli Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Network Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86-64

Description

I got this stacktrace when booting on x86_64 (full rebuild). If I leave out Geolocation.cpp in src/kits/network/netapi/Jamfile, it then boots fine.

stack trace, current PC 0x1daa2d7c085  parse_expression + 0xad1:
  (0x7ff00c553348)  0x1daa2d7c5b3  parse_branch + 0x30
  (0x7ff00c5533a8)  0x1daa2d7c698  parse_reg_exp + 0x36
  (0x7ff00c553408)  0x1daa2d7b6a7  parse_expression + 0xf3
  (0x7ff00c553508)  0x1daa2d7c5b3  parse_branch + 0x30
  (0x7ff00c553568)  0x1daa2d7c698  parse_reg_exp + 0x36
  (0x7ff00c5535c8)  0x1daa2d7b6a7  parse_expression + 0xf3
  (0x7ff00c5536c8)  0x1daa2d7c5dc  parse_branch + 0x59
  (0x7ff00c553728)  0x1daa2d7c698  parse_reg_exp + 0x36
  (0x7ff00c553788)  0x1daa2d82481  re_compile_internal + 0xa27
  (0x7ff00c553868)  0x1daa2d82bf8  regcomp + 0xd7
  (0x7ff00c553898)  0xf32a880f3
_ZN6RegExp10SetPatternEPKcNS_11PatternTypeEb + 0x1f7
  (0x7ff00c5538f8)  0xf32a8818d  _ZN6RegExpC2EPKcNS_11PatternTypeEb + 0x13
  (0x7ff00c553908)  0xf32a8293b  _ZN4BUrl17_ExplodeUrlStringERK7BString + 0x4b
  (0x7ff00c553948)  0xf32a82c35  _ZN4BUrl12SetUrlStringERK7BString + 0x11
  (0x7ff00c553968)  0xf32a82d23  _ZN4BUrlC2EPKc + 0xe3
  (0x7ff00c5539f8)  0xf32a77022  _GLOBAL__sub_I_Geolocation.cpp + 0x45
  (0x7ff00c553a18)  0xf32a88596  __do_global_ctors_aux + 0x26 (closest symbol)
  (0x7ff00c553a38)  0xf32a646f4  (/boot/system/lib/libbnetapi.so + 0x14)
  (0x7ff00c553a50)  0x21410ca221f  _ZL17init_dependenciesP7image_tb + 0x75
  (0x7ff00c553a90)  0x21410ca27ae  load_program + 0xc6
  (0x7ff00c553b00)  0x21410ca8d62  runtime_loader + 0x111

Change History (2)

comment:1 by pulkomandy, 10 years ago

The geolocation code uses a static BUrl which is constructed at boot. But parsing the string to build the URL uses a regexp, which apparently can't be compiled?

Should be fixed in hrev47917. Let me know, I don't have a 64bit install to test.

comment:2 by korli, 10 years ago

Resolution: fixed
Status: newclosed

Works fine indeed. Thanks!

Note: See TracTickets for help on using tickets.