Linux.com

weedlight

weedlight

  • Linux.com Member
  • Posts: 30
  • Member Since: 19 May 09
  • Last Logged In: 25 Mar

Latest Posts

Posted by
Topic
Post Preview
Posted
  • weedlight
    valgrind doesn't start `ags`
    Hi, I started `valgrind` to debug my application, because it showed me the following output: [code]ags_devout_play_functions: start remove: AgsVolumeAudioSignal remove: AgsVolumeRecycling remove: AgsVolumeChannel remove: AgsStreamAudioSignal remove: AgsStreamRecycling remove: AgsStreamChannelRun remove: AgsPlayAudioSignal remove: AgsPlayRecycling AgsPlayRecycling: 9370c0 remove: AgsPlayRecycling AgsPlayRecycling: 9370c0 remove: AgsPlayRecycling AgsPlayRecycling: 9370c0 remove: AgsPlayChannelRun[/code] AgsPlayRecycling has always the same address but it can't be removed several times, because it was allocated and added only once. But the output shows me something else. So I wanted to start `valgrind`, but I just get the following output: [code]joel@debian:~/workspace/ags$ valgrind /home/joel/workspace/ags/ags ==4446== Memcheck, a memory error detector ==4446== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==4446== Using Valgrind-3.7.0.SVN and LibVEX; rerun with -h for copyright info ==4446== Command: /home/joel/workspace/ags/ags ==4446== --4446-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x2a valgrind: m_debuginfo/readdwarf.c:2397 (copy_convert_CfiExpr_tree): Assertion 'srcix >= 0 && srcix < VG_(sizeXA)(srcxa)' failed. ==4446== at 0x3802CFC6: ??? (in /usr/lib/valgrind/memcheck-amd64-linux) sched status: running_tid=0 Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks.[/code] There is something corrupted, please help me. I'm using debian unstable/experimental with a self compiled linux kernel (2.6.33.9-rt31)
    Link to this post 14 Jul 11

    Hi, I started `valgrind` to debug my application, because it showed me the following output:

    ags_devout_play_functions:  start
    remove: AgsVolumeAudioSignal
    remove: AgsVolumeRecycling
    remove: AgsVolumeChannel
    remove: AgsStreamAudioSignal
    remove: AgsStreamRecycling
    remove: AgsStreamChannelRun
    remove: AgsPlayAudioSignal
    remove: AgsPlayRecycling
    AgsPlayRecycling: 9370c0
    remove: AgsPlayRecycling
    AgsPlayRecycling: 9370c0
    remove: AgsPlayRecycling
    AgsPlayRecycling: 9370c0
    remove: AgsPlayChannelRun

    AgsPlayRecycling has always the same address but it can't be removed several times, because it was allocated and added only once. But the output shows me something else. So I wanted to start `valgrind`, but I just get the following output:

    joel@debian:~/workspace/ags$ valgrind /home/joel/workspace/ags/ags
    ==4446== Memcheck, a memory error detector
    ==4446== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
    ==4446== Using Valgrind-3.7.0.SVN and LibVEX; rerun with -h for copyright info
    ==4446== Command: /home/joel/workspace/ags/ags
    ==4446==
    --4446-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x2a

    valgrind: m_debuginfo/readdwarf.c:2397 (copy_convert_CfiExpr_tree): Assertion 'srcix >= 0 && srcix < VG_(sizeXA)(srcxa)' failed.
    ==4446== at 0x3802CFC6: ??? (in /usr/lib/valgrind/memcheck-amd64-linux)

    sched status:
    running_tid=0


    Note: see also the FAQ in the source distribution.
    It contains workarounds to several common problems.
    In particular, if Valgrind aborted or crashed after
    identifying problems in your program, there's a good chance
    that fixing those problems will prevent Valgrind aborting or
    crashing, especially if it happened in m_mallocfree.c.

    If that doesn't help, please report this bug to: www.valgrind.org

    In the bug report, send all the above text, the valgrind
    version, and what OS and version you are using. Thanks.

    There is something corrupted, please help me.
    I'm using debian unstable/experimental with a self compiled linux kernel (2.6.33.9-rt31)

  • weedlight
    custom kernel revision `make-kpkg`
    Hi, I compiled a custom patched kernel on debian stable with `make-kpkg` but when I tried to install it on my unstable installation it complained that version number doesn't start with a digit. Now, I'm compiling it without the "--revision" parameter, but I'd really like to use this parameter. I run `make-kpkg --initrd --revision=weedlightRT.1.0 kernel-image` on the stable installation and on unstable `dpkg -i ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb`. And here is the output given: [code]dpkg: warning: parsing file '/var/lib/dpkg/status' near line 45303 package 'linux-image-2.6.33.7-rt29': error in Version string 'custom.1.0': version number does not start with digit dpkg: warning: parsing file '/var/lib/dpkg/available' near line 44936 package 'linux-image-2.6.33.7-rt29': error in Version string 'custom.1.0': version number does not start with digit dpkg: error processing ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb (--install): parsing file '/var/lib/dpkg/tmp.ci/control' near line 3 package 'linux-image-2.6.33.9-rt31': error in Version string 'weedlightRT.1.0': version number does not start with digit Errors were encountered while processing: ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb[/code]
    Link to this post 04 Jul 11

    Hi, I compiled a custom patched kernel on debian stable with `make-kpkg` but when I tried to install it on my unstable installation it complained that version number doesn't start with a digit. Now, I'm compiling it without the "--revision" parameter, but I'd really like to use this parameter.

    I run `make-kpkg --initrd --revision=weedlightRT.1.0 kernel-image` on the stable installation and on unstable `dpkg -i ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb`. And here is the output given:

    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 45303 package 'linux-image-2.6.33.7-rt29':
    error in Version string 'custom.1.0': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/available' near line 44936 package 'linux-image-2.6.33.7-rt29':
    error in Version string 'custom.1.0': version number does not start with digit
    dpkg: error processing ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb (--install):
    parsing file '/var/lib/dpkg/tmp.ci/control' near line 3 package 'linux-image-2.6.33.9-rt31':
    error in Version string 'weedlightRT.1.0': version number does not start with digit
    Errors were encountered while processing:
    ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb

  • weedlight
    RE: cairo draw over alpha
    I'm sorry. I've finally found the mistake. If you're interested in what went wrong you can look at revision 322 [url]http://ags.svn.sourceforge.net/viewvc/ags/[/url]
    Link to this post 05 Jun 11

    I'm sorry. I've finally found the mistake. If you're interested in what went wrong you can look at revision 322 http://ags.svn.sourceforge.net/viewvc/ags/

  • weedlight
    cairo draw over alpha
    Hi, I'd like to draw with cairo over a surface of a GtkDrawingArea. My problem is that drawing over the surface doesn't draw a solid color over a color with alpha channel. I don't use any special cairo operators and the result is that I see some unneeded rectangles with alpha channel where there shouldn't be any. [code] cr = gdk_cairo_create(GTK_WIDGET(editor->drawing_area)->window); cairo_push_group(cr); cairo_set_source_rgb(cr, 0.0, 0.0, 0.0); cairo_rectangle(cr, 0.0, 0.0, (double) widget->allocation.width, (double) widget->allocation.height); cairo_fill(cr); /* do some other drawing */ /* draw with alpha channel */ cairo_set_source_rgba(cr, 0.25, 0.5, 1.0, 0.5); cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height); cairo_fill(cr); /* pop it to source */ cairo_pop_group_to_source(cr); cairo_paint(cr); [/code]
    Link to this post 03 Jun 11

    Hi, I'd like to draw with cairo over a surface of a GtkDrawingArea. My problem is that drawing over the surface doesn't draw a solid color over a color with alpha channel. I don't use any special cairo operators and the result is that I see some unneeded rectangles with alpha channel where there shouldn't be any.


    cr = gdk_cairo_create(GTK_WIDGET(editor->drawing_area)->window);
    cairo_push_group(cr);

    cairo_set_source_rgb(cr, 0.0, 0.0, 0.0);
    cairo_rectangle(cr, 0.0, 0.0, (double) widget->allocation.width, (double) widget->allocation.height);
    cairo_fill(cr);

    /* do some other drawing */

    /* draw with alpha channel */
    cairo_set_source_rgba(cr, 0.25, 0.5, 1.0, 0.5);
    cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
    cairo_fill(cr);

    /* pop it to source */
    cairo_pop_group_to_source(cr);
    cairo_paint(cr);

  • weedlight
    howto install & configure glassfish in squeeze
    I'm trying to get glassfish to run but I don't know how to do it. I saw packages in the repository but when installing them I didn't get any init scripts like with tomcat. - Do I need apache web server or something similar to get it to run? With tomcat you have no need to do so. - When looking at the installed files I recognized that there are some *.pom files. Should I run `mvn install` in a certain directory?
    Link to this post 05 Apr 11

    I'm trying to get glassfish to run but I don't know how to do it. I saw packages in the repository but when installing them I didn't get any init scripts like with tomcat.

    - Do I need apache web server or something similar to get it to run?
    With tomcat you have no need to do so.

    - When looking at the installed files I recognized that there are some *.pom files. Should I run `mvn install` in a certain directory?

  • weedlight
    RE: What brought you to using Linux based systems?
    I like programming, sharing source code and learning from others in a independent fashion. The GNU project means knowledge and GNU/Linux is easy to use. I used GNU/Linux first in 2001. The difficult thing to get it to work was the point to start with it, how to retrieve it, what are the current versions and almost nobody knew about it. A friend helped me with the first time installation of SuSE 7.1 but I switched to Debian GNU/Linux, two months later. And instead of Java programming I begun to write a audio sequencer in C and I'm still doing so. It's just fantastic and powerful.
    Link to this post 02 Apr 11

    I like programming, sharing source code and learning from others in a independent fashion. The GNU project means knowledge and GNU/Linux is easy to use.
    I used GNU/Linux first in 2001. The difficult thing to get it to work was the point to start with it, how to retrieve it, what are the current versions and almost nobody knew about it.
    A friend helped me with the first time installation of SuSE 7.1 but I switched to Debian GNU/Linux, two months later. And instead of Java programming I begun to write a audio sequencer in C and I'm still doing so.

    It's just fantastic and powerful.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board