Closed Bug 480251 Opened 15 years ago Closed 15 years ago

Geolocation MaemoLocationProvider does not start GPS

Categories

(Core :: DOM: Geolocation, defect)

x86
Maemo
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: dougt, Assigned: dougt)

Details

Attachments

(1 file)

For whatever reason, when we had this bit of code in ::Startup

LocationGPSDControl *control = location_gpsd_control_get_default();

if (control && control->can_control)
     location_gpsd_control_start(control);

We crash.


I have also tried using gpsbt_start() and that either doesn't start the gps or causes a similar crash.


This is on diablo.  I have not tried it on freemantle
gcc a.c -o gps_starter `pkg-config --cflags --libs gtk+-2.0 liblocation`

this successfully starts and stops the gps on maemo.

using the _exact_ code in mozilla crashes.
when fennec crashes, the stack is blown out and the ip is wrong.  I did manage to see a crash in the test application:

not sure if it at all related, but it might be.

#0  0x4138f300 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x410e9258 in pthread_mutex_lock () from /lib/libc.so.6
#2  0x400125f0 in gpsbt_start_thread_wrapper (control=0x252c8) at location-gpsd-control.c:262
#3  0x4118cf2c in ?? () from /usr/lib/libglib-2.0.so.0
dunno :(

send us some cores + fennec symbols and we can try to find someone who knows something :(
we have removed the maemo location provider.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: