From: Thomas K. <tho...@us...> - 2004-11-29 13:31:00
Attachments:
libvisual-bmp-patch
libvisual-xmms-patch
|
Hi! Some fixes needed to get stuff to compile with gcc-2.95: . libvisual uses -Wno-unused-variable by default -- gcc-2.95 does not know this flag. It should be disabled in the distribution by default. . declarations need to be at the beginning of a block; patches for libvisual-xmms and libvisual-bmp are attached. All of these were found by Krister Walfridsson <kri...@Ne...>. Cheers, Thomas |
From: Dennis S. <sy...@yo...> - 2004-11-29 16:44:38
|
Duilio, Vitaly, do you guys think it would be possible to see if gcc-2.95 > is used and if so set -Wno-unused-variable ? and if not do not set it ? libvisual-xmms and libvisual-bmp will be rewritten for the next release so I won't be including the patches. Still I really like it that patches were send in the first place. Thanks for noticing and stuff!! Cheers, Dennis On Mon, 2004-11-29 at 14:30 +0100, Thomas Klausner wrote: > Hi! > > Some fixes needed to get stuff to compile with gcc-2.95: > . libvisual uses -Wno-unused-variable by default -- gcc-2.95 does not > know this flag. It should be disabled in the distribution by default. > . declarations need to be at the beginning of a block; patches for > libvisual-xmms and libvisual-bmp are attached. > > All of these were found by Krister Walfridsson <kri...@Ne...>. > > Cheers, > Thomas |
From: Duilio J. P. <dp...@fc...> - 2004-11-29 17:08:50
|
Oh yeah, I think this is possible. I will see on this... Bye, Duilio. > Duilio, Vitaly, do you guys think it would be possible to see if > gcc-2.95 > is used and if so set -Wno-unused-variable ? and if not > do not set it ? |
From: Dennis S. <sy...@yo...> - 2004-11-29 17:10:59
|
Thank you, you rock! :) On Mon, 2004-11-29 at 14:11 -0300, Duilio Javier Protti wrote: > Oh yeah, I think this is possible. I will see on this... > > > Bye, > Duilio. > > > Duilio, Vitaly, do you guys think it would be possible to see if > > gcc-2.95 > is used and if so set -Wno-unused-variable ? and if not > > do not set it ? > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Libvisual-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libvisual-devel |
From: Duilio J. P. <dp...@fc...> - 2004-12-01 02:59:40
Attachments:
libvisual-configure-gcc-2-95.patch
|
Ok, here is the patch for this stuff. It also fix other little things, like check if we are using gcc or another compiler. Bye, Duilio. About gtk2 widget, I have half a port of that, but I have really no time to finish it these days, sorry, may be this weekend... |
From: Dennis S. <sy...@yo...> - 2004-12-01 17:08:05
|
Merged ! Thanks a lot :) Take your time with the widget :), Cheers On Wed, 2004-12-01 at 00:03 -0300, Duilio Javier Protti wrote: > Ok, here is the patch for this stuff. It also fix other little things, > like check if we are using gcc or another compiler. > > > Bye, > Duilio. > > About gtk2 widget, I have half a port of that, but I have really no time > to finish it these days, sorry, may be this weekend... > > |
From: Thomas K. <tho...@us...> - 2005-02-20 14:52:20
|
Hi again! I'm currently updating the NetBSD packages for libvisual-* and found that the patches I sent on Nov 29th 2004 haven't been integrated you -- could you please do that? They are easy fixes for compilation with gcc-2.95. Below find the output of two runs through all the plugins with xmms, one with the 's'-key until it crashed in Dancing Particles, and one with the 'a'-key until another crash in Dancing Particles. If you need more information to debug this, please tell me what you need. Cheers, Thomas libvisual INFO: XMMS plugin: negotiating plugin libvisual analyzer libvisual INFO: XMMS plugin: run depth 16 forced 1 libvisual INFO: XMMS plugin: transpitch1 0 depth 16 bpp 0 libvisual CRITICAL: XMMS plugin: visual_video_free_buffer(): assertion `video->pixels != NULL' failed libvisual INFO: XMMS plugin: negotiating plugin libvisual GL analyser libvisual INFO: XMMS plugin: Switching away from Gl mode -- or non Gl switch libvisual INFO: XMMS plugin: video depth (from fixate): 1 libvisual INFO: XMMS plugin: Switching from Gl TO framebuffer for real, framebuffer depth: 1 libvisual INFO: XMMS plugin: Target depth selected: 1 libvisual INFO: XMMS plugin: Switch to new pitch: 320 libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 320 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 16 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: negotiating plugin libvisual scope libvisual CRITICAL: XMMS plugin: assertion `object != NULL' failed libvisual INFO: XMMS plugin: negotiate without event libvisual INFO: XMMS plugin: negotiating plugin libvisual scope libvisual INFO: XMMS plugin: end negotiate without event libvisual INFO: XMMS plugin: negotiating plugin libvisual scope libvisual INFO: XMMS plugin: Switching to Gl mode libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 320 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 16 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: Setting video mode 320x200, 16 bpp libvisual INFO: XMMS plugin: negotiating plugin libvisual scope libvisual INFO: XMMS plugin: run depth 16 forced 1 libvisual INFO: XMMS plugin: transpitch1 0 depth 16 bpp 0 libvisual CRITICAL: XMMS plugin: visual_video_free_buffer(): assertion `video->pixels != NULL' failed libvisual INFO: XMMS plugin: negotiating plugin libvisual madspin port WE'RE SCREAMIGN HARD!! A PARAM HAS BEEN CHANGED!!! WE'RE SCREAMIGN HARD!! A PARAM HAS BEEN CHANGED!!! libvisual INFO: XMMS plugin: Switching away from Gl mode -- or non Gl switch libvisual INFO: XMMS plugin: video depth (from fixate): 1 libvisual INFO: XMMS plugin: Switching from Gl TO framebuffer for real, framebuffer depth: 1 libvisual INFO: XMMS plugin: Target depth selected: 1 libvisual INFO: XMMS plugin: Switch to new pitch: 320 libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 320 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 16 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: negotiating plugin libvisual scope libvisual CRITICAL: XMMS plugin: assertion `object != NULL' failed libvisual INFO: XMMS plugin: negotiate without event libvisual INFO: XMMS plugin: negotiating plugin libvisual scope libvisual INFO: XMMS plugin: end negotiate without event libvisual INFO: XMMS plugin: negotiating plugin libvisual scope libvisual INFO: XMMS plugin: Switching to Gl mode libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 320 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 16 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: Setting video mode 320x200, 16 bpp libvisual INFO: XMMS plugin: negotiating plugin libvisual scope libvisual INFO: XMMS plugin: run depth 16 forced 1 libvisual INFO: XMMS plugin: transpitch1 0 depth 16 bpp 0 libvisual CRITICAL: XMMS plugin: visual_video_free_buffer(): assertion `video->pixels != NULL' failed libvisual INFO: XMMS plugin: negotiating plugin libvisual madspin port WE'RE SCREAMIGN HARD!! A PARAM HAS BEEN CHANGED!!! WE'RE SCREAMIGN HARD!! A PARAM HAS BEEN CHANGED!!! libvisual INFO: XMMS plugin: Switching to Gl mode libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 0 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 16 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: Setting video mode 320x200, 16 bpp libvisual INFO: XMMS plugin: negotiating plugin libvisual madspin port libvisual CRITICAL: XMMS plugin: visual_video_free_buffer(): assertion `video->pixels != NULL' failed libvisual INFO: XMMS plugin: negotiating plugin Libvisual plugins libvisual CRITICAL: XMMS plugin: assertion `object != NULL' failed libvisual INFO: XMMS plugin: Switching away from Gl mode -- or non Gl switch libvisual INFO: XMMS plugin: video depth (from fixate): 8 libvisual INFO: XMMS plugin: Switching from Gl TO framebuffer for real, framebuffer depth: 8 libvisual INFO: XMMS plugin: Target depth selected: 8 libvisual INFO: XMMS plugin: Switch to new pitch: 0 libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 1280 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 16 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: negotiating plugin oinksie plugin libvisual CRITICAL: XMMS plugin: assertion `object != NULL' failed libvisual INFO: XMMS plugin: negotiate without event libvisual INFO: XMMS plugin: negotiating plugin oinksie plugin libvisual INFO: XMMS plugin: end negotiate without event libvisual INFO: XMMS plugin: negotiating plugin oinksie plugin libvisual INFO: XMMS plugin: Switching away from Gl mode -- or non Gl switch libvisual INFO: XMMS plugin: video depth (from fixate): 1 libvisual INFO: XMMS plugin: old depth is higher, video depth 1, depth 1, bin depth 8 libvisual INFO: XMMS plugin: Target depth selected: 1 libvisual INFO: XMMS plugin: Switch to new pitch: 1280 libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 1280 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 8 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: negotiating plugin Plazma plugin libvisual INFO: XMMS plugin: run depth 1 forced 1 libvisual INFO: XMMS plugin: transpitch1 0 depth 1 bpp 1 libvisual INFO: XMMS plugin: transpitch2 320 320 libvisual INFO: XMMS plugin: transpitch3 320 libvisual INFO: XMMS plugin: rundepth: 1 transpitch 320 libvisual INFO: XMMS plugin: negotiate without event libvisual INFO: XMMS plugin: negotiating plugin Plazma plugin libvisual INFO: XMMS plugin: end negotiate without event libvisual INFO: XMMS plugin: negotiating plugin Plazma plugin libvisual INFO: XMMS plugin: Switching away from Gl mode -- or non Gl switch libvisual INFO: XMMS plugin: video depth (from fixate): 8 libvisual INFO: XMMS plugin: new depth is higher, or equal: video depth 8, depth 8 bin depth 1 libvisual INFO: XMMS plugin: Target depth selected: 8 libvisual INFO: XMMS plugin: Switch to new pitch: 320 libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 320 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 8 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: negotiating plugin Plazma plugin libvisual INFO: XMMS plugin: run depth 1 forced 1 libvisual INFO: XMMS plugin: transpitch1 0 depth 1 bpp 1 libvisual INFO: XMMS plugin: transpitch2 320 320 libvisual INFO: XMMS plugin: transpitch3 320 libvisual INFO: XMMS plugin: rundepth: 1 transpitch 320 libvisual INFO: XMMS plugin: negotiating plugin jess plugin libvisual INFO: XMMS plugin: Switching away from Gl mode -- or non Gl switch libvisual INFO: XMMS plugin: video depth (from fixate): 1 libvisual INFO: XMMS plugin: old depth is higher, video depth 1, depth 1, bin depth 8 libvisual INFO: XMMS plugin: Target depth selected: 1 libvisual INFO: XMMS plugin: Switch to new pitch: 1280 libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 1280 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 8 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: negotiating plugin Bumpscope plugin libvisual INFO: XMMS plugin: run depth 1 forced 1 libvisual INFO: XMMS plugin: transpitch1 0 depth 1 bpp 1 libvisual INFO: XMMS plugin: transpitch2 320 320 libvisual INFO: XMMS plugin: transpitch3 320 libvisual INFO: XMMS plugin: rundepth: 1 transpitch 320 libvisual INFO: XMMS plugin: negotiate without event libvisual INFO: XMMS plugin: negotiating plugin Bumpscope plugin libvisual INFO: XMMS plugin: end negotiate without event libvisual INFO: XMMS plugin: negotiating plugin Bumpscope plugin libvisual INFO: XMMS plugin: Switching away from Gl mode -- or non Gl switch libvisual INFO: XMMS plugin: video depth (from fixate): 1 libvisual INFO: XMMS plugin: new depth is higher, or equal: video depth 1, depth 1 bin depth 1 libvisual INFO: XMMS plugin: Target depth selected: 1 libvisual INFO: XMMS plugin: Switch to new pitch: 320 libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 320 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 1 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: negotiating plugin libvisual corona plugin libvisual INFO: XMMS plugin: Switching to Gl mode libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 320 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 16 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: Setting video mode 320x200, 16 bpp libvisual INFO: XMMS plugin: negotiating plugin libvisual corona plugin libvisual INFO: XMMS plugin: run depth 16 forced 1 libvisual INFO: XMMS plugin: transpitch1 0 depth 16 bpp 0 libvisual CRITICAL: XMMS plugin: visual_video_free_buffer(): assertion `video->pixels != NULL' failed libvisual INFO: XMMS plugin: negotiating plugin libvisual Dancing Particles plugin sorry, but the bug with strtof has come, please report.. Fatal signal: Floating Point Exception (SDL Parachute Deployed) Xlib: unexpected async reply (sequence 0x9221)! # xmms& [2] 28486 [1] Exit 248 xmms libvisual WARNING: XMMS plugin: visual_plugin_get_list(): Failed to add the /usr/pkg/lib/libvisual/transform directory to the plugin registry libvisual INFO: XMMS plugin: All plugins enabled libvisual INFO: XMMS plugin: Last plugin: infinite libvisual CRITICAL: XMMS plugin: visual_plugin_load(): assertion `ref != NULL' failed libvisual INFO: XMMS plugin: negotiating plugin infinite plugin libvisual INFO: XMMS plugin: Switching away from Gl mode -- or non Gl switch libvisual INFO: XMMS plugin: video depth (from fixate): 8 libvisual INFO: XMMS plugin: new depth is higher, or equal: video depth 8, depth 8 bin depth 1 libvisual INFO: XMMS plugin: Target depth selected: 8 libvisual INFO: XMMS plugin: Switch to new pitch: 320 libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 320 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 8 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: negotiating plugin infinite plugin libvisual INFO: XMMS plugin: run depth 1 forced 1 libvisual INFO: XMMS plugin: transpitch1 0 depth 1 bpp 1 libvisual INFO: XMMS plugin: transpitch2 320 320 libvisual INFO: XMMS plugin: transpitch3 320 libvisual INFO: XMMS plugin: rundepth: 1 transpitch 320 libvisual INFO: XMMS plugin: negotiating plugin libvisual goom2 plugin libvisual INFO: XMMS plugin: Switching away from Gl mode -- or non Gl switch libvisual INFO: XMMS plugin: video depth (from fixate): 1 libvisual INFO: XMMS plugin: old depth is higher, video depth 1, depth 1, bin depth 8 libvisual INFO: XMMS plugin: Target depth selected: 1 libvisual INFO: XMMS plugin: Switch to new pitch: 1280 libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 1280 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 8 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: New wave shape: Father_and_Daughters libvisual INFO: XMMS plugin: Looking up expression in dict: FFT libvisual INFO: XMMS plugin: New Delta field: Acid_Gap_2 libvisual INFO: XMMS plugin: New Delta field: Fractal_sweetness libvisual INFO: XMMS plugin: New Delta field: Twist_of_Fate libvisual INFO: XMMS plugin: negotiating plugin libvisual G-Force plugin libvisual INFO: XMMS plugin: run depth 1 forced 1 libvisual INFO: XMMS plugin: transpitch1 0 depth 1 bpp 1 libvisual INFO: XMMS plugin: transpitch2 320 320 libvisual INFO: XMMS plugin: transpitch3 320 libvisual INFO: XMMS plugin: rundepth: 1 transpitch 320 libvisual INFO: XMMS plugin: New Delta field: Firestorm libvisual INFO: XMMS plugin: New wave shape: DT_-_Wild libvisual INFO: XMMS plugin: Looking up expression in dict: MAG libvisual INFO: XMMS plugin: New Delta field: Directrix_Expand_-_X libvisual INFO: XMMS plugin: negotiate without event libvisual INFO: XMMS plugin: negotiating plugin libvisual G-Force plugin libvisual INFO: XMMS plugin: end negotiate without event libvisual INFO: XMMS plugin: negotiating plugin libvisual G-Force plugin libvisual INFO: XMMS plugin: New Delta field: Acid_Gap_2 libvisual INFO: XMMS plugin: Switching to Gl mode libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 320 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 16 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: Setting video mode 320x200, 16 bpp libvisual INFO: XMMS plugin: negotiating plugin libvisual G-Force plugin libvisual INFO: XMMS plugin: run depth 16 forced 1 libvisual INFO: XMMS plugin: transpitch1 0 depth 16 bpp 0 libvisual CRITICAL: XMMS plugin: visual_video_free_buffer(): assertion `video->pixels != NULL' failed libvisual INFO: XMMS plugin: negotiating plugin libvisual Pseudotoad flower, yellow rose of texas libvisual INFO: XMMS plugin: Switching to Gl mode libvisual INFO: XMMS plugin: video pitch of that what connects to the new actor 0 libvisual INFO: XMMS plugin: switching... ****************************************** libvisual INFO: XMMS plugin: depth of the main actor: 16 libvisual INFO: XMMS plugin: end switch actor by name function ****************** libvisual INFO: XMMS plugin: Setting video mode 320x200, 16 bpp libvisual INFO: XMMS plugin: negotiating plugin libvisual Pseudotoad flower, yellow rose of texas libvisual CRITICAL: XMMS plugin: visual_video_free_buffer(): assertion `video->pixels != NULL' failed libvisual INFO: XMMS plugin: negotiating plugin libvisual Dancing Particles plugin libvisual CRITICAL: XMMS plugin: assertion `object != NULL' failed sorry, but the bug with strtof has come, please report.. Fatal signal: Floating Point Exception (SDL Parachute Deployed) Xlib: unexpected async reply (sequence 0x4537)! On Mon, Nov 29, 2004 at 02:30:35PM +0100, Thomas Klausner wrote: > Hi! > > Some fixes needed to get stuff to compile with gcc-2.95: > . libvisual uses -Wno-unused-variable by default -- gcc-2.95 does not > know this flag. It should be disabled in the distribution by default. > . declarations need to be at the beginning of a block; patches for > libvisual-xmms and libvisual-bmp are attached. > > All of these were found by Krister Walfridsson <kri...@Ne...>. > > Cheers, > Thomas > $NetBSD: patch-ab,v 1.1 2004/11/12 20:27:23 kristerw Exp $ > > --- src/main.c.orig Fri Nov 12 21:20:40 2004 > +++ src/main.c Fri Nov 12 21:21:07 2004 > @@ -438,14 +438,14 @@ > > static int visual_render (void *arg) > { > - visual_running = 1; > - visual_stopped = 0; > long render_time, now; > long frame_length; > long idle_time; > long frames; > int ret; > > + visual_running = 1; > + visual_stopped = 0; > ret = visual_initialize (options->width, options->height); > if (ret < 0) { > visual_log (VISUAL_LOG_CRITICAL, _("Cannot initialize plugin's visual stuff")); > $NetBSD: patch-ab,v 1.1 2004/11/12 20:53:32 kristerw Exp $ > > --- src/main.c.orig Fri Nov 12 21:45:23 2004 > +++ src/main.c Fri Nov 12 21:45:51 2004 > @@ -451,14 +451,14 @@ > > static int visual_render (void *arg) > { > - visual_running = 1; > - visual_stopped = 0; > long render_time, now; > long frame_length; > long idle_time; > long frames; > int ret; > > + visual_running = 1; > + visual_stopped = 0; > /* Alright set up the display stuff, we have to do this in this thread because > * GL don't like cross threadness */ > ret = visual_initialize (options->width, options->height); |
From: Dennis S. <sy...@yo...> - 2005-02-20 15:30:02
|
I ashamed that I didn't merge those patches, completely forgotten! They are in now. Btw is NetBSD still using gcc-2.95, and why ? (just wondering) I missed up Dancing particles :(. Maybe, for a packages point of view the best thing is to just disable it for now. We've started on the 0.3.0 line right now, which is for devel purpose, and by 0.4.0 most of these problems should be completely history. We're also going to completely rewrite both the xmms and bmp client, it's much needed :) Cheers, Dennis On Sun, 2005-02-20 at 15:50 +0100, Thomas Klausner wrote: > Hi again! > > I'm currently updating the NetBSD packages for libvisual-* > and found that the patches I sent on Nov 29th 2004 haven't > been integrated you -- could you please do that? > They are easy fixes for compilation with gcc-2.95. > > Below find the output of two runs through all > the plugins with xmms, one with the 's'-key until it crashed > in Dancing Particles, and one with the 'a'-key until another > crash in Dancing Particles. > > If you need more information to debug this, please tell > me what you need. > > Cheers, > Thomas |
From: Thomas K. <tho...@us...> - 2005-02-21 13:58:51
|
Dennis Smit wrote: > I ashamed that I didn"t merge those patches, completely forgotten! > > They are in now. Thanks! > Btw is NetBSD still using gcc-2.95, and why ? (just wondering) The old, but still supported, 1.6.x release is using 2.95. The newer 2.0 release and -current are using gcc-3.3.3. > I missed up Dancing particles :(. Maybe, for a packages point of view > the best thing is to just disable it for now. Ok, that's what I did. > Patch commited, thanks a lot!, btw do you know any > other way for checking the number of CPUS online in > NetBSD so we can use that instead ? Thanks again. Yes, here it is: #include <sys/param.h> #include <sys/sysctl.h> int mib[2], ncpu; size_t len; mib[0] = CTL_HW; mib[1] = HW_NCPU; len = sizeof(ncpu); sysctl(mib, 2, &ncpu, &len, NULL, 0); Then ncpu contains the number of CPUs. Are the other CRITICAL warnings from the log I posted something that should be investigated? Cheers, Thomas Btw: I'm not on the mailing list, so if you don't Cc me it might take me some time to answer :) |
From: Dennis S. <sy...@yo...> - 2005-02-21 17:14:00
|
On Mon, 2005-02-21 at 14:57 +0100, Thomas Klausner wrote: > Thanks again. Yes, here it is: > > #include <sys/param.h> > #include <sys/sysctl.h> > > int mib[2], ncpu; > size_t len; > > mib[0] = CTL_HW; > mib[1] = HW_NCPU; > > len = sizeof(ncpu); > sysctl(mib, 2, &ncpu, &len, NULL, 0); > > Then ncpu contains the number of CPUs. Alright, thank you! Will this also work on free and openbsd, or can you enlighten me a bit on those two as well ? > Are the other CRITICAL warnings from the log I posted something > that should be investigated? Those others are known, gonna be fixed for 0.4.0 :) Thanks, Dennis |
From: Duilio J. P. <dp...@fc...> - 2005-02-20 18:18:53
|
On Sun, 2005-02-20, Thomas Klausner wrote: > libvisual INFO: XMMS plugin: negotiating plugin libvisual Dancing Particles plugin > libvisual CRITICAL: XMMS plugin: assertion `object != NULL' failed > sorry, but the bug with strtof has come, please report.. > Fatal signal: Floating Point Exception (SDL Parachute Deployed) > Xlib: unexpected async reply (sequence 0x4537)! I have exactly the same error on Linux! I was thinking that was due to my old SDL 1.2.4, but now I see my mistake. Thomas, what SDL are you using? Any of the other developers have this error? Bye, Duilio. |
From: Dennis S. <sy...@yo...> - 2005-02-20 18:46:42
|
Settle down, it's within Dancing Particles itself Disable it for now, it's broken :) Sorry about it. Dennis On Sun, 2005-02-20 at 15:32 -0300, Duilio Javier Protti wrote: > On Sun, 2005-02-20, Thomas Klausner wrote: > > libvisual INFO: XMMS plugin: negotiating plugin libvisual Dancing Particles plugin > > libvisual CRITICAL: XMMS plugin: assertion `object != NULL' failed > > sorry, but the bug with strtof has come, please report.. > > Fatal signal: Floating Point Exception (SDL Parachute Deployed) > > Xlib: unexpected async reply (sequence 0x4537)! > > I have exactly the same error on Linux! I was thinking that was due to > my old SDL 1.2.4, but now I see my mistake. > > Thomas, what SDL are you using? Any of the other developers have this > error? > > > Bye, > Duilio. > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Libvisual-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libvisual-devel |
From: Vitaly V. B. <vit...@uk...> - 2005-02-20 18:52:42
|
On 20 Feb 2005 15:32:18 -0300 Duilio Javier Protti <dp...@fc...> wrote: > On Sun, 2005-02-20, Thomas Klausner wrote: > > libvisual INFO: XMMS plugin: negotiating plugin libvisual Dancing Particles plugin > > libvisual CRITICAL: XMMS plugin: assertion `object != NULL' failed > > sorry, but the bug with strtof has come, please report.. > > Fatal signal: Floating Point Exception (SDL Parachute Deployed) > > Xlib: unexpected async reply (sequence 0x4537)! one of above messages comes from here: ========= if(p.size<1E-6) { init_parameters(); std::cout << "sorry, but the bug with strtof has come, please report. //p.size=.2; } ========== and it looks like p.size isn't assigned anywhere i.e. equals to 0. moreover, there's no strtof() call at all within Particles :) -- Vitaly GPG Key ID: F95A23B9 |
From: Thomas K. <tho...@us...> - 2005-02-21 23:20:59
|
On Mon, Feb 21, 2005 at 06:13:34PM +0100, Dennis Smit wrote: > On Mon, 2005-02-21 at 14:57 +0100, Thomas Klausner wrote: > > Thanks again. Yes, here it is: > > > > #include <sys/param.h> > > #include <sys/sysctl.h> > > > > int mib[2], ncpu; > > size_t len; > > > > mib[0] = CTL_HW; > > mib[1] = HW_NCPU; > > > > len = sizeof(ncpu); > > sysctl(mib, 2, &ncpu, &len, NULL, 0); > > > > Then ncpu contains the number of CPUs. > > Alright, thank you! Will this also work on free and openbsd, or > can you enlighten me a bit on those two as well ? For FreeBSD I guess it should work, see http://www.freebsd.org/cgi/man.cgi?query=sysctl%283%29&apropos=0&sektion=0&manpath=FreeBSD+5.3-RELEASE+and+Ports&format=html OpenBSD also seems to have it: http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html > > Are the other CRITICAL warnings from the log I posted something > > that should be investigated? > > Those others are known, gonna be fixed for 0.4.0 :) Cool :) Thomas |
From: Dennis S. <sy...@yo...> - 2005-02-28 20:42:59
|
Thanks a lot for checking out!, updated in CVS. > For FreeBSD I guess it should work, see > http://www.freebsd.org/cgi/man.cgi?query=sysctl%283%29&apropos=0&sektion=0&manpath=FreeBSD+5.3-RELEASE+and+Ports&format=html > > OpenBSD also seems to have it: > http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html |