geany-plugin-debugger crashes with segmentation fault when used

Bug #1354747 reported by Peter Bauer
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
geany-plugins (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I tried to debug a small C program with geany and gdb .
-Selecting target code works but
When pressing the run button in the debugger geany crashes.

ubuntu@tegra-ubuntu:~/ccode$ geany

(geany:5242): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed

(geany:5242): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed

(geany:5242): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed

(geany:5242): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed

(geany:5242): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed

(geany:5242): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed

(geany:5242): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed

(geany:5242): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed

(geany:5242): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed

(geany:5242): GLib-CRITICAL **: Source ID 1414 was not found when attempting to remove it
Segmentation fault

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: geany-plugin-debugger 1.23+dfsg-3
Uname: Linux 3.10.24-gf455cd4 armv7l
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: armhf
CurrentDesktop: Unity
Date: Sat Aug 9 22:55:28 2014
SourcePackage: geany-plugins
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Peter Bauer (peba) wrote :
summary: - geany-plugin-debuuger crashes with segmentation fault when used
+ geany-plugin-debugger crashes with segmentation fault when used
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in geany-plugins (Ubuntu):
status: New → Confirmed
Revision history for this message
Leonardo Nicolas (leonicolas) wrote :

This problem also occours in Geany 1.24.1 with Geany debugger plugin 1.24

Revision history for this message
Matthias Hoffmann (matze150) wrote :

Also affects me under Xubuntu 14.04.1 amd64 with Geany 1.24.1 and debugger plugin 1.24 ..

Revision history for this message
silistri (silistri) wrote :

Hello the issue is in file "debugger/src/dbm_gdb.c" at line 372 when geany tries to execute gdb command "-exec-run &"
I fix it by removing the character "&"

exec_async_command("-exec-run");

Best regards

Revision history for this message
Evgeni Golov (evgeni) wrote :

This is fixed as of geany-plugins 1.24+dfsg-5

Changed in geany-plugins (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.