Merge lp:~mpdeimos/nuvola-player/fix-service-prefs into lp:nuvola-player/2.5.x
Proposed by
Martin Pöhlmann
Status: | Rejected |
---|---|
Rejected by: | Jiří Janoušek |
Proposed branch: | lp:~mpdeimos/nuvola-player/fix-service-prefs |
Merge into: | lp:nuvola-player/2.5.x |
Diff against target: |
10 lines (+1/-0) 1 file modified
src/nuvola/core/nuvola-framebridge.vala (+1/-0) |
To merge this branch: | bzr merge lp:~mpdeimos/nuvola-player/fix-service-prefs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jiří Janoušek | Needs Information | ||
Review via email: mp+208965@code.launchpad.net |
Description of the change
I noticed some weird problem that the Service Preferences are not shown after merging your latest trunk with my google music navigation button integration. I'm not sure if this is just a problem on my installation (arch linux, 64 bit) or a global problem.
I've nailed the issue down to the commit "Removed debugging messages.". Here the line get_real_context(); has been removed. If I add this line back in, the service preferences load again.
It seems, however, that get_real_context(); has some side effects, so the fix is rather a hack imho.
To post a comment you must log in.
Unmerged revisions
- 811. By Martin Pöhlmann
-
Adding get_real_context() back to ensure service
preferences are loading
Hi. Thanks for noticing this bug. The backtrace of the crash has revealed the _context member of FrameBridge has not been initialized. Should be fixed in the latest trunk. Could test it?
Program received signal SIGSEGV, Segmentation fault. script@ entry=0x7fff7d0 0d2a0, thisObject= thisObject@ entry=0x0, sourceURL@ entry=0x7fff6d4 8f9a8, startingLineNum ber=startingLin eNumber@ entry=0, exception@ entry=0x7ffffff fd518) at ../Source/ JavaScriptCore/ API/JSBase. cpp:47 JavaScriptCore/ API/JSBase. cpp: No such file or directory. script@ entry=0x7fff7d0 0d2a0, thisObject= thisObject@ entry=0x0, sourceURL@ entry=0x7fff6d4 8f9a8, startingLineNum ber=startingLin eNumber@ entry=0, exception@ entry=0x7ffffff fd518) at ../Source/ JavaScriptCore/ API/JSBase. cpp:47 frame_bridge_ execute_ script (self=self@ entry=0x7fff942 2bec0, script@ entry=0x10e39d0 path@entry= 0x1077310 "file:/ //home/ fenryxo/ dev/projects/ nuvolaplayer/ repo/trunk/ data/nuvolaplay er/services/ googleplay/ settings. js", line=0, line@entry=1, result= result@ entry=0x7ffffff fd610, error=error@ entry=0x7ffffff fd608) dev/projects/ nuvolaplayer/ repo/trunk/ src/nuvola/ core/nuvola- framebridge. vala:200 frame_bridge_ execute_ script_ from_file (self=self@ entry=0x7fff942 2bec0, file@entry= 0xf59300, result= result@ entry=0x7ffffff fd6d0, error=error@ entry=0x7ffffff fd6c8) dev/projects/ nuvolaplayer/ repo/trunk/ src/nuvola/ core/nuvola- framebridge. vala:181 js_api_ on_document_ loaded (frame=<optimized out>, self=0x1112500) dev/projects/ nuvolaplayer/ repo/trunk/ src/nuvola/ core/jsapi. vala:812
JSEvaluateScript (ctx=ctx@entry=0x0, script=
sourceURL=
exception=
47 ../Source/
(gdb) bt
#0 JSEvaluateScript (ctx=ctx@entry=0x0, script=
sourceURL=
exception=
#1 0x00007ffff7b6136a in nuvola_
script=
path=
at /home/fenryxo/
#2 0x00007ffff7b617b0 in nuvola_
file=
at /home/fenryxo/
#3 0x00007ffff7b5c814 in nuvola_
at /home/fenryxo/